/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: transparent;
    box-shadow: none;
}

.navbar.scrolled .nav-link {
    color: #ffffff;
}

.navbar.scrolled .hamburger .bar {
    background: #3b82f6;
    box-shadow: none;
}

.navbar.scrolled .hamburger:hover .bar {
    background: #1d4ed8;
}



/* Scrolled state for mobile menu */
.navbar.scrolled .nav-menu {
    background: transparent;
    box-shadow: none;
}

.navbar.scrolled .nav-menu .nav-link {
    color: #ffffff;
}

.navbar.scrolled .nav-menu .nav-link:hover {
    color: #ffffff;
    background: transparent;
}



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

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.nav-logo h2:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #3b82f6;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #3b82f6;
}

/* Hamburger hover effect */
.hamburger:hover .bar {
    background: #3b82f6;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    /* Mobile menu overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    .nav-link:hover {
        color: #3b82f6;
        background: rgba(59, 130, 246, 0.1);
        transform: translateX(10px);
    }

    /* Active state for mobile nav */
    .nav-menu.active .nav-link {
        animation: slideInRight 0.3s ease forwards;
    }

    .nav-menu.active .nav-item:nth-child(1) .nav-link { animation-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) .nav-link { animation-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) .nav-link { animation-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) .nav-link { animation-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) .nav-link { animation-delay: 0.5s; }

    .nav-link::after {
        display: none;
    }
}

/* Mobile Navigation Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} 