/* Модальное окно */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/* Затемнение и размытие фона */
.booking-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    /* Размытие фона */
    -webkit-backdrop-filter: blur(5px);
}

/* Контейнер окна */
.booking-modal__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    background: white;
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

/* Заголовок */
.booking-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.booking-modal__header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* Кнопка закрытия */
.booking-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-modal__close:hover {
    color: #333;
}

/* Контент с iframe */
.booking-modal__content {
    padding: 20px;
    min-height: 500px;
}

.booking-modal__content iframe {
    width: 100%;
    height: 500px;
    border: none;
    /* border-radius: 8px; */
}

/* Анимация */
@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .booking-modal__container {
        width: 95%;
    }

    .booking-modal__content {
        padding: 15px;
        min-height: 400px;
    }

    .booking-modal__content iframe {
        height: 400px;
    }
}





/* ========== БУРГЕР КНОПКА ========== */
.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;

    position: absolute;
    right: 30px;
    top: 76px;
}

.burger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:nth-child(3) {
    top: 18px;
}

/* Анимация бургера в крестик */
.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #1F2228;
    z-index: 999;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
}

/* Задержки для анимации пунктов меню */
.mobile-menu.active .mobile-nav-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-list a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav-list a:hover {
    color: #C2B48E;
    padding-left: 10px;
}

/* Оверлей (затемнение фона) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Контент */
.content {
    margin-top: 80px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .burger {
        display: block;
    }
}