/* ============================================================
   FlySTT Network — Global Stylesheet
   Font: Plus Jakarta Sans + JetBrains Mono
   Primary: #ff5a5f (coral) | Ink: #1a2332 | Muted: #6b7a8d
   ============================================================ */

:root {
  --sky: #f5f7fa; --white: #fff; --ink: #1a2332; --muted: #6b7a8d;
  --border: #dce4ee; --coral: #ff5a5f; --coral-mid: #ff7a7e;
  --coral-light: #fff0f0; --coral-dark: #cc3a3e;
  --on-time: #16a34a; --on-time-bg: #dcfce7;
  --delayed: #d97706; --delayed-bg: #fef3c7;
  --cancelled: #dc2626; --cancelled-bg: #fee2e2;
  --landed: #2563eb; --landed-bg: #dbeafe;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --radius: 14px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--sky); color: var(--ink); font-size: 15px; }

/* ── HEADER ── */
.site-header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 300; box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
.header-top { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.logo-wrap { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; background: linear-gradient(135deg, var(--coral), var(--coral-mid)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(232,81,58,0.3); }
.logo-mark-img { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; display: block; }
.logo-text strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 900; color: #0d1f35; display: block; line-height: 1.15; }
.logo-text span { font-size: 11px; color: #6b7a8d; letter-spacing: .2px; }
.header-pill-nav { display: flex; gap: 6px; align-items: center; margin: 0 auto; flex-wrap: wrap; }
.hpill { padding: 8px 18px; border-radius: 24px; border: 1.5px solid #dce8f0; background: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: #3d5068; cursor: pointer; transition: all .18s; white-space: nowrap; text-decoration: none; display: inline-block; }
.hpill:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-light); }
.hpill.active { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 2px 8px rgba(232,81,58,0.25); }
.header-datetime { flex-shrink: 0; text-align: right; }
.hdt-time { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 900; color: #0d1f35; line-height: 1; }
.hdt-date { font-size: 11px; color: #6b7a8d; margin-top: 2px; white-space: nowrap; }

/* ── MOBILE TOP BAR ── */
.mobile-topbar { display: none; background: #f8f9fa; border-bottom: 1px solid #e2e8f0; padding: 6px 16px; font-size: 11px; color: #6b7a8d; font-weight: 600; justify-content: space-between; align-items: center; }
.mobile-topbar-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-nav { display: none; }

/* ── HAMBURGER ── */
.hamburger-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; flex-shrink: 0; margin-left: auto; margin-right: 4px; }
.hamburger-btn span { display: block; width: 24px; height: 2px; background: #0d1f35; border-radius: 2px; transition: all 0.25s ease; }
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); z-index: 999; flex-direction: column; padding: 80px 32px 40px; overflow-y: auto; }
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-overlay a { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: #0d1f35; text-decoration: none; padding: 14px 0; border-bottom: 1px solid #eee; width: 100%; transition: color 0.15s; }
.mobile-menu-overlay a:last-child { border-bottom: none; }
.mobile-menu-overlay a:hover, .mobile-menu-overlay a.active { color: var(--coral); }
.mobile-menu-overlay .mob-sub { font-size: 15px !important; font-weight: 600 !important; color: #6b7a8d !important; padding: 10px 0 10px 16px !important; border-bottom: none !important; }
.mobile-menu-overlay .mob-sub:hover { color: var(--coral) !important; }
.mobile-menu-close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 28px; cursor: pointer; color: #0d1f35; z-index: 1002; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > .hpill::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 10px; z-index: 999; min-width: 200px; }
.nav-dropdown-inner { background: #fff; border: 1px solid #dce4ee; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); padding: 6px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 9px 14px; font-size: 13px; font-weight: 700; color: #3d5068; text-decoration: none; border-radius: 8px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: #fff0f0; color: var(--coral); }
.nav-divider { height: 1px; background: #dce4ee; margin: 4px 8px; }

/* ── HERO ── */
.welcome-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 48px 24px 44px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.welcome-left { flex: 1; min-width: 280px; max-width: 580px; }
.welcome-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.90); letter-spacing: .3px; margin-bottom: 16px; backdrop-filter: blur(4px); }
.welcome-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.welcome-title span { color: #ffb3a7; }
.welcome-sub { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.6; max-width: 460px; text-shadow: 0 1px 4px rgba(0,0,0,.4); margin-bottom: 22px; }
.welcome-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.welcome-pill { padding: 6px 14px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.38); background: rgba(255,255,255,.10); backdrop-filter: blur(4px); color: #fff; font-size: 12px; font-weight: 700; }
.welcome-card { background: #fff; border-radius: 18px; box-shadow: 0 8px 40px rgba(0,0,0,.25); padding: 24px 22px; width: 300px; flex-shrink: 0; }
.wc-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 900; color: #0d1f35; margin-bottom: 4px; }
.wc-date { font-size: 12px; color: #6b7a8d; margin-bottom: 16px; }
.wc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.wc-stat { background: var(--coral-light); border-radius: 10px; padding: 11px 12px; text-align: center; }
.wc-stat-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 900; color: var(--coral); line-height: 1; }
.wc-stat-l { font-size: 11px; color: #6b7a8d; margin-top: 2px; }
.wc-flights { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wc-flight-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: #f8fafc; border: 1px solid #e8f0f8; font-size: 12px; }
.wc-flight-num { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--ink); }
.wc-flight-dest { color: var(--muted); }
.wc-cta { display: block; width: 100%; padding: 11px; background: var(--coral); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; border-radius: 10px; text-align: center; border: none; cursor: pointer; transition: background .15s; text-decoration: none; }
.wc-cta:hover { background: var(--coral-dark); }
.wc-sub { font-size: 11px; color: #6b7a8d; text-align: center; margin-top: 8px; }

/* ── FLIGHTS ── */
.flights-section { background: var(--white); border-bottom: 1px solid var(--border); padding: 28px 24px; }
.flights-inner { max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 900; color: var(--ink); }
.section-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.section-sub-note { font-size: 11px; color: var(--coral); font-style: italic; margin-top: 2px; }
.tab-row { display: flex; gap: 6px; align-items: center; }
.ftab { padding: 8px 18px; border-radius: 24px; border: 1.5px solid var(--border); background: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s; white-space: nowrap; }
.ftab.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.flight-table-wrap { overflow-x: auto; }
.flight-table { width: 100%; border-collapse: collapse; }
.flight-table th { padding: 10px 12px; text-align: left; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; border-bottom: 2px solid var(--border); white-space: nowrap; }
.flight-table td { padding: 13px 12px; border-top: 1px solid var(--border); vertical-align: middle; }
.flight-table tr:hover td { background: #f0f4f8; }
.fn { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: var(--ink); }
.airline-name { font-size: 11px; color: var(--muted); margin-top: 2px; }
.city-name { font-size: 14px; color: var(--ink); font-weight: 600; }
.iata { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); margin-top: 1px; }
.sched-time { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink); }
.est-time { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--delayed); }
.strike { text-decoration: line-through; color: var(--muted); }
.gate-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: #f0f4f8; border-radius: 6px; padding: 3px 8px; color: var(--ink); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-ontime { background: var(--on-time-bg); color: var(--on-time); }
.badge-landed { background: var(--landed-bg); color: var(--landed); }
.badge-delayed { background: var(--delayed-bg); color: var(--delayed); }
.badge-cancelled { background: var(--cancelled-bg); color: var(--cancelled); }
.badge-boarding { background: #f0fdf4; color: #15803d; }
.badge-departed { background: #ede9fe; color: #7c3aed; }
.flights-loading { text-align: center; padding: 40px; color: var(--muted); font-size: 14px; }
.flights-error { text-align: center; padding: 32px; color: var(--cancelled); font-size: 14px; background: var(--cancelled-bg); border-radius: 10px; }
.see-all-row { text-align: right; margin-top: 14px; }
.see-all-link { font-size: 13px; color: var(--coral); font-weight: 700; text-decoration: none; }
.see-all-link:hover { text-decoration: underline; }
.section-headline { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 900; color: var(--ink); }

/* ── FOOTER ── */
.site-footer { background: #f5f7fa; color: #4a5568; font-size: 14px; margin-top: -48px; border-top: 1px solid #dce4ee; position: relative; z-index: 2; border-radius: 24px 24px 0 0; box-shadow: 0 -4px 24px rgba(0,0,0,0.08); }
.footer-main { max-width: 1200px; margin: 0 auto; padding: 40px 24px 32px; display: grid; grid-template-columns: 2fr 1.3fr 1.1fr 1.1fr; gap: 40px; }
.fc-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fc-logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--coral), var(--coral-mid)); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.fc-logo-mark-img { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; display: block; }
.fc-logo-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 900; color: #0d1f35; }
.fc-tagline { font-size: 13px; color: #6b7a8d; line-height: 1.65; margin-bottom: 20px; max-width: 280px; }
.fc-contact { display: flex; flex-direction: column; gap: 10px; }
.fc-contact-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #4a5568; }
.fc-contact-item a { color: #ff5a5f; text-decoration: none; }
.fc-contact-item a:hover { color: #cc3a3e; text-decoration: underline; }
.fc-contact-icon { font-size: 15px; flex-shrink: 0; }
.fc-social { display: flex; gap: 8px; margin-top: 18px; }
.fc-social-btn { width: 34px; height: 34px; border-radius: 8px; background: #f5f7fa; border: 1px solid #dce4ee; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .15s; color: #9aa5b4; }
.fc-social-btn:hover { background: #e8edf2; border-color: #c8d3de; color: #6b7a8d; }
.fc-heading { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 800; color: #9aa5b4; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.fc-links { display: flex; flex-direction: column; gap: 9px; }
.fc-link { font-size: 13px; color: #4a5568; text-decoration: none; transition: color .15s; display: flex; align-items: center; gap: 6px; }
.fc-link:hover { color: #0d1f35; }
.fc-ad-box { background: #fff; border: 1.5px dashed #dce4ee; border-radius: 12px; padding: 18px 14px; text-align: center; margin-bottom: 12px; }
.fc-ad-eyebrow { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #9aa5b4; margin-bottom: 8px; }
.fc-ad-icon { font-size: 30px; margin-bottom: 8px; }
.fc-ad-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; color: #0d1f35; margin-bottom: 6px; line-height: 1.3; }
.fc-ad-desc { font-size: 12px; color: #6b7a8d; line-height: 1.5; margin-bottom: 14px; }
.fc-ad-note { font-size: 11px; color: #aaa; margin-top: 10px; }
.fc-ad-btn { display: inline-block; padding: 8px 16px; background: var(--coral); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 800; border-radius: 7px; text-decoration: none; transition: background .15s; }
.fc-ad-btn:hover { background: var(--coral-dark); }
.fc-source-list { display: flex; flex-direction: column; gap: 7px; }
.fc-source { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dce4ee; border-radius: 7px; padding: 8px 10px; font-size: 12px; color: #4a5568; text-decoration: none; transition: all .15s; }
.fc-source:hover { background: #f0f4f8; color: #0d1f35; }
.fc-source-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid #dce4ee; padding: 16px 24px; }
.footer-bottom-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.fb-copy { font-size: 12px; color: #aaa; }
.fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.fb-link { font-size: 12px; color: #aaa; text-decoration: none; transition: color .15s; }
.fb-link:hover { color: #0d1f35; }

/* ── RESPONSIVE ── */
@media(max-width: 920px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width: 768px) {
  .header-pill-nav { display: none !important; }
  .mobile-nav { display: none !important; }
  .hamburger-btn { display: flex !important; }
  .header-datetime { display: none; }
  .mobile-topbar { display: flex; }
  .welcome-title { font-size: 28px; }
  .welcome-banner { min-height: unset; }
  .welcome-card { width: 100%; }
  .welcome-inner { padding: 32px 20px; }
  .intel-grid { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr 1fr; }
  .flight-table th:nth-child(3), .flight-table td:nth-child(3) { display: none; }
  .flight-table th:nth-child(5), .flight-table td:nth-child(5) { display: none; }
  .flight-table th:nth-child(1) { width: 30%; }
  .flight-table th:nth-child(2) { width: 28%; }
  .flight-table th:nth-child(4) { width: 22%; }
  .flight-table th:nth-child(6) { width: 20%; }
  .flight-table td { padding: 10px 8px; }
  .fn { font-size: 12px; } .airline-name { font-size: 10px; }
  .city-name { font-size: 12px; } .iata { font-size: 10px; }
  .sched-time { font-size: 11px; } .badge { font-size: 10px; padding: 3px 6px; }
  .tab-row { width: 100%; } .ftab { padding: 8px 12px; font-size: 12px; flex: 1; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .see-all-row { text-align: center; margin-top: 16px; }
}
@media(max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 22px; } }
@media(max-width: 480px) {
  .flight-table th:nth-child(2), .flight-table td:nth-child(2) { display: none; }
  .flight-table th:nth-child(1) { width: 50%; }
  .flight-table th:nth-child(4) { width: 30%; }
  .flight-table th:nth-child(6) { width: 20%; }
}

/* ── FOOTER BANNER ── */
.footer-banner { position: relative; background-size: cover; background-position: center 40%; min-height: 320px; display: flex; align-items: center; margin-top: 40px; overflow: hidden; }
.footer-banner-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,15,45,0.85) 0%, rgba(0,25,60,0.70) 55%, rgba(0,10,30,0.45) 100%); z-index: 0; }
.footer-banner-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 60px 24px; width: 100%; }
.footer-banner-h { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 36px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.footer-banner-p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 520px; line-height: 1.65; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.footer-banner-btn { display: inline-block; padding: 13px 30px; background: #ff5a5f; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; border-radius: 999px; text-decoration: none; transition: background .15s; box-shadow: 0 4px 16px rgba(255,90,95,0.35); }
.footer-banner-btn:hover { background: #cc3a3e; }

@media(max-width: 768px) { .footer-banner-h { font-size: 26px; } .footer-banner { min-height: 320px; } .footer-banner-inner { padding: 36px 20px; } .footer-banner-p { margin-bottom: 20px; font-size: 14px; } }
