* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: #f5f7fb; color: #1f2937; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.topbar { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 20; }
.topbar.is-transparent { position: absolute; top: 0; left: 0; right: 0; background: transparent; box-shadow: none; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.brand { font-weight: 700; color: #0f766e; text-decoration: none; }
.topbar.is-transparent .brand { color: #fff; }
.main-nav { display: flex; gap: 16px; align-items: center; }
.main-nav a { text-decoration: none; color: #111827; font-weight: 600; }
.topbar.is-transparent .main-nav a { color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 28px; cursor: pointer; color: #111827; }
.topbar.is-transparent .menu-toggle { color: #fff; }
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  background: url('../../images/havuz.jpg') center/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,23,42,.7), rgba(15,118,110,.45)); }
.hero-content { position: relative; z-index: 1; color: #fff; max-width: 760px; }
.hero-kicker { margin: 0 0 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.hero h1 { margin: 0 0 12px; font-size: 44px; line-height: 1.1; }
.hero p { font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.btn-light { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.5); }
.hero-badges { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badges span { font-size: 13px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.12); }
.grid { display: grid; gap: 20px; }
.rooms-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-body { padding: 16px; }
.btn { display: inline-block; border: 0; border-radius: 8px; padding: 10px 14px; background: #0f766e; color: #fff; text-decoration: none; cursor: pointer; }
.section { padding: 42px 0; }
.section-soft { background: #f8fafc; }
.section-intro { color: #64748b; margin-top: -6px; margin-bottom: 16px; }
.form-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
input, textarea, select { width: 100%; padding: 10px; border: 1px solid #d1d5db; border-radius: 8px; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15,118,110,.15);
}
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { border-radius: 8px; padding: 8px; font-size: 12px; text-align: center; }
.day.available { background: #dcfce7; }
.day.booked, .day.blocked, .day.maintenance { background: #fecaca; color: #7f1d1d; }
.day.selected { background: #bfdbfe; }
.calendar-months { display: grid; gap: 14px; }
.calendar-month { padding: 10px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa; }
.calendar-month { display: none; }
.calendar-month.active { display: block; }
.calendar-slider {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.calendar-current-month {
  margin: 0;
  text-align: center;
  font-size: 18px;
  color: #0f172a;
}
.cal-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 20px;
  cursor: pointer;
}
.cal-nav-btn:disabled { opacity: .45; cursor: not-allowed; }
.calendar-legend { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.legend-item { font-size: 12px; color: #374151; display: inline-flex; align-items: center; gap: 6px; }
.legend-box { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.legend-box.available { background: #dcfce7; }
.legend-box.booked { background: #fecaca; }
.status-pill { padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pill.available { background: #dcfce7; color: #166534; }
.status-pill.booked, .status-pill.blocked, .status-pill.maintenance { background: #fecaca; color: #7f1d1d; }
.gallery-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 10px; }
.gallery-item { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; border: 1px solid #e5e7eb; }
.stats-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; text-align: center; }
.stat-item strong { display: block; color: #0f766e; font-size: 24px; margin-bottom: 4px; }
.stat-item span { color: #64748b; font-size: 13px; }
.cta-box { background: linear-gradient(120deg, #ecfeff, #f8fafc); border: 1px solid #cbd5e1; border-radius: 16px; padding: 28px; text-align: center; }
.cta-box p { color: #475569; margin: 8px auto 16px; max-width: 680px; }
.reservation-form { margin-top: 18px; display: grid; gap: 14px; }
.reservation-form-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  background: #fafafa;
}
.reservation-form-section h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #0f172a;
}
.field-wrap { display: grid; gap: 6px; }
.field-wrap label { font-size: 13px; font-weight: 700; color: #334155; }
.price-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.summary-item {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-item.total {
  border-color: #0f766e;
  background: #ecfeff;
}
.summary-item span { color: #475569; font-size: 13px; }
.summary-item strong { font-size: 15px; color: #0f172a; }
.reservation-submit { width: 100%; text-align: center; padding: 12px 14px; font-weight: 700; }
.page-spacer { padding-top: 110px; }
.footer { background: #111827; color: #fff; padding: 26px 0; margin-top: 40px; }
.whatsapp-float { position: fixed; right: 16px; bottom: 16px; background: #25d366; color: #fff; padding: 12px 16px; text-decoration: none; border-radius: 999px; font-weight: 700; z-index: 40; }
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0b1324; color: #fff; padding: 18px; }
.admin-sidebar a { color: #dbeafe; text-decoration: none; display: block; margin: 8px 0; }
.admin-main { padding: 20px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
th, td { padding: 10px; border-bottom: 1px solid #e5e7eb; text-align: left; font-size: 14px; }
@media (max-width: 768px) {
  .topbar-row { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100vh;
    background: #ffffff;
    box-shadow: -8px 0 24px rgba(15, 23, 42, 0.16);
    z-index: 60;
    padding: 78px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(110%);
    transition: transform .28s ease;
    border-left: 1px solid #e2e8f0;
  }
  .main-nav a { color: #111827 !important; width: 100%; padding: 10px 4px; border-bottom: 1px solid #f1f5f9; }
  .main-nav.is-open { transform: translateX(0); }
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .28);
    z-index: 50;
  }
  .hero { min-height: 64vh; padding-top: 110px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .price-summary { grid-template-columns: 1fr; }
  .admin-wrap { grid-template-columns: 1fr; }
}
