/* Navigation Bar Styles */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-xl, 1280px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand/Logo */
.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #667eea;
}

/* Sign up Button */
.nav-button {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.nav-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* User Menu (Authenticated) */
.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user-name {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-logout {
    color: #e74c3c;
}

.nav-logout:hover {
    color: #c0392b;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-toggle-bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 70px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 0.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-user-menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-link, .nav-button {
        width: 100%;
        text-align: center;
    }
}