/* === Landing Page Styles === */

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Scroll snap */
html, body { scroll-snap-type: y proximity; }

/* Partner logos infinite scroll */
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll-x {
  animation: scroll-x 30s linear infinite;
}
.animate-scroll-x:hover {
  animation-play-state: paused;
}

/* Selection highlight */
::selection {
  background: #f5ebe0;
  color: #493522;
}

/* Scroll-reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* Nav scroll states */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.nav-scrolled #nav-brand,
.nav-scrolled #nav-contact,
.nav-scrolled #nav-planner {
  color: #0f172a !important;
}
.nav-scrolled #nav-brand .bg-white {
  background-color: #0f172a !important;
}
.nav-scrolled #nav-brand .bg-white span {
  color: #fff !important;
}
.nav-scrolled #nav-brand > span {
  color: #0f172a !important;
}
.nav-scrolled #nav-brand .border-white\/30 {
  border-color: rgba(15, 23, 42, 0.2) !important;
}
.nav-scrolled #nav-brand .text-white\/80,
.nav-scrolled #nav-brand .text-white\/40 {
  color: rgba(15, 23, 42, 0.5) !important;
}
.nav-scrolled #nav-contact:hover,
.nav-scrolled #nav-planner:hover {
  color: #a87c52 !important;
}
.nav-scrolled #nav-hamburger {
  color: #0f172a !important;
}

/* --- Mobile hamburger menu --- */
#nav-hamburger { display: none; }
#nav-links { display: flex; }

@media (max-width: 767px) {
  #nav-hamburger { display: flex; }
  #nav-links { display: none !important; }
}

#nav-hamburger.active {
  color: white !important;
}

/* Hamburger lines */
#nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
#nav-hamburger.active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
#nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
#nav-hamburger.active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Full-screen mobile overlay */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
#mobile-menu a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease, color 0.2s ease;
}
#mobile-menu.open a {
  transform: translateY(0);
  opacity: 1;
}
#mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
#mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
#mobile-menu.open a:nth-child(3) { transition-delay: 0.20s; }
#mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
#mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }
#mobile-menu a:active {
  color: #c4956a;
}

/* Hero image */
#hero img, #hero video {
  transition: transform 0.1s linear;
}

/* Experience cards hover lift */
#experiences .grid > a {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}
#experiences .grid > a:hover {
  transform: scale(1.03);
  z-index: 10;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Wildlife editorial collage */
.wildlife-collage {
  position: relative;
}
.wildlife-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.55s ease;
  will-change: transform;
}
.wildlife-card:hover {
  transform: scale(1.22);
  z-index: 20;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}
.wildlife-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wildlife-card:hover img {
  transform: scale(1.06);
}

/* Image collage hover lift */
#destination .grid > div {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#destination .grid > div:hover {
  transform: translateY(-4px);
}

/* Experience cards 3-col on large screens */
@media (min-width: 1024px) {
  #experiences .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contact form styles */
.form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #cbd5e1;
  padding: 1rem 0 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  background: transparent;
  color: #1e293b;
  transition: border-color 0.3s;
  outline: none;
}
.form-input:focus {
  border-bottom-color: #c4956a;
}
.form-input::placeholder {
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Hide scrollbar globally */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Video covers — ensure aspect fill */
video[autoplay] {
  object-fit: cover;
}

/* Highlight reel transitions */
#reel-container video {
  will-change: opacity;
}
#reel-dots button {
  cursor: pointer;
  border: none;
  outline: none;
}
