/* ========== NAVIGATION ========== */
.main-nav {
    background: var(--oil-black);
    border-bottom: 3px solid var(--rust-orange);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
}

.nav-link {
    font-family: 'Rajdhani', sans-serif;
    padding: 18px 35px;
    background: var(--steel-gray);
    border-right: 2px solid var(--oil-black);
    color: #888;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.2s;
    position: relative;
    z-index: 50;
}

.nav-link:first-child {
    border-left: none;
}

.nav-link:hover {
    background: #4A4D50;
    color: #AAA;
}

.nav-link.active {
    background: var(--rust-orange);
    color: #FFF;
    box-shadow: inset 0 -3px 0 var(--dark-rust);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--warning-yellow);
}

/* ========== NAVIGATION DROPDOWN ========== */
.nav-dropdown {
    position: relative;
    display: inline-block;
    z-index: 150;
    vertical-align: top; /* Align with other nav items */
}

.nav-dropdown .nav-link {
    cursor: pointer;
    display: inline-block; /* Match other nav links */
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--oil-black);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.8);
    z-index: 200;
    border: 2px solid var(--rust-orange);
    margin-top: 0;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #C0C0C0;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    border-bottom: 1px solid var(--steel-gray);
    position: relative;
    z-index: 201;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--rust-orange);
    color: #FFF;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}
