/* ==============================================================================
   BBEAR TRAVELS - LUXURY TROPICAL DUAL-THEME DESIGN SYSTEM
   SLTDA License: SLTDA/SQA/TA/01942
   Default: Refined Light Mode with Full Dark Mode Support
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* --- LIGHT THEME (DEFAULT) TOKENS --- */
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f1f5f9;
  --bg-surface-tertiary: #e2e8f0;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-nav: rgba(255, 255, 255, 0.92);

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --emerald-50: #f0fdf4;
  --emerald-100: #dcfce7;
  --emerald-200: #bbf7d0;
  --emerald-300: #86efac;
  --emerald-400: #4ade80;
  --emerald-500: #22c55e;
  --emerald-600: #16a34a;
  --emerald-700: #15803d;
  --emerald-800: #166534;
  --emerald-950: #052e16;
  
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  --border-main: #e2e8f0;
  --border-subtle: rgba(22, 163, 74, 0.15);
  --border-highlight: rgba(22, 163, 74, 0.4);
  --border-card: rgba(0, 0, 0, 0.07);

  --shadow-ambient: 0 10px 30px -10px rgba(0, 0, 0, 0.07);
  --shadow-card-hover: 0 20px 35px -12px rgba(22, 163, 74, 0.18);
  --shadow-luxury: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

/* --- DARK THEME OVERRIDES --- */
html.dark {
  --bg-app: #080f18;
  --bg-surface: #0f172a;
  --bg-surface-secondary: #1e293b;
  --bg-surface-tertiary: #334155;
  --bg-card: #131d2e;
  --bg-card-hover: #1a273e;
  --bg-glass: rgba(15, 23, 42, 0.85);
  --bg-glass-nav: rgba(8, 15, 24, 0.90);

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-main: #1e293b;
  --border-subtle: rgba(34, 197, 94, 0.2);
  --border-highlight: rgba(34, 197, 94, 0.5);
  --border-card: rgba(255, 255, 255, 0.08);

  --shadow-ambient: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 20px 40px -12px rgba(34, 197, 94, 0.25);
  --shadow-luxury: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
}

/* Dynamic Glass Navigation */
.glass-nav {
  background-color: var(--bg-glass-nav) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-app);
  color: var(--text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-app);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
html.dark ::-webkit-scrollbar-thumb {
  background: #1e293b;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-600);
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.dark .text-gradient-emerald {
  background: linear-gradient(135deg, #ffffff 0%, #86efac 50%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphic Surfaces */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-main);
  box-shadow: var(--shadow-ambient);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel-hover:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.glass-nav {
  background: var(--bg-glass-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-main);
}

/* Card Surface Utilities */
.surface-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-ambient);
}
.surface-card:hover {
  background-color: var(--bg-card-hover);
}

/* Luxury Glowing Elements */
.glow-emerald {
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.35);
}

/* Touch Targets (Minimum 48px for thumb ergonomicity) */
.touch-target {
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Custom Range Slider */
input[type="range"].custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  outline: none;
  transition: background 0.2s;
}
html.dark input[type="range"].custom-slider {
  background: #1e293b;
}

input[type="range"].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-600);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(22, 163, 74, 0.5), 0 0 0 4px rgba(22, 163, 74, 0.15);
  transition: transform 0.15s ease;
}
html.dark input[type="range"].custom-slider::-webkit-slider-thumb {
  background: var(--emerald-400);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8), 0 0 0 4px rgba(34, 197, 94, 0.2);
}

input[type="range"].custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"].custom-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-600);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(22, 163, 74, 0.5);
  border: none;
}

/* Image Aspect Ratio Containers (CLS: 0.00 Prevention) */
.aspect-banner {
  aspect-ratio: 16 / 9;
}
.aspect-card {
  aspect-ratio: 4 / 3;
}
.aspect-portrait {
  aspect-ratio: 3 / 4;
}

/* Micro-Animations & Badges */
@keyframes pulse-subtle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s infinite ease-in-out;
}

/* Modal Backdrop & Lightbox */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
html.dark .modal-backdrop {
  background: rgba(4, 9, 16, 0.88);
}

/* Accordion Styling */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}
.accordion-content.open {
  max-height: 1200px;
  transition: max-height 0.45s cubic-bezier(1, 0, 1, 0);
}

/* Wishlist Heart Pulse Animation */
.heart-active {
  color: #ef4444 !important;
  fill: #ef4444 !important;
  transform: scale(1.15);
}

/* Badge Counter Pop */
.badge-pop {
  animation: badge-pop-anim 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badge-pop-anim {
  0% { transform: scale(0.6); }
  70% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Theme Toggle Button Micro-Animation */
.theme-toggle-btn svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-toggle-btn:hover svg {
  transform: rotate(20deg) scale(1.1);
}

/* Mobile Bottom Navigation Bar */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--bg-glass-nav);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-main);
    padding: 8px 16px;
    justify-content: space-around;
  }
  
  body {
    padding-bottom: 72px; /* Space for bottom nav */
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

/* ==============================================================================
   ABOUT US PAGE SPECIFIC ENHANCEMENTS (100% Matching GoFly Aesthetic)
   ============================================================================== */

/* Topographic Contour Background */
.bg-contour-pattern {
  background-image: radial-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 0);
  background-size: 24px 24px;
}
html.dark .bg-contour-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
}

/* Video Pulse Play Button */
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.video-play-pulse {
  animation: pulse-ring 2.2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

/* Timeline Milestone Item */
.timeline-dot {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-dot.active {
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.35);
}

.timeline-thumb {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-thumb.active {
  transform: scale(1.08);
  border-color: #2563eb !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

/* Soft Pastel Cards Hover Lift */
.pastel-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pastel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
}
html.dark .pastel-card:hover {
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top-btn:hover {
  transform: translateY(-4px);
  background: #2563eb;
  color: #ffffff;
}
html.dark .back-to-top-btn {
  background: #0f172a;
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.4);
}
/* ==============================================================================
   MULTI-TIER HEADER & NAVIGATION STYLING
   ============================================================================== */
.header-search-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  transition: all 0.2s ease;
}
.header-search-pill:focus-within {
  background: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
html.dark .header-search-pill {
  background: #0f172a;
  border-color: #1e293b;
  color: #f8fafc;
}
html.dark .header-search-pill:focus-within {
  background: #131d2e;
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

.nav-dropdown-group {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}
.nav-dropdown-group:hover .nav-dropdown-menu,
.nav-dropdown-group:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
html.dark .nav-dropdown-menu {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.whatsapp-header-box {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.whatsapp-header-box:hover {
  transform: translateY(-1.5px);
}

/* ==============================================================================
   IMMERSIVE BRAND FOOTER HERO & CALL-TO-ACTION
   ============================================================================== */
.brand-footer-container {
  position: relative;
  background-image: url('/upload/images/footer-img.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.brand-footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 24, 0.65) 0%,
    rgba(8, 15, 24, 0.82) 45%,
    rgba(5, 10, 18, 0.96) 100%
  );
  z-index: 1;
}

.brand-footer-content {
  position: relative;
  z-index: 2;
}

/* Paraglider & Air Adventure Animation */
@keyframes floatGlider {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(2.5deg);
  }
}

@keyframes floatParachute {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-14px) rotate(-3deg) scale(1.03);
  }
}

.anim-glider {
  animation: floatGlider 6s ease-in-out infinite;
}

.anim-parachute {
  animation: floatParachute 7s ease-in-out infinite;
}

/* Glass Feature Badges */
.footer-glass-badge {
  background: rgba(28, 33, 44, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-glass-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.6);
}

/* Custom CTA Glow Buttons */
.btn-cta-blue {
  background: #1d72fe;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
  transition: all 0.25s ease;
}

.btn-cta-blue:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.7);
}

.btn-cta-green {
  background: #4ade80;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #052e16;
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.45);
  transition: all 0.25s ease;
}

.btn-cta-green:hover {
  background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(34, 197, 94, 0.65);
}

/* Footer Bottom Back to Top Circle */
.footer-totop-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
  cursor: pointer;
}

.footer-totop-circle:hover {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

/* ==============================================================================
   APPLE DESIGN: OPTICAL LENS GLASS HERO SUITE (DUAL THEME: LIGHT & DARK)
   Inspired by Apple visionOS Optical Lens Glass & Specular Refraction
   ============================================================================== */

/* --- Default: Optical Lens Glass (Light Mode) --- */
.apple-liquid-glass,
.apple-lens-glass {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-top: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 20px 40px -10px rgba(15, 23, 42, 0.14),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.05);
  color: #0f172a;
  transform: translateZ(0);
  will-change: transform;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-liquid-glass:hover,
.apple-lens-glass:hover {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(255, 255, 255, 0.85);
  border-top-color: #ffffff;
  box-shadow: 
    0 25px 50px -10px rgba(15, 23, 42, 0.18),
    inset 0 1.5px 2px 0 #ffffff;
}

.apple-glass-pill {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(170%);
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 1px solid #ffffff;
  color: #0f172a;
  box-shadow: 
    0 4px 14px rgba(15, 23, 42, 0.06),
    inset 0 1px 1px #ffffff;
  transform: translateZ(0);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-glass-pill:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09);
}

.apple-glass-pill.active {
  background: rgba(236, 253, 245, 0.95) !important;
  border-color: #10b981 !important;
  border-top-color: #34d399 !important;
  color: #065f46 !important;
  box-shadow: 
    0 8px 20px -4px rgba(16, 185, 129, 0.25),
    inset 0 1px 1px #ffffff;
  transform: translateY(-2px);
}

.apple-glass-btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 
    0 14px 30px -6px rgba(16, 185, 129, 0.45),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  color: #ffffff !important;
  transform: translateZ(0);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-glass-btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 20px 38px -8px rgba(16, 185, 129, 0.6),
    inset 0 2px 2px rgba(255, 255, 255, 0.8);
}

.apple-glass-btn-secondary {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-top: 1.5px solid #ffffff;
  color: #0f172a !important;
  box-shadow: 
    0 8px 20px -4px rgba(15, 23, 42, 0.08),
    inset 0 1px 1px #ffffff;
  transform: translateZ(0);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: #10b981;
  color: #065f46 !important;
  transform: translateY(-2px);
  box-shadow: 
    0 12px 26px -6px rgba(16, 185, 129, 0.2),
    inset 0 1.5px 2px #ffffff;
}

.apple-liquid-control-dock {
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-top: 1.5px solid #ffffff;
  box-shadow: 
    0 20px 45px -10px rgba(15, 23, 42, 0.12),
    inset 0 1px 1px #ffffff;
  transform: translateZ(0);
}

.apple-slide-bar {
  background: rgba(0, 0, 0, 0.10);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  height: 4px;
}

.apple-slide-progress {
  background: linear-gradient(90deg, #34d399, #10b981);
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  transition: width 0.1s linear;
}

/* Fast Hardware-Accelerated Slide Layer */
.hero-slide {
  will-change: opacity, transform;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 7s ease-out;
}

.hero-slide.active-zoom {
  transform: translateZ(0) scale(1.05);
}

/* --- Dark Theme Overrides for Apple Optical Lens Glass --- */
html.dark .apple-liquid-glass,
html.dark .apple-lens-glass {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

html.dark .apple-liquid-glass:hover,
html.dark .apple-lens-glass:hover {
  background: rgba(15, 23, 42, 0.52);
  border-color: rgba(255, 255, 255, 0.30);
  border-top-color: rgba(255, 255, 255, 0.65);
}

html.dark .apple-glass-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  color: #f8fafc;
  box-shadow: 
    0 8px 20px -4px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

html.dark .apple-glass-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

html.dark .apple-glass-pill.active {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(52, 211, 153, 0.65) !important;
  border-top-color: rgba(110, 231, 183, 0.9) !important;
  color: #ffffff !important;
  box-shadow: 
    0 12px 28px -6px rgba(16, 185, 129, 0.4),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.7);
}

html.dark .apple-glass-btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff !important;
  box-shadow: 
    0 10px 24px -5px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

html.dark .apple-glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
}

html.dark .apple-liquid-control-dock {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    0 24px 48px -10px rgba(0, 0, 0, 0.55),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.45);
}

html.dark .apple-slide-bar {
  background: rgba(255, 255, 255, 0.2);
}


