/* ============================================================================
   SIMPLE NAVIGATION - Clean and Straightforward
   ============================================================================
   
   This file OVERRIDES navigation styles from styles.css
   Load this AFTER styles.css in HTML to ensure proper cascading
   
   ============================================================================ */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Desktop Navigation (default) */
.nav-menu {
    display: flex !important; /* Force visibility on desktop */
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fbbf24;
}

/* Hamburger button - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
}

/* ============================================================================
   MOBILE STYLES
   ============================================================================ */

@media (max-width: 768px) {
    /* Show hamburger button */
    .nav-toggle {
        display: flex;
    }
    
    /* Hide menu by default on mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
        backdrop-filter: blur(25px);
        
        /* Change to column layout */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        
        /* Hide by default */
        opacity: 0;
        pointer-events: none;
        
        /* Smooth transition */
        transition: opacity 0.3s ease;
        
        z-index: 999;
    }
    
    /* Show menu when active */
    .nav-menu.mobile-menu-open {
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Mobile menu links styling */
    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        width: 80%;
        max-width: 280px;
        text-align: center;
    }
    
    .nav-link:hover {
        background: rgba(251, 191, 36, 0.1);
        border-color: rgba(251, 191, 36, 0.5);
    }
    
    /* Hamburger animation when menu is open */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

