/* ==========================================================================
   Scotia Air — site.css
   Dark theme applied to ALL pages sharing the .home shell (base.html).
   home.css holds the homepage/framework components; this sheet (a) wires the
   Aerovias Brasil brand font to the brand wordmark (top banner, hero, footer)
   and (b) reskins the Tailwind/CDN child-page content (blog, scenery, stats,
   dispatch, flight-picker, events, login) onto the same base-fleet palette.
   Loaded AFTER home.css + Tailwind.
   ========================================================================== */

/* ── Brand font: Aerovias Brasil — wordmark, hero, footer ───────────── */
@font-face {
    font-family: 'Aerovias Brasil';
    src: url('/static/fonts/AeroviasBrasilNF.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
.home .home-brand span,
.home .home-brand,
.home .home-hero h1,
.home-footer > div {
    font-family: 'Aerovias Brasil', 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.04em;
}

/* The hero is a big brand mark — tone the heavy all-caps tracking down so
   title-case "Scotia Air" reads clean in the Aerovias face. */
.home .home-hero h1 {
    font-weight: 800;
    letter-spacing: 0.015em;
}

/* ── Child-page surface: unify to the dark base-fleet palette ───────── */
/* Cards / containers */
.home main .bg-white,
.home main .bg-white\/50,
.home main .bg-white\/70 {
    background: linear-gradient(150deg, rgba(16,46,77,.88), rgba(9,28,47,.98));
    border: 1px solid var(--line);
}
/* Page headings — clean font (Aerovias is brand-only) */
.home main .text-scotia-dark { color: #f4f8ff; }
.home main .text-gray-900      { color: #eaf2fa; }
.home main .text-gray-800      { color: #dde9f5; }
.home main .text-gray-700      { color: #d3e1ed; }
.home main .text-gray-600      { color: #c2d4e7; }
.home main .text-gray-500      { color: #a9bfd4; }
.home main .text-gray-400      { color: #8aa5c0; }
.home main .text-gray-300      { color: #cfe0ef; }
.home main .text-gray-200      { color: #dce9f5; }
.home main .text-gray-100      { color: #eaf2fa; }
/* Borders that look too bright on dark */
.home main .border-gray-100,
.home main .border-gray-200,
.home main .border-gray-300,
.home main .border-gray-400 { border-color: rgba(151,191,232,.2) !important; }

/* Buttons & links */
.home main .text-scotia-blue { color: #9ccafd !important; }
.home main .hover\:text-scotia-blue:hover { color: #bedcff !important; }
.home main .bg-scotia-blue { background: #0052b0 !important; }
.home main .hover\:bg-scotia-blue:hover { background: #2f7de1 !important; }
.home main .bg-scotia-gold,
.home main .hover\:bg-scotia-gold:hover { background: #C9A84C !important; color: #061425 !important; }
.home main .hover\:text-scotia-dark:hover { color: #061425 !important; }

/* Calendar mount control buttons — keep them visible on dark */
.home main .bg-gray-100 { background: rgba(55, 90, 130, .55) !important; color: #eaf2fa; }
.home main .bg-gray-50  { background: rgba(20, 45, 74, .55) !important; }

/* Inputs / forms */
.home main input,
.home main select,
.home main textarea {
    background: #0b2038;
    color: #eaf2fa;
    border-color: #33506e !important;
}
.home main input::placeholder,
.home main textarea::placeholder { color: #7f9bb7; }
.home main input:focus,
.home main select:focus,
.home main textarea:focus { border-color: #2f7de1 !important; --tw-ring-color: rgba(47,125,225,.45); }

/* Tables */
.home main table { color: #eaf2fa; }
.home main thead th { background: #0e2c54 !important; color: #eaf2fa !important; }
.home main tbody td { border-color: rgba(151,191,232,.16) !important; }
.home main tbody tr:nth-child(even) { background: rgba(12,32,54,.45); }
.home main tbody tr:hover { background: rgba(47,125,225,.14); }

/* Tag chips */
.home main .tag-chip {
    background: #12324f;
    color: #9ccafd;
    border: 1px solid rgba(151,191,232,.25);
}

/* Skeleton loaders / shimmer blocks */
.home main .animate-pulse .bg-gray-200,
.home main .bg-gray-200 { background: #16324e; }

/* ── Blog prose body ─────────────────────────────────────────────────── */
.home main .prose { color: #cddcea; }
.home main .prose h1,
.home main .prose h2,
.home main .prose h3,
.home main .prose h4,
.home main .prose strong { color: #f4f8ff; }
.home main .prose a { color: #9ccafd; }
.home main .prose a:hover { color: #bedcff; }
.home main .prose code { background: #173046; color: #e6f0fa; }
.home main .prose blockquote { background: #0e2c54; border-color: #C9A84C; color: #d9e6f2; }
.home main .prose hr { border-color: rgba(151,191,232,.2); }
.home main .prose table { color: #eaf2fa; }

/* ── Flight feed rate colours (partials) ─────────────────────────────── */
.home main .landing-rate-good { color: #7fe0b0; }
.home main .landing-rate-ok    { color: #f0c98a; }
.home main .landing-rate-bad   { color: #ff9c9c; }

/* ── Preserve homepage-only bits that used to live in base <style> ───── */
.pulse-dot { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

/* Accordion/sidebar legacy — ensure no stray light overlap */
.home main .sidebar { display: none; }