/* ============================================================
   Kite Sensation Dakhla — Aeolian Flow Design System
   Primary: #001629  |  Turquoise: #338085  |  CTA: #FF5F1F
   Fonts: Anybody (headlines) + Hanken Grotesk (body)
   ============================================================ */

/* ---- Material Symbols utility ---- */
.msym {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; font-size: inherit; line-height: 1;
}
.msym-fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ---- Wind lines ---- */
.wind-line {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, transparent, #338085, transparent);
  width: 100%; z-index: 0; opacity: 0.3; pointer-events: none;
}

/* ---- Diagonal clip-path ---- */
.diagonal-bg     { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.diagonal-bg-rev { clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }

/* ---- Glassmorphism card ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---- Hide scrollbar ---- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---- Nav active state ---- */
.nav-active {
  color: #338085; font-weight: 700;
  border-bottom: 2px solid #338085; padding-bottom: 4px;
}

/* ---- Mobile nav animation ---- */
#mob-nav { transform: translateX(100%); transition: transform 0.3s ease; }
#mob-nav.open { transform: translateX(0); }

/* ---- Hamburger animation ---- */
.ham-bar { display: block; width: 22px; height: 2px; background: #1c1b1b; border-radius: 2px; transition: all .3s; }
#ham.open .ham-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#ham.open .ham-bar:nth-child(2) { opacity: 0; }
#ham.open .ham-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Scroll reveal (initial state — JS adds transition classes) ---- */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }

/* ---- Tour/product filter tabs ---- */
.filter-tab { cursor: pointer; transition: all 0.2s; }
.filter-tab.is-active { background-color: #338085 !important; color: #ffffff !important; }
.pkg-hidden { display: none !important; }

/* ---- Nav shrink on scroll ---- */
#site-nav { transition: height 0.3s ease, background 0.3s ease; }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ---- Booking card form inputs (dark bg) ---- */
.booking-input {
  width: 100%; padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px; color: white;
  font-family: 'Hanken Grotesk', sans-serif; font-size: 14px;
  outline: none; transition: border-color 0.2s;
  box-sizing: border-box;
}
.booking-input:focus { border-color: #338085; }
.booking-input::placeholder { color: rgba(255, 255, 255, 0.4); }

/* ---- Contact / light form inputs ---- */
.form-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid rgba(115, 119, 126, 0.3);
  border-radius: 12px; color: #1c1b1b;
  font-family: 'Hanken Grotesk', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff; box-sizing: border-box;
}
.form-input:focus { border-color: #338085; box-shadow: 0 0 0 3px rgba(0, 238, 252, 0.15); }

/* ---- Responsive tweaks ---- */
@media (max-width: 1024px) {
  .tour-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .diagonal-bg { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
}

/* ---- Transparent nav over hero (was inline in header.php) ---- */
#site-nav.nav-transparent { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
#site-nav.nav-transparent .brand-text { color: #ffffff; }
#site-nav.nav-transparent .nav-logo { filter: brightness(0) invert(1); }
#site-nav.nav-transparent .nav-link:not(.nav-active) { color: rgba(255,255,255,.9); }
#site-nav.nav-transparent .nav-link:not(.nav-active):hover { color: #ffffff; }
#site-nav.nav-transparent .ham-bar { background: #ffffff; }
.nav-logo { transition: filter 0.3s ease; }

/* ---- Home hero: blur-to-clear focus-in reveal (was inline in index.php) ---- */
.pkg-scroll::-webkit-scrollbar { display: none; }
@keyframes heroFocusIn {
  0%   { filter: blur(16px); opacity: 0; }
  60%  { opacity: 1; }
  100% { filter: blur(0);    opacity: 1; }
}
.hero-w1, .hero-w2, .hero-w3, .hero-w4 { display: inline-block; }
.hero-w1 { animation: heroFocusIn 1.8s ease-out 0.15s both; }
.hero-w2 { animation: heroFocusIn 1.8s ease-out 0.45s both; }
.hero-w3 { animation: heroFocusIn 1.8s ease-out 0.75s both; }
.hero-w4 { animation: heroFocusIn 1.8s ease-out 1.05s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-w1, .hero-w2, .hero-w3, .hero-w4 { animation: none; filter: none; opacity: 1; }
}

/* ---- Tighter vertical rhythm: halve section vertical padding site-wide ----
   Targets <section> elements only (higher specificity than the .py-* utility,
   so it wins without !important). Inner elements' py-* and the fixed-nav
   offset (pt-28/pt-32 on page-title blocks) are left untouched. */
section.py-24 { padding-top: 3rem;    padding-bottom: 3rem; }    /* 6rem  -> 3rem  */
section.py-20 { padding-top: 2.5rem;  padding-bottom: 2.5rem; }  /* 5rem  -> 2.5rem */
section.py-28 { padding-top: 3.5rem;  padding-bottom: 3.5rem; }  /* 7rem  -> 3.5rem */
section.py-14 { padding-top: 1.75rem; padding-bottom: 1.75rem; } /* 3.5rem-> 1.75rem */
section.py-10 { padding-top: 1.25rem; padding-bottom: 1.25rem; } /* 2.5rem-> 1.25rem */
