:root {
  --haibo-bg: #080d11;
  --haibo-bg-secondary: #0d151a;
  --haibo-glass: rgba(255, 255, 255, 0.055);
  --haibo-glass-hover: rgba(255, 255, 255, 0.085);
  --haibo-border: rgba(255, 255, 255, 0.1);
  --haibo-border-hover: rgba(255, 255, 255, 0.16);
  --haibo-text: #ffffff;
  --haibo-text-secondary: rgba(255, 255, 255, 0.68);
  --haibo-text-muted: rgba(255, 255, 255, 0.48);
  --haibo-gold: #f5b51b;
  --haibo-gold-hover: #ffc43d;
  --haibo-gold-glow: rgba(245, 181, 27, 0.16);
  --haibo-radius-card: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--haibo-bg);
  color: var(--haibo-text);
}

.page-hero {
  /* Heights handled in hero-overlays.css */
}

.glass {
  background: var(--haibo-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--haibo-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-blur {
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.25);
}

.orange {
  color: var(--haibo-gold);
}

.btn-main {
  background: linear-gradient(135deg, var(--haibo-gold), var(--haibo-gold-hover));
  color: #0a0a0a;
  font-weight: 600;
  transition: 0.4s;
  display: inline-block;
}

.btn-main:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px var(--haibo-gold-glow);
}

.destination-card {
  transition: 0.5s;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.destination-card img {
  transition: 0.7s;
}

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

.destination-card:not(.dest-card-catalog):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.fade-up {
  animation: fadeUp 1.2s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating {
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

#home-destinations,
#all-destinations {
  align-items: stretch;
}

.destination-card {
  height: 100%;
}

.destination-card .dest-card-media {
  position: relative;
  overflow: hidden;
  background-color: #141414;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.destination-card .dest-card-media img,
.destination-card .dest-card-media .dest-card-img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Desktop-only tall cards (mobile uses cards-mobile.css) */
@media (min-width: 1025px) {
  .destination-card .dest-card-media {
    min-height: 420px;
  }

  .destination-card .dest-card-media img,
  .destination-card .dest-card-media .dest-card-img {
    min-height: 420px;
    height: 420px;
  }
}

.overlay-dark {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.gallery img,
.gallery-item {
  transition: 0.6s;
}

.gallery img:hover,
.gallery-item:hover {
  transform: scale(1.03);
}

.stats-card {
  transition: 0.4s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.about-stat-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #d98b2b, #ffb347);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(217, 139, 43, 0.35);
}

.about-stat-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  stroke: #1a1a1a;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-card .stats-card-title {
  color: #d98b2b;
  font-weight: 700;
  line-height: 1.35;
}

.stats-card .stats-card-sub {
  color: #d98b2b;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

nav.nav-blur {
  z-index: 50;
}

#menu-btn.is-open {
  color: #d98b2b;
}

#mobile-menu {
  position: relative;
  z-index: 51;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
}

#mobile-menu.open {
  max-height: min(80vh, 420px);
  overflow-y: auto;
  opacity: 1;
}

nav a:hover {
  color: #d98b2b;
  transition: color 0.3s;
}

.package-card--premium {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.dest-experience-card {
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.dest-experience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 139, 43, 0.35);
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  background: #25d366;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.35s, box-shadow 0.35s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: white;
}

.breadcrumb a {
  color: #9ca3af;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #d98b2b;
}

/* Firestore realtime — subtle loading (no layout change) */
body.haibo-content-loading main {
  opacity: 0.97;
  transition: opacity 0.2s ease;
}

body.haibo-content-ready main {
  opacity: 1;
}
