﻿/* ===========================================================
    1. CORE THEME & RESET
=========================================================== */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --accent: #d63384;
    --bg-body: #f8fafc;
    --white: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

    body.menu-open {
        overflow: hidden;
    }

/* ===========================================================
    2. HEADER & CONTACT (LOGO SIZE 100px)
=========================================================== */
.top-header {
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    position: sticky;
    top: 0;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 125px; /* Height increased for 100px logo */
    gap: 20px;
}

.header-logo img {
    height: 100px; /* Requested Logo Size */
    width: auto;
    object-fit: contain;
}

.header-title {
    flex: 1;
    text-align: center;
    min-width: 0;
}

    .header-title h1 {
        font-size: 24px;
        font-weight: 800;
        color: #111;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.header-notice {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    margin-top: 4px;
}

/* Support Contact Styling */
.header-contact {
    text-align: right;
    flex-shrink: 0;
    border-left: 2px solid #f1f1f1;
    padding-left: 20px;
}

.contact-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 1px;
}

.header-contact p {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 2px;
}

    .header-contact p i {
        color: var(--primary);
    }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
}

/* ===========================================================
    3. NAVIGATION (DESKTOP)
=========================================================== */
.main-nav {
    background: var(--white);
    border-bottom: 4px solid var(--primary);
    z-index: 999;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
}

    .nav-links li a {
        text-decoration: none;
        color: #222;
        font-weight: 700;
        font-size: 13px;
        padding: 18px 20px;
        display: flex;
        align-items: center;
        gap: 8px;
        text-transform: uppercase;
        transition: var(--transition);
    }

        .nav-links li a:hover {
            color: var(--primary);
            background: rgba(0, 123, 255, 0.05);
        }

.nav-close {
    display: none;
}

/* ===========================================================
    4. NETWORK HERO & SEARCH BOX
=========================================================== */
.network-hero {
    background: linear-gradient(rgba(0, 32, 74, 0.85), rgba(0, 32, 74, 0.85)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

    .network-hero h2 {
        font-size: clamp(26px, 5vw, 42px);
        font-weight: 800;
        margin-bottom: 15px;
    }

.search-box {
    display: flex;
    background: var(--white);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 650px;
    margin: 30px auto 0;
}

    .search-box input {
        flex: 1;
        border: none;
        padding: 15px 20px;
        font-size: 16px;
        outline: none;
    }

.btn-track {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* ===========================================================
    5. STATUS STRIP (IMPROVED)
=========================================================== */
.status-strip {
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 35px 20px;
    margin: -55px auto 50px;
    border-radius: 15px;
    max-width: 1150px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.status-item {
    text-align: center;
    flex: 1;
}

    .status-item:not(:last-child) {
        border-right: 1px solid #eee;
    }

    .status-item h4 {
        font-size: 32px;
        font-weight: 900;
        color: var(--primary);
    }

    .status-item span {
        font-size: 13px;
        color: var(--text-muted);
        font-weight: 700;
        text-transform: uppercase;
    }

/* ===========================================================
    6. MOBILE RESPONSIVENESS
=========================================================== */
@media (max-width: 900px) {
    .header-row {
        height: 90px;
        padding: 0 15px;
    }

    .header-logo img {
        height: 65px;
    }
    /* Scales down slightly for mobile */
    .header-title h1 {
        font-size: 16px;
    }

    .header-contact, .header-notice {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
    }

    /* Side Drawer */
    .main-nav {
        position: fixed;
        right: -320px;
        top: 0;
        width: 300px;
        height: 100vh;
        background: var(--white);
        z-index: 10001;
        transition: right 0.4s ease;
    }

        .main-nav.active {
            right: 0;
        }

    .nav-links {
        flex-direction: column;
        padding-top: 10px;
    }

        .nav-links li a {
            padding: 20px;
            border-bottom: 1px solid #f1f1f1;
        }

    .nav-close {
        display: block !important;
        padding: 20px;
        text-align: right;
        font-size: 30px;
        color: var(--primary);
    }

    .status-strip {
        margin: -30px auto 30px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .status-item:not(:last-child) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .search-box {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
    }

        .search-box input {
            background: white;
            border-radius: 10px;
            margin-bottom: 10px;
            text-align: center;
            box-shadow: var(--shadow-sm);
        }

    .btn-track {
        width: 100%;
        padding: 18px;
        border-radius: 10px;
    }

    .status-strip {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================
    7. GRID & CARDS
=========================================================== */
.network-section {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.route-card {
    background: var(--white);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition);
}

    .route-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.route-header {
    padding: 20px;
    background: #f8fbff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #cbd5e1;
}
