/* ═══════════════════════════════════════════════════
   Planes Away Vacations — Shared Styles
   Used by: index.html, cruises.html, disney.html,
            inclusive.html, reviews.html, team.html,
            booking.html, 404.html
═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0B1F3A;
  --navy-mid:  #132e55;
  --sky:       #1A8FC1;
  --sky-soft:  #e4f3fb;
  --red:       #C0392B;
  --white:     #ffffff;
  --off-white: #F7F9FC;
  --slate:     #64748b;
  --slate-lt:  #94a3b8;
  --slate-light: #94a3b8; /* alias — some pages use the long name */
  --gold:      #F5A623;
  --gold-soft: #FEF3D7;
  --green:     #16A34A;
  --border:    #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(11,31,58,.10);
  --shadow-lg: 0 12px 40px rgba(11,31,58,.15);
  --r:    14px;
  --r-sm: 8px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 24px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px; line-height: 1;
  transition: all .18s var(--ease); white-space: nowrap;
  cursor: pointer; border: none;
}
.btn-navy  { background: var(--navy); color: #fff; }
.btn-navy:hover  { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sky   { background: var(--sky); color: #fff; }
.btn-sky:hover   { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: var(--r); }

/* ── Header ── */
#site-header { position: sticky; top: 0; z-index: 200; }

.hdr-top { background: var(--white); border-bottom: 1px solid var(--border); }
.hdr-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}

.site-logo img { height: 58px; width: auto; }

.hdr-top-right { display: flex; align-items: center; gap: 12px; }

.canada-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--red);
}
.canada-badge svg { width: 20px; height: 20px; }
.canada-badge img { width: 28px; height: auto; border-radius: 2px; }

.phone-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 14.5px;
  padding: 9px 18px; border-radius: var(--r-sm);
  transition: background .15s;
}
.phone-pill:hover { background: var(--navy-mid); }
.phone-pill svg { width: 15px; height: 15px; }

.lang-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 8px 12px; background: var(--white); transition: border-color .15s;
}
.lang-btn:hover { border-color: var(--sky); }

.hdr-nav { background: var(--navy); }
.hdr-nav-inner { display: flex; align-items: stretch; justify-content: center; }
.hdr-nav a {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.78); font-size: 13.5px; font-weight: 500;
  padding: 13px 16px; border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
}
.hdr-nav a .ni { font-size: 14px; }
.hdr-nav a:hover, .hdr-nav a.active {
  color: #fff; border-bottom-color: var(--sky); background: rgba(255,255,255,.05);
}

/* Book Now CTA button in nav */
.hdr-nav a.nav-book-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--r-sm);
  margin: 8px 8px 8px 12px;
  padding: 8px 16px;
  border-bottom: none;
  align-self: center;
}
.hdr-nav a.nav-book-btn:hover {
  background: #e89b1a;
  border-bottom-color: transparent;
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.hbg { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.hbg span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

.mob-nav {
  display: none; flex-direction: column;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.08);
  padding: 8px 16px 16px; gap: 2px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500;
  padding: 11px 8px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.mob-nav a:last-child { border-bottom: none; }
.mob-nav a:hover { color: #fff; }

/* ── Page hero banner ── */
.page-hero {
  position: relative; min-height: 280px;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--navy);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,.85) 0%, rgba(11,31,58,.35) 100%);
}
.page-hero-inner {
  position: relative; z-index: 2;
  padding: 40px 0 48px; width: 100%;
}
.page-hero-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); background: rgba(245,166,35,.18);
  border-radius: 100px; padding: 5px 13px; margin-bottom: 12px;
}
.page-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem); color: #fff; line-height: 1.2;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,.75); margin-top: 10px; max-width: 520px; }

/* ── Section ── */
.section { padding: 72px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); }

.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--sky);
  background: var(--sky-soft); border-radius: 100px; padding: 5px 13px; margin-bottom: 12px;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.2;
  color: var(--navy); margin-bottom: 10px;
}
.section-sub { font-size: 16px; color: var(--slate); max-width: 540px; line-height: 1.7; }

/* ── Image grid ── */
.img-grid { display: grid; gap: 20px; }
.img-grid-2 { grid-template-columns: repeat(2, 1fr); }
.img-grid-4 { grid-template-columns: repeat(4, 1fr); }

.img-card {
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative;
}
.img-card img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.img-card:hover img { transform: scale(1.05); }
.img-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(11,31,58,.7) 0%, transparent 100%);
  color: #fff; font-weight: 700; font-size: 14px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--sky); padding: 52px 0; text-align: center;
}
.cta-banner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: 12px;
}
.cta-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.cta-banner .btn-ghost { font-size: 15px; padding: 13px 32px; }

/* ── Footer ── */
footer { background: var(--navy); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: 52px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.ft-logo { height: 58px; width: auto; margin-bottom: 16px; }
.ft-tagline { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.75; max-width: 270px; margin-bottom: 20px; }
.ft-affil { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; }
.ft-affil span { font-size: 11.5px; color: rgba(255,255,255,.38); }
.ft-affil img  { height: 16px; filter: brightness(0) invert(.65); }
.ft-socials { display: flex; gap: 8px; }
.ft-social {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); transition: background .15s, color .15s;
}
.ft-social:hover { background: var(--sky); color: #fff; }
.ft-social svg { width: 16px; height: 16px; fill: currentColor; }
.ft-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ft-col ul li { font-size: 14px; color: rgba(255,255,255,.65); }
.ft-col ul li a { color: rgba(255,255,255,.65); transition: color .14s; }
.ft-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.3); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; } .reveal-delay-4 { transition-delay: .4s; }

/* ── Search input + destination dropdown (home hero & booking form) ── */
.search-field { position: relative; }
.search-field label {
  display: block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--slate); margin-bottom: 5px; padding: 0 4px;
}
.search-input-wrap {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 11px 14px; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.search-input-wrap:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(26,143,193,.12); }
.search-input-wrap svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1; border: none; outline: none;
  font-size: 14.5px; font-weight: 500; font-family: inherit;
  color: var(--navy); background: transparent; min-width: 0;
}
.search-input-wrap input::placeholder { color: var(--slate-light); font-weight: 400; }

.dest-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  max-height: 174px; overflow-y: auto; overflow-x: hidden;
  z-index: 50; display: none;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.dest-dropdown.open { display: block; }
.dest-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 14px; color: var(--navy);
  cursor: pointer; transition: background .12s;
}
.dest-option:hover, .dest-option.focused { background: var(--sky-soft); }
.dest-option .dest-flag { font-size: 18px; }
.dest-option .dest-name { font-weight: 600; }
.dest-option .dest-type { font-size: 12px; color: var(--slate); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hdr-nav { display: none; }
  .hbg { display: flex; }
  .lang-btn, .canada-badge { display: none; }
  .img-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  /* shrink phone pill */
  .phone-pill { font-size: 13px; padding: 7px 12px; gap: 6px; }
  .phone-pill svg { width: 13px; height: 13px; }
}
@media (max-width: 600px) {
  .img-grid-2, .img-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .section { padding: 44px 0; }
  .container { padding: 0 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ft-logo { height: 48px; }
  .ft-tagline { max-width: 100%; }
}
@media (max-width: 480px) {
  /* hide phone pill — number is in the mobile nav */
  .phone-pill { display: none; }
  .hdr-top-inner { height: 58px; }
  .site-logo img { height: 48px; }
  /* page hero */
  .page-hero { min-height: 220px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: 14px; }
}
