/* Стили мобильного меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    outline: none;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2e2570;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Стили для переключателя языков */
.language-switcher {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.language-switcher a {
    color: #2e2570;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 4px;
}

.language-switcher a:hover {
    color: #3a2f8a;
    background-color: rgba(46, 37, 112, 0.03);
}

.language-switcher a.active {
    color: #3a2f8a;
    position: relative;
    background-color: rgba(46, 37, 112, 0.07);
}

.language-switcher a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #3a2f8a;
    border-radius: 1px;
}

@media (max-width: 820px) {
    .mobile-menu-btn {
        display: block !important;
        position: relative;
    }
    
    .language-switcher {
        margin-right: 15px;
    }
    
    .header-content {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex !important;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 8px;
        margin-bottom: 10px;
        background: #f8f9fa;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: #2e2570;
        color: white;
        transform: translateX(5px);
    }
} 