/* Navigation Styles - Shared across all HQ pages */

.nav {
    background: var(--white);
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
}

.nav-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.nav-logo img {
    width: 12rem;
    height: auto;
    filter: brightness(0);
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--black);
    font-size: 1.25rem;
    line-height: 1;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 0;
        position: sticky;
        top: 0;
        overflow: visible;
    }

    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: center;
        position: relative;
        overflow: visible;
    }

    .nav-logo {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
    }

    .nav-logo img {
        width: 7rem;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        padding: 0.5rem;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1rem);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 0 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-top: 1px solid #f0f0f0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-menu.mobile-active {
        max-height: 400px;
        opacity: 1;
        padding: 1.5rem 2rem;
    }

    .nav-menu li {
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 0.95rem;
        font-weight: 500;
        padding: 1rem 0;
        width: 100%;
        display: block;
        letter-spacing: 0.025em;
        text-transform: uppercase;
        transition: color 0.2s ease;
    }

    .nav-menu a:hover {
        opacity: 1;
        color: #666;
    }
}
