/* Бургер-кнопка */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Контейнер для меню */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Адаптация для мобильных */
@media (max-width: 992px) {
    .burger-btn {
        display: flex;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .nav-icons {
        margin-top: 30px;
    }

    /* Состояние открытого меню */
    .nav-container.active {
        right: 0;
    }

    /* Анимация бургер-кнопки */
    .burger-btn.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-btn.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-btn.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}