/* ===========================================================================
   GoLUXIGO - DEEP UX PASS 2026
   Fixes all responsive, hover, glass morphism, and scroll-snap issues
   Brand: Navy #0C1421, Gold #C8A45C, Cream #F4EFE6
   ========================================================================== */

/* ─── 1. DESKTOP HEADER INITIAL GLASS MORPHISM (Bug 1.1/5.1) ─── */
.header-nav {
  background: rgba(12, 20, 33, 0.35) !important;
  backdrop-filter: blur(8px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(160%) !important;
  border-bottom: 1px solid rgba(200, 164, 92, 0.08) !important;
}
.header-nav.scrolled {
  background: rgba(12, 20, 33, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(200, 164, 92, 0.15) !important;
}

/* ─── 2. GOLD HOVER STATES CONSISTENCY ─── */

/* 2.1 .btn-outline gold hover (Bug 1.2/4.5) */
.btn-outline:hover {
  background-color: rgba(200, 164, 92, 0.1) !important;
  border-color: var(--color-gold-hover, #E5C37E) !important;
  color: var(--color-gold, #C8A45C) !important;
  transform: translateY(-3px) !important;
}

/* 2.2 .destination-btn gold hover (Bug 4.1) */
.destination-btn:hover {
  color: var(--color-gold-hover, #E5C37E) !important;
}
.destination-btn:hover::after {
  transform: translateX(6px) !important;
  opacity: 1 !important;
}

/* 2.3 .exp-link gold hover (Bug 4.2) */
.exp-link:hover {
  color: var(--color-gold-hover, #E5C37E) !important;
}
.exp-link:hover::after {
  transform: translateX(6px) !important;
  opacity: 1 !important;
}

/* 2.4 .destination-card gold border on hover (Bug 4.3) */
.destination-card {
  border: 1px solid transparent !important;
  transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.destination-card:hover {
  border-color: var(--color-gold, #C8A45C) !important;
}

/* 2.5 .footer-links a:hover gold (Bug 4.4) */
.footer-links a:hover {
  color: var(--color-gold, #C8A45C) !important;
  padding-left: 5px !important;
}

/* 2.6 .contact-detail hover states (Bug 4.6) */
.contact-detail-item:hover .contact-detail-icon {
  background: rgba(200, 164, 92, 0.2) !important;
  border-color: var(--color-gold-hover, #E5C37E) !important;
  transform: scale(1.05) !important;
}
.contact-detail-item:hover .contact-detail-val {
  color: var(--color-gold, #C8A45C) !important;
}

/* 2.7 .destination-card-link hover gold tint (Bug 4.7) */
.destination-card-link:hover .destination-name {
  color: var(--color-gold, #C8A45C) !important;
}
.destination-card-link:hover {
  transform: translateY(-4px) !important;
}

/* ─── 3. MOBILE BOTTOM NAV UNIFIED STYLES (Bug 2.1/2.2/2.3) ─── */
.mobile-bottom-nav {
  border-radius: 28px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.nav-backdrop {
  height: 80% !important;
  border: 1px solid rgba(200, 164, 92, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ─── 4. SCROLL SNAP IMPROVEMENTS (Bug 3.1) ─── */
@media (min-width: 1025px) {
  html {
    scroll-snap-type: y proximity !important;
  }
  section {
    scroll-snap-stop: normal !important;
  }
}

/* ─── 5. UNIVERSAL MAX-WIDTH FIX (Bug 6.3) ─── */
img, video, iframe, table, .container, .section-content, 
.hero-content, .pillars-grid, .destinations-grid, .acc-grid, 
.exp-wrapper, .testi-grid, .badges-grid, .journal-grid, 
.contact-layout, .footer-grid {
  max-width: 100% !important;
}

/* ─── 6. ULTRA-WIDE SCREEN OPTIMIZATION (Bug 6.5) ─── */
@media (min-width: 1800px) {
  .section-content {
    max-width: 1600px !important;
  }
  .nav-container {
    max-width: 1600px !important;
  }
  .nav-links {
    gap: 4rem !important;
  }
  .destinations-grid {
    gap: 2rem !important;
  }
}

/* ─── 7. MOBILE FULL RESET & ENHANCEMENT (≤1024px) ─── */
@media (max-width: 1024px) {
  .header-nav {
    background: rgba(12, 20, 33, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(200, 164, 92, 0.12) !important;
  }
  
  .nav-container {
    padding: 0.5rem 1rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  .nav-logo {
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  
  .nav-logo-img {
    height: 36px !important;
    width: auto !important;
  }
  
  .nav-backdrop {
    display: block !important;
  }
  
  .bottom-nav-item {
    min-height: 48px !important;
    padding: 8px 4px !important;
  }
  
  section {
    padding: 100px 20px 60px !important;
  }
  
  #hero {
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 120px 20px 60px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .pillars-grid,
  .destinations-grid,
  .acc-grid,
  .exp-wrapper,
  .testi-grid,
  .journal-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  
  .badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 480px !important;
    height: 64px !important;
    background: rgba(12, 20, 33, 0.82) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border: 1px solid rgba(200, 164, 92, 0.15) !important;
    border-radius: 32px !important;
    z-index: 9998 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 8px !important;
    box-shadow: 0 12px 30px -5px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  }
  
  body {
    padding-bottom: 90px !important;
  }

  .nav-links,
  .nav-cta {
    display: none !important;
  }
  
  .mobile-hamburger,
  .mobile-menu-drawer {
    display: none !important;
  }
}

/* ─── 8. TABLET (768px) OPTIMIZATION ─── */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    width: 92% !important;
    bottom: 16px !important;
    height: 60px !important;
  }
  .bottom-nav-item svg {
    width: 22px !important;
    height: 22px !important;
  }
  .bottom-nav-item span {
    font-size: 9px !important;
  }
  .badges-grid {
    gap: 2rem 1rem !important;
  }
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
  }
}

/* ─── 9. SMALL PHONE (480px) OPTIMIZATION ─── */
@media (max-width: 480px) {
  .mobile-bottom-nav {
    width: 94% !important;
    bottom: 12px !important;
    height: 56px !important;
    padding: 0 6px !important;
    border-radius: 28px !important;
  }
  .nav-backdrop {
    border-radius: 20px !important;
    height: 78% !important;
  }
  .bottom-nav-item {
    padding: 4px 2px !important;
    gap: 1px !important;
  }
  .bottom-nav-item svg {
    width: 20px !important;
    height: 20px !important;
  }
  .bottom-nav-item span {
    font-size: 8px !important;
    margin-top: 1px !important;
  }
  .badges-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
  }
  section {
    padding: 80px 16px 50px !important;
  }
  #hero {
    padding: 100px 16px 50px !important;
  }
}

/* ─── 10. DESKTOP (>1024px) NAV FULL VISIBILITY ─── */
@media (min-width: 1025px) {
  .nav-links {
    display: flex !important;
  }
  .nav-cta {
    display: inline-flex !important;
  }
  .mobile-bottom-nav {
    display: none !important;
  }
  .mobile-hamburger,
  .mobile-menu-drawer {
    display: none !important;
  }
}

/* ─── 11. SHORT SCREEN SCROLL SNAP DISABLE ─── */
@media (max-height: 780px) {
  html {
    scroll-snap-type: none !important;
  }
  section, #footer {
    height: auto !important;
    min-height: 100vh;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}

/* ─── 12. NAV-BACKDROP ENSURE VISIBILITY ─── */
#navBackdrop {
  position: absolute !important;
  pointer-events: none !important;
  z-index: 10 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(200, 164, 92, 0.14) !important;
  border-radius: 24px !important;
}
