/* ===================== ROOT & BASE ===================== */
:root {
    --primary: #002559;
    --secondary: #e63946;
    --dark: #020617;
    --bg: #f6f7fb;
    --muted: #6b7280;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: #1f2937;
    line-height: 1.6;
    font-size: 15px;
}

/* ===================== TOP BAR ===================== */
.topbar {
    background: var(--dark);
    color: #e5e7eb;
    padding: 6px 18px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    font-weight: 500;
}

/* ===================== HEADER ===================== */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--bg);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-wrap img {
    height: 46px;
}

/* ===================== DESKTOP NAV ===================== */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav a {
    margin-left: 18px;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 14px;
}

.desktop-nav a:hover {
    color: var(--primary);
}

/* ===================== MOBILE ICONS ===================== */
.header-actions {
    display: none;
    align-items: center;
    gap: 14px;
}

.icon-btn img,
.burger img {
    width: 25px;
    height: 25px;
    display: block;
}

.burger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ===================== MOBILE MENU ===================== */
#mobileNav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 280px;
    height: 90vh;
    background: #ffffff;
    padding: 80px 20px 20px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.35s ease;
    z-index: 1000;
}

#mobileNav.active {
    left: 0;
}

#mobileNav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    font-size: 15px;
}

/* ===================== RESPONSIVE ===================== */
@media (min-width: 641px) {
    #mobileNav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }
}

@media (max-width: 640px) {
    .desktop-nav {
        display: none;
    }

    .header-actions {
        display: flex;
    }
}
/* ===============================
   HEADER BASICS
================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrap img {
    height: 44px;
}

/* ===============================
   DESKTOP NAV
================================ */
.desktop-nav {
    display: flex;
    gap: 16px;
}

.desktop-nav a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
}

/* ===============================
   HEADER ACTIONS
================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn img {
    width: 25px;
    height: 25px;
}

.burger {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.burger img {
    width: 25px;
    height: 25px;
}

/* ===============================
   MOBILE NAV (HIDDEN BY DEFAULT)
================================ */
#mobileNav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100vh;
    background: #0b1220;
    padding: 70px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: left 0.3s ease;
    z-index: 999;
}

#mobileNav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ACTIVE STATE */
#mobileNav.active {
    left: 0;
}

/* ===============================
   RESPONSIVE RULES
================================ */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
}

@media (min-width: 993px) {
    #mobileNav {
        display: none;
    }
    .burger {
        display: none;
    }
}


/* ===================== HERO ===================== */
.hero {
    position: relative;
    background: var(--dark) url("images/lukla-flight.jpg") center / cover no-repeat;
    color: #fff;
    padding: 80px 18px 130px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom right,
        rgba(2, 6, 23, 0.3),
        rgba(2, 6, 23, 0.85)
    );
}

.hero-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
}

.hero h1 {
    font-size: 2.3rem;
    margin: 0 0 10px;
}

.hero p {
    color: #e5e7eb;
    max-width: 540px;
    margin-bottom: 12px;
}

/* Hero tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 15px;
}

.hero-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

/* ===================== SEARCH CARD ===================== */
.search-card {
    background: #f9fafb;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.search-header {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.search-form select,
.search-form input {
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
}

.search-form button {
    grid-column: span 2;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.search-note {
    margin-top: 6px;
    color: #4b5563;
}

/* ===================== QUICK FACTS ===================== */
.facts-strip {
    margin-top: 15px;
}

.facts-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fact {
    background: #0f172a;
    color: #e5e7eb;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.fact span {
    display: block;
    color: #9ca3af;
}

/* ===================== SECTIONS ===================== */
.section {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 18px;
}

.section h2 {
    color: var(--primary);
    margin-bottom: 6px;
}

.section .lead {
    color: var(--muted);
    max-width: 800px;
}

/* Grids */
.grid-2,
.grid-3 {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards */
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.card h3 {
    margin: 0 0 6px;
    color: var(--primary);
}

.pill {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    margin-bottom: 6px;
}

/* ===================== TABLES ===================== */
.table-wrap {
    margin-top: 14px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th,
td {
    padding: 9px 10px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

th {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.82rem;
}
/* ================= MOBILE FLIGHT CARDS ================= */
@media (max-width: 640px) {

    #schedule-table thead {
        display: none;
    }

    #schedule-table,
    #schedule-table tbody,
    #schedule-table tr {
        display: block;
        width: 100%;
    }

    #schedule-table tr {
        background: #ffffff;
        margin-bottom: 12px;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }

    #schedule-table td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border: none;
        font-size: 14px;
    }

    #schedule-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6b7280;
    }

    .btn-table {
        display: block;
        text-align: center;
        margin-top: 10px;
        padding: 10px;
        border-radius: 8px;
        font-size: 15px;
    }
}

.status-green { color: #16a34a; font-weight: 600; }
.status-yellow { color: #eab308; font-weight: 600; }

.btn-table {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* ===================== SEARCH BAR ===================== */
.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.search-bar select,
.search-bar input {
    padding: 7px 9px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.82rem;
}

/* ===================== INFO LIST ===================== */
.info-list {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.info-list ul {
    margin: 0;
    padding-left: 18px;
}

/* ===================== FAQ ===================== */
.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.faq-item p {
    display: none;
    margin-top: 6px;
    color: #4b5563;
}

/* ===================== CTA ===================== */
.cta-strip {
    margin-top: 26px;
    padding: 16px;
    border-radius: var(--radius);
    background: #0f172a;
    color: #e5e7eb;
    text-align: center;
}

.cta-strip a {
    color: #bfdbfe;
    text-decoration: none;
    font-weight: 600;
}

/* ===================== FOOTER ===================== */
footer {
    margin-top: 40px;
    background: var(--dark);
    color: #9ca3af;
    text-align: center;
    padding: 20px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 10px 18px;
        border-top: 1px solid #e5e7eb;
    }

    nav a {
        display: block;
        padding: 10px 0;
        margin: 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .header-actions {
        display: flex;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }
}
