/* ============================================================
   Bluegrass Cybersecurity Solutions — Shared Stylesheet
   ============================================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Design tokens */
:root {
    --primary-blue: #1e3a5f;
    --accent-blue:  #2c5f8d;
    --light-blue:   #4a90c7;
    --green:        #2d5016;
    --light-green:  #5a7d3d;
    --gold:         #d4a017;
    --gray:         #333;
    --light-gray:   #f8f9fa;
    --white:        #ffffff;
}

/* Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* ── Skip to content ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Header & Navigation ── */
header {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo { height: 100px; }
.logo img { height: 100%; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--light-green); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Footer ── */
footer {
    background: var(--primary-blue);
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 2.5rem 1rem;
}
footer p { margin-bottom: 0.3rem; font-size: 0.9rem; }

/* ── Mobile nav ── */
@media (max-width: 1024px) {
    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links.active { display: flex; }
    .logo { height: 60px; }
}
