@font-face {
    font-family: 'Bookman Old Style';
    src: url('fonts/BookmanSyr.eot');
    src: url('fonts/BookmanSyr.woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    /* Оптимизация загрузки */
}

.roomsBlock {
    margin-top: 100px !important;
 }

/* Десктопные стили (от 768px и выше) */
@media (max-width: 767px) {
    .photoPresentationHomeRelaxFamily {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 10px;
        scroll-behavior: smooth;
    }

    .photoPresentationBlock {
        scroll-snap-align: start;
        flex: 0 0 100%;
    }

}

@media (min-width: 768px) {
    .footerContactContainerMobile {
        display: none;
    }

    .addressContainerMobile {
        display: none
    }

    .howSearchContainerMobile {
        display: none
    }

    .blockMapAddressText1Mobile {
        display: none
    }

    .blockMapAddressText2Mobile {
        display: none
    }

    .blockMapHowSearchText1Mobile {
        display: none
    }

    .blockMapHowSearchText2Mobile {
        display: none
    }

    .containerMobileForAddress1Search {
        display: none
    }
}

/* Мобильные стили (320px) */
@media (max-width: 767px) {

    /* Важные базовые стили */
    html,
    body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    /* Бургер-кнопка */
    .burger-menu {
        display: block !important;
        position: relative;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 1001;
    }

    .burger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background: #000;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* Мобильное меню */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -340px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        padding: 70px 20px 20px;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
    }

    
    /* Оверлей */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }

    /* Анимация бургера в крестик */
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

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

     .roomsBlock {
        margin-top: 65px !important;
     }


    .relaxBannerTextContainer {
        margin: 20px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .relaxBannerTextTwo {
        font-size: 12px !important;
        width: 153px !important;
        height: 18px !important;
    }

    .selectLabel {
        font-size: 12px !important;
        color: #2B2B2B;
    }

    .selectValue {
        font-size: 16px !important;
    }

    .calendarIcon {
        width: 20px !important;
        height: 20px !important;
    }

    .dateLabel {
        font-size: 12px !important;
    }

    .dateInput {
        font-size: 16px !important;
    }


    .blockTopContainer {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    .descriptionText {
        font-family: 'PT Sans', sans-serif;
        font-weight: 400 !important;
        font-size: 16px !important;
        color: #2B2B2B;
    }

    .blockDescription {
        width: 100% !important;
        margin-right: 10% !important;
        display: flex;
        flex-direction: column-reverse;
        align-items: start;
    }

    .blockDescription ul {
        margin-top: 5% !important;
        margin-left: 15% !important;
    }

    .blockServices {
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 30px !important;
    }

    .descriptionServiceTextMobile {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        font-family: 'PT Sans', sans-serif !important;
        font-weight: 700 !important;
        font-size: 20px !important;
        color: #2B2B2B !important;
    }

    .servicesItem {
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        align-items: start !important;
        margin-top: 30px !important;
        display: flex !important;
        justify-content: flex-start !important;
    }

    .servicePhoto {
        width: 100% !important;
        height: 217px !important;
        border-radius: 20px !important;
        display: block !important;
        object-fit: cover !important;
        object-position: right !important;
    }

    .descriptionServiceText {
        display: none;

    }

    .serviceDescription ul {
        text-align: start !important;
        padding-inline-start: 20px;
    }


    .serviceButtonContainer {
        display: flex !important;
        flex-direction: column-reverse !important;
        justify-content: center !important;
        margin-top: 10px;
    }

    /* Общие стили для контейнера описания */
    .serviceDescription {
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        margin-left: 0px !important;
    }

    .descriptionServiceListItem {
        font-family: 'PT Sans', sans-serif !important;
        font-weight: 400 !important;
        font-size: 14px !important;
    }

    .descriptionContainer {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Кнопки */
    .serviceBookingButton {
        font-size: 14px !important;
        /* margin: 0 auto; */
        width: 100% !important;
        height: 43px !important;
        border-radius: 10px !important;
    }

    .serviceMoreButton {
        font-size: 14px !important;

        width: 99% !important;
        height: 41px !important;
        border-radius: 10px !important;
    }

    .servicesBookingButtonTop {
        margin-top: 20px !important;
        display: block !important;
        width: 100% !important;
        height: 43px !important;
        border-radius: 10px !important;
        background-color: #272F07 !important;
        color: #FFFFFF !important;
        border-radius: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-family: 'PT Sans', sans-serif !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    .selectLabel {
        color: #2B2B2B !important;
        font-weight: 700 !important;
    }
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #F2F3ED;
}

/* Скрываем слайдер на ПК (ширина больше 768px) */
.photoPresentationSliderWrapper {
    display: flex;
    transition: transform 0.3s ease;
    /* Плавная анимация */
}

main {
    flex: 1;
}

.servicesBookingButtonTop {
    display: none;
}

.relaxBannerBg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Аналог background-size: cover */
    object-position: center;
    /* Аналог background-position: center */
    z-index: -1;
    /* Отправляем изображение на задний план */
}

.relaxBannerTextContainer {
    /* border: 1px solid #000; */
    margin-top: 176px;
    margin-left: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.relaxBannerTextTwo {
    font-size: 20px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
}

.zoom-button {
    display: none;
}

.smallPhoto {
    display: flex;
    gap: 20px;
}

.dateLabel {
    font-size: 14px;
    font-family: 'PT Sans', sans-serif;
    color: #888;
    /*  Серый цвет для текста "Заезд" и "Выезд" */
    margin-bottom: 5px;
}

.dateInput {
    font-size: 18px;
    font-family: 'PT Sans', sans-serif;
    border: none;
    background: none;
    outline: none;
    /* padding-right: 30px; /*  Место для иконки календаря */
    cursor: pointer;
    /*  Меняем курсор на руку */
}

/* Убираем нативную иконку календаря */
.dateInput::-webkit-calendar-picker-indicator {
    display: none !important;
}

.dateInput {
    -moz-appearance: textfield;
    /* Для Firefox */
    appearance: none;
    /* Для современных браузеров */
}

.calendarIcon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    /* Подстройте под ваш размер */
    height: 30px;
    /* Подстройте под ваш размер */
    object-fit: contain;
    /* Чтобы изображение не искажалось */
    cursor: pointer;
}

/* стили для кастомного селекта */
.selectContainer {
    position: relative;
    width: 282px;
    height: 70px;
    background-color: #FFFFFF;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    /*  Текст сверху, дата снизу */
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.selectLabel {
    font-size: 14px;
    font-family: 'PT Sans', sans-serif;
    margin-bottom: 5px;
}

.selectValue {
    font-size: 18px;
    font-family: 'PT Sans', sans-serif;
}

.selectDropdownList {

    position: absolute;
    top: 100%;
    /* Сразу под контейнером */
    left: 0px;
    right: 0px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border-top: none;
    /* Убираем двойную границу */
    border-radius: 0 0 20px 20px;

    z-index: 100;
    overflow: hidden;
    /* Чтобы скругления работали */
    display: none;
}


.selectContainer.open {
    border-radius: 20px 20px 0 0;
}

.blockDetail {
    margin-top: 10%;
    display: flex;
    flex-direction: column;
}

.blockDescription ul {
    display: flex;
    flex-direction: column;
    /* Элементы списка вертикально */
    gap: 7px;
    /* Отступ 7px между пунктами */
    margin: 0;
    /* Убираем стандартные отступы ul */
    padding: 0;
    /* Убираем стандартные отступы ul */
}

.blockTopContainer {
    display: flex;
    align-items: center;
}

.bigPhoto {
    width: 1042px;
    height: 507px;
    border-radius: 40px;
}

.blockSmallPhoto {
    margin-top: 1%;
}

.detailTextContainer {
    margin-top: 10%;
    margin-bottom: 20%;
    text-align: left;
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #000000;
}

.blockServices {
    margin-top: 5%;
    /* border: 1px solid #000; */
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.servicesItem {
    /* border: 1px solid #000; */
    width: 100%;
    height: 427px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicePhoto {
    max-width: 720px;
    width: 100%;
    height: 427px;
    border-radius: 40px;
}

.serviceDescription {
    width: 636px;
    height: 314px;
    display: flex;
    justify-content: start;
    margin-left: 15px;
}

.descriptionContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.descriptionServiceText {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #2B2B2B;
}

.descriptionServiceListItem {
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #000000;
}

.serviceButtonContainer {
    display: flex;
    gap: 10px;
}

.serviceBookingButton {
    width: 282px;
    height: 70px;
    background-color: #272F07;
    color: #FFFFFF;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    user-select: none;
    cursor: pointer;
}

.serviceMoreButton {
    width: 253px;
    height: 70px;
    border-radius: 20px;
    border: 1px solid #272F07;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #272F07;
    background-color: #FFFFFF;
    cursor: pointer;
    user-select: none;
}

.detailBookingButton {
    margin-top: 30%;
    width: 282px;
    height: 70px;
    background-color: #272F07;
    color: #FFFFFF;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
}

.descriptionServiceTextMobile {
    display: none;
}