/* GREG'S OXFORD NAV - SYNCHRONIZED TO 70% WIDTH */

.pill-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding-top: 20px;
    background-color: #F1F5F9; /* Greg's dock-bg */
}

.nav-container {
    width: 70%; /* Matches Greg's content-wrapper */
    max-width: 1400px; 
    margin: 0 auto;
    background: #FFFFFF; 
    padding: 20px 50px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #0F172A; /* Greg's Navy Primary */
    position: relative;
}

.nav-logo {
    font-weight: 800;
    text-decoration: none;
    color: #0F172A; 
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Segoe UI', sans-serif;
}

.nav-logo span {
    font-weight: 200;
    color: #475569; /* Greg's Slate Steel */
}

/* DESKTOP LINKS */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #0F172A;
    margin-left: 30px;
    font-weight: 700;
    font-size: 0.85rem; /* High-density text size */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active-page {
    color: #2563EB; /* Precision Blue accent */
}

/* HAMBURGER ICON */
.menu-toggle {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0F172A; /* Navy lines */
    transition: all 0.3s ease;
}

/* MOBILE SPANNED BUTTON LOGIC (1024px and Down) */
@media (max-width: 1024px) {
    .pill-nav { padding-top: 0; }
    
    .nav-container { 
        width: 100%; 
        padding: 20px 25px; 
        border-bottom: 3px solid #0F172A;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* THE NAV DRAWER */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0F172A; /* Solid Navy Drawer */
        padding: 15px 0; 
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-links.active { display: flex; }

    /* EACH ITEM AS A FULL-WIDTH BUTTON */
    .nav-links li {
        width: 100%;
        padding: 5px 20px; 
    }

    .nav-links a {
        display: block; /* Spans the width */
        background-color: rgba(255, 255, 255, 0.05); /* Defines the button block */
        color: #ffffff !important; /* White text on navy background */
        margin-left: 0 !important;
        padding: 18px 0;
        font-size: 1.1rem;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        border-radius: 8px; /* Rounded button edges */
        border-bottom: none !important;
    }

    /* ACTIVE/HOVER BUTTON HIGHLIGHT */
    .nav-links a.active-page,
    .nav-links a:hover {
        background-color: #2563EB !important; /* Precision Blue Highlight */
        color: #ffffff !important;
    }
}