/* ============================================================
   KILISON SAFARI — MAIN STYLESHEET
   ============================================================ */

:root{
  --night:#1B140F;
  --camp:#2E2118;
  --gold:#E3A33B;
  --rust:#C1571F;
  --sage:#8C9B7A;
  --cream:#F3ECE0;
  --paper:#FAF7F2;
  --ink:#241A12;
  --muted:#6B5F52;
  --line: rgba(27,20,15,0.1);
  --line-dark: rgba(243,236,224,0.14);
  --shadow: 0 12px 30px rgba(27,20,15,0.08);
}
.logo-img {
  height: 48px;      /* rekebisha kulingana na ukubwa unaotaka */
  width: auto;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html,body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Work Sans', sans-serif;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:1280px; margin:0 auto; padding:0 48px; }
h1,h2,h3,h4{ font-family:'Fraunces', serif; }

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 30px; border-radius:30px; font-weight:700; font-size:13px;
  letter-spacing:.04em; text-transform:uppercase; border:none; transition:transform .2s ease, box-shadow .2s ease;
}
.btn-primary{ background:linear-gradient(135deg, var(--rust), var(--gold)); color:#fff; }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(193,87,31,0.35); }
.btn-outline{ background:transparent; border:1.5px solid var(--ink); color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:#fff; }
.btn-light{ background:rgba(255,255,255,0.14); color:#fff; border:1px solid rgba(255,255,255,0.3); }

/* ===================== HEADER ===================== */
header.site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 48px; background:var(--camp); border-bottom:1px solid var(--line-dark);
  position:sticky; top:0; z-index:50; flex-wrap:wrap; gap:16px;
}
.logo{ display:flex; align-items:center; gap:12px; }
.logo svg{ width:40px; height:40px; flex-shrink:0; }
.logo-text{ font-family:'Fraunces', serif; line-height:1; }
.logo-text .top{ font-size:10px; letter-spacing:.22em; color:var(--sage); text-transform:uppercase; display:block; margin-bottom:3px; }
.logo-text .main{ font-size:20px; font-weight:600; color:var(--cream); display:block; }
.logo-text .sub{ font-size:11px; letter-spacing:.3em; color:var(--gold); text-transform:uppercase; display:block; margin-top:2px; }

nav.main-nav{ display:flex; align-items:center; gap:30px; flex-wrap:wrap; }
nav.main-nav a{
  font-size:16px; font-weight:600; letter-spacing:.03em; color:var(--cream);
  text-transform:uppercase; opacity:.75; transition:opacity .2s ease;
}
nav.main-nav a:hover, nav.main-nav a.active{ opacity:1; color:var(--gold); }

.header-actions{ display:flex; align-items:center; gap:12px; }
.lang-switcher{ display:none; }
.burger{
  display:none; width:42px; height:42px; border-radius:50%; background:rgba(243,236,224,0.08);
  border:1px solid var(--line-dark); align-items:center; justify-content:center; flex-direction:column;
  gap:5px; cursor:pointer; flex-shrink:0;
}
.burger span{ width:18px; height:2px; background:var(--cream); border-radius:2px; transition:.25s ease; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.mobile-panel{ display:none; flex-direction:column; background:var(--camp); border-top:1px solid var(--line-dark); padding:8px 20px 22px; width:100%; }
.mobile-panel.open{ display:flex; }
.mobile-panel a{ padding:14px 4px; font-size:14px; font-weight:600; text-transform:uppercase; color:var(--cream); opacity:.8; border-bottom:1px solid var(--line-dark); }

/* ===================== PAGE HERO (interior pages) ===================== */
.page-hero{
  background:
    radial-gradient(ellipse 900px 400px at 50% 0%, rgba(227,163,59,0.18), transparent 70%),
    linear-gradient(180deg, #241A12 0%, #1B140F 100%);
  color:var(--cream); padding:64px 48px 56px; text-align:center;
}
.page-hero .crumbs{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.page-hero .crumbs a{ opacity:.7; }
.page-hero .crumbs a:hover{ opacity:1; }
.page-hero h1{ font-size:clamp(30px,4.5vw,52px); font-weight:600; }
.page-hero p{ margin-top:12px; color:rgba(243,236,224,0.65); max-width:600px; margin-left:auto; margin-right:auto; }

/* ===================== HOME HERO - ENHANCED STYLING ===================== */
.home-hero{
  position:relative; 
  min-height:100vh; 
  display:flex; 
  flex-direction:column; 
  align-items:center;
  justify-content:center; 
  text-align:center; 
  padding:80px 24px 280px;
  background:
    radial-gradient(ellipse 900px 500px at 50% 20%, rgba(227,163,59,0.25), transparent 70%),
    linear-gradient(180deg, rgba(27,20,15,0.4) 0%, rgba(27,20,15,0.7) 50%, rgba(20,15,11,0.9) 100%);
  color:var(--cream); 
  overflow:hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 20%, rgba(227,163,59,0.15), transparent 70%), 
              linear-gradient(180deg, rgba(27,20,15,0.2) 0%, rgba(27,20,15,0.6) 50%, rgba(20,15,11,0.95) 100%);
  z-index: 1;
  backdrop-filter: blur(0.5px);
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-label{
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFD89B;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1{
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1.1;
  max-width: 100%;
  color: #fff;
  margin: 0 auto 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  letter-spacing: -0.02em;
}

.hero-content > .lede{
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #FFD89B;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-subtitle{
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.95);
  max-width: 700px;
  margin: 0 auto 48px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-weight: 300;
}

.hero-actions{
  display:flex; 
  gap:18px; 
  flex-wrap:wrap; 
  justify-content:center;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced button styles for hero */
.hero-actions .btn-primary{
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 35px;
  background: linear-gradient(135deg, #D97E3A, #E8A842);
  box-shadow: 0 8px 25px rgba(193,87,31,0.5);
  transition: all 0.3s ease;
}

.hero-actions .btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(193,87,31,0.7);
}

.hero-actions .btn-light{
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 35px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-actions .btn-light:hover{
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

/* Search card - floating overlay */
.search-card{
  position:relative; 
  z-index:10; 
  max-width:1140px; 
  margin:-160px auto 60px; 
  background:rgba(255,255,255,0.98);
  border-radius:24px; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); 
  padding:32px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1.1fr auto; 
  gap:20px; 
  align-items:end;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
}

.search-card .field{ 
  display:flex; 
  flex-direction:column; 
  gap:8px; 
}

.search-card label{ 
  font-size:12px; 
  letter-spacing:.08em; 
  text-transform:uppercase; 
  color:#8B7355; 
  font-weight:700;
}

.search-card input, .search-card select{
  border:1.5px solid #DDD;
  border-radius:12px; 
  padding:14px 16px; 
  font-size:14px; 
  font-family:inherit; 
  color:var(--ink); 
  background:#FAFAFA;
  transition: all 0.3s ease;
}

.search-card input:focus, .search-card select:focus{
  outline: none;
  border-color: var(--rust);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(193,87,31,0.1);
}

.search-card button{ 
  height:48px;
  padding: 0 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width:1200px){ 
  .search-card{ 
    grid-template-columns:1fr 1fr 1fr; 
    margin:-100px 20px 40px;
    padding: 24px;
  }
}

@media (max-width:900px){ 
  .search-card{ 
    grid-template-columns:1fr 1fr; 
    margin:-70px 20px 40px;
  }
  .hero-content h1{
    font-size: 48px;
  }
}
.home-hero .badge{
  display:inline-flex; align-items:center; gap:10px; background:rgba(243,236,224,0.08);
  border:1px solid var(--line-dark); padding:9px 20px; border-radius:30px; font-size:12px;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:28px;
}
.home-hero .badge .dot{ width:7px; height:7px; border-radius:50%; background:var(--rust); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink{ 0%,100%{ opacity:1; } 50%{ opacity:.25; } }
.home-hero h1{ font-family:'Fraunces', serif; font-weight:600; font-size:clamp(36px,6vw,68px); line-height:1.08; max-width:900px; }
.home-hero h1 em{ font-style:italic; font-weight:500; color:var(--gold); }
.home-hero .lede{ max-width:560px; font-size:17px; line-height:1.7; color:rgba(243,236,224,0.72); margin:20px 0 36px; }
.home-hero .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }

/* floating search card, overlapping hero + next section */
.search-card{
  position:relative; z-index:10; max-width:1080px; margin:-120px auto 60px; background:#fff;
  border-radius:20px; box-shadow:var(--shadow); padding:26px; display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr auto; gap:16px; align-items:end;
}
.search-card .field{ display:flex; flex-direction:column; gap:6px; }
.search-card label{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600; }
.search-card input, .search-card select{
  border:1px solid var(--line); border-radius:10px; padding:12px 14px; font-size:14px; font-family:inherit; color:var(--ink); background:var(--paper);
}
.search-card button{ height:46px; }
@media (max-width:1000px){ .search-card{ grid-template-columns:1fr 1fr; margin:-70px 20px 40px; } }

/* ===================== FEATURED TOURS SECTION - ENHANCED ===================== */
.section{
  padding:80px 0;
}

.section-head{ 
  display:flex; 
  align-items:flex-end; 
  justify-content:space-between; 
  margin-bottom:48px; 
  flex-wrap:wrap; 
  gap:16px; 
}

.section-head h2{ 
  font-size:clamp(28px,3.5vw,42px); 
  font-weight:600; 
  max-width:600px;
  letter-spacing: -0.01em;
}

.section-head .eyebrow{ 
  font-size:12px; 
  letter-spacing:.18em; 
  text-transform:uppercase; 
  color:var(--rust); 
  font-weight:700; 
  margin-bottom:12px; 
  display:block; 
}

.see-more{ 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  border:2px solid var(--line); 
  padding:14px 26px; 
  border-radius:30px; 
  font-size:13px; 
  font-weight:600;
  transition: all 0.3s ease;
}

.see-more:hover{ 
  background:var(--ink); 
  color:#fff;
  border-color: var(--ink);
}

/* ===================== TOUR CARDS - ENHANCED ===================== */
.tour-grid{ 
  display:grid; 
  grid-template-columns:repeat(3,1fr); 
  gap:32px; 
}

.tour-card{ 
  background:#fff; 
  border-radius:20px; 
  overflow:hidden; 
  box-shadow: 0 8px 24px rgba(27,20,15,0.1); 
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(227,163,59,0.1);
}

.tour-card:hover{ 
  transform:translateY(-10px); 
  box-shadow: 0 20px 50px rgba(27,20,15,0.18);
}

.tour-card .thumb{ 
  position:relative; 
  aspect-ratio:4/3; 
  overflow:hidden;
}

.tour-card .thumb img{ 
  width:100%; 
  height:100%; 
  object-fit:cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .thumb img{
  transform: scale(1.08);
}

.tour-card .discount-badge{
  position:absolute; 
  top:16px; 
  left:16px; 
  background:linear-gradient(135deg, var(--rust), #E8700D);
  color:#fff; 
  font-size:12px; 
  font-weight:800;
  padding:8px 14px; 
  border-radius:20px; 
  letter-spacing:.02em;
  box-shadow: 0 4px 12px rgba(193,87,31,0.4);
}

.tour-card .body{ 
  padding:24px; 
}

.tour-card .meta{ 
  display:flex; 
  gap:16px; 
  font-size:13px; 
  color:var(--muted); 
  margin:12px 0 18px; 
  flex-wrap:wrap; 
}

.tour-card h3{ 
  font-size:20px; 
  font-weight:700; 
  line-height:1.4;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.tour-card h3 a:hover{ 
  color:var(--rust); 
}

.tour-card .price-row{ 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  margin-top:18px; 
  padding-top:18px; 
  border-top:1px solid var(--line); 
}

.tour-card .price del{ 
  color:var(--muted); 
  font-size:12px; 
  font-weight:400; 
}

.tour-card .price strong{ 
  font-size:22px; 
  color:var(--rust); 
  display:block;
  font-weight: 700;
}

.tour-card .price small{ 
  font-size:12px; 
  color:var(--muted); 
}

@media (max-width:1200px){ 
  .tour-grid{ 
    grid-template-columns:repeat(2,1fr); 
    gap: 28px;
  } 
}

@media (max-width:640px){ 
  .tour-grid{ 
    grid-template-columns:1fr; 
    gap: 20px;
  } 
}

/* ===================== TOURS LISTING PAGE (with filters) ===================== */
.listing-layout{ display:grid; grid-template-columns:280px 1fr; gap:36px; align-items:start; padding:50px 0; }
.filter-box{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; position:sticky; top:100px; }
.filter-box .clear-btn{ width:100%; margin-bottom:22px; }
.filter-group{ border-bottom:1px solid var(--line); padding-bottom:18px; margin-bottom:18px; }
.filter-group:last-child{ border-bottom:none; }
.filter-group h4{ font-family:'Work Sans'; font-size:15px; font-weight:700; display:flex; justify-content:space-between; cursor:pointer; }
.filter-group .price-range{ margin-top:16px; }
.filter-group .price-values{ display:flex; justify-content:space-between; font-size:13px; font-weight:600; margin-bottom:8px; color:var(--rust); }
.filter-group input[type=range]{ width:100%; accent-color:var(--rust); }
.filter-group label.check{ display:flex; align-items:center; justify-content:space-between; font-size:14px; padding:8px 0; cursor:pointer; }
.filter-group label.check span.count{ color:var(--muted); font-size:12px; }
.listing-toolbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; flex-wrap:wrap; gap:12px; }
.listing-toolbar select{ border:1px solid var(--line); border-radius:30px; padding:12px 18px; font-size:14px; background:#fff; }
.promo-banner{
  border-radius:16px; overflow:hidden; position:relative; margin-bottom:30px; min-height:120px; display:flex; align-items:center;
  justify-content:space-between; padding:24px 32px; background:linear-gradient(90deg, #1B140F 0%, var(--rust) 130%); color:#fff; gap:20px; flex-wrap:wrap;
}
.promo-banner .txt em{ display:block; font-family:'Fraunces',serif; font-style:italic; font-size:14px; color:var(--gold); margin-bottom:4px; }
.promo-banner .txt strong{ font-size:22px; font-weight:600; }
@media (max-width:900px){ .listing-layout{ grid-template-columns:1fr; } .filter-box{ position:static; } }

/* pagination */
.pagination{ display:flex; justify-content:center; gap:8px; margin-top:40px; }
.pagination a, .pagination span{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); font-size:14px; font-weight:600; }
.pagination a.active, .pagination span.active{ background:var(--rust); color:#fff; border-color:var(--rust); }

/* ===================== AUTH PAGES ===================== */
.auth-container{ max-width:500px; margin:50px auto; }
.auth-card{ background:#fff; border-radius:20px; padding:40px; box-shadow:var(--shadow); }
.auth-card h2{ font-size:28px; font-weight:600; margin-bottom:24px; text-align:center; }
.auth-card .field{ margin-bottom:20px; }
.auth-card .field label{ font-size:13px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; display:block; }
.auth-card .field input{ width:100%; border:1px solid var(--line); border-radius:10px; padding:14px 16px; font-size:15px; font-family:inherit; }
.auth-card .field input:focus{ outline:none; border-color:var(--rust); }
.auth-card .field small{ font-size:12px; color:var(--muted); margin-top:6px; display:block; }
.auth-card button{ width:100%; margin-top:16px; }
.auth-footer{ text-align:center; margin-top:24px; padding-top:24px; border-top:1px solid var(--line); }
.auth-footer p{ font-size:14px; color:var(--muted); margin:8px 0; }
.auth-footer a{ color:var(--rust); font-weight:600; }

/* ===================== ALERTS ===================== */
.alert{ padding:16px 20px; border-radius:12px; margin-bottom:20px; font-size:14px; }
.alert-success{ background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.alert-error{ background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }
.alert-info{ background:#d1ecf1; color:#0c5460; border:1px solid #bee5eb; }

/* ===================== DASHBOARD ===================== */
.dashboard-layout{ display:grid; grid-template-columns:1fr 2fr; gap:36px; margin:50px 0; }
.dashboard-card{ background:#fff; border-radius:20px; padding:32px; box-shadow:var(--shadow); }
.dashboard-card h2{ font-size:24px; font-weight:600; margin-bottom:24px; }
.user-info{ margin-bottom:24px; }
.info-row{ display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--line); }
.info-row:last-child{ border-bottom:none; }
.info-row .label{ font-weight:600; color:var(--muted); }
.info-row .value{ font-weight:500; }
.info-row.vip-status .value{ color:var(--rust); font-weight:700; }
.card-actions{ margin-top:24px; }
.bookings-list{ display:flex; flex-direction:column; gap:16px; }
.booking-item{ background:var(--paper); border-radius:12px; padding:20px; display:flex; justify-content:space-between; align-items:center; }
.booking-info h3{ font-size:18px; font-weight:600; margin-bottom:8px; }
.booking-meta{ font-size:13px; color:var(--muted); margin-bottom:8px; }
.booking-details{ font-size:14px; color:var(--ink); margin-bottom:6px; }
.booking-date{ font-size:12px; color:var(--muted); }
.status-badge{ padding:6px 16px; border-radius:20px; font-size:12px; font-weight:700; text-transform:uppercase; }
.status-new{ background:#d1ecf1; color:#0c5460; }
.status-contacted{ background:#fff3cd; color:#856404; }
.status-confirmed{ background:#d4edda; color:#155724; }
.status-cancelled{ background:#f8d7da; color:#721c24; }
.status-completed{ background:#e2e3e5; color:#383d41; }
.empty-state{ text-align:center; padding:40px 20px; }
.empty-state p{ color:var(--muted); margin-bottom:20px; }
@media (max-width:900px){ .dashboard-layout{ grid-template-columns:1fr; } .booking-item{ flex-direction:column; align-items:flex-start; gap:12px; } }

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.testimonial-card{ background:#fff; border-radius:18px; padding:28px; box-shadow:var(--shadow); }
.testimonial-card .rating{ color:var(--gold); font-size:20px; margin-bottom:16px; letter-spacing:2px; }
.testimonial-card .testimonial-text{ font-size:15px; line-height:1.7; color:var(--ink); margin-bottom:20px; font-style:italic; }
.testimonial-card .customer-info{ border-top:1px solid var(--line); padding-top:16px; }
.testimonial-card .customer-info strong{ display:block; font-size:15px; font-weight:600; color:var(--rust); }
.testimonial-card .customer-info span{ display:block; font-size:13px; color:var(--muted); margin-top:4px; }
.testimonial-card .customer-info small{ display:block; font-size:12px; color:var(--muted); margin-top:4px; }
@media (max-width:900px){ .testimonials-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .testimonials-grid{ grid-template-columns:1fr; } }

/* ===================== TOUR DETAIL PAGE ===================== */
.detail-crumbs{ padding:22px 0; font-size:13px; color:var(--muted); }
.detail-crumbs a:hover{ color:var(--rust); }
.gallery-grid{ display:grid; grid-template-columns:2.2fr 1fr; gap:14px; aspect-ratio:16/9; max-height:500px; margin-bottom:80px; }
.gallery-grid .main-img{ border-radius:16px; overflow:hidden; aspect-ratio:2/3; }
.gallery-grid .main-img img{ width:100%; height:100%; object-fit:cover; }
.gallery-grid .side-imgs{ display:grid; grid-template-rows:1fr 1fr; gap:14px; }
.gallery-grid .side-imgs > div{ border-radius:16px; overflow:hidden; }
.gallery-grid .side-imgs img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns:1fr; height:auto; } .gallery-grid .side-imgs{ grid-template-columns:1fr 1fr; grid-template-rows:none; height:180px; } }

.detail-layout{ display:grid; grid-template-columns:1fr 380px; gap:44px; align-items:start; padding-bottom:70px; }
.detail-main h1{ font-size:clamp(28px,3.6vw,40px); font-weight:600; margin-bottom:14px; }
.detail-tags{ display:flex; gap:12px; align-items:center; margin-bottom:20px; flex-wrap:wrap; }
.day-pill{ background:var(--rust); color:#fff; font-size:13px; font-weight:700; padding:6px 16px; border-radius:20px; }
.loc-pill{ display:flex; align-items:center; gap:6px; color:var(--muted); font-size:14px; }
.detail-main .lede{ color:var(--muted); font-size:16px; line-height:1.7; padding-bottom:26px; border-bottom:1px solid var(--line); margin-bottom:30px; }
.detail-main h2{ font-size:22px; font-weight:600; margin-bottom:18px; }
.trip-info-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; background:var(--paper); border-radius:16px; padding:26px; margin-bottom:40px; border:1px solid var(--line); }
.trip-info-item{ display:flex; align-items:center; gap:14px; }
.trip-info-item .ic{ width:44px; height:44px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:0 2px 8px rgba(27,20,15,0.08); }
.trip-info-item .ic svg{ width:20px; height:20px; }
.trip-info-item strong{ display:block; font-size:14px; }
.trip-info-item span{ font-size:13px; color:var(--muted); }
@media (max-width:640px){ .trip-info-grid{ grid-template-columns:1fr 1fr; } }

.itinerary-list{ list-style:none; margin-bottom:40px; }
.itinerary-list li{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.itinerary-list .day-num{ width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.itinerary-list p{ color:var(--muted); font-size:14.5px; line-height:1.6; }

.booking-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px; position:sticky; top:100px; box-shadow:var(--shadow); }
.booking-card .off-tag{ display:inline-block; background:var(--rust); color:#fff; font-size:12px; font-weight:700; padding:5px 14px; border-radius:16px; margin-bottom:14px; }
.booking-card .prices{ display:flex; gap:24px; padding-bottom:18px; border-bottom:1px solid var(--line); margin-bottom:20px; }
.booking-card .prices del{ display:block; color:var(--muted); font-size:13px; }
.booking-card .prices strong{ font-size:22px; color:var(--rust); }
.booking-card .prices small{ font-size:12px; color:var(--muted); }
.booking-card form .field{ margin-bottom:14px; }
.booking-card label{ display:block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:6px; }
.booking-card input, .booking-card textarea, .booking-card select{
  width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px; font-size:14px; font-family:inherit; background:var(--paper); color:var(--ink);
}
.booking-card textarea{ resize:vertical; min-height:80px; }
.booking-card .two-col{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.booking-card .btn{ width:100%; margin-top:6px; }
.booking-card .help{ text-align:center; font-size:12px; color:var(--muted); margin-top:14px; }

.related-scroll{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .detail-layout{ grid-template-columns:1fr; } .related-scroll{ grid-template-columns:1fr; } }

/* ===================== BLOG - ENHANCED ===================== */
.blog-grid{ 
  display:grid; 
  grid-template-columns:repeat(3,1fr); 
  gap:32px; 
}

.blog-card{ 
  border-radius:20px; 
  overflow:hidden; 
  box-shadow: 0 8px 24px rgba(27,20,15,0.1); 
  background:#fff;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(227,163,59,0.1);
}

.blog-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(27,20,15,0.18);
}

.blog-card .thumb{ 
  position:relative; 
  aspect-ratio:16/11;
  overflow: hidden;
}

.blog-card .thumb img{ 
  width:100%; 
  height:100%; 
  object-fit:cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .thumb img{
  transform: scale(1.08);
}

.blog-card .tag{ 
  position:absolute; 
  top:16px; 
  left:16px; 
  background:#fff; 
  padding:8px 14px; 
  border-radius:20px; 
  font-size:12px; 
  font-weight:700;
  color: var(--rust);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-card .body{ 
  padding:26px; 
}

.blog-card .date{ 
  font-size:12.5px; 
  color:var(--muted); 
  margin-bottom:10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h3{ 
  font-size:20px; 
  font-weight:700; 
  line-height:1.4; 
  margin-bottom:14px;
  letter-spacing: -0.01em;
}

.blog-card .read-more{ 
  font-size:13px; 
  font-weight:700; 
  color:var(--rust); 
  display:inline-flex; 
  align-items:center; 
  gap:6px;
  transition: all 0.3s ease;
}

.blog-card:hover .read-more{
  gap: 10px;
}

@media (max-width:1200px){ 
  .blog-grid{ 
    grid-template-columns:repeat(2,1fr); 
  } 
}

@media (max-width:640px){ 
  .blog-grid{ 
    grid-template-columns:1fr; 
  } 
}

/* ===================== TESTIMONIALS - ENHANCED ===================== */
.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card{
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(27,20,15,0.1);
  border: 1px solid rgba(227,163,59,0.1);
  transition: all 0.4s ease;
}

.testimonial-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(27,20,15,0.15);
}

.testimonial-card .rating{
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.testimonial-card .rating span{
  color: var(--gold);
  font-size: 16px;
}

.testimonial-text{
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .customer-info{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-card strong{
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
}

.testimonial-card span{
  font-size: 13px;
  color: var(--muted);
}

.testimonial-card small{
  font-size: 12px;
  color: var(--rust);
  font-weight: 600;
}

@media (max-width: 1000px){
  .testimonials-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .testimonials-grid{
    grid-template-columns: 1fr;
  }
}

.blog-detail-body{ max-width:760px; margin:0 auto; padding:50px 24px 80px; }
.blog-detail-body img.cover{ width:100%; border-radius:16px; margin-bottom:32px; aspect-ratio:16/8; object-fit:cover; }

/* ---- Blog detail: TOC + wide content layout ---- */
.blog-layout{ display:grid; grid-template-columns:230px 1fr; gap:48px; align-items:start; padding-bottom:80px; }
.toc-box{ position:sticky; top:100px; background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:22px; }
.toc-box h4{ font-family:'Work Sans'; font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:700; margin-bottom:14px; }
.toc-box ul{ display:flex; flex-direction:column; gap:10px; }
.toc-box a{ font-size:13.5px; color:var(--ink); line-height:1.4; display:block; border-left:2px solid var(--line); padding-left:12px; }
.toc-box a:hover{ color:var(--rust); border-left-color:var(--rust); }
.blog-article{ max-width:840px; }
.blog-article.no-toc{ max-width:900px; }
.blog-article .meta-row{ color:var(--muted); font-size:14px; margin-bottom:14px; }
.blog-article h1{ font-size:clamp(28px,4vw,42px); margin-bottom:18px; line-height:1.2; }
.blog-article .lede{ font-size:17px; color:var(--muted); line-height:1.7; margin-bottom:28px; padding-bottom:26px; border-bottom:1px solid var(--line); }
.blog-article .content{ font-size:16.5px; line-height:1.9; color:#3A2E24; }
.blog-article .content p{ margin-bottom:22px; }
.blog-article .content h2{ font-size:24px; font-weight:600; margin:38px 0 16px; scroll-margin-top:100px; }
@media (max-width:900px){ .blog-layout{ grid-template-columns:1fr; } .toc-box{ position:static; } }

/* ---- FAQ Accordion ---- */
.faq-list{ max-width:900px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:var(--shadow); }
.faq-question{ display:flex; align-items:center; justify-content:space-between; padding:20px 26px; cursor:pointer; font-weight:600; font-size:15.5px; }
.faq-question .chev{ width:34px; height:34px; border-radius:50%; background:var(--paper); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .25s ease; margin-left:16px; }
.faq-item.open .faq-question .chev{ transform:rotate(180deg); background:var(--rust); color:#fff; }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-answer-inner{ padding:0 26px 22px; color:var(--muted); font-size:14.5px; line-height:1.7; }
.faq-item.open .faq-answer{ max-height:400px; }

/* ---- Hero image slider ---- */
.hero-slider{ position:relative; width:100%; max-width:1100px; height:420px; border-radius:22px; overflow:hidden; margin:0 auto 44px; box-shadow:0 20px 50px rgba(0,0,0,0.35); }
.hero-slider .slide{ position:absolute; inset:0; opacity:0; transition:opacity 1s ease; }
.hero-slider .slide.active{ opacity:1; }
.hero-slider .slide img{ width:100%; height:100%; object-fit:cover; }
.hero-slider .slide::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(27,20,15,0.05) 0%, rgba(27,20,15,0.55) 100%); }
.hero-slider .dots{ position:absolute; bottom:18px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:5; }
.hero-slider .dots span{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.4); cursor:pointer; transition:.2s ease; }
.hero-slider .dots span.active{ background:var(--gold); width:22px; border-radius:5px; }
@media (max-width:700px){ .hero-slider{ height:260px; border-radius:16px; margin-bottom:30px; } }

/* ===================== ABOUT / CONTACT ===================== */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; padding:70px 0; }
.about-grid img{ border-radius:20px; width:100%; aspect-ratio:4/5; object-fit:cover; }
.about-grid .eyebrow{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--rust); font-weight:700; margin-bottom:14px; display:block; }
.about-grid h2{ font-size:clamp(26px,3.4vw,38px); margin-bottom:18px; }
.about-grid p{ color:var(--muted); line-height:1.75; margin-bottom:16px; }
.stat-row{ display:flex; gap:36px; margin-top:26px; flex-wrap:wrap; }
.stat-row div strong{ display:block; font-family:'Fraunces',serif; font-size:30px; color:var(--rust); }
.stat-row div span{ font-size:13px; color:var(--muted); }
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; } }

.contact-layout{ display:grid; grid-template-columns:1fr 1fr; gap:50px; padding:60px 0; }
.contact-info-card{ background:var(--camp); color:var(--cream); border-radius:20px; padding:40px; }
.contact-info-card h3{ font-size:24px; margin-bottom:16px; }
.contact-info-card p{ color:rgba(243,236,224,0.7); line-height:1.7; margin-bottom:26px; }
.contact-item{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
.contact-item .ic{ width:40px; height:40px; border-radius:50%; background:rgba(243,236,224,0.1); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item strong{ display:block; font-size:14px; }
.contact-item span{ font-size:13.5px; color:rgba(243,236,224,0.6); }
.contact-form-card{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:36px; box-shadow:var(--shadow); }
.contact-form-card .field{ margin-bottom:18px; }
.contact-form-card label{ display:block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:6px; }
.contact-form-card input, .contact-form-card textarea{ width:100%; border:1px solid var(--line); border-radius:10px; padding:13px 15px; font-size:14px; font-family:inherit; }
.contact-form-card textarea{ min-height:130px; resize:vertical; }
@media (max-width:900px){ .contact-layout{ grid-template-columns:1fr; } }

/* ===================== ALERTS ===================== */
.alert{ padding:16px 22px; border-radius:12px; font-size:14px; margin-bottom:24px; }
.alert-success{ background:#E7F3E8; color:#2A6B32; border:1px solid #BFE2C2; }
.alert-error{ background:#FBE8E4; color:#A3341F; border:1px solid #F2C6BB; }

/* ===================== FOOTER ===================== */
footer.site-footer{ background:var(--camp); color:var(--cream); padding:56px 48px 30px; }
.footer-top{ display:grid; grid-template-columns:1.1fr 1.3fr 0.9fr; gap:40px; padding-bottom:36px; border-bottom:1px solid var(--line-dark); }
.footer-top h3{ font-family:'Fraunces', serif; font-weight:600; font-size:24px; margin-bottom:14px; }
.compass-mark{ width:64px; height:64px; border:1px solid rgba(243,236,224,0.35); border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.compass-mark svg{ width:28px; height:28px; animation: spin 12s linear infinite; }
@keyframes spin{ from{ transform:rotate(0deg);} to{ transform:rotate(360deg);} }
.subscribe-row p{ font-size:14px; line-height:1.7; color:rgba(243,236,224,0.65); margin-bottom:20px; max-width:420px; }
.sub-box{ display:flex; max-width:440px; border-radius:30px; overflow:hidden; border:1px solid var(--line-dark); }
.sub-box input{ flex:1; background:rgba(243,236,224,0.05); border:none; padding:14px 20px; color:var(--cream); outline:none; font-size:14px; }
.sub-box input::placeholder{ color:rgba(243,236,224,0.4); }
.sub-box button{ background:var(--sage); color:var(--night); border:none; padding:0 24px; font-weight:700; font-size:13px; letter-spacing:.03em; text-transform:uppercase; cursor:pointer; }
.footer-nav-list a{ display:block; padding:6px 0; font-size:14px; color:rgba(243,236,224,0.7); }
.footer-nav-list a:hover{ color:var(--gold); }
.socials{ display:flex; gap:10px; margin-top:18px; }
.socials a{ width:38px; height:38px; border-radius:9px; background:rgba(243,236,224,0.08); border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; opacity:.7; }
.socials svg{ width:16px; height:16px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; flex-wrap:wrap; gap:12px; }
.footer-bottom .about{ font-size:13px; line-height:1.7; color:rgba(243,236,224,0.5); max-width:520px; }
.footer-bottom .about strong{ color:var(--cream); }
.copyright{ font-size:12px; letter-spacing:.06em; color:rgba(243,236,224,0.4); }
/* ===================== ENHANCED HOME HERO WITH BACKGROUND ===================== */
.home-hero{
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 10%, rgba(227,163,59,0.12), transparent 70%), 
              linear-gradient(180deg, rgba(27,20,15,0.75) 0%, rgba(27,20,15,0.85) 60%, rgba(20,15,11,0.9) 100%);
  z-index: 1;
}
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}
.welcome-label{
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}
.hero-content h1{
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  max-width: 900px;
  color: #fff;
  margin: 0 auto 12px;
}
.hero-content > .lede{
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-subtitle{
  font-size: 16px;
  line-height: 1.7;
  color: rgba(243,236,224,0.85);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ===================== WHY CHOOSE US SECTION - ENHANCED ===================== */
.why-choose-us{
  background: linear-gradient(135deg, var(--paper) 0%, #FBF8F3 50%, #F9F4EB 100%);
  padding: 90px 0;
}

.why-choose-us .section-head{
  margin-bottom: 60px;
}

.why-choose-us .section-head h2{
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.why-card{
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(27,20,15,0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(227,163,59,0.1);
  position: relative;
  overflow: hidden;
}

.why-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rust), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.why-card:hover::before{
  transform: scaleX(1);
}

.why-card:hover{
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(27,20,15,0.15);
  border-color: rgba(227,163,59,0.3);
}

.why-card .icon{
  font-size: 56px;
  margin-bottom: 24px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

.why-card:nth-child(2) .icon { animation-delay: 0.3s; }
.why-card:nth-child(3) .icon { animation-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.why-card h3{
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.why-card p{
  font-size: 15.5px;
  line-height: 1.75;
  color: #6B5F52;
  margin: 0;
}

@media (max-width: 1000px){
  .why-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .why-card{
    padding: 32px 24px;
  }
}

@media (max-width: 640px){
  .why-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-card{
    padding: 28px 20px;
  }
  .why-card .icon{
    font-size: 48px;
  }
  .why-card h3{
    font-size: 18px;
  }
}

/* ===================== CATEGORY / SPOT CARDS - ENHANCED ===================== */
.spot-grid{ 
  display:grid; 
  grid-template-columns:repeat(4,1fr); 
  gap:24px; 
}

.spot-card{ 
  position:relative; 
  border-radius:20px; 
  overflow:hidden; 
  aspect-ratio:3/4; 
  box-shadow: 0 8px 24px rgba(27,20,15,0.12);
  transition: all 0.4s ease;
  cursor: pointer;
}

.spot-card img{ 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  transition:transform .5s cubic-bezier(0.23, 1, 0.320, 1); 
}

.spot-card:hover img{ 
  transform:scale(1.12); 
}

.spot-card::after{ 
  content:''; 
  position:absolute; 
  inset:0; 
  background:linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.8) 100%);
  transition: all 0.3s ease;
}

.spot-card:hover::after{
  background:linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%);
}

.spot-card .label{ 
  position:absolute; 
  left:24px; 
  bottom:24px; 
  z-index:2; 
  color:#fff; 
  font-family:'Fraunces',serif; 
  font-size:21px; 
  font-weight:700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.spot-card:hover .label{
  transform: translateY(-6px);
}

@media (max-width:1200px){ 
  .spot-grid{ 
    grid-template-columns:repeat(3,1fr); 
    gap: 20px;
  } 
}

@media (max-width:900px){ 
  .spot-grid{ 
    grid-template-columns:repeat(2,1fr); 
    gap: 18px;
  } 
}

@media (max-width:640px){ 
  .spot-grid{ 
    grid-template-columns:1fr; 
    gap: 16px;
  } 
}

/* ===================== ITINERARY CARDS LAYOUT ===================== */
.itinerary-cards{
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.itinerary-card{
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(27,20,15,0.05);
  transition: all 0.3s ease;
  position: relative;
}
.itinerary-card:hover{
  box-shadow: 0 8px 24px rgba(27,20,15,0.12);
  border-color: var(--rust);
}
.itinerary-card .card-header{
  background: linear-gradient(135deg, var(--rust), var(--gold));
  padding: 18px 24px;
  display: flex;
  align-items: center;
}
.itinerary-card .day-badge{
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.itinerary-card .card-body{
  padding: 22px 24px;
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
}
.itinerary-card .card-connector{
  height: 24px;
  background: linear-gradient(to bottom, var(--rust), transparent);
  opacity: 0.3;
  margin: 0 24px;
  border-left: 2px solid var(--rust);
  margin-left: calc(24px + 1px);
}
.itinerary-card:last-child .card-connector{
  display: none;
}

@media (max-width:900px){
  header.site-header{ padding:16px 18px; }
  nav.main-nav{ display:none; }
  .burger{ display:flex; }
  .container{ padding:0 20px; }
  .footer-top{ grid-template-columns:1fr; gap:30px; }
  footer.site-footer{ padding:44px 22px 24px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .tour-grid, .spot-grid, .blog-grid, .related-scroll{ grid-template-columns:1fr 1fr; }
}
@media (max-width:600px){
  .tour-grid, .spot-grid, .blog-grid, .related-scroll{ grid-template-columns:1fr; }
}


/* ===================== MEGA MENU ===================== */
.nav-item{
  position: relative;
  display: inline-block;
}

.nav-item > a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item > a::after{
  content: '▼';
  font-size: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover > a::after{
  opacity: 1;
}

.nav-item:hover > .megamenu{
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu{
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  background: #fff;
  border-radius: 14px;
  padding: 32px 40px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
  min-width: 560px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  transform: translateY(-10px);
}

.megamenu-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.megamenu-col h4{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1B140F;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 10px;
}

.megamenu-col a{
  display: block;
  font-size: 14px;
  color: #6B5F52;
  padding: 10px 0;
  text-transform: none;
  opacity: 0.85;
  transition: all 0.2s ease;
  letter-spacing: 0;
}

.megamenu-col a:hover{
  color: var(--rust);
  opacity: 1;
  padding-left: 8px;
  font-weight: 600;
}

@media (max-width: 1200px){
  .megamenu{
    min-width: 480px;
    padding: 24px 32px;
  }
  .megamenu-grid{
    gap: 32px;
  }
}

@media (max-width: 900px){
  nav.main-nav{
    display: none;
  }
}


/* ===================== MEGA MENU ===================== */
.nav-item{
  position: relative;
  display: inline-block;
}

.nav-item > a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item > a::after{
  content: '▼';
  font-size: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover > a::after{
  opacity: 1;
}

.nav-item:hover > .megamenu{
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu{
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  background: #fff;
  border-radius: 14px;
  padding: 32px 40px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
  min-width: 560px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  transform: translateY(-10px);
}

.megamenu-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.megamenu-col h4{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1B140F;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 10px;
}

.megamenu-col a{
  display: block;
  font-size: 14px;
  color: #6B5F52;
  padding: 10px 0;
  text-transform: none;
  opacity: 0.85;
  transition: all 0.2s ease;
  letter-spacing: 0;
}

.megamenu-col a:hover{
  color: var(--rust);
  opacity: 1;
  padding-left: 8px;
  font-weight: 600;
}

@media (max-width: 1200px){
  .megamenu{
    min-width: 480px;
    padding: 24px 32px;
  }
  .megamenu-grid{
    gap: 32px;
  }
}

@media (max-width: 900px){
  nav.main-nav{
    display: none;
  }
  .nav-item{
    display: block;
  }
}

/* Navigation contrast and narrow screens */
@media (min-width: 901px){
  nav.main-nav .megamenu{ top:100%; }
  nav.main-nav .megamenu-col a{
    color:#493b30;
    opacity:1;
  }
  nav.main-nav .megamenu-col a:hover,
  nav.main-nav .megamenu-col a:focus-visible{ color:var(--rust); }
}
/* Keep form controls within their grid tracks at every screen width. */
.search-card{ grid-template-columns:repeat(4,minmax(0,1fr)) auto; }
.search-card .field{ min-width:0; }
.search-card input,.search-card select{ display:block; min-width:0; width:100%; }
@media (max-width: 1000px){
  .search-card{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px){
  .header-actions > a{ display:none; }
  .mobile-panel:not(.open){ display:none; }
  .mobile-panel.open{ display:flex; }
}
@media (max-width: 600px){
  header.site-header{ padding:12px 16px; }
  .logo-text .main{ font-size:18px; }
  .search-card{
    width:calc(100% - 32px);
    max-width:none;
    margin:-60px auto 40px;
    padding:20px;
    grid-template-columns:minmax(0, 1fr);
  }
  .search-card .field, .search-card input, .search-card select,
  .search-card button{ min-width:0; width:100%; }
  .home-hero{ background-attachment:scroll; }
  .listing-layout{ grid-template-columns:minmax(0,1fr); }
  .listing-layout > *, .listing-layout .tour-grid, .listing-layout .tour-card{ min-width:0; }
  .listing-layout .filter-box{ padding:18px; }
  .listing-toolbar select{ max-width:100%; }
}
