/* Modern Navbar Styles */

/* Glassmorphism effect for navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

/* Enhanced logo hover effect */
.navbar-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Modern button styles */
.navbar-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.navbar-btn:hover::before {
    left: 100%;
}

/* Enhanced dropdown styling */
.navbar-dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar scroll animation */
.navbar-scroll {
    animation: navbarSlideDown 0.3s ease-out;
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced mobile menu */
.mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

/* Language switcher enhancement */
.language-option {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* User avatar enhancement */
.user-avatar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Register button gradient animation */
.register-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.register-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive improvements */
@media (max-width: 640px) {
    .navbar-glass {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .mobile-menu {
        background: rgba(255, 255, 255, 0.99);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Focus states for accessibility */
.navbar-btn:focus,
.nav-link:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .navbar-glass {
        background: rgba(17, 24, 39, 0.95);
        border-bottom: 1px solid rgba(75, 85, 99, 0.5);
    }
    
    .mobile-menu {
        background: rgba(17, 24, 39, 0.98);
        border-top: 1px solid rgba(75, 85, 99, 0.5);
    }
}
