/* ============================================================
   nav-footer.css – Navigation & Footer Styles for SCSAB
   ============================================================ */

/* ── ROOT VARIABLES (matching page) ── */
:root {
    --navy-dark: #0A1F3F;
    --navy: #13294B;
    --navy-light: #1C3A5E;
    --red: #B31B1B;
    --red-dark: #8B1515;
    --white: #FFFFFF;
    --gray-50: #F5F5F7;
    --gray-100: #E8E8EC;
    --gray-200: #D4D4DC;
    --gray-400: #8E8E9A;
    --gray-600: #5C5C6A;
    --gray-800: #2E2E3A;
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --max-width: 1240px;
    --nav-height: 92px;
}

/* ── GOV BANNER ── */
.gov-banner {
    background: #0A1F3F;
    color: #B0C4DE;
    font-size: 0.75rem;
    padding: 6px 0;
    text-align: center;
    letter-spacing: 0.3px;
}
.gov-banner .gov-flag {
    display: inline-block;
    width: 16px;
    height: 11px;
    background: linear-gradient(180deg, #B31942 0% 53%, #FFFFFF 53% 100%);
    margin-right: 6px;
    vertical-align: middle;
}
.gov-banner a {
    color: #B0C4DE;
    text-decoration: underline;
}
.gov-banner a:hover {
    color: #fff;
}

/* ── NAVIGATION ── */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: -0.3px;
    height: 100%;
}
.logo-img {
    max-height: calc(var(--nav-height) - 12px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.nav-logo span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--gray-600);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: -2px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--navy-dark);
    border-bottom-color: var(--red);
}
.nav-cta-btn {
    background: var(--red);
    color: #fff !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: none !important;
}
.nav-cta-btn:hover {
    background: var(--red-dark);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}
.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--navy-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 31, 63, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
}
.mobile-menu.active {
    display: flex;
}
.mobile-menu a {
    color: #fff;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.mobile-menu a:hover {
    border-bottom-color: #fff;
}
.mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* ── FOOTER ── */
.footer {
    background: #0A1F3F;
    color: #B0C4DE;
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}
.footer h4 {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.footer ul {
    list-style: none;
}
.footer ul li {
    margin-bottom: 0.4rem;
}
.footer ul li a {
    color: #B0C4DE;
    text-decoration: none;
}
.footer ul li a:hover {
    text-decoration: underline;
    color: #fff;
}
.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--red);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #8E9CB2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .logo-img {
        max-height: 36px;
    }
}