/* Navbar Component Styles */

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1440px;
    margin: 0 auto;
    gap: 0.8rem;
    min-height: 70px;
}

/* Logo Container with horizontal layout */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 200px;
}

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all var(--transition-smooth);
    flex-shrink: 0;
}

.logo-image:hover {
    filter: brightness(1.2) contrast(1.2);
    transform: scale(1.02);
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigation Menu with tighter spacing */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.5rem;
    flex: 1;
    justify-content: center;
}

/* Blue glowing separator */
.nav-separator {
    color: #0271FC;
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0.3rem;
    text-shadow: 
        0 0 5px rgba(2, 113, 252, 0.8),
        0 0 10px rgba(2, 113, 252, 0.5),
        0 0 15px rgba(2, 113, 252, 0.3);
    animation: glow-pulse 2s ease-in-out infinite alternate;
    user-select: none;
    pointer-events: none;
}

@keyframes glow-pulse {
    from {
        text-shadow: 
            0 0 5px rgba(2, 113, 252, 0.8),
            0 0 10px rgba(2, 113, 252, 0.5),
            0 0 15px rgba(2, 113, 252, 0.3);
    }
    to {
        text-shadow: 
            0 0 8px rgba(2, 113, 252, 1),
            0 0 15px rgba(2, 113, 252, 0.7),
            0 0 20px rgba(2, 113, 252, 0.5);
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-shrink: 0;
}

/* Mobile menu toggle improvements */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(2, 113, 252, 0.3);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu overlay and container */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(145deg, rgba(13, 13, 13, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(120%);
    border-left: 2px solid rgba(2, 113, 252, 0.3);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-logo {
    flex-shrink: 0;
}

/* Mobile menu logo also uses horizontal layout */
.mobile-menu-logo .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.mobile-menu-logo .logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-logo .logo-tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    transform: scale(1.05);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-nav {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
}

.mobile-menu-nav a:hover {
    color: var(--text-primary);
    background: rgba(2, 113, 252, 0.05);
    padding-left: 2rem;
    border-left: 3px solid var(--primary);
}

.mobile-menu-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
}

.mobile-menu-nav a:hover::before {
    width: 100%;
}

.mobile-menu-buttons {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0.8rem 15px;
        gap: 0.5rem;
    }

    .nav-logo {
        min-width: auto;
    }

    .logo-image {
        height: 36px;
    }

    .logo-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 10px;
    }

    .logo-image {
        height: 32px;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .mobile-menu {
        width: 90%;
        max-width: 280px;
    }

    .mobile-menu-header {
        padding: 1.5rem 1rem 1rem;
    }

    .mobile-menu-buttons {
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .logo-container {
        gap: 8px;
    }

    .logo-image {
        height: 28px;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .nav-container {
        padding: 0.8rem 8px;
    }
} 