/* ==========================================================
   Fly the Shoals — Northwest Alabama Regional Airport
   ========================================================== */

:root {
  --navy-900: #0f1533;
  --navy-800: #161e48;
  --navy-700: #1f2a63;
  --blue-600: #2f3f94;   /* logo blue */
  --blue-500: #3d50b0;
  --blue-100: #e6e9f7;
  --blue-50:  #f3f5fc;
  --sky:      #8fb3ff;
  --gold:     #f2b84b;
  --green:    #1f9d6b;
  --ink:      #1b2033;
  --muted:    #5b6280;
  --line:     #dfe3f0;
  --bg:       #f7f8fc;
  --white:    #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 21, 51, .06), 0 2px 8px rgba(15, 21, 51, .05);
  --shadow:    0 10px 30px -10px rgba(15, 21, 51, .25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 21, 51, .35);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy-900);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 6px 16px -6px rgba(47, 63, 148, .6); }
.btn-primary:hover { background: var(--blue-500); }
.btn-light { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow); }
.btn-light:hover { background: var(--blue-50); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-block { width: 100%; margin-top: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 16px;
}
.eyebrow.dark { color: var(--blue-600); }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, .25);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 21, 51, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { flex-shrink: 0; }
.brand img { height: 52px; width: auto; max-width: 240px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: 15px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255,255,255,.08); color: var(--white); }

.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid rgba(255,255,255,.12); }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: rgba(255,255,255,.8); transition: background .2s, color .2s;
}
.social a:hover { background: var(--blue-600); color: var(--white); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-800);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,21,51,.85) 0%, rgba(15,21,51,.55) 45%, rgba(15,21,51,.05) 80%),
    linear-gradient(0deg, rgba(15,21,51,.75) 0%, rgba(15,21,51,0) 50%);
}
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 150px; }
.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 520px; color: rgba(255,255,255,.88); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Info cards ---------- */
.cards { position: relative; z-index: 2; margin-top: -90px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,21,51,.04);
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); }
.card h2 { font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--navy-800); }
.card p { color: var(--muted); font-size: 15px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
  margin-bottom: 18px;
}
.card-icon svg, .amenities svg, .side-icon svg, .tracker-trend svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
#flight-center .card-icon svg { fill: currentColor; stroke: none; }

/* Parking */
.free-badge {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700));
  color: var(--white); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 14px;
}
.free-price { font-family: var(--font-serif); font-size: 36px; font-weight: 600; line-height: 1; }
.free-text { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.85); }
.free-text strong { color: var(--gold); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.parking-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 18px; }
.parking-table th, .parking-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.parking-table th { text-align: left; font-weight: 500; color: var(--muted); }
.parking-table td { text-align: right; font-weight: 600; color: var(--ink); text-decoration: line-through; text-decoration-color: rgba(220, 60, 60, .55); text-decoration-thickness: 2px; }

/* Tracker */
.tracker { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.tracker-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px !important; }
.card .tracker-num { font-family: var(--font-serif); font-size: 34px; font-weight: 600; color: var(--navy-800) !important; margin-bottom: 4px !important; line-height: 1.1; }
.tracker-num small { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.tracker-trend {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 !important;
  background: rgba(31, 157, 107, .1); color: var(--green) !important;
  font-weight: 600; font-size: 13px !important; padding: 4px 10px; border-radius: 999px;
}
.tracker-trend svg { width: 16px; height: 16px; }
#book .btn-block { margin-top: 0; }

/* Weather */
.card-weather { background: linear-gradient(160deg, var(--navy-700), var(--blue-600)); color: var(--white); }
.card-weather h2 { color: var(--white); }
.card-weather .card-icon { background: rgba(255,255,255,.12); color: var(--white); }
.wx-place { color: rgba(255,255,255,.75) !important; font-weight: 500; margin-bottom: 8px !important; }
.wx-now { display: flex; align-items: center; gap: 14px; }
.wx-emoji { font-size: 44px; line-height: 1; }
.wx-temp { display: block; font-family: var(--font-serif); font-size: 46px; font-weight: 600; line-height: 1; }
.wx-desc { display: block; color: rgba(255,255,255,.85); font-size: 15px; margin-top: 4px; }
.wx-extra { color: rgba(255,255,255,.7) !important; font-size: 13px !important; margin: 12px 0 18px !important; }
.card-weather .btn-primary { background: var(--white); color: var(--navy-800); box-shadow: none; }
.card-weather .btn-primary:hover { background: var(--blue-50); }

/* ---------- Notice ---------- */
.notice {
  display: flex; align-items: center; gap: 16px;
  margin: 40px 0 0;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.notice:hover { box-shadow: var(--shadow); }
.notice-tag {
  flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: #fff4dc; color: #9a6400; padding: 4px 10px; border-radius: 999px;
}
.notice-text { font-weight: 600; color: var(--navy-800); }
.notice-arrow { margin-left: auto; color: var(--blue-600); font-size: 20px; transition: transform .2s; }
.notice:hover .notice-arrow { transform: translateX(4px); }

/* ---------- Promo: Dallas ---------- */
.promo { padding: 40px 0 0; }
.promo-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px;
  padding: 44px 48px 36px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(120deg, #1a1f5c 0%, #4a2a8a 45%, #d9573b 85%, #f2a43b 100%);
  box-shadow: var(--shadow-lg);
}
.promo-glow {
  position: absolute; z-index: -1; right: 18%; top: -60%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 120, .55), rgba(255, 210, 120, 0) 65%);
  animation: promoPulse 6s ease-in-out infinite;
}
@keyframes promoPulse { 50% { transform: scale(1.12); opacity: .8; } }
.promo-skyline {
  position: absolute; z-index: -1; right: 0; bottom: 0;
  width: 70%; max-width: 640px; height: auto;
  fill: rgba(15, 21, 51, .35);
}
.promo-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.promo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,184,75,.3); }
.promo-copy h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(38px, 5.5vw, 64px); letter-spacing: -.02em; line-height: 1; margin-bottom: 18px;
}
.promo-copy h2 span { color: var(--gold); font-style: italic; }
.promo-route { display: flex; align-items: center; gap: 14px; font-weight: 700; letter-spacing: .08em; font-size: 18px; }
.promo-path { position: relative; width: 140px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 6px, transparent 6px 12px); }
.promo-plane { position: absolute; top: 50%; left: 0; transform: translate(-50%, -55%); font-size: 18px; animation: promoFly 3.5s ease-in-out infinite; }
@keyframes promoFly { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.promo-price { text-align: center; }
.promo-price p { margin: 0; }
.promo-from { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.promo-amount {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(80px, 10vw, 128px); line-height: .95; letter-spacing: -.03em;
  text-shadow: 0 6px 30px rgba(0,0,0,.25); margin-bottom: 16px !important;
}
.promo-amount sup { font-size: .38em; vertical-align: .95em; margin-right: 2px; }
.promo-amount .promo-star { font-size: .3em; margin-left: 2px; color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--navy-900); font-weight: 700; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.btn-gold:hover { background: #ffc962; }
.promo-fine { grid-column: 1 / -1; margin: 0; font-size: 12px; color: rgba(255,255,255,.7); }

@media (max-width: 760px) {
  .promo-card { grid-template-columns: 1fr; padding: 32px 24px 26px; text-align: center; }
  .promo-route { justify-content: center; }
  .promo-path { width: 90px; }
  .promo-skyline { width: 100%; }
  .promo-glow { right: -20%; top: -30%; }
}

/* ---------- Welcome ---------- */
.section { padding: 72px 0 96px; }
.welcome-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.welcome-copy h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(34px, 4vw, 48px); color: var(--navy-800); letter-spacing: -.01em;
}
.welcome-copy p { color: #3b4160; font-size: 17px; }
.welcome-copy .intro { font-size: 19px; color: var(--ink); }

.amenities {
  list-style: none; padding: 0; margin: 32px 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.amenities li {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-weight: 500; font-size: 15px;
}
.amenities svg { color: var(--blue-600); flex-shrink: 0; }

blockquote {
  margin: 32px 0 0; padding: 24px 28px;
  background: var(--blue-50); border-radius: var(--radius);
  font-family: var(--font-serif); font-size: 22px; line-height: 1.4; color: var(--navy-800);
  position: relative;
}
blockquote::before {
  content: "\201C"; position: absolute; top: -18px; left: 18px;
  font-size: 72px; color: var(--blue-600); line-height: 1;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 104px; }
.side-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.side-link:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: transparent; }
.side-link strong { display: block; color: var(--navy-800); font-size: 16px; }
.side-link small { color: var(--muted); font-size: 13px; }
.side-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); color: var(--white);
}

.side-video {
  position: relative; margin-top: 6px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10; box-shadow: var(--shadow);
}
.side-video img { width: 100%; height: 100%; object-fit: cover; }
.side-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,21,51,.85), rgba(15,21,51,.1) 60%); pointer-events: none; }
.play {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -60%);
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: var(--blue-600);
  box-shadow: 0 0 0 8px rgba(255,255,255,.2);
  transition: transform .2s;
}
.play:hover { transform: translate(-50%, -60%) scale(1.08); }
.play svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.side-video-label { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; color: var(--white); font-weight: 600; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; font-size: 15px; }
.site-footer h3 { color: var(--white); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; font-size: 15px; margin-bottom: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 28px; font-size: 14px;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .welcome-grid { grid-template-columns: 1fr; gap: 48px; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
  .side-video { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--navy-900); padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 12px 8px; border-radius: 8px; font-size: 17px; }
  .social { border-left: 0; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { height: 70px; }
  .brand img { height: 42px; }
  .site-nav { top: 70px; padding: 16px; }
  .hero { min-height: 560px; }
  .hero-inner { padding-top: 80px; padding-bottom: 120px; }
  .hero-shade { background: linear-gradient(0deg, rgba(15,21,51,.92) 10%, rgba(15,21,51,.35) 100%); }
  .cards { margin-top: -70px; }
  .cards-grid { grid-template-columns: 1fr; }
  .notice { flex-wrap: wrap; gap: 8px 12px; }
  .section { padding: 56px 0 72px; }
  .amenities { grid-template-columns: 1fr 1fr; gap: 8px; }
  .amenities li { padding: 12px; font-size: 14px; }
  blockquote { font-size: 19px; padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
