/* <FILE>shared/menu.css</FILE> */
/* Navigation Styles - Mobile First Optimization */

/* Base styles for mobile (simplified, no heavy effects) */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.nav-container.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container.hidden {
    transform: translateY(-100%);
}

.nav-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    flex-shrink: 0;
}

/* Mobile logo - simplified */
.nav-logo {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

/* Desktop navigation - hidden on mobile */
.nav-desktop {
    display: none;
}

/* Mobile navigation - visible by default */
.nav-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-contacts-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.mobile-menu-button {
    background: transparent;
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.menu-icon {
    font-size: 1.2rem;
}

.mobile-menu {
    display: none;
    margin-top: 0.5rem;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-inner {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

.mobile-nav-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link.active {
    color: #FBBF24;
    padding-left: 1rem;
}

/* Small mobile screens */
@media (max-width: 479px) {
    .nav-logo {
        font-size: 0.75rem;
    }
}

/* Larger mobile screens */
@media (min-width: 480px) {
    .nav-logo {
        font-size: 0.875rem;
    }
}

@media (min-width: 640px) {
    .nav-logo {
        font-size: 1rem;
    }
}

/* Tablet and Desktop - Enhanced styles with transitions and effects */
@media (min-width: 768px) {
    /* Add backdrop blur only for desktop (heavy for mobile) */
    .nav-container {
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    .nav-container.scrolled {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .nav-container.hidden {
        transition: transform 0.3s ease;
    }
    
    /* Desktop logo */
    .nav-logo {
        font-size: 1.125rem;
        transition: transform 0.3s ease, color 0.3s ease;
    }
    
    .nav-logo:hover {
        transform: scale(1.02);
        color: #FBBF24;
    }
    
    /* Show desktop navigation */
    .nav-desktop {
        display: block;
    }
    
    /* Hide mobile navigation */
    .nav-mobile {
        display: none;
    }
    
    /* Desktop menu styles */
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-link {
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: color 0.3s ease;
        position: relative;
        padding: 0.5rem 0;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #FBBF24;
        transition: width 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #FBBF24;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    /* Enhanced transitions for desktop */
    .mobile-contacts-link {
        transition: color 0.3s ease;
    }
    
    .mobile-contacts-link:hover {
        color: #FBBF24;
    }
    
    .mobile-menu-button {
        transition: all 0.3s ease;
    }
    
    .mobile-menu-button:hover {
        background: rgba(251, 191, 36, 0.1);
        border-color: #FBBF24;
    }
    
    .mobile-nav-link {
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link:hover {
        color: #FBBF24;
        padding-left: 1rem;
    }
}

/* Large desktop */
@media (min-width: 1024px) {
    .nav-logo {
        font-size: 1.5rem;
    }
}