/* ─────────────────────────────────────────────────────────────────────────────
   Sky35 Travels - Consolidated Components CSS
   ───────────────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────────────
   1. Navbar & Header Component — Luxury Glassmorphism & Mega-Dropdowns
   ───────────────────────────────────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: transparent;
  padding: 1.25rem 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: 0 4px 24px rgba(15, 30, 60, 0.08);
  border-bottom: 1px solid rgba(214, 228, 255, 0.8);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Logo Badge */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-badge {
  background-color: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 6px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.header.scrolled .nav-logo-badge {
  background-color: transparent;
  box-shadow: none;
  border: none;
  padding: 2px 4px;
}

@media (max-width: 640px) {
  .header {
    padding: 0.85rem 0;
  }

  .nav-logo-img {
    width: 112px;
  }
}

.nav-logo:hover .nav-logo-badge {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.nav-logo-img {
  width: 135px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 1;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-item {
  position: relative;
  padding: 0.35rem 0;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: #ffffff;
  opacity: 0.92;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.nav-link:hover {
  color: #ffffff;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.header.scrolled .nav-link {
  color: var(--foreground);
  opacity: 0.85;
  text-shadow: none;
}

.header.scrolled .nav-link:hover {
  color: var(--brand-blue);
  opacity: 1;
  background-color: var(--brand-blue-light);
}

.nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.header.scrolled .nav-link.active {
  color: var(--brand-blue) !important;
  background-color: var(--brand-blue-light);
  box-shadow: none;
  opacity: 1;
}

/* Micro Badges */
.nav-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

/* Live Pulse Dot for Tracker */
.live-dot-pulse {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Dropdown Chevron Animation */
.dropdown-chevron {
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.nav-item:hover .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Rich Dual-Tier Dropdowns */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.85rem;
  min-width: 440px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Right-align dropdowns for trailing nav items so they don't clip off-screen */
.nav-item:nth-last-child(-n+3) .nav-dropdown {
  left: auto;
  right: 0;
  transform: translateY(0);
}

.nav-item:nth-last-child(-n+3):hover .nav-dropdown {
  transform: translateY(0);
}

.nav-dropdown-content {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(15, 30, 60, 0.15), 0 0 0 1px rgba(214, 228, 255, 0.8);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.nav-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown-cat {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
}

.nav-dropdown-all {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
  transition: color 0.2s ease;
}

.nav-dropdown-all:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.nav-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dropdown-link-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.dropdown-link-card:hover {
  background-color: #f0f7ff;
  transform: translateX(4px);
}

.dropdown-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-link-card:hover .dropdown-icon-box {
  background: var(--brand-blue);
  color: #ffffff;
  transform: scale(1.05);
}

.dropdown-text-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.dropdown-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 1.25;
}

.dropdown-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* Header Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

.nav-apply-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--brand-green) 0%, #16a34a 100%);
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
}

.nav-apply-btn .btn-arrow {
  transition: transform 0.25s ease;
}

.nav-apply-btn:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.nav-apply-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.header.scrolled .nav-apply-btn {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #1d4ed8 100%);
  box-shadow: 0 4px 14px rgba(21, 101, 224, 0.3);
}

.header.scrolled .nav-apply-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(21, 101, 224, 0.45);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  cursor: pointer;
  padding: 0.6rem;
  width: 44px;
  height: 44px;
  z-index: 130;
  transition: all 0.25s ease;
}

.header.scrolled .mobile-toggle {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

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

/* ─────────────────────────────────────────────────────────────────────────────
   Desktop Navbar Fluid Scaling for Small & Medium Displays (1024px – 1366px)
   ───────────────────────────────────────────────────────────────────────────── */

/* Hide decorative promo badges in the top bar below 1680px to save ~110px of horizontal room */
@media (min-width: 1024px) and (max-width: 1679px) {
  .nav-badge {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .nav-container {
    padding: 0 0.85rem;
    gap: 0.4rem;
  }

  .nav-logo-badge {
    padding: 4px 8px;
  }

  .nav-logo-img {
    width: 105px;
  }

  .desktop-nav {
    gap: 0.1rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.45rem;
    gap: 0.2rem;
  }

  .dropdown-chevron {
    width: 9px;
    height: 9px;
  }

  .nav-actions {
    margin-left: 0.2rem;
  }

  .nav-apply-btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
    gap: 0.3rem;
  }

  .nav-apply-btn .btn-arrow {
    width: 11px;
    height: 11px;
  }
}

@media (min-width: 1281px) and (max-width: 1380px) {
  .nav-container {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .nav-logo-img {
    width: 120px;
  }

  .desktop-nav {
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.86rem;
    padding: 0.45rem 0.6rem;
  }

  .nav-apply-btn {
    font-size: 0.86rem;
    padding: 0.55rem 1.25rem;
  }
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  position: relative;
  transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
  background-color: var(--foreground);
}

.hamburger::before { top: -6px; }
.hamburger::after  { top:  6px; }

.hamburger.active {
  background-color: transparent !important;
}

.hamburger.active::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--foreground) !important;
}

.hamburger.active::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--foreground) !important;
}

.mobile-toggle[aria-expanded="true"] {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.mobile-toggle[aria-expanded="true"] .hamburger.active::before,
.mobile-toggle[aria-expanded="true"] .hamburger.active::after {
  background-color: var(--foreground) !important;
}

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 115;
  overflow-y: auto;
  padding: 5.5rem 1.25rem 2rem;
}

.mobile-menu.open {
  display: block;
  animation: fadeIn 0.25s ease forwards;
}

.mobile-menu-inner {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 520px;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  margin: 0 auto;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.5rem;
}

.mobile-nav-item:last-of-type {
  border-bottom: none;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  flex: 1;
}

.mobile-nav-link.active {
  color: var(--brand-blue);
}

.mobile-accordion-toggle {
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: transform 0.25s ease;
}

.mobile-nav-item.expanded .mobile-accordion-toggle {
  transform: rotate(180deg);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.mobile-sublinks {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0 0.5rem 0.5rem;
}

.mobile-nav-item.expanded .mobile-sublinks {
  display: flex;
}

.mobile-sublink {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background-color 0.2s ease;
}

.mobile-sublink-icon {
  color: var(--brand-blue);
  display: flex;
  align-items: center;
}

.mobile-sublink:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.mobile-menu-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-apply-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(21, 101, 224, 0.3);
}

.mobile-contact-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  padding: 0 0.25rem;
}

.mobile-contact-bar a {
  color: var(--brand-blue);
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. Hero Carousel Component — Multi-slide Ken Burns & Carousel Controls
   ───────────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 95vh;
  min-height: 700px;
  max-height: 920px; /* keeps the search box near the fold on tall screens */
  width: 100%;
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transition: transform 9s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.08);
  z-index: 1;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 50, 0.65) 0%,
    rgba(10, 20, 50, 0.45) 55%,
    rgba(10, 20, 50, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 820px;
  color: #ffffff;
  padding-bottom: 6rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60d5ff 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--brand-green) 0%, #16a34a 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.55);
}

.hero-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Slider Right-Side Controls */
.hero-controls {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 15;
}

.hero-control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.hero-control-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.hero-control-dot.active {
  background-color: var(--brand-green);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

/* Floating Quick Search Widget */
.hero-search-wrapper {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 0 1.5rem;
}

.hero-search-box {
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(15, 30, 60, 0.18), 0 0 0 1px rgba(214, 228, 255, 0.6);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.search-field {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
  border-right: 1.5px solid #e8edf6;
}

.search-field:last-of-type {
  border-right: none;
}

.search-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.search-input, .search-select {
  border: none;
  outline: none;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--foreground);
  background: transparent;
  width: 100%;
  font-family: inherit;
}

.search-btn {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  color: #ffffff;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.1rem 2rem;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(21, 101, 224, 0.35);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(21, 101, 224, 0.5);
}

@media (max-width: 1023px) {
  .hero-controls {
    display: none;
  }

  .hero {
    min-height: 740px;
    height: auto;
    padding: 5.5rem 0 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 6.8rem;
    padding-bottom: 280px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
  }

  .hero-slide.active {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-content {
    position: relative;
    z-index: 5;
    max-width: 100%;
    padding-bottom: 0;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.8vw, 1.02rem);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .hero-actions {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .hero-btn-primary, .hero-btn-ghost {
    padding: 0.75rem 1.4rem;
    font-size: 0.92rem;
  }

  .hero-search-wrapper {
    position: absolute;
    bottom: 1.25rem;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 0 1.25rem;
  }

  .hero-search-box {
    grid-template-columns: 1.6fr 1fr auto;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(10, 20, 50, 0.25);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 770px;
    padding-top: 5rem;
  }

  .hero-slide {
    padding-top: 6.8rem;
    padding-bottom: 340px;
  }

  .hero-search-box {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1.1rem 1.25rem;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid #e8edf6;
    padding: 0.3rem 0 0.6rem;
  }

  .search-field:last-of-type {
    border-bottom: none;
    padding-bottom: 0.2rem;
  }

  .search-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 12px;
    margin-top: 0.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 790px;
  }

  .hero-search-wrapper {
    padding: 0 0.75rem;
    bottom: 0.85rem;
  }

  .hero-search-box {
    padding: 1rem;
    border-radius: 16px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .hero-btn-primary, .hero-btn-ghost {
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. Scroll-Driven Reveal & Micro-Animations
   ───────────────────────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ─────────────────────────────────────────────────────────────────────────────
   4. Service Card Component
   ───────────────────────────────────────────────────────────────────────────── */

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 101, 224, 0.35);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
  background: var(--brand-blue);
  color: #ffffff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.service-link:hover {
  gap: 0.6rem;
  color: var(--brand-green);
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. Tour Card Component
   ───────────────────────────────────────────────────────────────────────────── */

.tour-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 224, 0.35);
}

.tour-img-wrap {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-card:hover .tour-img-wrap {
  transform: scale(1.03);
}

.tour-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tour-price-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tour-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-category-label {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(21, 101, 224, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.offer-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.offer-search-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  color: #475569;
  font-size: 0.95rem;
}

.offer-search-summary a {
  color: #ef4444;
  font-weight: 700;
  text-decoration: underline;
}

.offer-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.offer-filter-btn span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.offer-filter-btn:hover,
.offer-filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.offer-filter-btn:hover span,
.offer-filter-btn.active span {
  color: rgba(255, 255, 255, 0.8);
}

.tour-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.tour-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.tour-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.tour-footer {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

.tour-btn-primary {
  flex: 1;
  text-align: center;
  background: var(--brand-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.tour-btn-primary:hover {
  background: var(--brand-blue-hover);
}

.tour-btn-secondary {
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tour-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. Newsletter Form Component
   ───────────────────────────────────────────────────────────────────────────── */

.newsletter-box {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.newsletter-input:focus {
  border-color: var(--brand-blue);
}

.newsletter-btn {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 0.9rem 1.75rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(21, 101, 224, 0.3);
}

.newsletter-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 540px) {
  .newsletter-box {
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
  }

  .newsletter-input {
    border-radius: 12px;
    width: 100%;
    padding: 0.85rem 1.15rem;
  }

  .newsletter-btn {
    width: 100%;
    border-radius: 12px;
    padding: 0.85rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   7. Modal Dialog Component
   ───────────────────────────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  color: #64748b;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: #f1f5f9;
  color: var(--foreground);
}

.modal-hero-img {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
}

.modal-content {
  padding: 2rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   8. Footer Component
   ───────────────────────────────────────────────────────────────────────────── */

.footer {
  background: #0B132B;
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 360px;
  margin-top: 1rem;
  color: #94A3B8;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-contact-item a {
  color: #60A5FA;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FAQ Accordion Component (SEO & User Experience)
   ───────────────────────────────────────────────────────────────────────────── */
.faq-section {
  padding: 5.5rem 0;
  background-color: var(--background);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-blue);
  line-height: 1;
  transition: transform 0.3s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
  color: var(--brand-green);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid rgba(214, 228, 255, 0.4);
  padding-top: 1rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   WhatsApp Chat Buttons
   ───────────────────────────────────────────────────────────────────────────── */

.whatsapp-btn {
  flex: 1 1 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.whatsapp-btn:hover {
  background: #1ebe5b;
  color: #ffffff;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90; /* below the header (100) and modals */
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem;
  border-radius: 50px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.25s;
}

.whatsapp-float:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float-label {
  font-weight: 700;
  font-size: 0.92rem;
  padding-right: 0.35rem;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }

  /* Icon only on phones so it doesn't cover content */
  .whatsapp-float-label {
    display: none;
  }
}

.modal-request-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
}

body:has(.modal-overlay.open) .whatsapp-float {
  display: none;
}

/* On the home page it waits until the hero search box is scrolled past (see main.js) */
.whatsapp-float.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
