/* ============================================================
   ES HAPPY TOURS — GLOBAL DESIGN SYSTEM
   style.css  |  Syntrix PH © 2026
   ============================================================ */


/* ── 1. CSS VARIABLES ─────────────────────────────────────── */
:root {
  --yellow:        #FFD60A;
  --yellow-soft:   #FFF9D6;
  --yellow-warm:   #FFBE00;
  --yellow-deep:   #CC9900;
  --white:         #FFFFFF;
  --off-white:     #FAF8F3;
  --gray-1:        #1C1C1E;
  --gray-2:        #3A3A3C;
  --gray-3:        #636366;
  --gray-4:        #AEAEB2;
  --gray-5:        #E5E5EA;
  --gray-6:        #F2F2F7;
  --color-success: #34C759;
  --color-error:   #FF3B30;
  --fb-blue:       #1877F2;
  --fb-blue-dark:  #0e5fc0;

  --nav-height:    68px;
  --max-w:         1200px;
  --pad-x:         clamp(16px, 4vw, 48px);

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   28px;
  --r-pill: 999px;

  --sh-sm:     0 2px 8px  rgba(0,0,0,0.06);
  --sh-md:     0 6px 24px rgba(0,0,0,0.09);
  --sh-lg:     0 20px 48px rgba(0,0,0,0.14);
  --sh-yellow: 0 6px 24px rgba(255,190,0,0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ── 2. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--off-white);
  color: var(--gray-1);
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul   { list-style: none; }

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 em, h2 em { font-style: italic; color: var(--yellow-deep); }
h1 .muted, h2 .muted { color: var(--gray-4); }


/* ── 3. BACKGROUND BLOBS + NOISE ─────────────────────────── */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}

.blob {
  position: absolute; border-radius: 50%; filter: blur(90px);
}

.blob-1 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, #FFD60A 0%, #FFF4B8 60%, transparent 100%);
  top: -200px; left: -150px; opacity: 0.65;
  animation: drift1 20s ease-in-out infinite alternate;
}

.blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #FFBE00 0%, #FFF9D6 65%, transparent 100%);
  bottom: 60px; right: -120px; opacity: 0.5;
  animation: drift2 25s ease-in-out infinite alternate;
}

.blob-3 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #FFE566 0%, transparent 70%);
  top: 42%; left: 50%; opacity: 0.4;
  animation: drift3 17s ease-in-out infinite alternate;
}

.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ── 4. SITE HEADER & NAV ────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-height);
  background: rgba(250, 248, 243, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(229,229,234,0.6);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  animation: fadeDown 0.75s ease both;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: rgba(250, 248, 243, 0.95);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--nav-height);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-3);
  border-radius: var(--r-md);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--gray-1); background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--gray-1); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  display: block;
  margin: 2px auto 0;
  width: 16px; height: 2px;
  background: var(--yellow-warm);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: none; background: transparent;
  border-radius: var(--r-md);
  color: var(--gray-3);
  transition: color 0.2s, background 0.2s;
}
.btn-icon:hover { color: var(--gray-1); background: rgba(0,0,0,0.05); }

.btn-hamburger {
  display: none;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  width: 38px; height: 38px;
  border: none; background: transparent;
  border-radius: var(--r-md);
  transition: background 0.2s;
}
.btn-hamburger:hover { background: rgba(0,0,0,0.05); }
.btn-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gray-2);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.btn-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.btn-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-cta-nav {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: var(--yellow);
  color: var(--gray-1);
  font-size: 0.85rem; font-weight: 600;
  border: none; border-radius: var(--r-md);
  box-shadow: var(--sh-yellow);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-cta-nav:hover { background: var(--yellow-warm); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,190,0,0.42); }
.btn-cta-nav:active { transform: scale(0.97); }


/* ── 5. MOBILE MENU ──────────────────────────────────────── */
.nav-mobile {
  display: flex;
  flex-direction: column; gap: 2px;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  z-index: 899;
  background: rgba(250, 248, 243, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gray-5);
  padding: 12px var(--pad-x) 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.26s;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0s;
}

.nav-mobile a {
  padding: 13px 12px;
  font-size: 1rem; font-weight: 500;
  color: var(--gray-2);
  border-radius: var(--r-md);
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid var(--gray-6);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { background: rgba(0,0,0,0.03); color: var(--gray-1); }
.nav-mobile a.active { color: var(--gray-1); font-weight: 600; }


/* ── 6. SEARCH OVERLAY ───────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(28,28,30,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.search-overlay.open {
  opacity: 1; pointer-events: auto;
}

.search-box {
  width: 100%; max-width: 600px;
  margin: 0 var(--pad-x);
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 8px 8px 8px 20px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-lg);
  transform: translateY(-16px);
  transition: transform 0.3s var(--ease);
}

.search-overlay.open .search-box { transform: translateY(0); }

.search-box input {
  flex: 1;
  font-size: 1.05rem; color: var(--gray-1);
  background: transparent; border: none; outline: none;
  font-family: inherit; padding: 8px 0;
}
.search-box input::placeholder { color: var(--gray-4); }

.search-close {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--gray-6); border: none;
  border-radius: var(--r-md); color: var(--gray-3);
  font-size: 1.1rem; font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.search-close:hover { background: var(--gray-5); color: var(--gray-1); }


/* ── 7. SITE FOOTER ──────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-5);
  padding: 56px var(--pad-x) 36px;
  margin-top: 80px;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px 32px;
}

.footer-brand-col .footer-logo img {
  height: 44px; width: auto; object-fit: contain;
  margin-bottom: 12px;
}

.footer-brand-col p {
  font-size: 0.88rem; color: var(--gray-3);
  line-height: 1.65; max-width: 260px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex; gap: 10px;
}

.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--gray-6); border-radius: var(--r-md);
  color: var(--gray-3); font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--yellow-soft); color: var(--yellow-deep); }

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-4); margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.88rem; color: var(--gray-3);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--yellow-deep); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--gray-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem; color: var(--gray-4); font-weight: 500;
}

.footer-dev {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: var(--gray-4);
}
.footer-dev img { height: 16px; opacity: 0.45; }
.footer-dev a { color: var(--gray-4); transition: color 0.2s; }
.footer-dev a:hover { color: var(--yellow-deep); }


/* ── 8. SHARED COMPONENTS ────────────────────────────────── */

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--yellow); color: var(--gray-1);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  border: none; border-radius: var(--r-md);
  box-shadow: var(--sh-yellow);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--yellow-warm); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,190,0,0.44); }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: var(--gray-1); color: var(--white);
  font-size: 0.95rem; font-weight: 600;
  border: none; border-radius: var(--r-md);
  transition: all 0.2s var(--ease);
}
.btn-secondary:hover { background: var(--gray-2); transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: transparent; color: var(--gray-1);
  font-size: 0.95rem; font-weight: 600;
  border: 1.5px solid var(--gray-5); border-radius: var(--r-md);
  transition: all 0.2s var(--ease);
}
.btn-outline:hover { border-color: var(--yellow-warm); background: rgba(255,214,10,0.06); }

/* Glass Card */
.glass-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: var(--r-xl);
  box-shadow: 0 4px 32px rgba(0,0,0,0.05), 0 1px 0 rgba(255,255,255,0.9) inset;
}

/* Section Header */
.section-hd {
  text-align: center;
  margin-bottom: 48px;
}

.section-hd .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}

.eyebrow-line {
  width: 24px; height: 2px;
  background: var(--yellow-warm); border-radius: 2px;
}

.eyebrow-text {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray-4);
}

.section-hd h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--gray-1);
  margin-bottom: 12px;
}

.section-hd p {
  font-size: clamp(0.93rem, 2vw, 1.05rem);
  color: var(--gray-3); line-height: 1.7;
  max-width: 520px; margin: 0 auto;
}

/* Page Hero (compact) */
.page-hero {
  position: relative; z-index: 1;
  padding: 72px var(--pad-x) 56px;
  text-align: center;
}

.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--gray-1); margin-bottom: 12px;
}

.page-hero p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--gray-3); line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 500;
  color: var(--gray-2);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.chip:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.09); }
.chip.active { background: var(--yellow); border-color: var(--yellow); color: var(--gray-1); box-shadow: var(--sh-yellow); }

.chip-pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow-warm); flex-shrink: 0;
}


/* ── 9. DESTINATION STRIP (shared) ───────────────────────── */
.dest-section {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.dest-strip { overflow: hidden; width: 100%; }

.dest-track {
  display: flex; gap: 0;
  width: max-content;
  --marquee-shift: -50%;
  --marquee-duration: 30s;
  animation: autoScroll var(--marquee-duration) linear infinite;
}
.dest-track:hover { animation-play-state: paused; }

.dest-marquee-group {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding-right: 14px;
}

.dest-card {
  flex: 0 0 210px; height: 280px;
  border-radius: var(--r-lg); overflow: hidden;
  position: relative;
  box-shadow: var(--sh-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.dest-card:hover { transform: translateY(-7px) scale(1.025); box-shadow: var(--sh-lg); }

.dest-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dest-card:hover img { transform: scale(1.07); }

.dest-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 64px 16px 16px;
  background: linear-gradient(transparent, rgba(28,28,30,0.88));
  color: #fff;
}

.dest-name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 9px;
}

.dest-meta {
  margin-top: 5px;
  color: rgba(255,255,255,0.82);
  font-size: 0.72rem;
  font-weight: 500;
}

.dest-price {
  margin-top: 10px;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
}

.dest-tag {
  display: inline-block;
  background: var(--yellow); color: var(--gray-1);
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-pill);
}

/* Section label above strip */
.strip-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-4); margin-bottom: 14px;
  padding-left: 2px;
}


/* ── 10. SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }


/* ── 11. KEYFRAME ANIMATIONS ──────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 90px) scale(1.12); }
}

@keyframes drift2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-55px, -65px) scale(1.08); }
}

@keyframes drift3 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-45px, 55px); }
}

@keyframes autoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--marquee-shift)); }
}

@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position:  400px 0; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}


/* ── 12. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .btn-cta-nav { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-hamburger { display: flex; }
  .btn-icon.search-desktop-only { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .dest-card { flex: 0 0 170px; height: 230px; }
}

@media (max-width: 480px) {
  :root { --nav-height: 60px; }
  .nav-logo img { height: 32px; }
}
