/* Common Navigation Styles */

/* Ensure fonts load with fallbacks */
.nav-logo {
    font-family: 'Orbitron', 'Arial Black', sans-serif;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Orbitron', 'Arial Black', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.nav-link:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-link.active {
    color: white;
    border-color: currentColor;
}

/* Category specific colors */
.nav-link[data-category="realestate"].active {
    color: #FF5F00;
    text-shadow: 0 0 10px rgba(255, 95, 0, 0.5);
}

.nav-link[data-category="greens"].active {
    color: #00FF41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.nav-link[data-category="steel"].active {
    color: #CCFF00;
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
}

.nav-link[data-category="team"].active {
    color: #00FFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-link[data-category="meats"].active {
    color: #FF00CC;
    text-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Page spacing for fixed nav */
.page-content {
    padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-links.active {
        max-height: 500px;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}
