/* Navigation Menu Styles - AI Native Theme */
/* Consolidated nav styles - remove duplicates from ai-native.css and scale-dark.css */

/* Navigation - Fixed top bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.logo span {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Brain Stem site - bright green gradient matching logo */
body[data-site="brain-stem"] .logo span {
    background: linear-gradient(135deg, #5EFF5E 0%, #66FF99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.nav-links a:hover {
    color: var(--light);
}

.nav-links a.active {
    color: var(--primary);
}

/* Nav Avatar */
.nav-avatar-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.nav-avatar:hover {
    transform: scale(1.1);
}

/* Auth Button */
.auth-btn {
    color: var(--gray);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.auth-btn:hover {
    color: var(--light);
}

/* Contact Button */
.contact-btn {
    background: var(--primary);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(64, 203, 52, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--dark-card);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        transition: right 0.3s;
        min-width: 200px;
        border-radius: 10px 0 10px 10px;
        z-index: 1001;
        border: 1px solid var(--border);
    }

    .nav-links.active {
        right: 10px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
        flex-shrink: 0;
    }

    .nav-links .nav-auth-item .nav-avatar-link {
        display: none !important;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }
}

/* Navigation scroll effect */
nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.95);
}
