/* ═══════════════════════════════════════════════════════
   WANDERLUST — Parallax Website
   Design System & Styles
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Design Tokens)
───────────────────────────────────────────── */
:root {
  /* Palette */
  --deep-forest:  #0D1B14;
  --dark-green:   #1A3028;
  --mid-green:    #2C5043;
  --gold:         #C8A84B;
  --gold-light:   #E2C97E;
  --gold-pale:    #F5E9C3;
  --fog:          #F7F4EE;
  --cream:        #EDEAD2;   /* slight warm shift — not the generic default */
  --text-dark:    #1A2B1F;
  --text-muted:   #607A6B;
  --text-light:   #F0EDE6;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  7rem;

  /* Transitions */
  --t-fast:   0.2s ease;
  --t-mid:    0.4s ease;
  --t-slow:   0.7s ease;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--fog);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────────────
   SCROLL PROGRESS BAR
───────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 2000;
  transition: width 0.08s linear;
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 3px; /* clear progress bar */
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3.5rem;
  background: transparent;
  transition: background var(--t-mid), padding var(--t-mid), box-shadow var(--t-mid);
}

.navbar.scrolled {
  background: rgba(10, 22, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 3.5rem;
  box-shadow: 0 1px 0 rgba(200, 168, 75, 0.18);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  z-index: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.75rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.72);
  position: relative;
  transition: color var(--t-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--t-mid);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  transition: transform var(--t-mid), opacity var(--t-mid);
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--deep-forest);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin-bottom: 2.5rem;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.03em;
  transition: color var(--t-fast);
}

.mobile-nav a:hover {
  color: var(--gold-light);
}

/* ─────────────────────────────────────────────
   PARALLAX SECTIONS
───────────────────────────────────────────── */
.parallax {
  position: relative;
  min-height: 100vh;
  background-attachment: fixed;    /* ← THE parallax magic */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background images */
.parallax-hero {
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80');
}

.parallax-forest {
  background-image: url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1920&q=80');
  min-height: 75vh;
}

.parallax-ocean {
  background-image: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1920&q=80');
  min-height: 75vh;
}

.parallax-desert {
  background-image: url('https://images.unsplash.com/photo-1513002749550-c59d786b8e6c?w=1920&q=80');
  min-height: 80vh;
}

/* Overlay tints — each section has a personality */
.parallax-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 27, 20, 0.50);
}

.overlay-green {
  background: rgba(20, 48, 35, 0.55);
}

.overlay-blue {
  background: rgba(8, 28, 50, 0.52);
}

.overlay-amber {
  background: rgba(70, 28, 8, 0.48);
}

/* ─────────────────────────────────────────────
   HERO CONTENT
───────────────────────────────────────────── */
.hero-content {
  text-align: center;
  padding: 2rem;
  max-width: 860px;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 0.88;
  color: var(--text-light);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.78);
  max-width: 460px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 0.95rem 2.75rem;
  background: var(--gold);
  color: var(--deep-forest);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 168, 75, 0.35);
}

.cta-btn.outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  margin-top: 2rem;
}

.cta-btn.outline:hover {
  background: var(--gold);
  color: var(--deep-forest);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(240, 237, 230, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeUp 1s ease 1.5s both;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid rgba(200, 168, 75, 0.6);
  border-bottom: 1.5px solid rgba(200, 168, 75, 0.6);
  transform: rotate(45deg);
  margin: 0.6rem auto 0;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─────────────────────────────────────────────
   PARALLAX CAPTIONS (non-hero parallax sections)
───────────────────────────────────────────── */
.parallax-caption {
  text-align: center;
  padding: 2rem;
  max-width: 720px;
  z-index: 1;
}

.parallax-caption h2 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.08;
  margin: 1rem 0;
  letter-spacing: -0.015em;
}

.parallax-caption h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.parallax-caption p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.72);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   CONTENT SECTIONS — Base
───────────────────────────────────────────── */
.content-section {
  padding: var(--sp-xl) 3.5rem;
  position: relative;
}

.light-section  { background: var(--fog); }
.cream-section  { background: var(--cream); }
.dark-section   { background: var(--dark-green); }

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(200, 168, 75, 0.3);
}

.light-label {
  border-bottom-color: rgba(200, 168, 75, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 3.5rem;
  letter-spacing: -0.015em;
}

.section-title.light-text,
.light-text { color: var(--text-light) !important; }

h2 em,
.section-title em { font-style: italic; color: var(--gold); }

/* ─────────────────────────────────────────────
   ABOUT — Two-column layout
───────────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.content-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.18;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}

.text-link:hover {
  border-color: var(--gold);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat {
  padding: 2rem 1.75rem;
  background: white;
  border: 1px solid rgba(200, 168, 75, 0.18);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.stat:hover {
  border-color: rgba(200, 168, 75, 0.5);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   DESTINATION CARDS
───────────────────────────────────────────── */
.destination-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dest-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 168, 75, 0.12);
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  cursor: pointer;
}

.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}

.dest-card:hover .dest-img {
  transform: scale(1.05);
}

.dest-img-wrapper {
  overflow: hidden;
}

.dest-img {
  height: 230px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

/* Destination background images */
.dest-img-1 {
  background-image: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=700&q=80');
}

.dest-img-2 {
  background-image: url('https://images.unsplash.com/photo-1516410529446-2c777cb7366d?w=700&q=80');
}

.dest-img-3 {
  background-image: url('https://images.unsplash.com/photo-1528360983277-13d401cdc186?w=700&q=80');
}

.dest-info {
  padding: 1.4rem 1.6rem 1.75rem;
}

.dest-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.dest-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200, 168, 75, 0.4);
  padding: 0.25rem 0.75rem;
}

.dest-region {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(240, 237, 230, 0.4);
  text-transform: uppercase;
}

.dest-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.dest-info p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(240, 237, 230, 0.52);
}

/* ─────────────────────────────────────────────
   EXPERIENCE LIST
───────────────────────────────────────────── */
.experience-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.exp-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 1.75rem;
  background: white;
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.exp-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.exp-icon {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.exp-text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.exp-text p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  background: var(--deep-forest);
  padding: 5.5rem 3.5rem 2.5rem;
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200, 168, 75, 0.12);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(240, 237, 230, 0.44);
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200, 168, 75, 0.25);
  color: rgba(240, 237, 230, 0.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--deep-forest);
  border-color: var(--gold);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(240, 237, 230, 0.44);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(240, 237, 230, 0.44);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.footer-addr {
  margin-top: 0.8rem !important;
  line-height: 1.7 !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(240, 237, 230, 0.25);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 1.75rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(240, 237, 230, 0.25);
  letter-spacing: 0.06em;
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: var(--gold-light);
}

/* ─────────────────────────────────────────────
   SCROLL-TRIGGERED FADE-IN ANIMATIONS
───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in a group */
.fade-in:nth-child(2) { transition-delay: 0.12s; }
.fade-in:nth-child(3) { transition-delay: 0.24s; }
.fade-in:nth-child(4) { transition-delay: 0.36s; }

/* ─────────────────────────────────────────────
   RESPONSIVE — Tablet
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .content-grid {
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — Mobile
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar {
    padding: 1.1rem 1.5rem;
  }

  .navbar.scrolled {
    padding: 0.8rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* iOS doesn't support background-attachment:fixed on mobile — fall back */
  .parallax {
    background-attachment: scroll;
  }

  .content-section {
    padding: 5rem 1.5rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .destination-cards {
    grid-template-columns: 1fr;
  }

  .experience-list {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 4rem 1.5rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ─────────────────────────────────────────────
   REDUCED MOTION PREFERENCE
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .scroll-arrow {
    animation: none;
  }
}