@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;
    /* Оптимизация загрузки */
}

/* Десктопные стили (от 768px и выше) */
@media (max-width: 767px) {
    .formBlock {
        display: none !important;
    }
    .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;
    }

    .addressContainerMobileContacts {
        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;
    }

    .addressContainerMobileContacts {
        display: none
    }

    /* Оверлей */
    .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);
    }

    .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;
    }

    .blockMapHowSearchText1MobileContacts {
        margin-top: 10% !important;
        font-family: 'PT Sans', sans-serif;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #2B2B2B;
    }

    /* Баннер */
    .contactsBanner {
        width: 100% !important;
        height: 229px !important;
        border-radius: 20px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;

    }

    .contactsBookingButtonTop {
        margin-top: 10% !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;
    }

    .blockContacts {
        margin-top: 45px !important;
        width: 100% !important;
        height: 700px !important;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }

    .contactTextContainer {
        margin-top: 5%;
        margin-left: 2%;
        width: 100% !important;
        height: 108px !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
    }

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

    .contactNameStyle {
        font-family: 'PT Sans', sans-serif;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #2B2B2B;
    }

    .blockMapTextContacts {
        font-family: 'PT Sans', sans-serif;
        font-weight: 700;
        font-size: 20px !important;
        color: #2B2B2B;
    }

    .addressContainerContacts {
        display: none !important;

    }

    .howSearchContainerContacts {
        display: none !important;

    }

    .blockMapContacts {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .blockMapStyleContacts {
        border-radius: 30px !important;
        height: 506px !important;
    }

    .blockMapContainer {
        margin-top: 65px;
        width: 100% !important;
        text-align: start !important;
        align-items: start !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;
}

.detailBookingButtonTop {
    display: none;
}

/* стили для основного контента */

.zoom-button {
    display: none;
}

.search-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;
}

.selectLabel {
    font-size: 14px;
    font-family: 'PT Sans', sans-serif;
    color: #888;
    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;
}

.contactsBookingButtonTop {
    display: none;
}

/* стили для блока КАК К НАМ ДОБРАТЬСЯ */
.blockMapContacts {
    margin-top: 5%;
    width: 100%;
    height: 1073px;
    border-radius: 40px;
    /* background-color: #272F07; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.blockMapContainer {
    /* border: 1px solid #000; */
    width: 100%;
    height: 1015px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

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

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

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

.blockMapAddressText2Contacts {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    color: #2B2B2B;
}

.howSearchContainerContacts {
    display: flex;
}

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

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

.blockMapStyleContacts {
    width: 100%;
    height: 760px;
    /* Управляйте высотой здесь */
    margin: 20px 0;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contactsBanner {
    margin-top: 20px;
    width: 1808px;
    /* background-image: url('images/relax_place.svg'); */
    background-size: cover;
    /*  Чтобы картинка заполняла весь блок */
    background-position: center;
    /*  Чтобы картинка была отцентрирована */
    height: 672px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    /* Добавляем для позиционирования фона */
    overflow: hidden;
    /* Чтобы скругленные углы работали для дочерних элементов */
}

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

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

.blockContacts {
    margin-top: 5%;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.contactTextContainer {
    margin-top: 5%;
    width: 639px;
    height: 204px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
}

.contactItem {
    font-family: 'PT Sans', sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: #2B2B2B;
}

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

.contactItem a {
    text-decoration: none;
    color: inherit;
}