/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.nav-logo-img.loaded {
    opacity: 1;
}

.nav-logo-text {
    background: var(--gold-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-cta {
    margin-left: var(--space-md);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--white);
    margin-bottom: 5px;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle span:last-child {
    margin-bottom: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--space-md);
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--black);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: var(--space-2xl) 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-xl);
        margin-bottom: var(--space-2xl);
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-logo-img {
        height: 35px;
    }
    
    .nav-logo-text {
        font-size: 1.25rem;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}
