/* ============================================================
   Uma Kayak Mirissa — Main Stylesheet
   Mobile-first, Nature-inspired, Glassmorphism + GSAP ready
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Award-Winning Palette: Deep Nature & Bioluminescence */
  --white:         #FFFFFF;
  --off-white:     #FBF9F6;
  --green-deep:    #0B2219;
  --green-primary: #1B4332;
  --green-mid:     #2D6A4F;
  --green-glow:    #40916C;
  --cyan-glow:     #00F5D4;
  --ocean-void:    #0A192F;
  --ocean-deep:    #112240;
  --mocha-gold:    #A67C52;
  --text-main:     #1A1A1A;
  --text-dark:     #0B2219;
  --text-muted:    #555555;
  --text-light:    #888888;
  
  /* Glass & Frost */
  --glass-white:   rgba(255, 255, 255, 0.08);
  --glass-dark:    rgba(10, 25, 47, 0.7);
  --glass-border:  rgba(255, 255, 255, 0.12);
  
  /* Curves & Shadows */
  --radius-sm:     4px;
  --radius-md:     12px;
  --radius-lg:     24px;
  --radius-full:   100px;
  --shadow-lux:    0 20px 80px rgba(0, 0, 0, 0.08);
  
  /* Motion & Typography */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition:    0.6s var(--ease-out-expo);
  --font-serif:    'Cormorant Garamond', serif; /* Sophisticated, high-fashion adventure */
  --font-sans:     'Inter', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}
/* Ensure headings and paragraphs in dark sections are white/light */
.hero h1, .hero h2, .hero h3, .hero h4, .hero p,
.inner-hero h1, .inner-hero h2, .inner-hero h3, .inner-hero h4, .inner-hero p,
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero h4, .page-hero p,
.cta-banner h1, .cta-banner h2, .cta-banner h3, .cta-banner h4, .cta-banner p {
  color: var(--white);
}

.hero p, .inner-hero p, .page-hero p, .cta-banner p {
  color: rgba(255, 255, 255, 0.85);
}
h1 { 
  font-size: clamp(3.5rem, 12vw, 9rem); 
  font-style: italic; 
  font-weight: 500;
  margin-bottom: 0.1em;
}
h2 { font-size: clamp(2.8rem, 7vw, 5rem); }
h3 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
p  { font-family: var(--font-sans); font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--text-muted); line-height: 1.9; font-weight: 400; }

/* ── Utility ────────────────────────────────────────────────── */
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-green { color: var(--green-primary); }
.text-mocha { color: var(--mocha); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--green-deep); color: var(--white);
}
.btn-primary:hover { background: var(--green-primary); transform: translateY(-3px); }

.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--white); color: var(--green-deep); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: var(--glass-dark);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px;
  width: 96%;
  margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-header); font-weight: 800; font-size: 1.3rem;
  color: var(--white);
  transition: var(--transition);
  white-space: nowrap;
}
.nav.scrolled .nav-logo { color: var(--green-primary); }
.nav-logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-primary); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  gap: clamp(16px, 2vw, 32px);
}
.nav-links a {
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  color: var(--white); position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.nav.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--green-primary);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { 
  display: none; 
  white-space: nowrap;
  padding: 14px 28px; /* Slightly tighter padding for the nav bar */
}
.nav-weather {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--white);
  padding: 6px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  transition: var(--transition);
  white-space: nowrap;
}
.nav.scrolled .nav-weather { color: var(--text-dark); background: rgba(0,0,0,0.05); }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
.nav.scrolled .nav-burger span { background: var(--text-dark); }

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--off-white);
  z-index: 999; display: flex; flex-direction: column;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-family: var(--font-header); font-weight: 700;
  font-size: 1.6rem; color: var(--text-dark);
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ── Loader ─────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--green-deep);
  z-index: 20000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo);
}
.loader-content { text-align: center; }
.loader-logo {
  font-family: var(--font-serif); font-size: 3rem; color: var(--white);
  letter-spacing: 0.3em; margin-bottom: 20px; font-weight: 500;
}
.loader-line {
  width: 100px; height: 1px; background: var(--white); margin: 0 auto;
  transform: scaleX(0); transform-origin: center;
  animation: loadLine 1.5s var(--ease-out-expo) forwards;
}
@keyframes loadLine { to { transform: scaleX(1); } }
.loader.fade-out { opacity: 0; pointer-events: none; }

/* ── Hero Section (Cinematic Crossfade) ──────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green-deep);
  text-align: center;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--green-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroCrossfade 28s infinite ease-in-out;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroKenBurns 28s infinite linear;
}

/* Stagger the animations for 4 images (28s total / 4 = 7s per slice) */
.hero-slide:nth-child(1), .hero-slide:nth-child(1) img {
  animation-delay: 0s;
}
.hero-slide:nth-child(2), .hero-slide:nth-child(2) img {
  animation-delay: 7s;
}
.hero-slide:nth-child(3), .hero-slide:nth-child(3) img {
  animation-delay: 14s;
}
.hero-slide:nth-child(4), .hero-slide:nth-child(4) img {
  animation-delay: 21s;
}

/* 
Crossfade Math for 4 images:
Total time: 100%
Each image gets 25% of the total time.
Fade in: ~5%
Hold: ~20%
Fade out: ~5%
Hidden: ~70%
*/
@keyframes heroCrossfade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,34,25,0.4) 0%, var(--green-deep) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 120px 24px;
  max-width: 1000px; margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--cyan-glow);
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 40px;
}

#hero-text-svg {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1200 / 370;
  display: block;
  margin: 0 auto;
}

.hero-serif-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: 172px; /* Colossal premium size to anchor the hero block with visual authority */
  fill: var(--white);
  text-anchor: middle;
  letter-spacing: -4px; /* Ultra-intimate editorial serif letter tracking */
  filter: url(#water-displacement);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 64px;
  font-family: var(--font-serif);
  font-style: italic;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}



.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.75rem; letter-spacing: 0.1em;
  pointer-events: none;
}

.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Trust Panel ────────────────────────────────────────────── */
.trust-panel {
  background: var(--green-deep);
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
/* Abstract ambient light in the background */
.trust-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100vw; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 245, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.stats-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative; z-index: 2;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.stats-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: var(--white);
  margin-bottom: 40px;
}
.stats-list {
  display: flex; flex-direction: column; gap: 32px;
}
.stat-row {
  display: flex; align-items: center; gap: 20px;
}
.stat-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.stat-content {
  display: flex; flex-direction: column; gap: 4px;
}
.stat-val {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 1.15rem; color: var(--cyan-glow);
  letter-spacing: 0.02em;
}
.stat-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Review Widget (Vertical Scroll) */
.reviews-carousel {
  display: flex; flex-direction: column; gap: 16px;
  margin: 0 auto; max-width: 800px;
  position: relative; z-index: 2;
  height: 480px; overflow-y: auto;
  scroll-behavior: smooth; scroll-snap-type: y mandatory;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  scrollbar-width: none; padding: 40px 0;
}
.reviews-carousel::-webkit-scrollbar { display: none; }
.review-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  flex-shrink: 0; scroll-snap-align: center;
}
.review-stars { 
  color: var(--cyan-glow); font-size: 0.85rem; margin-bottom: 20px; 
  letter-spacing: 0.15em;
}
.review-text { 
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,0.9); 
  margin-bottom: 32px; flex-grow: 1;
}
.review-author { font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem; color: var(--white); }
.review-source { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── Philosophy Section (Editorial Overlap) ───────────────────── */
.philosophy {
  display: flex; flex-direction: column;
}
.philosophy-image-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10; width: 100%;
  position: relative; z-index: 1;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.philosophy-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.philosophy-text {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  position: relative; z-index: 2;
  margin-top: -64px; /* overlap on mobile */
  margin-inline: 16px;
}

.philosophy-eyebrow {
  display: inline-block; color: var(--mocha);
  font-weight: 800; font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 24px;
}
.philosophy-title { 
  font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1; margin-bottom: 24px; color: var(--text-dark);
}
.philosophy-body { 
  font-size: 1.05rem; line-height: 1.7; color: var(--text-mid); margin-bottom: 40px; 
}

.philosophy-pillars { display: flex; flex-direction: column; }
.pillar {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-light); color: var(--green-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.pillar-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; color: var(--text-dark); }
.pillar-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ── Tour Cards ─────────────────────────────────────────────── */
.tours-section { background: var(--off-white); }
.section-header { margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block; color: var(--mocha);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 12px;
}
/* ── Tour Timeline (Time-based Safaris) ─────────────────────── */
.tour-timeline {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
.timeline-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}
.timeline-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; z-index: 2;
}
.timeline-card.t-sunrise::before { background: linear-gradient(90deg, #ffd166, #ffb703); }
.timeline-card.t-morning::before { background: linear-gradient(90deg, #90e0ef, #00b4d8); }
.timeline-card.t-afternoon::before { background: linear-gradient(90deg, #f77f00, #e85d04); }
.timeline-card.t-sunset::before { background: linear-gradient(90deg, #dc2f02, #9d0208); }
.timeline-card.t-snorkeling::before { background: linear-gradient(90deg, #00f5d4, #00b4d8); }

.timeline-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.timeline-card-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.timeline-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.timeline-card:hover .timeline-card-img img { transform: scale(1.05); }

.time-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 4px 12px; border-radius: 40px; font-weight: 800;
  font-size: 0.75rem; color: var(--text-dark); letter-spacing: 0.05em;
}

.timeline-card-body { padding: 24px; }
.tour-card-title { margin-bottom: 8px; font-size: 1.3rem; }
.tour-card-desc { font-size: 0.9rem; margin-bottom: 20px; color: var(--text-mid); }
.tour-meta-simple {
  font-size: 0.8rem; font-weight: 700; color: var(--text-light); margin-bottom: 16px;
}
.btn-link {
  font-weight: 700; font-size: 0.85rem; color: var(--green-primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.btn-link:hover { color: var(--green-mid); gap: 12px; }

/* ── Tour Premium Feature (Island Lagoon Picnic) ──────────────── */
.tour-premium-feature {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 50px rgba(45,106,79,0.1);
}
.premium-content { padding: 40px; flex: 1; }
.premium-badge {
  display: inline-block; background: var(--mocha); color: var(--white);
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 40px;
  margin-bottom: 16px; letter-spacing: 0.05em; text-transform: uppercase;
}
.tour-premium-feature h2 { font-size: 2.2rem; margin-bottom: 16px; }
.premium-img {
  aspect-ratio: 16/10; flex: 1; overflow: hidden;
}
.premium-img img { width: 100%; height: 100%; object-fit: cover; }
.premium-footer {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.08);
}

.tour-meta {
  display: flex; gap: 16px; margin-bottom: 20px;
}
.tour-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--text-light); font-weight: 600;
}
.tour-price { font-family: var(--font-header); font-weight: 800; }
.tour-price span { font-size: 0.75rem; font-weight: 500; color: var(--text-light); }

/* ── Map Teaser ─────────────────────────────────────────────── */
.map-teaser {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--green-primary) 100%);
  color: var(--white); text-align: center; overflow: hidden;
  position: relative;
}
.map-teaser::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.map-teaser-content { position: relative; z-index: 1; }
.map-preview {
  margin: 40px auto 0; max-width: 700px;
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative;
  background: var(--white);
}
.map-preview img {
  width: 100%; height: auto; display: block;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}
.map-preview::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle, transparent 50%, var(--white) 95%);
  pointer-events: none;
}

/* ── Wildlife Gallery ───────────────────────────────────────── */
.gallery-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-item {
  border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 1; background: var(--green-light);
  position: relative; cursor: pointer;
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/7; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,60,94,0.8), transparent);
  padding: 16px 12px 12px;
  color: var(--white);
  transform: translateY(100%); transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); }
.gallery-item-name { font-weight: 700; font-size: 0.85rem; }
.gallery-item-sci { font-size: 0.72rem; font-style: italic; opacity: 0.8; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--green-primary); color: var(--white);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

/* ── Sticky Footer CTA (Mobile) ─────────────────────────────── */
.sticky-footer-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.10);
  padding: 12px 20px;
  display: flex; gap: 12px; align-items: center;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
  transform: translateY(0);
  transition: transform var(--transition);
}
.sticky-footer-cta.hidden { transform: translateY(100%); }
.sticky-cta-text { flex: 1; }
.sticky-cta-label { font-size: 0.78rem; color: var(--text-light); }
.sticky-cta-value { font-weight: 800; font-size: 1rem; color: var(--green-primary); }
.sticky-cta-btn { flex-shrink: 0; padding: 12px 20px; font-size: 0.9rem; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--text-dark); color: rgba(255,255,255,0.75);
  padding: 64px 0 100px;
}
.footer-grid { display: grid; gap: 40px; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.20);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.social-link:hover { background: var(--green-primary); border-color: var(--green-primary); color: var(--white); }
.footer-col-title {
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green-mid); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; gap: 16px; justify-content: space-between;
  flex-wrap: wrap; font-size: 0.78rem;
}

/* ── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 80px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 800;
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative; min-height: 55vw; max-height: 520px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-deep), var(--green-primary));
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,60,94,0.85) 0%, rgba(26,60,94,0.25) 70%);
  z-index: 1;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 40px 24px; color: var(--white);
}

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.07); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; text-align: left;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  gap: 16px;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--off-white); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--green-primary); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-mid); }

/* ── Booking Form ───────────────────────────────────────────── */
.booking-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-soft);
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-weight: 700; font-size: 0.82rem; color: var(--text-dark); letter-spacing: 0.05em; }
.form-input, .form-select, .form-textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.93rem; color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
  background: var(--white);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; margin-top: 8px; }
.form-success {
  display: none; text-align: center; padding: 32px;
  background: var(--green-light); border-radius: var(--radius-md);
}
.form-success.show { display: block; }

/* ── Map Page ───────────────────────────────────────────────── */
#lagoon-map {
  height: 480px; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--green-light);
  box-shadow: var(--shadow-soft);
}
.map-legend {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px;
}
.legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600;
}
.legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
}

/* ── Wildlife Discovery ─────────────────────────────────────── */
.wildlife-discovery-grid {
  display: grid; gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .wildlife-discovery-grid { grid-template-columns: repeat(3, 1fr); }
}

.discovery-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lux);
  transition: var(--transition);
  position: relative;
}

.discovery-card:hover { transform: translateY(-8px); }

.discovery-img-wrap {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--green-deep);
}

.discovery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.discovery-card:hover .discovery-img-wrap img { transform: scale(1.1); }

.discovery-tag {
  position: absolute; top: 20px; right: 20px;
  background: var(--cyan-glow); color: var(--green-deep);
  padding: 6px 14px; border-radius: 40px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0,245,212,0.3);
}

.discovery-content { padding: 32px; }
.discovery-sci { 
  display: block; font-family: var(--font-serif); font-style: italic;
  font-size: 0.85rem; color: var(--mocha-gold); margin-bottom: 8px;
}
.discovery-content h4 { font-size: 1.4rem; margin-bottom: 12px; }
.discovery-content p { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); }

/* ── Flat Interactive Map ─────────────────────────────────────── */
.map-flat-scene {
  position: relative; 
  width: 100vw; 
  height: 80vh; 
  min-height: 600px; 
  max-height: 900px;
  margin-left: calc(-50vw + 50%); /* Break out of container */
  overflow: hidden;
  background: var(--white); 
  border-radius: 0; /* Remove border radius for full width edge-to-edge */
}

.map-flat-plane {
  position: absolute; width: 100%; height: 100%;
  top: 0; left: 0;
}

.map-flat-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.8);
}

/* Route SVG Path */
.map-route-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 6;
}

.route-path-base {
  fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 4;
  stroke-linecap: round; stroke-dasharray: 8 12;
}

.route-path-animated {
  fill: none; stroke: var(--cyan-glow); stroke-width: 4;
  stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: tracePath 6s linear infinite;
  filter: drop-shadow(0 0 5px var(--cyan-glow));
}

@keyframes tracePath {
  0% { stroke-dashoffset: 400; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: -400; opacity: 0; }
}

.map-hotspot {
  position: absolute; width: 44px; height: 44px;
  background: var(--green-deep); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 20px rgba(45,106,79,0.3);
  transition: var(--transition);
  z-index: 10;
}

.map-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--cyan-glow); color: var(--green-deep);
}

.hotspot-label {
  position: absolute; top: -45px; left: 50%; transform: translateX(-50%);
  background: var(--green-deep); color: var(--white);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.75rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.map-hotspot:hover .hotspot-label { opacity: 1; transform: translateX(-50%) translateY(-5px); }

/* Nature Pulse Animation */
.nature-pulse {
  position: relative;
}
.nature-pulse::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; border: 1px solid var(--cyan-glow);
  animation: pulseRipple 2.5s infinite; opacity: 0;
}
@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ── Lottie containers ──────────────────────────────────────── */
.lottie-ripple { width: 80px; height: 80px; margin: 0 auto 24px; }
.lottie-bird { width: 60px; height: 60px; }

/* ── Species Cards ──────────────────────────────────────────── */
.species-grid { display: grid; gap: 24px; }
.species-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.species-img {
  aspect-ratio: 16/9; background: var(--green-light); overflow: hidden;
}
.species-img img { width: 100%; height: 100%; object-fit: cover; }
.species-body { padding: 20px; }
.species-name { font-weight: 800; margin-bottom: 2px; }
.species-sci { font-style: italic; font-size: 0.8rem; color: var(--mocha); margin-bottom: 12px; }
.species-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.species-tag {
  background: var(--off-white); border-radius: 40px;
  padding: 3px 10px; font-size: 0.72rem; font-weight: 600; color: var(--text-mid);
}

/* ── Sustainability ─────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-card {
  text-align: center; padding: 28px 16px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.stat-number {
  font-family: var(--font-header); font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--green-primary); line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.82rem; color: var(--text-mid); font-weight: 600; }

/* ── Responsive (Tablet +) ──────────────────────────────────── */
@media (min-width: 640px) {
  /* trust grid removed */
  .tour-timeline { grid-template-columns: repeat(2, 1fr); }
  .tour-premium-feature { flex-direction: row; align-items: stretch; }
  .premium-content { padding: 64px; }
  /* philosophy desktop overlap rules */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .species-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .tour-timeline { grid-template-columns: repeat(4, 1fr); }
  
  .philosophy {
    display: grid; grid-template-columns: repeat(12, 1fr); align-items: center;
  }
  .philosophy-text {
    grid-column: 1 / 7; grid-row: 1; margin-top: 0; margin-inline: 0; padding: 72px 56px;
  }
  .philosophy-image-wrap {
    grid-column: 5 / 13; grid-row: 1; aspect-ratio: 16/10;
  }
}

/* ── Responsive (Desktop) ───────────────────────────────────── */
@media (min-width: 800px) {
  .trust-layout {
    display: flex; gap: 64px; align-items: center; justify-content: space-between;
  }
  .stats-panel {
    flex: 0 0 380px;
  }
  .reviews-carousel {
    flex: 1; margin: 0; max-width: 100%;
  }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .tour-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .species-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .sticky-footer-cta { display: none; }
}

/* ── Animations ─────────────────────────────────────────────── */
.reveal {
  opacity: 1; /* Changed from 0 to allow GSAP .from() to work */
  transform: translateY(0);
  transition: none !important; /* Prevent CSS transitions from fighting GSAP */
}
.reveal.reveal-done {
  transition: var(--transition) !important; /* Restore transitions for hover effects */
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Inner Pages Design System ─────────────────────────────── */
.inner-hero {
  position: relative;
  padding: 140px 0 100px;
  background-color: var(--green-deep);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.inner-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.3;
  mix-blend-mode: soft-light;
  object-fit: cover;
  pointer-events: none;
}

.comparison-section {
  background: var(--off-white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 70px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-primary);
  min-width: 800px;
}

.premium-table th {
  text-align: left;
  padding: 20px;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.premium-table td {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.premium-table tr:hover td {
  background: rgba(45,106,79,0.02);
}

.tour-article {
  display: grid;
  gap: 48px;
  margin-bottom: 120px;
  align-items: center;
}

@media (min-width: 992px) {
  .tour-article {
    grid-template-columns: 1fr 1fr;
  }
  .tour-article.reversed {
    direction: rtl;
  }
  .tour-article.reversed > * {
    direction: ltr;
  }
}

.tour-article-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  aspect-ratio: 4/3;
}

.tour-article-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.tour-article:hover .tour-article-visual img {
  transform: scale(1.05);
}

.tour-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  background: rgba(45,106,79,0.1);
  color: var(--green-primary);
}

/* ── About Page Components ────────────────────────────────── */
.team-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--ease-out);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--green-light);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 32px;
}

.team-name {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-primary);
  margin-bottom: 16px;
}

.commitment-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.commitment-item {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.commitment-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding-bottom: 60px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.1);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-year {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-primary);
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 96px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--green-primary);
  border-radius: 50%;
  z-index: 2;
}

/* ── Gallery & Wildlife Components ────────────────────────── */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
  box-shadow: 0 10px 20px rgba(45,106,79,0.2);
}

.species-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.species-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  transition: transform 0.6s var(--ease-out);
}

.species-card:hover {
  transform: translateY(-10px);
}

.species-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.species-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.species-card:hover .species-img-wrap img {
  transform: scale(1.08);
}

.species-sighting-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10,22,40,0.6);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.65rem;
  font-weight: 700;
  z-index: 2;
}

.species-body {
  padding: 32px;
}

.species-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.species-scientific {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--mocha);
  margin-bottom: 16px;
  display: block;
}

.species-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.species-meta-chip {
  background: var(--off-white);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-mid);
}

/* ── Contact & FAQ Components ────────────────────────────── */
.booking-form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0,0,0,0.08);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--off-white);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(45,106,79,0.05);
}

.form-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

/* ── Map & Location Components ────────────────────────────── */
#lagoon-map {
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}

.map-popup .maplibregl-popup-content {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 24px;
  max-width: 280px;
}

.popup-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.popup-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Journey Timeline (Map Landmarks) ───────────────────────── */
.timeline-list {
  display: flex; flex-direction: column; gap: 40px;
  max-width: 800px; margin: 0 auto;
  position: relative;
}

.timeline-list::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px; background: rgba(0,0,0,0.05);
}

.timeline-item {
  display: flex; gap: 32px;
  position: relative; z-index: 1;
}

.timeline-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.timeline-item:hover .timeline-icon {
  border-color: var(--cyan-glow); transform: scale(1.1);
}

.timeline-content {
  background: var(--white); padding: 32px;
  border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.05);
  flex-grow: 1; box-shadow: var(--shadow-soft);
}

.timeline-content h4 { font-size: 1.3rem; margin-bottom: 8px; color: var(--green-deep); }
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .timeline-list::before { left: 20px; }
  .timeline-item { gap: 20px; }
  .timeline-icon { width: 40px; height: 40px; font-size: 1rem; }
  .timeline-content { padding: 24px; }
}

/* Glassmorphism Timeline Items (for dark backgrounds) */
.timeline-glass .timeline-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.timeline-glass .timeline-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cyan-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Hotspot Pulse Effect */
.map-hotspot.pulse::before {
  content: ''; position: absolute; inset: -5px;
  border: 2px solid var(--cyan-glow); border-radius: 50%;
  animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Side Info Panel */
.hotspot-panel {
  position: absolute; top: 30px; right: 30px; bottom: 100px;
  width: 320px; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transform: translateX(calc(100% + 50px));
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 20; display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .hotspot-panel { top: 10px; right: 10px; bottom: 10px; left: 10px; width: auto; padding: 30px; }
}

.hotspot-panel.active { transform: translateX(0); }

.panel-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; font-size: 2rem;
  color: var(--text-muted); cursor: pointer; line-height: 1;
}

.panel-header { margin-bottom: 24px; }
.panel-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.panel-title { font-size: 1.8rem; color: var(--green-deep); margin-bottom: 8px; }
.panel-desc { font-size: 0.95rem; line-height: 1.7; color: var(--text-dark); margin-bottom: 24px; }
.panel-stat-tag {
  display: inline-block; padding: 6px 14px;
  background: var(--green-light); color: var(--green-deep);
  border-radius: 20px; font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── Map Tactical Stats Overlay ──────────────────────────────── */
.route-stat-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  position: absolute; bottom: 30px; left: 30px; right: 30px;
  z-index: 10; pointer-events: none;
}

@media (min-width: 1024px) {
  .route-stat-grid { grid-template-columns: repeat(4, 1fr); bottom: 40px; left: 40px; right: 40px; }
}

.route-stat-card {
  background: rgba(255,255,255,0.8); backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.4); border-radius: var(--radius-md);
  padding: 15px 20px; text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  pointer-events: auto;
}

.route-stat-value {
  display: block; font-size: 1.4rem; font-weight: 800;
  color: var(--green-deep); line-height: 1; margin-bottom: 4px;
}

.route-stat-label {
  display: block; font-size: 0.65rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em;
}

/* ── Tour Detail Components ─────────────────────────────── */
.tour-info-bar {
  background: var(--off-white);
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tour-info-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tour-info-item {
  text-align: center;
}

.tour-info-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.tour-info-value {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.itinerary-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding-bottom: 40px;
  position: relative;
}

.itinerary-item::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.1);
}

.itinerary-item:last-child::before {
  display: none;
}

.itinerary-time {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-primary);
  text-align: right;
}

/* ── Entrance Choreography & Polish ──────────────────────── */
.js-enabled .reveal {
  opacity: 0;
  will-change: transform, opacity;
}

.js-enabled .stagger-item { opacity: 0; }

/* Cinematic Glass Refinement */
.glass-panel {
  background: var(--glass-white);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lux);
}

/* Magnetic Button Visual Enhancement */
.btn-primary {
  transition: background 0.4s ease, transform 0.2s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(11, 34, 25, 0.2);
}

.btn-primary:hover {
  background: var(--green-mid);
  box-shadow: 0 20px 50px rgba(11, 34, 25, 0.4);
}

/* Parallax Depth Utilities */
.parallax-wrap {
  overflow: hidden;
  position: relative;
}

.parallax-img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  position: absolute;
  top: -5%; left: -5%;
}

/* ── Page-specific padding for fixed nav ────────────────────── */
.page-content { padding-top: 0; }

/* ── Premium Comparison Table ──────────────────────────────── */
.comparison-section {
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  background: var(--white);
  border: 1px solid var(--glass-border);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.premium-table th,
.premium-table td {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.premium-table th {
  background: rgba(251, 249, 246, 0.9); /* off-white with transparency */
  color: var(--green-deep);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  position: sticky;
  top: 70px;
  z-index: 10;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.premium-table tbody tr {
  transition: background 0.3s ease;
}

.premium-table tbody tr:hover {
  background: rgba(11, 34, 25, 0.03); /* slight green tint on hover */
}

.premium-table td {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ── Custom Cursor ─────────────────────────────────────────── */
.custom-cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--cyan-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.1s ease-out, background 0.3s ease;
  mix-blend-mode: difference;
}
.custom-cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid var(--cyan-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease-out;
}
.custom-cursor.active { transform: scale(3); background: var(--white); }
.custom-cursor-follower.active { transform: scale(1.5); border-color: var(--white); opacity: 0.3; }

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
  body { cursor: none !important; }
  a, button, .clickable, .tour-card, .gallery-item { cursor: none !important; }
}

