/* ============================================================
   EarDell Africa : Design System & Component Styles
   Palette: Earth & Dusk
   ============================================================ */

/* === Fonts === */
@font-face {
  font-family: 'SS Safari';
  src: url('../assets/fonts/SS-Safari.ttf') format('truetype'),
       url('../assets/fonts/SS-Safari.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* === Tokens === */
:root {
  --dark-soil: #2B251C;
  --acacia-gold: #C59B6D;
  --canvas: #F5F0E8;
  --serengeti-green: #1A3B32;
  --charcoal: #3A352D;
  --warm-gray: #8A8279;
  --light-gold: #D4B896;
  --cream: #FAF7F2;

  /* ── 5-Level Typography Scale ────────────────────────
     xs   →  fine print / badges / footer notes (14px)
     sm   →  nav links / buttons / captions (16px)
     base →  body text / card descriptions (17px)
     lg   →  sub-headings / section labels (20 to 22px)
     xl   →  section titles (24 to 36px)
     hero →  hero & page titles only (32 to 52px)
  ─────────────────────────────────────────────────── */
  --fs-xs:   0.875rem;                           /* 14px */
  --fs-sm:   1rem;                               /* 16px */
  --fs-base: 1.0625rem;                          /* 17px */
  --fs-lg:   clamp(1.25rem, 2vw, 1.375rem);     /* 20 to 22px */
  --fs-xl:   clamp(1.5rem, 3.5vw, 2.25rem);      /* 24 to 36px */
  --fs-hero: clamp(2rem, 5vw, 3.25rem);          /* 32 to 52px */

  /* Backward-compat aliases (used throughout existing CSS & HTML) */
  --global--font-size-xs:   var(--fs-xs);
  --global--font-size-sm:   var(--fs-sm);
  --global--font-size-base: var(--fs-base);

  /* Legacy fluid tokens : remapped to new scale */
  --font-size-1: var(--fs-base);  /* was body/base */
  --font-size-2: var(--fs-lg);    /* was subheadings */
  --font-size-3: var(--fs-xl);    /* was section titles */
  --font-size-4: var(--fs-hero);  /* was hero titles */

  --global--letter-spacing: normal;
}

/* ── Baseline Typography Scale ─────────────── */
.text-\[10px\], .text-\[11px\], .text-\[12px\], .text-\[13px\] { font-size: var(--fs-xs); }
.text-xs  { font-size: var(--fs-xs); }
.text-sm  { font-size: var(--fs-sm); }
.text-base{ font-size: var(--fs-base); }
.text-lg  { font-size: var(--fs-lg); }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: var(--fs-xl); }
.text-4xl { font-size: var(--fs-xl); }
.text-5xl, .text-6xl, .text-7xl { font-size: var(--fs-hero); }

/* Custom High-Legibility Typography Utilities (20px on Desktop) */
.season-slide-text {
  font-size: 1rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .season-slide-text {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }
}

.section-subtitle-text {
  font-size: 1.05rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .section-subtitle-text {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }
}

.testimonial-quote-text {
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .testimonial-quote-text {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }
}

.traveler-card {
  flex: 0 0 85vw;
  min-width: 320px;
  max-width: 480px;
  min-height: 280px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .traveler-card {
    flex: 0 0 500px;
    min-width: 480px;
    max-width: 560px;
    min-height: 300px;
    height: auto;
  }
}

/* Form controls accessibility & legibility guard */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  font-size: 1rem !important;
  line-height: 1.5;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-base);
  letter-spacing: var(--global--letter-spacing);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--acacia-gold);
  color: var(--dark-soil);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

img { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'SS Safari', 'Playfair Display', serif;
  color: var(--dark-soil);
  line-height: 1.2;
  margin: 0;
}

/* ──────────────────────────────
   SCROLL-REVEAL ANIMATIONS
   ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .1s; }
.stagger > *:nth-child(3) { transition-delay: .2s; }
.stagger > *:nth-child(4) { transition-delay: .25s; }
.stagger > *:nth-child(5) { transition-delay: .35s; }

/* ──────────────────────────────
   NAVBAR
   ────────────────────────────── */
.navbar {
  transition: background-color .4s ease, box-shadow .4s ease, padding .3s ease;
}
.navbar.scrolled {
  background-color: rgba(43,37,28,.97) !important;
  box-shadow: 0 2px 24px rgba(43,37,28,.18);
  backdrop-filter: blur(12px);
}

/* Desktop nav anchor links : fixed at sm size (16px) regardless of viewport */
.navbar .hidden a[href]:not(.btn-inquire):not([aria-label]),
.navbar .hidden button,
.navbar .nav-link {
  font-size: var(--fs-sm);
}

/* Mobile menu links : use base size (readable but not oversized) */
.mobile-menu a {
  font-size: var(--fs-base) !important;
}

/* ──────────────────────────────
   HERO
   ────────────────────────────── */
.hero-gradient {
  background: linear-gradient(
    108deg,
    rgba(43,37,28,.92) 0%,
    rgba(43,37,28,.72) 38%,
    rgba(43,37,28,.3) 65%,
    transparent 100%
  );
}

/* ──────────────────────────────
   BUTTONS
   ────────────────────────────── */
.btn-primary {
  background-color: var(--acacia-gold);
  color: var(--dark-soil);
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--global--font-size-sm);
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .3s, transform .3s, box-shadow .3s;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: #b88b5e;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197,155,109,.35);
}

.btn-outline {
  border: 2px solid var(--acacia-gold);
  color: var(--acacia-gold);
  background: transparent;
  padding: 12px 34px;
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--global--font-size-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .3s, color .3s, transform .3s;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: var(--acacia-gold);
  color: var(--dark-soil);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--serengeti-green);
  color: #fff;
  padding: 14px 38px;
  border-radius: 8px;
  font-weight: 700;
  font-size: var(--global--font-size-base);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .3s, transform .3s, box-shadow .3s;
  text-decoration: none;
}
.btn-whatsapp:hover {
  background-color: #245a48;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,59,50,.35);
}

.btn-inquire {
  background-color: var(--acacia-gold);
  color: var(--dark-soil);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: var(--global--font-size-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-inquire:hover {
  background-color: #b88b5e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197,155,109,.4);
}

/* ──────────────────────────────
   FOOTER BOTTOM BAR
   ────────────────────────────── */
footer .footer-bottom-text {
  font-size: var(--fs-xs) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ──────────────────────────────
   MOBILE MENU
   ────────────────────────────── */
.mobile-menu {
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ──────────────────────────────
   CARDS : Generic
   ────────────────────────────── */
.card-hover {
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(43,37,28,.14);
}
.card-img-zoom {
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.card-hover:hover .card-img-zoom {
  transform: scale(1.06);
}

/* ──────────────────────────────
   FLIP CARD
   ────────────────────────────── */
.flip-card {
  perspective: 1000px;
  height: 260px !important;
  min-height: 250px !important;
}
@media (max-width: 640px) {
  .flip-card {
    height: 230px !important;
    min-height: 220px !important;
  }
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
}
.flip-card-front {
  background-color: transparent;
}
.flip-card-back {
  background-color: var(--dark-soil);
  color: var(--canvas);
  transform: rotateY(180deg);
}

/* ──────────────────────────────
   GUIDE CARD
   ────────────────────────────── */
.guide-photo {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid var(--acacia-gold);
  transition: border-color .3s;
}
.guide-card:hover .guide-photo {
  border-color: var(--serengeti-green);
}

/* ──────────────────────────────
   TRAVELER FEED
   ────────────────────────────── */



@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

@media (max-width: 640px) {
  
}

/* ──────────────────────────────
   SPLIT CARD (Featured Tour)
   ────────────────────────────── */
.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(43,37,28,.1);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.split-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 56px rgba(43,37,28,.18);
}
.split-card-img {
  height: 35vw;
  min-height: 300px;
  object-fit: cover;
  width: 100%;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.split-card:hover .split-card-img { transform: scale(1.04); }
@media (max-width: 768px) {
  .split-card { grid-template-columns: 1fr; }
  .split-card-img { height: 220px; }
}

/* ──────────────────────────────
   ACCORDION (Tour Itinerary)
   ────────────────────────────── */
.accordion-header {
  cursor: pointer;
  transition: background .2s;
}
.accordion-header:hover { background-color: rgba(197,155,109,.08); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.16,1,.3,1), padding .3s;
}
.accordion-body.open {
  max-height: 2500px;
}
.accordion-icon {
  transition: transform .3s ease;
}
.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

/* ──────────────────────────────
   TIMELINE (alternative style)
   ────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--acacia-gold), var(--serengeti-green), var(--acacia-gold));
}
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 12px rgba(43,37,28,.12);
}

/* ──────────────────────────────
   STICKY BOOKING BAR
   ────────────────────────────── */
.booking-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.booking-bar.visible { transform: translateY(0); }

/* ──────────────────────────────
   RISK REVERSAL BOX
   ────────────────────────────── */
.risk-box {
  border-radius: 16px;
  border: 2px solid var(--serengeti-green);
  background: linear-gradient(135deg, rgba(26,59,50,.06), rgba(197,155,109,.06));
}

/* ──────────────────────────────
   WILDLIFE GRID & FILTERS
   ────────────────────────────── */
.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--acacia-gold);
  background: transparent;
  color: var(--charcoal);
  font-size: var(--global--font-size-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--acacia-gold);
  color: var(--dark-soil);
  border-color: var(--acacia-gold);
}

.wildlife-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(43,37,28,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.wildlife-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(43,37,28,.12);
}
.wildlife-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform .5s ease;
}
.wildlife-card:hover img { transform: scale(1.06); }

/* ──────────────────────────────
   CHECKLIST
   ────────────────────────────── */
.check-item {
  transition: background .2s;
}
.check-item:hover { background: rgba(197,155,109,.06); }
.check-item input[type="checkbox"] {
  accent-color: var(--serengeti-green);
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.check-item.checked label {
  text-decoration: line-through;
  color: var(--warm-gray);
}

/* ──────────────────────────────
   LEAD CAPTURE
   ────────────────────────────── */
.lead-input {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(197,155,109,.35);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .3s;
  width: 100%;
}
.lead-input::placeholder { color: rgba(255,255,255,.5); }
.lead-input:focus { border-color: var(--acacia-gold); }

/* ──────────────────────────────
   STARS
   ────────────────────────────── */
.stars { color: #E8A838; letter-spacing: 2px; }

/* ──────────────────────────────
   DECORATIVE
   ────────────────────────────── */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--acacia-gold);
  border-radius: 2px;
}
.gold-line-center {
  width: 60px;
  height: 3px;
  background: var(--acacia-gold);
  border-radius: 2px;
  margin: 0 auto;
}

/* WhatsApp Pulse */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(26,59,50,.4); }
  70%  { box-shadow: 0 0 0 14px rgba(26,59,50,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,59,50,0); }
}
.pulse-whatsapp { animation: pulse-ring 2s ease-out infinite; }

/* ──────────────────────────────
   LEAFLET MAP OVERRIDES
   ────────────────────────────── */
#tour-map {
  border-radius: 16px;
  z-index: 1;
}
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  font-family: 'Lato', sans-serif !important;
}
.leaflet-popup-content {
  margin: 10px 14px !important;
  font-size: 14px !important;
}

/* ──────────────────────────────
   PARK PAGE HERO
   ────────────────────────────── */
.park-hero-gradient {
  background: linear-gradient(to top, rgba(43,37,28,.35) 0%, rgba(43,37,28,.2) 50%, rgba(43,37,28,.1) 100%);
}

/* ──────────────────────────────
   ANTI-BULLET LIST
   ────────────────────────────── */
.anti-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 18px;
  line-height: 1.7;
}
.anti-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 2px;
  background: var(--acacia-gold);
}

/* ──────────────────────────────
   RESPONSIVE
   ────────────────────────────── */
@media (max-width: 640px) {
  .guide-photo { width: 88px; height: 88px; }
}
/* ──────────────────────────────
   INQUIRY MODAL
   ────────────────────────────── */
/* ── SIDEBAR GALLERY ────────────────────────────── */
.sidebar-thumb-track {
  animation: sidebar-marquee 20s linear infinite;
}
.sidebar-thumb-track:hover { animation-play-state: paused; }



.fade-in-gallery {
  animation: gallery-fade 0.6s ease-out;
}
@keyframes gallery-fade {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

.inquiry-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(43,37,28,.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.inquiry-modal.active {
  display: flex;
  opacity: 1;
}
.inquiry-content {
  background-color: var(--canvas);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.inquiry-modal.active .inquiry-content {
  transform: translateY(0);
}
.inquiry-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--dark-soil);
  cursor: pointer;
  z-index: 10;
  background: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.inquiry-close:hover {
  background: var(--acacia-gold);
  color: white;
  transform: rotate(90deg);
}

.inquiry-step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.step-dot {
  flex: 1;
  height: 4px;
  background: rgba(43,37,28,0.1);
  border-radius: 2px;
  transition: all 0.3s;
}
.step-dot.active {
  background: var(--acacia-gold);
}

.recommended-trip-card {
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}
.recommended-trip-card:hover {
  border-color: var(--acacia-gold);
  transform: translateY(-4px);
}
.recommended-trip-card.selected {
  border-color: var(--acacia-gold);
  background-color: #fdfaf5;
}

.form-label {
  display: block;
  font-size: var(--global--font-size-xs);
  font-weight: 700;
  color: var(--dark-soil);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(43,37,28,0.15);
  border-radius: 8px;
  background: white;
  font-family: inherit;
  font-size: var(--global--font-size-sm);
  transition: all 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--acacia-gold);
  box-shadow: 0 0 0 3px rgba(197,155,109,0.1);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
  }
}

.trip-option {
  padding: 12px;
  border: 1.5px solid rgba(43,37,28,0.1);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.trip-option:hover {
  background-color: rgba(197,155,109,0.05);
}
.trip-option.active {
  background-color: var(--acacia-gold);
  color: var(--dark-soil);
  border-color: var(--acacia-gold);
}

/* Scrollbar for modal content */
.inquiry-content::-webkit-scrollbar {
  width: 6px;
}
.inquiry-content::-webkit-scrollbar-track {
  background: var(--canvas);
}
.inquiry-content::-webkit-scrollbar-thumb {
  background: var(--acacia-gold);
  border-radius: 10px;
}

/* ──────────────────────────────
   MONTH TIMELINE (Park Page)
   ────────────────────────────── */
.month-box {
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  border: 1px solid rgba(138,130,121,0.12);
}
.month-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(43,37,28,0.08);
}
.month-box.peak {
  background-color: var(--dark-soil);
  color: #fff;
}
.month-box.excellent {
  background-color: var(--acacia-gold);
  color: #fff;
}
.month-box.good {
  background-color: rgba(197,155,109,0.18);
  color: var(--dark-soil);
}

/* ──────────────────────────────
   PARK PAGE : MINIMALISTIC V3
   ────────────────────────────── */

/* Seasonal guide insight cards */
.season-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(138,130,121,0.12);
  padding: 28px 24px;
  transition: box-shadow 0.3s ease;
}
.season-card:hover {
  box-shadow: 0 8px 24px rgba(43,37,28,0.07);
}

/* Activity Cards : Minimalistic */
.activity-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(138,130,121,0.1);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.activity-card:hover {
  box-shadow: 0 12px 32px rgba(43,37,28,0.1);
  transform: translateY(-4px);
}
.activity-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.activity-card:hover .activity-card-img {
  transform: scale(1.04);
}
.activity-card-body {
  padding: 22px 24px 24px;
}
.activity-card-body h4 {
  font-family: 'SS Safari', serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--dark-soil);
  margin: 0 0 8px;
  line-height: 1.25;
}
.activity-card-body p {
  font-size: var(--fs-sm);
  color: var(--warm-gray);
  line-height: 1.6;
  margin: 0;
}

/* Wildlife Spotlight Cards */
.wildlife-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(138,130,121,0.12);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
}
.wildlife-card:hover {
  box-shadow: 0 12px 30px rgba(43,37,28,0.12);
  transform: translateY(-4px);
  border-color: rgba(197,155,109,0.35);
}
.wildlife-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.wildlife-card:hover .wildlife-card-img {
  transform: scale(1.06);
}
.wildlife-card-body {
  padding: 16px 14px 18px;
  text-align: center;
  background: #fff;
}
.wildlife-card-name {
  font-family: 'SS Safari', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-soil);
  margin: 0;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
.wildlife-card:hover .wildlife-card-name {
  color: var(--acacia-gold);
}

/* Hotel / Accommodation Cards : Minimalistic */
.hotel-card-simple {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(138,130,121,0.12);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
}
@media (max-width: 640px) {
  .hotel-card-simple { grid-template-columns: 1fr; }
}
.hotel-card-simple:hover {
  border-color: var(--acacia-gold);
  box-shadow: 0 12px 28px rgba(43,37,28,0.1);
  transform: translateY(-2px);
}
.hotel-card-simple.active {
  border-color: var(--acacia-gold);
  box-shadow: 0 0 0 2px var(--acacia-gold), 0 10px 24px rgba(197,155,109,0.2);
}
.hotel-card-img {
  height: 100%;
  min-height: 160px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hotel-card-simple:hover .hotel-card-img {
  transform: scale(1.05);
}
.hotel-card-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.hotel-category-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--acacia-gold);
  margin-bottom: 2px;
}

/* Park Quick Facts Strip */
.quick-fact-item {
  text-align: center;
  padding: 4px 0;
}
.quick-fact-value {
  font-family: 'SS Safari', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--acacia-gold);
  line-height: 1.2;
  display: block;
}
.quick-fact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  display: block;
}

/* Park Highlights List */
.park-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(138,130,121,0.1);
}
.park-highlight-item:last-child { border-bottom: none; }
.park-highlight-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--acacia-gold);
  margin-top: 7px;
}

/* Overview Showcase Image Frame */
.overview-showcase {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(43,37,28,0.12);
  aspect-ratio: 4/3;
}
.overview-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s ease;
}
.overview-showcase:hover img {
  transform: scale(1.03);
}

/* Other Destinations Cards */
.other-park-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(43,37,28,0.12);
}
.other-park-card:hover {
  box-shadow: 0 16px 40px rgba(43,37,28,0.2);
  transform: translateY(-4px);
}
.other-park-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.other-park-card:hover img {
  transform: scale(1.06);
}
.other-park-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,37,28,0.85) 0%, rgba(43,37,28,0.15) 60%, transparent 100%);
}
.other-park-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 18px;
}
.other-park-circuit {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--acacia-gold);
  display: block;
  margin-bottom: 4px;
}
.other-park-name {
  font-family: 'SS Safari', serif;
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  display: block;
  transition: color 0.3s;
}
.other-park-card:hover .other-park-name {
  color: var(--acacia-gold);
}


.traveler-feed { 
  overflow: hidden; 
  width: 100%; 
  padding: 30px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track { 
  display: flex; 
  align-items: stretch;
  width: max-content; 
  animation: sidebar-marquee 60s linear infinite; 
}
.traveler-feed:hover .marquee-track { animation-play-state: paused; }

@keyframes sidebar-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

/* ──────────────────────────────
   LEAFLET ITINERARY DAY MARKERS & MULTI-DAY CLUSTERS
   ────────────────────────────── */
.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.custom-marker-wrapper {
  position: relative;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  box-sizing: border-box;
}

/* Single Day Badge */
.single-day-badge {
  background: #C59B6D;
  color: #2B251C;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(43, 37, 28, 0.35);
  border: 3px solid #F5F0E8;
  font-family: 'Lato', sans-serif;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}
.single-day-badge:hover,
.single-day-badge.active-day {
  background: #C59B6D;
  color: #2B251C;
  border-color: #2B251C;
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(197, 155, 109, 0.55);
}

/* Multi-Day Clustered Marker Container */
.multi-day-cluster {
  position: relative;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

/* Stacked Multi-day Chip */
.multi-day-chip {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  box-shadow: 0 3px 12px rgba(43, 37, 28, 0.35);
  border: 3px solid #F5F0E8;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, z-index 0.2s, background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

/* Inactive / background chip in stack (resting state) */
.multi-day-chip.inactive-chip {
  background: #2B251C;
  color: #C59B6D;
  border-color: #F5F0E8;
  z-index: 5;
  transform: translate(5px, -5px) scale(0.92);
  opacity: 0.9;
}

/* Active / foreground chip in stack (resting state) */
.multi-day-chip.active-chip {
  background: #C59B6D;
  color: #2B251C;
  border-color: #2B251C;
  z-index: 20;
  transform: translate(0, 0) scale(1.08);
  box-shadow: 0 6px 18px rgba(197, 155, 109, 0.65);
  opacity: 1;
}

/* Hover Fan-out: Smoothly split/animate apart into distinct day markers */
.multi-day-cluster:hover .multi-day-chip[data-cluster-pos="0"] {
  transform: translate(-22px, 0) scale(1.12) !important;
  z-index: 30;
  box-shadow: 0 6px 16px rgba(43, 37, 28, 0.45);
}
.multi-day-cluster:hover .multi-day-chip[data-cluster-pos="1"] {
  transform: translate(22px, 0) scale(1.12) !important;
  z-index: 30;
  box-shadow: 0 6px 16px rgba(43, 37, 28, 0.45);
}
.multi-day-cluster:hover .multi-day-chip[data-cluster-pos="2"] {
  transform: translate(0, -26px) scale(1.12) !important;
  z-index: 30;
  box-shadow: 0 6px 16px rgba(43, 37, 28, 0.45);
}
.multi-day-cluster:hover .multi-day-chip:hover {
  transform: scale(1.25) !important;
  z-index: 40 !important;
  border-color: #2B251C !important;
  background: #C59B6D !important;
  color: #2B251C !important;
  box-shadow: 0 8px 20px rgba(197, 155, 109, 0.7) !important;
}

/* Custom Leaflet Map Popup Styling */
.leaflet-popup-content-wrapper {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 36px rgba(43, 37, 28, 0.18) !important;
  border: 1px solid rgba(138, 130, 121, 0.15) !important;
  padding: 0 !important;
  overflow: hidden;
}
.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4 !important;
}
.leaflet-popup-tip {
  background: #ffffff !important;
  box-shadow: 0 6px 16px rgba(43, 37, 28, 0.12) !important;
}
.leaflet-container a.leaflet-popup-close-button {
  top: 8px !important;
  right: 8px !important;
  color: #8A8279 !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(4px);
  z-index: 10;
}
.leaflet-container a.leaflet-popup-close-button:hover {
  color: #2B251C !important;
  background: #ffffff !important;
  transform: scale(1.1);
}

