/**
 * Unified Navigation System
 * Works for both main site and records site
 * Zero !important tags, zero bloat
 */

/* Hamburger Menu Toggle */
.menu-toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1010;
    transition: opacity 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hide hamburger when menu is open */
body.menu-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
}

/* Full-screen overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1005;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close button - centered at top of overlay */
.nav-close-btn {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    background-image: url('../images/ff_close.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 55%;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1011;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.nav-overlay.active .nav-close-btn {
    opacity: 1;
    visibility: visible;
}

.nav-close-btn:hover {
    transform: translateX(-50%) rotate(90deg);
}

/* Navigation links - centered with hero-title styling */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav-links li {
    margin: 0 0 2rem 0;
    padding: 0;
}

.nav-links li a {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: #d3d3d3;
    transform: scale(1.05);
}

/* Prevent body scroll when menu open */
body.menu-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-close-btn {
        width: 44px;
        height: 44px;
        top: 25px;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links li a {
        font-size: 1.25rem;
    }
}
