/* ==========================================================================
   AETHERIA DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Color Palette - Premium Light (Aether & Ivory) */
  --bg-primary: #faf9f6;          /* Luxurious warm alabaster / ivory */
  --bg-secondary: #f0eee9;        /* Refined sand / sandstone texture */
  --bg-alt: #e6e4de;              /* Slightly deeper sand for visual depth */
  
  --accent-sunset: linear-gradient(135deg, #e05a47 0%, #f39c12 50%, #f1c40f 100%);
  --accent-sunset-solid: #e05a47;
  --accent-sunset-glow: rgba(224, 90, 71, 0.15);
  
  --accent-ocean: linear-gradient(135deg, #0e7490 0%, #0369a1 100%);
  --accent-ocean-solid: #0e7490;
  --accent-ocean-glow: rgba(14, 116, 144, 0.15);
  
  --accent-tropical: #047857;     /* Deep forest emerald */
  --accent-tropical-glow: rgba(4, 120, 87, 0.15);
  
  --text-dark: #0f172a;           /* Deep obsidian/slate for crisp readability */
  --text-muted: #475569;          /* Sophisticated dark slate grey */
  --text-light: #f8fafc;          /* High contrast light text */
  
  /* Glassmorphism Configuration */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.07);
  --glass-border-hover: rgba(15, 23, 42, 0.12);
  --backdrop-blur: blur(16px);
  
  /* Premium Shadow Mapping */
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --shadow-premium: 0 30px 60px -15px rgba(15, 23, 42, 0.08), 0 10px 20px -10px rgba(15, 23, 42, 0.04);
  --shadow-inset: inset 0 2px 4px 0 rgba(15, 23, 42, 0.02);
  
  /* Layout Dimensions */
  --header-height: 84px;
  --header-height-shrink: 70px;
  --container-max-width: 1240px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS (WITH DEFENSIVE OVERFLOW PREVENTION)
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden; /* CRITICAL: Strict removal of horizontal leaking */
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  max-width: 100%;
}

.text-gradient {
  background: var(--accent-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding: 100px 0;
}

@media(max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
}

.bg-alt {
  background-color: var(--bg-secondary);
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-sunset-solid);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  padding-left: 32px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-sunset);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

@media(max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent-sunset);
  color: var(--text-light);
  box-shadow: 0 10px 25px -5px rgba(224, 90, 71, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(224, 90, 71, 0.45);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   SCROLL PROGRESS TRACKER
   ========================================================================== */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--accent-sunset);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ==========================================================================
   HEADER NAVIGATION (FLOATING GLASSMORPHISM)
   ========================================================================== */

.main-header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 990;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  height: var(--header-height);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: var(--backdrop-blur);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
}

.main-header.scrolled {
  top: 8px;
}

.main-header.scrolled .header-container {
  height: var(--header-height-shrink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.compass-logo {
  color: var(--text-dark);
  animation: rotateCompass 20s linear infinite;
  transition: var(--transition-smooth);
}

.logo:hover .compass-logo {
  color: var(--accent-sunset-solid);
  animation-duration: 5s;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--text-dark);
}

.nav-menu {
  position: relative;
  display: none;
}

@media(min-width: 992px) {
  .nav-menu {
    display: block;
  }
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.nav-link {
  display: block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-slider-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 50px;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-cta {
  display: none;
  padding: 10px 22px;
  font-size: 0.85rem;
  background: var(--accent-sunset);
  color: var(--text-light);
  box-shadow: 0 4px 15px -3px rgba(224, 90, 71, 0.3);
}

@media (min-width: 576px) {
  .btn-nav-cta {
    display: inline-flex;
  }
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  gap: 5px;
  transition: var(--transition-smooth);
}

@media(min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle .line {
  width: 18px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-toggle[aria-expanded="true"] .line-1 {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .line-2 {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE MENU DRAWER (REDESIGNED FOR GLASSMARPHIC SLIDE-IN)
   ========================================================================== */

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.82);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(24px);
  box-shadow: -15px 0 50px rgba(15, 23, 42, 0.08);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.close-drawer {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 40px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.close-drawer:hover {
  transform: rotate(90deg);
  background: var(--accent-sunset-solid);
  color: var(--text-light);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link {
  display: block;
  padding: 14px 20px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition-fast);
  transform: translateX(40px);
  opacity: 0;
}

.mobile-menu-drawer.open .drawer-link {
  transform: translateX(0);
  opacity: 1;
}

/* Stagger link arrivals */
.mobile-menu-drawer.open .drawer-links li:nth-child(1) .drawer-link { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s; }
.mobile-menu-drawer.open .drawer-links li:nth-child(2) .drawer-link { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.15s; }
.mobile-menu-drawer.open .drawer-links li:nth-child(3) .drawer-link { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.2s; }
.mobile-menu-drawer.open .drawer-links li:nth-child(4) .drawer-link { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.25s; }
.mobile-menu-drawer.open .drawer-links li:nth-child(5) .drawer-link { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.3s; }
.mobile-menu-drawer.open .drawer-links li:nth-child(6) .drawer-link { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.35s; }

.drawer-link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--accent-sunset-solid);
  padding-left: 28px;
}

.btn-drawer-cta {
  margin-top: 24px;
  background: var(--accent-sunset);
  color: var(--text-light);
  text-align: center;
}

.btn-drawer-cta:hover {
  background: var(--accent-sunset-solid);
  padding-left: 20px;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   SECTION 1: HERO SECTION
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height supporting modern mobile devices and browser toolbars */
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
}

.parallax-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-layer-back {
  z-index: 1;
  height: 120%;
}

.parallax-layer-mid {
  z-index: 2;
  background: radial-gradient(circle at 75% 25%, rgba(243, 156, 18, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text-block {
  max-width: 650px;
  margin-bottom: 24px;
}

.hero-sub {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--accent-sunset-solid);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}

@media(max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--text-dark);
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelPulse 2s infinite;
}

/* ==========================================================================
   SECTION 2: FEATURED DESTINATIONS (MOBILE & DESKTOP DUAL INTERACTIVE)
   ========================================================================== */

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 576px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .destinations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.destination-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  outline: none;
}

.destination-card:focus {
  border-color: var(--accent-sunset-solid);
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 125%;
  overflow: hidden;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.destination-card:hover .card-img {
  transform: scale(1.1);
}

.card-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-light);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

/* Touch active mobile drawer overlay details inside image */
.mobile-stat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(224, 90, 71, 0.95), rgba(243, 156, 18, 0.85));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 3;
  pointer-events: none;
}

/* Mobile Tapped Active State */
.destination-card.mobile-active .mobile-stat-overlay {
  opacity: 1;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-location {
  color: var(--accent-sunset-solid);
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.card-footer-details {
  border-top: 1px solid var(--glass-border);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-coordinates {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-card-action {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.btn-card-action svg {
  transition: transform 0.3s ease;
}

.btn-card-action:hover {
  color: var(--accent-sunset-solid);
}

.btn-card-action:hover svg {
  transform: translateX(4px);
}

@media(max-width: 768px) {
  /* Reset staggered grid delays so cards animate immediately when scrolled into view */
  .destinations-grid .fade-up {
    transition-delay: 0s !important;
  }
  
  /* Smooth vertical fade, slide up, and scale reveal on scroll entry */
  .destination-card.fade-up {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }
  
  .destination-card.fade-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   TOUR PACKAGES: CINEMATIC ITINERARY PASSPORT (3D BOOKLET)
   ========================================================================== */

.passport-container {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  perspective: 1200px;
}

.passport-book {
  width: 100%;
  max-width: 780px;
  height: 550px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-premium);
  border-radius: 20px;
}

/* Cover Styling */
.passport-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #3b1c16; /* Heavy luxury deep brown leather color */
  border-radius: 20px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.05);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: left center;
  backface-visibility: hidden;
  color: #f5d0a9; /* Soft golden gold text */
}

/* Cover open rotation state */
.passport-book.open .passport-cover {
  transform: rotateY(-130deg);
}

.cover-design {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
}

.cover-design h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  color: inherit;
  font-weight: 800;
}

.cover-design p {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-passport-open {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  margin-top: 24px;
}

.btn-passport-open:hover {
  background: #f5d0a9;
  color: #3b1c16;
  border-color: #f5d0a9;
}

/* Passport Pages */
.passport-pages {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fdfcf7; /* Rich old aged paper background */
  border-radius: 20px;
  display: flex;
  z-index: 2;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(15, 23, 42, 0.05);
  border: 1px solid var(--glass-border);
}

.page-side {
  width: 50%;
  height: 100%;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-left {
  border-right: 1.5px solid rgba(15, 23, 42, 0.08);
  justify-content: center;
  align-items: center;
}

.page-right {
  justify-content: space-between;
}

@media(max-width: 768px) {
  .passport-book {
    width: 95%;
    max-width: 450px;
    margin: 0 auto;
    height: 680px; /* Compacted height to fit on smaller viewport screens */
  }

  .passport-book.open .passport-cover {
    transform: translateY(-105%) scale(0.92);
    opacity: 0;
    pointer-events: none;
  }

  .passport-pages {
    flex-direction: column;
    overflow: hidden; /* Eliminate vertical scrollbar traps */
  }
  
  .page-side {
    width: 100%;
    padding: 16px 20px;
  }
  
  .page-left {
    height: 38%; /* Allocate exact height for compact polaroid frame */
    border-right: none;
    border-bottom: 1.5px solid rgba(15, 23, 42, 0.08);
    justify-content: center;
    align-items: center;
  }

  .page-right {
    height: 62%; /* Larger allocation for full coordinates, title, list and actions */
    justify-content: space-between;
  }

  .passport-photo-frame {
    width: 45% !important;
    max-width: 130px !important;
    padding: 6px 6px 16px 6px !important;
    margin-bottom: 0px;
  }

  .passport-itinerary {
    margin: 8px 0 !important;
    gap: 6px !important;
  }

  .iti-day {
    gap: 10px !important;
  }

  .iti-day p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  .passport-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 8px !important;
    border-top: 1px dashed rgba(15, 23, 42, 0.15);
  }

  .btn-passport-book-cta {
    flex-grow: 1;
    text-align: center;
    font-size: 0.78rem !important;
    padding: 8px 16px !important;
  }

  .btn-passport-mobile-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-passport-mobile-arrow:hover {
    background: var(--accent-sunset-solid);
    color: var(--text-light);
    border-color: var(--accent-sunset-solid);
  }

  /* Completely hide absolute floating side arrows on mobile to prevent overlapping page content */
  .btn-passport-nav-arrow {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Left stamp page elements */
.passport-photo-frame {
  width: 85%;
  aspect-ratio: 4/5;
  background: #fff;
  padding: 12px 12px 32px 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transform: rotate(-2deg);
  position: relative;
}

.passport-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.2) contrast(1.05);
  transition: var(--transition-smooth);
}

/* Rubber Stamps styling */
.stamp {
  position: absolute;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.75;
}

.stamp-approved {
  border: 2px dashed #047857;
  color: #047857;
  top: 15px;
  right: -10px;
  transform: rotate(18deg);
}

.stamp-coordinates {
  border: 2.5px solid #0e7490;
  color: #0e7490;
  bottom: 8px;
  left: 20px;
  transform: rotate(-10deg);
  font-size: 0.6rem;
}

/* Right itinerary page elements */
.passport-header {
  border-bottom: 1px dashed rgba(15, 23, 42, 0.15);
  padding-bottom: 14px;
}

.passport-no {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.passport-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-top: 4px;
}

.passport-itinerary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
  flex-grow: 1;
}

.iti-day {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.iti-day span {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-sunset-solid);
  background: var(--accent-sunset-glow);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.iti-day p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.passport-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px dashed rgba(15, 23, 42, 0.15);
  padding-top: 18px;
}

.btn-passport-book-cta {
  font-size: 0.8rem;
  padding: 8px 24px;
}

.btn-passport-mobile-arrow {
  display: none;
}

/* Floating Circular Side Arrow Navigation Buttons */
.btn-passport-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

/* Symmetrical alignment */
.arrow-left {
  left: -24px;
}

.arrow-right {
  right: -24px;
}

/* Smooth fade in when booklet is opened */
.passport-book.open .btn-passport-nav-arrow {
  opacity: 1;
  pointer-events: auto;
}

.btn-passport-nav-arrow:hover {
  background: var(--bg-secondary);
  color: var(--accent-sunset-solid);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-passport-nav-arrow svg {
  transition: transform 0.3s ease;
}

.btn-passport-nav-arrow.arrow-left:hover svg {
  transform: translateX(-2px);
}

.btn-passport-nav-arrow.arrow-right:hover svg {
  transform: translateX(2px);
}

/* Responsive adjustments to keep buttons within screen viewport on narrow widths */
@media (max-width: 900px) {
  .arrow-left {
    left: 12px;
  }
  .arrow-right {
    right: 12px;
  }
}

/* ==========================================================================
   SENSORY EXPERIENCES: THE COMPASS DIAL (TACTILE ROTATOR)
   ========================================================================== */

.experiences-section {
  position: relative;
  overflow: hidden;
}

#exp-glow-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.2) 0%, transparent 70%); /* Default Beaches cyan */
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  transition: background 0.8s ease, opacity 0.8s ease;
}

.compass-interactive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media(min-width: 992px) {
  .compass-interactive-layout {
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: center;
  }
}

.compass-dial-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 3;
}

.compass-outer-ring {
  --ring-size: 280px;
  --label-radius: 115px;
  --center-size: 140px;
  --needle-height: 60px;

  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  border: 2px solid var(--glass-border-hover);
  background: var(--bg-primary);
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.compass-cardinal {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast), font-weight var(--transition-fast);
}

.compass-cardinal:hover {
  color: var(--accent-sunset-solid);
}

.compass-cardinal.active {
  color: var(--accent-sunset-solid);
  font-weight: 900;
}

/* Mathematically perfect circular translations spaced exactly 72 degrees apart */
.compass-n { transform: translate(-50%, -50%) rotate(0deg) translateY(calc(-1 * var(--label-radius))) rotate(0deg); }
.compass-e { transform: translate(-50%, -50%) rotate(72deg) translateY(calc(-1 * var(--label-radius))) rotate(-72deg); }
.compass-s { transform: translate(-50%, -50%) rotate(144deg) translateY(calc(-1 * var(--label-radius))) rotate(-144deg); }
.compass-w { transform: translate(-50%, -50%) rotate(216deg) translateY(calc(-1 * var(--label-radius))) rotate(-216deg); }
.compass-nw { transform: translate(-50%, -50%) rotate(288deg) translateY(calc(-1 * var(--label-radius))) rotate(-288deg); }

.compass-dial-center {
  width: var(--center-size);
  height: var(--center-size);
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--glass-border-hover);
  position: relative;
  cursor: grab;
  box-shadow: var(--shadow-inset), var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none; /* Prevents mobile scroll dragging interference */
}

.compass-dial-center:active {
  cursor: grabbing;
}

/* Snap active dragging state - disables needle rotation transitions for snappy real-time tracking */
.compass-dial-center.dragging .compass-needle {
  transition: none !important;
}

.compass-dial-center::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-dark);
  z-index: 5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.compass-needle {
  position: absolute;
  top: calc(50% - var(--needle-height));
  left: calc(50% - 3px);
  width: 6px;
  height: var(--needle-height);
  background: linear-gradient(to bottom, var(--accent-sunset-solid) 50%, var(--text-muted) 50%);
  border-radius: 100px;
  transform-origin: center bottom;
  transform: rotate(0deg); /* Manipulated in JS */
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.compass-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

@media(max-width: 768px) {
  .compass-outer-ring {
    --ring-size: 230px;
    --label-radius: 92px;
    --center-size: 110px;
    --needle-height: 48px;
  }

  .compass-cardinal {
    font-size: 0.58rem;
  }

  .compass-hint {
    font-size: 0.72rem;
    max-width: 250px;
  }

  #exp-glow-layer {
    width: 320px;
    height: 320px;
    filter: blur(60px);
  }

  .compass-interactive-layout {
    justify-items: center !important; /* Force grid tracks to align contents to the horizontal center */
  }

  .compass-details-card {
    padding: 20px !important;
    min-height: auto !important;
    width: calc(100% - 24px) !important; /* Dynamically scale down on narrow viewports to preserve clean spacing */
    max-width: 340px !important; /* Shrunk slightly to ensure perfect fit and margins */
    margin: 0 auto 0 12px !important; /* Shifted towards left with a solid 12px gutter and auto-right margins */
    box-sizing: border-box !important;
    border-radius: 20px !important;
    overflow: hidden !important; /* Prevent child content leaking out */
    justify-self: start !important; /* Align to the start (left) of grid cells */
  }

  .c-meta {
    font-size: 0.65rem !important;
    margin-bottom: 6px !important;
  }

  .c-title {
    font-size: 1.25rem !important;
    margin-bottom: 8px !important;
  }

  .c-desc {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
  }

  .c-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding-top: 12px !important;
    margin-bottom: 16px !important;
    justify-content: space-between !important;
  }

  .c-stat-item {
    flex: 1 1 110px !important;
    min-width: 0 !important; /* Eliminate hard layout grid constraints */
  }

  .c-stat-item span {
    font-size: 1.02rem !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important; /* Prevent long words (like Bioluminescent) from breaking parent widths */
  }

  .c-stat-item label {
    font-size: 0.6rem !important;
  }

  .compass-details-card .btn {
    padding: 8px 16px !important;
    font-size: 0.75rem !important;
    border-radius: 20px !important;
  }
}

@media(max-width: 480px) {
  .compass-outer-ring {
    --ring-size: 200px;
    --label-radius: 78px;
    --center-size: 96px;
    --needle-height: 40px;
  }

  .compass-cardinal {
    font-size: 0.52rem;
  }

  .compass-dial-block {
    gap: 12px;
  }

  .compass-hint {
    font-size: 0.68rem;
    max-width: 220px;
  }

  .compass-details-card {
    padding: 16px 12px !important;
    border-radius: 16px !important;
    width: calc(100% - 16px) !important; /* Guarantee responsive margins even on 320px viewports */
    max-width: 280px !important; /* Compact width perfectly fits the smallest viewports with zero leakage */
    margin: 0 auto 0 8px !important; /* Shifted towards left with a neat 8px gutter and auto-right margins */
    overflow: hidden !important;
    justify-self: start !important; /* Align to the start (left) of grid cells */
  }

  .c-meta {
    font-size: 0.6rem !important;
    margin-bottom: 4px !important;
  }

  .c-title {
    font-size: 1.12rem !important;
    margin-bottom: 6px !important;
  }

  .c-desc {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }

  .c-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 8px !important;
    margin-bottom: 12px !important;
    justify-content: space-between !important;
  }

  .c-stat-item {
    flex: 1 1 90px !important;
    min-width: 0 !important;
  }

  .c-stat-item span {
    font-size: 0.84rem !important; /* Shrunk slightly to keep Bioluminescent and Solar Geodesic elegant */
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .c-stat-item label {
    font-size: 0.55rem !important;
  }

  .compass-details-card .btn {
    padding: 7px 14px !important;
    font-size: 0.7rem !important;
  }
}

.compass-details-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: panelFadeIn 0.5s ease forwards;
}

.c-meta {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--accent-sunset-solid);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.c-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.c-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.c-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  margin-bottom: 28px;
}

.c-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-stat-item span {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}

.c-stat-item label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SECTION 5: TRAVELER STORIES (TESTIMONIALS SLIDER)
   ========================================================================== */

.testimonials-carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  height: 380px;
  transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Flawlessly animates dynamic height shifts */
}

@media(max-width: 768px) {
  .t-card {
    padding: 32px 24px !important;
    border-radius: 24px !important;
  }
  .t-comment {
    font-size: 1.1rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }
  .t-quotes {
    font-size: 4.5rem !important;
    left: 16px !important;
    top: 2px !important;
  }
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(60px);
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.t-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.t-quotes {
  position: absolute;
  top: 10px;
  left: 36px;
  font-size: 6.5rem;
  line-height: 1;
  font-family: 'Playfair Display', serif;
  color: var(--bg-secondary);
  user-select: none;
  z-index: 1;
}

.t-comment {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.t-user {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.t-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-secondary);
}

.t-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.t-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.carousel-btn {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--accent-sunset-solid);
  color: var(--text-light);
  border-color: var(--accent-sunset-solid);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--accent-sunset-solid);
  width: 24px;
  border-radius: 5px;
}

/* ==========================================================================
   SECTION 6: SCRAMBLED POLAROIDS GALLERY (CREATIVE ARTISTIC GRID)
   ========================================================================== */

.polaroid-pile-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 40px 0;
}

@media(min-width: 576px) {
  .polaroid-pile-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 992px) {
  .polaroid-pile-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 36px;
  }
}

.polaroid-card {
  background: #fff;
  padding: 16px 16px 40px 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
  z-index: 2;
}

/* Random scramble angles rotated via custom inline CSS variables */
.polaroid-card {
  --mobile-scale: 0.45; /* Mathematically scales down translation and rotation offsets on mobile */
  transform: rotate(calc(var(--rand-rot) * var(--mobile-scale))) translate(calc(var(--rand-x) * var(--mobile-scale)), calc(var(--rand-y) * var(--mobile-scale)));
}

@media(min-width: 576px) {
  .polaroid-card {
    --mobile-scale: 1; /* Apply full scrambled transformation offsets on desktop and tablet */
  }
}

@media(max-width: 575px) {
  .polaroid-card {
    max-width: 250px;
    margin: 0 auto;
    padding: 12px 12px 28px 12px !important;
  }
  
  .polaroid-caption {
    font-size: 0.65rem !important;
    margin-top: 8px !important;
  }
  
  .polaroid-tape {
    width: 68px !important;
    height: 18px !important;
    top: -9px !important;
  }
}

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.08) translateY(-12px);
  box-shadow: var(--shadow-premium);
  z-index: 20;
}

/* Small visual tape stickers layered on top */
.polaroid-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 90px;
  height: 24px;
  background: rgba(240, 238, 233, 0.48);
  border: 1px solid rgba(15, 23, 42, 0.03);
  backdrop-filter: blur(2px);
  z-index: 3;
  pointer-events: none;
}

.polaroid-photo {
  width: 100%;
  aspect-ratio: 1; /* Pure Polaroid square image ratio */
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) contrast(1.02);
  transition: transform 0.6s ease;
}

.polaroid-card:hover .polaroid-photo img {
  transform: scale(1.04);
}

/* Handwriting Typography labels */
.polaroid-caption {
  font-family: 'Reenie Beanie', cursive;
  font-size: 1.65rem;
  color: #334155;
  text-align: center;
  margin-top: 16px;
  line-height: 1;
}

/* ==========================================================================
   PORTRAIT LIGHBOX ZOOM (POLAROID SHARDS MODAL)
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  background: none;
  border: none;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--accent-sunset-solid);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.lightbox-arrow:hover {
  background: var(--accent-sunset-solid);
  border-color: var(--accent-sunset-solid);
}

.lb-prev { left: 32px; }
.lb-next { right: 32px; }

@media(max-width: 768px) {
  .lightbox-arrow {
    width: 48px;
    height: 48px;
  }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
}

/* Polaroid-Style modal wrapper card */
.polaroid-lightbox-card {
  background: #fff !important;
  padding: 20px 20px 48px 20px !important;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5) !important;
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 520px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0px !important; /* Sharp polaroid corners */
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.show .polaroid-lightbox-card {
  transform: scale(1);
}

.lb-polaroid-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-secondary);
}

.lb-polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-polaroid-caption-block {
  text-align: center;
  margin-top: 20px;
}

.lb-polaroid-caption-block h3 {
  font-family: 'Reenie Beanie', cursive;
  font-size: 2.2rem;
  color: #1e293b;
  margin-bottom: 2px;
}

.lb-polaroid-caption-block p {
  font-size: 0.72rem;
  font-family: 'Syne', sans-serif;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* ==========================================================================
   RELOCATED SECTION 7: TRIP PLANNER CONSOLE
   ========================================================================== */

.planner-section {
  border-top: 1px solid var(--glass-border);
}

.planner-relocated {
  width: 100%;
  max-width: var(--container-max-width) !important;
}

.trip-planner {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 32px;
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-premium);
  width: 100%;
}

.planner-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .planner-form {
    flex-direction: row;
    align-items: flex-end;
  }
}

.planner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .planner-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
}

.planner-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.planner-input-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.planner-input-group label .icon-label {
  font-size: 0.95rem;
}

.planner-input-group input,
.planner-input-group select {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 12px;
  width: 100%;
  transition: var(--transition-fast);
  outline: none;
}

.planner-input-group input:focus,
.planner-input-group select:focus {
  border-color: var(--accent-sunset-solid);
  box-shadow: 0 0 0 3px var(--accent-sunset-glow);
}

.input-with-dropdown {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-top: 8px;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  display: none;
  overflow: hidden;
}

.autocomplete-dropdown.show {
  display: block;
}

.dropdown-item {
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--accent-sunset-solid);
}

.btn-planner-search {
  background: var(--accent-sunset);
  color: var(--text-light);
  height: 48px;
  box-shadow: 0 4px 15px -3px rgba(224, 90, 71, 0.35);
  display: flex;
  gap: 8px;
  padding: 0 28px;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-planner-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(224, 90, 71, 0.45);
}

/* ==========================================================================
   SECTION 8: LAYERED BOOKING FORM WITH FLOATING LABELS
   ========================================================================== */

.booking-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media(min-width: 992px) {
  .booking-layout-wrapper {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    gap: 80px;
  }
}

.booking-details {
  max-width: 520px;
}

.booking-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.perk-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.p-icon-check {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--accent-sunset-solid);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--accent-sunset-solid);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px var(--accent-sunset-glow);
}

.p-item-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.p-item-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quote-mini {
  border-left: 2px solid var(--accent-sunset-solid);
  padding-left: 24px;
}

.q-txt {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.q-auth {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.booking-form-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 32px;
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-premium);
}

@media(max-width: 576px) {
  .booking-form-container {
    padding: 20px;
  }
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.floating-group {
  position: relative;
}

.floating-group input,
.floating-group textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.floating-group textarea {
  resize: vertical;
}

.floating-group label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label,
.floating-group textarea:focus + label,
.floating-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  background: var(--accent-sunset);
  color: var(--text-light);
  border-radius: 4px;
}

.floating-group input:focus,
.floating-group textarea:focus {
  border-color: var(--accent-sunset-solid);
  box-shadow: 0 0 0 3px var(--accent-sunset-glow);
}

.select-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.select-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-left: 4px;
}

.select-group select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.select-group select:focus {
  border-color: var(--accent-sunset-solid);
  box-shadow: 0 0 0 3px var(--accent-sunset-glow);
}

.checklist-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-left: 4px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media(min-width: 576px) {
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.check-box {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--glass-border-hover);
  background: var(--bg-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.custom-checkbox input:checked + .check-box {
  background: var(--accent-sunset-solid);
  border-color: var(--accent-sunset-solid);
}

.check-box::after {
  content: '✓';
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-fast);
}

.custom-checkbox input:checked + .check-box::after {
  opacity: 1;
  transform: scale(1);
}

.check-txt {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.btn-submit-iq {
  background: var(--accent-sunset);
  color: var(--text-light);
  height: 52px;
  box-shadow: 0 10px 25px -5px rgba(224, 90, 71, 0.35);
  display: flex;
  gap: 10px;
  font-weight: 700;
}

.btn-submit-iq:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(224, 90, 71, 0.45);
}

.error-msg {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e11d48;
  margin-top: 4px;
  padding-left: 6px;
  display: none;
}

.error-msg.show {
  display: block;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #e11d48;
}

/* ==========================================================================
   SUCCESS TOAST BANNER
   ========================================================================== */

.success-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--accent-tropical);
  border-radius: 20px;
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.success-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toast-icon {
  font-size: 1.8rem;
}

.toast-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.toast-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.close-toast {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* ==========================================================================
   SECTION 9: FOOTER (TRAVEL HUB) & FLOATING TO-TOP BUTTON
   ========================================================================== */

.main-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--glass-border);
}

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

@media(min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
  }
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: var(--accent-sunset-solid);
  color: var(--text-light);
  border-color: var(--accent-sunset-solid);
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-sunset-solid);
  padding-left: 4px;
}

.news-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.newsletter-form {
  position: relative;
}

.news-input-wrap {
  display: flex;
  position: relative;
}

.news-input-wrap input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 14px 50px 14px 20px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.news-input-wrap input:focus {
  border-color: var(--accent-sunset-solid);
  box-shadow: 0 0 0 3px var(--accent-sunset-glow);
}

.news-input-wrap button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-sunset);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.news-input-wrap button:hover {
  transform: scale(1.05);
}

.footer-bottom {
  padding: 32px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.f-bottom-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media(min-width: 768px) {
  .f-bottom-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.legal-links a:hover {
  color: var(--text-dark);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-sunset-solid);
  color: var(--accent-sunset-solid);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.1s linear;
  stroke-dasharray: 113.097;
  stroke-dashoffset: 113.097;
}

.arrow-up {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: -2px;
}

/* ==========================================================================
   SCROLL REVEAL STAGGERED ANIMATIONS (INTERSECTIONOBSERVER)
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ==========================================================================
   KEYFRAMES & CORE TRANSITION CODE
   ========================================================================== */

@keyframes rotateCompass {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scrollWheelPulse {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 10px); opacity: 0.2; }
}

@keyframes tabFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes panelFadeIn {
  0% { opacity: 0; transform: scale(0.96) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes panelFadeOut {
  0% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.96) translateY(10px); }
}

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

/* ==========================================================================
   MOBILE WIDGETS: POLAROID DIARY DECK & EXPERIENCES DIAL TUNER
   ========================================================================== */

/* 1. Desktop Hide & Layout Overrides */
.polaroid-diary-deck {
  display: none;
}
.experiences-dial-tuner {
  display: none;
}
.tuner-hint {
  display: none;
}

@media(max-width: 768px) {
  :root {
    --header-height: 64px;
    --header-height-shrink: 56px;
  }

  /* Floating Glassmorphic Header Mobile Adjustments */
  .main-header {
    top: 12px;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .header-container {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    border-radius: 100px !important;
  }

  .logo-text {
    font-size: 1.15rem !important;
    letter-spacing: 0.08em !important;
  }

  .compass-logo {
    width: 22px !important;
    height: 22px !important;
  }

  /* Complete hiding of desktop widgets to prevent layout overlap */
  .passport-book {
    display: none !important;
  }
  .compass-outer-ring {
    display: none !important;
  }
  .compass-hint {
    display: none !important;
  }

  /* Show mobile replacements */
  .polaroid-diary-deck {
    display: block;
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 40px auto 0 auto;
    min-height: 520px; /* Ensure space for rotating card stack height */
    padding: 0 16px;
  }

  .experiences-dial-tuner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    margin: 12px auto 10px auto;
  }

  .tuner-hint {
    display: block;
    font-size: 0.72rem;
    font-family: 'Syne', sans-serif;
    color: var(--text-muted);
    text-align: left;
    margin: 20px auto 4px 12px !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.4;
    max-width: 340px !important;
    box-sizing: border-box;
  }

  /* 2. Polaroid Diary Stack styles */
  .diary-card {
    background: #fff;
    padding: 16px 16px 28px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07), 0 3px 10px rgba(0, 0, 0, 0.03);
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    border-radius: 4px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.6s step-end;
    transform-origin: center bottom;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 440px;
  }

  .diary-card.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
    z-index: 10;
    pointer-events: auto;
  }

  .diary-card.next {
    opacity: 0.85;
    transform: translate3d(12px, 8px, -15px) rotate(4deg);
    z-index: 5;
    pointer-events: none;
  }

  .diary-card.prev {
    opacity: 0.85;
    transform: translate3d(-12px, 8px, -15px) rotate(-4deg);
    z-index: 4;
    pointer-events: none;
  }

  /* Out-of-deck transition classes for swipe animations */
  .diary-card.slide-out-right {
    opacity: 0;
    transform: translate3d(150%, 20px, 0) rotate(15deg);
    pointer-events: none;
  }

  .diary-card.slide-out-left {
    opacity: 0;
    transform: translate3d(-150%, 20px, 0) rotate(-15deg);
    pointer-events: none;
  }

  .diary-tape {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%) rotate(-2.5deg);
    width: 90px;
    height: 24px;
    background: rgba(224, 218, 202, 0.6);
    backdrop-filter: blur(1px);
    border: 1px dashed rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    z-index: 12;
  }

  .diary-photo-wrapper {
    width: 100%;
    aspect-ratio: 1.25;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .diary-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.08) contrast(1.02);
  }

  .diary-stamp {
    position: absolute;
    bottom: 8px;
    right: 8px;
    border: 2px solid rgba(220, 38, 38, 0.7);
    color: rgba(220, 38, 38, 0.7);
    font-family: 'Syne', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    transform: rotate(-10deg);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    user-select: none;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
  }

  .diary-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .diary-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    text-align: center;
  }

  .diary-itinerary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .diary-day {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
  }

  .diary-day span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-sunset-solid);
    letter-spacing: 0.05em;
  }

  .diary-day p {
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.35;
    margin: 0;
  }

  .diary-actions {
    margin-top: auto;
    width: 100%;
  }

  .btn-diary-cta {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 24px;
    letter-spacing: 0.06em;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
  }

  /* Polaroid Diary controls */
  .diary-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 470px; /* Positions controls nicely below the absolute card stack */
    position: relative;
    z-index: 20;
  }

  .diary-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .diary-btn:active {
    background: var(--accent-sunset-solid);
    color: #fff;
    transform: scale(0.95);
  }

  .diary-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .diary-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .diary-dot.active {
    background: var(--accent-sunset-solid);
    transform: scale(1.25);
  }

  /* 3. Experiences Scroll Dial Tuner styles */
  .tuner-indicator-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-sunset-solid);
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
  }

  .tuner-track-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 14px 0;
    border-top: 1.5px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1.5px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tuner-track-viewport::-webkit-scrollbar {
    display: none;
  }

  .tuner-spacer {
    flex: 0 0 50%;
    width: 50%;
    pointer-events: none;
  }

  .tuner-item {
    flex: 0 0 110px;
    width: 110px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.35;
    transform: scale(0.9);
  }

  .tuner-item.active {
    opacity: 1;
    transform: scale(1.15);
  }

  .tuner-tick {
    width: 2px;
    height: 10px;
    background: #94a3b8;
    margin-bottom: 6px;
    transition: all 0.3s ease;
  }

  .tuner-item.active .tuner-tick {
    background: var(--accent-sunset-solid);
    height: 16px;
  }

  .tuner-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #475569;
    transition: all 0.3s ease;
    text-align: center;
  }

  .tuner-item.active .tuner-label {
    color: var(--accent-sunset-solid);
  }
}

@media(max-width: 480px) {
  .logo-text {
    font-size: 1.05rem !important;
    letter-spacing: 0.06em !important;
  }
  .compass-logo {
    width: 20px !important;
    height: 20px !important;
  }
  .main-header {
    top: 10px;
    padding: 0 12px !important;
  }
  .header-container {
    padding: 0 12px !important;
  }
  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
    gap: 4px !important;
  }
  .mobile-toggle .line {
    width: 16px !important;
    height: 2px !important;
  }

  .t-card {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }
  .t-comment {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }
  .t-quotes {
    font-size: 3.5rem !important;
    left: 12px !important;
    top: -2px !important;
  }
  .t-avatar {
    width: 48px !important;
    height: 48px !important;
  }
  .t-name {
    font-size: 0.88rem !important;
  }
  .t-title {
    font-size: 0.7rem !important;
  }
  .tuner-hint {
    font-size: 0.65rem !important;
    max-width: 280px !important;
    margin: 16px auto 4px 8px !important;
    letter-spacing: 0.06em !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }
}
