/* ============================================================
   NASHIVAI SAFARIS – Global Site Styles
   SafariBookings-inspired layout & design system
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --teal: #1b9aaa;
  --teal-dark: #158a98;
  --teal-light: #e6f7fa;
  --gold: #d4a843;
  --gold-light: #fdf4e0;
  --navy: #1b3a4b;
  --navy-light: #2a5568;
  --red: #c0392b;
  --red-light: #f9e4e1;
  --green: #27ae60;
  --green-light: #e8f8ef;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1);
  --shadow: 0 2px 8px rgba(0,0,0,.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.15);
  --radius: 6px;
  --radius-lg: 10px;
  --max-width: 1240px;
  --header-h: 60px;
  --font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: .2s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5 { color: var(--navy); line-height: 1.3; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-gray { color: var(--gray-600); }
.text-sm { font-size: .85rem; }
.text-xs { font-size: .75rem; }
.text-lg { font-size: 1.15rem; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border: none; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: all var(--transition);
  text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #c49a38; color: var(--navy); }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #a93226; }
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3px;
}
.badge-teal { background: var(--teal-light); color: var(--teal); }
.badge-gold { background: var(--gold-light); color: #9a7a2e; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-red { background: var(--red-light); color: var(--red); }
.badge-best { background: var(--gold); color: var(--navy); }

/* ---------- Stars ---------- */
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 1px; white-space: nowrap; }
.stars .dim { color: var(--gray-300); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy); color: var(--white);
  height: var(--header-h);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.site-header .logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 700; font-size: 1.25rem; white-space: nowrap;
}
.site-header .logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.site-header .main-nav { display: flex; align-items: center; gap: 4px; }
.site-header .main-nav a {
  color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; transition: all var(--transition);
}
.site-header .main-nav a:hover,
.site-header .main-nav a.active { background: rgba(255,255,255,.12); color: var(--white); }
.site-header .nav-cta {
  background: var(--gold); color: var(--navy); font-weight: 700;
  border-radius: var(--radius); padding: 8px 18px;
}
.site-header .nav-cta:hover { background: #c49a38; color: var(--navy); }
.site-header .mobile-toggle {
  display: none; background: none; border: none; color: var(--white);
  font-size: 1.5rem; cursor: pointer; padding: 4px;
}
/* Mobile nav */
@media (max-width: 900px) {
  .site-header .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--navy); flex-direction: column; padding: 12px 20px;
    box-shadow: var(--shadow-md);
  }
  .site-header .main-nav.open { display: flex; }
  .site-header .main-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-header .mobile-toggle { display: block; }
}

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: var(--white);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,58,75,.82) 0%, rgba(27,154,170,.55) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-size: 2.8rem; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero p { font-size: 1.2rem; opacity: .92; margin-bottom: 28px; max-width: 600px; }

/* Search Box */
.search-box {
  background: var(--white); border-radius: var(--radius-lg); padding: 20px 24px;
  box-shadow: var(--shadow-lg); max-width: 900px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
}
.search-box .field { flex: 1; min-width: 160px; }
.search-box label { display: block; font-size: .78rem; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.search-box input,
.search-box select {
  width: 100%; padding: 10px 12px; border: 2px solid var(--gray-300); border-radius: var(--radius);
  font-size: .95rem; transition: border-color var(--transition);
}
.search-box input:focus,
.search-box select:focus { border-color: var(--teal); outline: none; }
.search-box .btn { min-height: 44px; }

/* Trust Badges */
.trust-bar {
  background: var(--navy); color: rgba(255,255,255,.9); padding: 18px 0; font-size: .85rem;
}
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-item .icon { font-size: 1.3rem; color: var(--gold); }

/* ============================================================
   SECTION STYLING
   ============================================================ */
.section { padding: 48px 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { color: var(--gray-600); max-width: 600px; margin: 0 auto; }
.section-navy .section-header p { color: rgba(255,255,255,.7); }

/* ============================================================
   TOUR CARDS (used on homepage & tours listing)
   ============================================================ */
.tour-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
}
.tour-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tour-card .card-img {
  position: relative; height: 200px; overflow: hidden;
}
.tour-card .card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.tour-card:hover .card-img img { transform: scale(1.05); }
.tour-card .card-img .badge-best {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; font-size: .8rem;
}
.tour-card .card-img .fav-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gray-600); transition: all var(--transition);
}
.tour-card .card-img .fav-btn:hover { color: var(--red); background: var(--white); }
.tour-card .card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.tour-card .card-title {
  font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tour-card .card-title a { color: inherit; }
.tour-card .card-title a:hover { color: var(--teal); }
.tour-card .card-route {
  font-size: .82rem; color: var(--gray-600); margin-bottom: 10px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.tour-card .card-route .arrow { color: var(--teal); font-weight: 700; }
.tour-card .card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tour-card .card-meta .tag {
  font-size: .75rem; padding: 3px 8px; border-radius: 4px;
  background: var(--gray-100); color: var(--gray-700);
}
.tour-card .card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-200);
}
.tour-card .card-price { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.tour-card .card-price span { font-size: .8rem; font-weight: 400; color: var(--gray-600); }
.tour-card .card-operator {
  display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--gray-600);
}
.tour-card .card-operator img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* ============================================================
   DESTINATION CARDS (homepage)
   ============================================================ */
.dest-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.dest-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 220px; cursor: pointer;
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dest-card:hover img { transform: scale(1.08); }
.dest-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,58,75,.8) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
  color: var(--white);
}
.dest-card .overlay h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 2px; }
.dest-card .overlay span { font-size: .8rem; opacity: .85; }

/* ============================================================
   OPERATOR CARDS (homepage)
   ============================================================ */
.op-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.op-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 24px; text-align: center; transition: all var(--transition);
}
.op-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.op-card .op-logo {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: var(--teal);
}
.op-card h3 { font-size: 1rem; margin-bottom: 4px; }
.op-card .op-loc { font-size: .82rem; color: var(--gray-600); margin-bottom: 8px; }
.op-card .op-stats { font-size: .82rem; color: var(--gray-600); }

/* ============================================================
   TOURS LISTING PAGE
   ============================================================ */
.tours-page { display: flex; gap: 28px; }
.tours-sidebar {
  width: 280px; flex-shrink: 0;
}
.tours-main { flex: 1; min-width: 0; }

/* Filter Sidebar */
.filter-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 20px; margin-bottom: 16px;
}
.filter-card h3 {
  font-size: .95rem; margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.filter-card .filter-group { margin-bottom: 14px; }
.filter-card .filter-group label {
  display: flex; align-items: center; gap: 8px; padding: 4px 0;
  font-size: .88rem; cursor: pointer; color: var(--gray-700);
}
.filter-card .filter-group input[type="checkbox"],
.filter-card .filter-group input[type="radio"] { accent-color: var(--teal); }
.filter-card .filter-group .count { margin-left: auto; font-size: .75rem; color: var(--gray-500); }
.filter-card .price-range { display: flex; gap: 8px; align-items: center; }
.filter-card .price-range input {
  width: 100%; padding: 6px 10px; border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: .85rem;
}
.filter-card .price-range span { color: var(--gray-500); }

/* Listing Header */
.listing-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 20px;
}
.listing-header h1 { font-size: 1.5rem; }
.listing-header .result-count { color: var(--gray-600); font-size: .9rem; }
.listing-header .sort-select {
  padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: .85rem; color: var(--gray-700);
}

/* Pagination */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 32px;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: .88rem; color: var(--gray-700); transition: all var(--transition);
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .active {
  background: var(--teal); color: var(--white); border-color: var(--teal); font-weight: 600;
}
.pagination .dots { border: none; }

@media (max-width: 900px) {
  .tours-page { flex-direction: column; }
  .tours-sidebar { width: 100%; }
}

/* ============================================================
   TOUR DETAIL PAGES (shared with existing styles)
   ============================================================ */
.detail-hero {
  position: relative; height: 400px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.detail-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,58,75,.75) 0%, transparent 60%);
}
.detail-hero .hero-content {
  position: relative; z-index: 2; padding: 32px; width: 100%;
  color: var(--white); max-width: var(--max-width); margin: 0 auto;
}
.detail-hero h1 { font-size: 2.2rem; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,.3); margin-bottom: 8px; }
.detail-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .92rem; opacity: .92; }
.detail-hero .hero-meta .sep { color: rgba(255,255,255,.4); }

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0; font-size: .82rem; color: var(--gray-600);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.breadcrumbs a { color: var(--teal); }
.breadcrumbs .sep { color: var(--gray-400); }

/* Tab Navigation */
.tab-nav {
  display: flex; border-bottom: 2px solid var(--gray-200);
  gap: 0; background: var(--white); position: sticky; top: var(--header-h);
  z-index: 100; overflow-x: auto;
}
.tab-nav a {
  padding: 14px 20px; font-size: .92rem; font-weight: 500; color: var(--gray-600);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  white-space: nowrap; transition: all var(--transition);
}
.tab-nav a:hover { color: var(--teal); }
.tab-nav a.active { color: var(--teal); border-bottom-color: var(--teal); font-weight: 600; }

/* Tab Panel */
.tab-panel { display: none; padding: 28px 0; animation: fadeIn .3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Detail Content Layout */
.detail-layout {
  display: flex; gap: 28px;
}
.detail-main { flex: 1; min-width: 0; }
.detail-sidebar { width: 340px; flex-shrink: 0; }
@media (max-width: 900px) {
  .detail-layout { flex-direction: column; }
  .detail-sidebar { width: 100%; }
}

/* Sidebar Cards */
.sidebar-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-200); }

/* Quote Form */
.quote-form .form-group { margin-bottom: 12px; }
.quote-form label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 4px; color: var(--gray-700); }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: .9rem; transition: border-color var(--transition);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--teal); outline: none; }
.quote-form textarea { resize: vertical; min-height: 80px; }

/* Day Card (Day by Day tab) */
.day-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-bottom: 20px;
  overflow: hidden;
}
.day-card .day-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--teal-light); border-bottom: 1px solid #c5eaf0;
  cursor: pointer;
}
.day-card .day-header h3 { color: var(--teal); font-size: 1rem; margin: 0; }
.day-card .day-header .toggle-icon { font-size: 1.2rem; color: var(--teal); transition: transform var(--transition); }
.day-card.open .day-header .toggle-icon { transform: rotate(180deg); }
.day-card .day-body { padding: 20px; display: none; }
.day-card.open .day-body { display: block; }

/* Rates Table */
.rates-table { width: 100%; border-collapse: collapse; }
.rates-table th, .rates-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-200);
  font-size: .9rem;
}
.rates-table th { background: var(--gray-50); font-weight: 600; color: var(--gray-700); }
.rates-table .price { font-weight: 700; color: var(--navy); }
.rates-table .status-available { color: var(--green); font-weight: 600; }
.rates-table .status-limited { color: var(--gold); font-weight: 600; }
.rates-table .status-full { color: var(--red); font-weight: 600; }

/* Inclusions List */
.inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .inc-exc-grid { grid-template-columns: 1fr; } }
.inc-list li, .exc-list li {
  padding: 6px 0; font-size: .9rem; display: flex; align-items: flex-start; gap: 8px;
}
.inc-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.exc-list li::before { content: '✗'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   ABOUT & CONTACT PAGES
   ============================================================ */
.page-header {
  background: var(--navy); color: var(--white); padding: 48px 0 36px;
}
.page-header h1 { color: var(--white); font-size: 2rem; margin-bottom: 8px; }
.page-header p { opacity: .8; font-size: 1.05rem; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 400px; gap: 32px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .about-section { grid-template-columns: 1fr; } }
.about-section img { border-radius: var(--radius-lg); }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px;
}
.team-card { text-align: center; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.team-card h3 { font-size: 1rem; margin-bottom: 2px; }
.team-card p { font-size: .85rem; color: var(--gray-600); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.8); padding: 48px 0 0;
}
.site-footer h4 {
  color: var(--white); font-size: .95rem; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .5px;
}
.site-footer a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-bottom: 32px;
}
.footer-grid ul li { margin-bottom: 8px; font-size: .88rem; }
.footer-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px;
}
.footer-stat { text-align: center; }
.footer-stat .num { font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.footer-stat .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 1.2rem; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero h1 { font-size: 2.2rem; }
  .tour-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}
@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .search-box { flex-direction: column; }
  .search-box .field { min-width: 100%; }
  .section { padding: 32px 0; }
  .tour-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .dest-grid { grid-template-columns: 1fr; }
  .trust-bar .container { flex-direction: column; align-items: center; }
}

/* ============================================================
   ROUTE MAP (Leaflet)
   ============================================================ */
.route-map-container {
  margin: 16px 0 24px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e0e4e8;
  background: #f8f9fa;
}
.route-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(135deg, #1b3a4b 0%, #1b9aaa 100%);
  color: #fff;
  font-size: .85rem;
}
.route-map-header .map-title {
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.route-map-header .map-title svg {
  width: 18px;
  height: 18px;
  fill: #d4a843;
}
.route-map-header .map-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  opacity: .9;
}
#routeMap {
  height: 360px;
  width: 100%;
  z-index: 1;
}
.route-map-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 16px;
  background: #f1f3f5;
  font-size: .78rem;
  color: #555;
  flex-wrap: wrap;
}
.route-map-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.route-map-legend .legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.route-map-legend .legend-line {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.route-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: .85rem;
}
.route-table th {
  background: #edf0f3;
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  color: #1b3a4b;
  border-bottom: 2px solid #d4a843;
}
.route-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e8ecef;
  vertical-align: middle;
}
.route-table tr:last-child td { border-bottom: none; }
.route-table .day-badge {
  display: inline-block;
  background: #1b9aaa;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.route-table .park-link {
  color: #1b9aaa;
  font-weight: 600;
  text-decoration: none;
}
.route-table .park-link:hover { text-decoration: underline; }
.route-table .start-end {
  background: #d4a843;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
}

/* Leaflet custom markers */
.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  text-align: center;
  line-height: 1;
}
.marker-start-end {
  width: 30px;
  height: 30px;
  background: #d4a843;
  font-size: 13px;
}
.marker-park {
  width: 26px;
  height: 26px;
  background: #1b9aaa;
}
.marker-park.active-day {
  background: #c0392b;
}
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  font-family: inherit !important;
}
.leaflet-popup-content {
  margin: 10px 14px !important;
  font-size: .85rem !important;
}
.leaflet-popup-content h4 {
  margin: 0 0 4px !important;
  color: #1b3a4b !important;
  font-size: .95rem !important;
}
.leaflet-popup-content p {
  margin: 0 !important;
  color: #666 !important;
  font-size: .8rem !important;
}

@media (max-width: 600px) {
  #routeMap { height: 280px; }
  .route-map-legend { gap: 12px; font-size: .72rem; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .search-box, .sidebar-card, .tab-nav { display: none; }
  .detail-layout { flex-direction: column; }
  .tab-panel { display: block !important; }
  body { font-size: 12pt; color: #000; }
}
