/* --- 1. GLOBAL LAYOUT --- */
html, body {
    margin: 0; padding: 0; width: 100%;
    height: auto !important; display: block !important;
    overflow-x: hidden !important;
}

/* --- 2. TOP HEADER --- */
.top-header { background-color: #ffffff; border-bottom: 1px solid #eeeeee; padding: 10px 0; }

.main-logo { 
    height: 50px; 
    width: auto; 
    transition: transform 0.3s ease; 
}
.main-logo:hover { transform: scale(1.2); }

/* --- 3. NAVBAR THEME --- */
.navbar-custom {
    background-color: #003366 !important;
    border-bottom: 3.5px solid #D80621;
    position: sticky; top: 0; z-index: 1050; padding: 4px 0; /* Reduced vertical padding */
}

.navbar-custom .nav-link {
    color: #ffffff !important; 
    font-weight: 700;
    text-transform: uppercase; 
    font-size: 0.85rem; /* Slightly smaller font for a tighter look */
    padding: 8px 12px !important; /* REDUCED SPACE: From 20px to 12px */
    transition: color 0.3s ease;
}

/* HOVER COLOR */
.navbar-custom .nav-link:hover {
    color: #ff0000 !important;
}

/* --- 4. STRIPES --- */
.nav-center-stripes {
    position: absolute;
    left: 50%;
    top: 50%; 
    transform: translate(-50%, -50%);
    display: flex; gap: 6px; z-index: 1100; pointer-events: none;
}

.stripe { width: 5px; height: 18px; transform: skewX(-20deg); display: inline-block; border-radius: 1px; }
.stripe-red { background-color: #ff0000; }
.stripe-yellow { background-color: #ffea00; }
.stripe-green { background-color: #00ff00; }

/* --- 5. LOGO LOGIC --- */
#scrollLogo { display: none; transition: transform 0.3s ease; }
#scrollLogo:hover { transform: scale(1.2); }
body.scrolled #scrollLogo { display: block !important; }

/* --- 6. MOBILE FIXES --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #003366;
        width: 100%; margin-top: 10px;
        text-align: center; border-top: 1px solid rgba(255,255,255,0.1);
    }
    #scrollLogo { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
    #scrollLogo:hover { transform: translateY(-50%) scale(1.2); } 
}