/* Основные стили для десктопной версии */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-decoration: none;
}
a {
    text-decoration: none;
}
/* Хедер */
.header {
    width: 100%;
    position: relative;
    overflow: visible;
    background-color: #f4f4f4;
    text-align: center; /* Центрируем контент внутри хедера */
}

/* Кнопка "Записаться на массаж" */
.header .cta-button {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #86a8e7, #91eae4);
    background-size: 400% 400%;
    color: #f4f4f4;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 50px; /* Rounded corners */
    text-transform: uppercase;
    z-index: 11;
    animation: gradientShift 5s ease infinite, pulse 2s infinite;
    transition: all 0.5s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Pulsating Effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 123, 95, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 123, 95, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 123, 95, 0);
    }
}

/* Fixed Position for when scrolled (Desktop) */
.header .cta-button.fixed {
    position: fixed;
    top: 20px;
    right: 5px; /* Adjust to fit with the language switcher */
    border-radius: 30px; /* Adjust as necessary */
    padding: 10px 25px; /* Slightly narrower when fixed */
    max-width: 300px; /* Prevent overlapping with language switcher */
}

/* Mobile Version Adjustments */
@media screen and (max-width: 768px) {
    .header .cta-button.fixed {
        top: auto; /* Reset top position */
        bottom: 10px; /* Fix button at the bottom */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%);
        right: auto; /* Reset right position */
        max-width: 90%; /* Adjust the width to fit mobile screen */
    }
}




/* Изображение в хедере */
.header img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Волна внизу хедера */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
    fill: transparent;
}

/* Логотип */
.logo {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 400px;
    height: auto;
    background-color: transparent; /* Убедитесь, что фон у логотипа прозрачный */
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Основные секции сайта */
.section {
    padding: 20px 0px 10px 0px;
}
    /* Обновляем стиль для секции с картой и кнопкой */
    .section.cta {
        background-color: #4a3d91; /* Задаем светлый фон для этой секции */
        color: #333; /* Текст в секции */
    }
    .section bg-dark {
        background-color: #4a3d91;
    }
.split-section {
    background-color: #4a3d91;
}
/* Секция с услугами */
.section.bg-light {
    padding-top: 70px; /* Уменьшаем отступ сверху */
    padding-bottom: 60px; /* Отступ снизу */
}

        /* Заголовок "Наші послуги" */
        .section.bg-light h2 {
            text-align: center;
            margin-bottom: 20px; /* Увеличиваем отступ снизу, чтобы сделать заголовок ближе к блокам */
            margin-top: 50px; /* Увеличиваем отступ сверху, чтобы заголовок был дальше от логотипа */
            font-size: 2em;
            color: #4a3d91; /* Цвет заголовка */
        }
        .section.bg-light1 h2 {
            text-align: center;
            margin-bottom: 20px; /* Увеличиваем отступ снизу, чтобы сделать заголовок ближе к блокам */
            margin-top: 50px; /* Увеличиваем отступ сверху, чтобы заголовок был дальше от логотипа */
            font-size: 2em;
            color: #4a3d91; /* Цвет заголовка */
        }
/* Секция с темным фоном */
    .section.bg-light1 {
        position: relative;
        padding-top: 0 0;
        padding-bottom: 0px;
        background-color: #f4f4f4; /* Устанавливаем основной фон в нужный цвет */
        color: #4a3d91; /* Устанавливаем цвет текста */
    }
    .section.bg-light {
        position: relative;
        padding-top: 0;
        padding-bottom: 0px;
        background-color: #f4f4f4; /* Устанавливаем основной фон в нужный цвет */
        color: #fff; /* Устанавливаем цвет текста */
    }

.photo {
    position: absolute;
    bottom: 0;
    width: 50%;
    height: auto;
    z-index: 1;
}

.text-block {
    position: relative;
    margin-left: 25%; /* Отступ для корректного отображения текста справа от изображения */
    padding: 50px;
    max-width: 50%;
    color: #fff; /* Устанавливаем цвет текста */
    z-index: 2;
}

    .text-block h2 {
        margin-top: 0;
        font-size: 2em;
        color: white; /* Цвет заголовка */
    }

    .text-block p {
        margin: 20px 0;
        line-height: 1.6;
        font-size: 1.2em;
        color: white; /* Цвет текста */
    }


/* Секция с основным цветом */
    .section.bg-primary {
        background-color: #4a3d91;
        color: #333; /* Изменен цвет шрифта на темный */
    }

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color:#fff
}

    .section p {
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.2em;
        color: #fff
    }

/* Сервисы */
.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
    text-align: center; /* Выравнивание текста по центру */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #4a3d91; /* Цвет заголовков в блоках */
}

    .service-item h3 {
        font-size: 1.5em;
        margin-top: 0;
        color: #4a3d91;
    }

    .service-item p {
        font-size: 1em;
        line-height: 1.5;
        color: #6c757d;
    }

/* Отзывы клиентов */
.testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.testimonial-carousel { /* Если используется для карусели */
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.testimonial-item {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    opacity: 0; /* Скрываем по умолчанию */
    display: none; /* Скрываем по умолчанию */
    transition: opacity 1s ease-in-out;
}

.testimonial-item.active {
    display: block;
    opacity: 1;
}

.testimonial-item p {
    font-size: 1.2em;
    line-height: 1.5;
}

.testimonial-item span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    text-align: right;
}


/* Карта */
.map {
    margin-top: 40px;
    text-align: center;
}

.map iframe {
    width: 80%;
    height: 300px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* Подвал сайта */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.footer p {
    margin: 0;
    font-size: 1em;
}

/* Карусель для отзывов */
.testimonial-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.testimonial-item {
    display: none;
    padding: 20px 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    min-height: 100px; /* Минимальная высота карусели */
    display: flex;
    align-items: center; /* Выравниваем отзывы по вертикали */
    justify-content: center; /* Выравниваем отзывы по горизонтали */
}

.testimonial-item {
    display: none;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .testimonial-item.active {
        display: block;
        opacity: 1;
    }

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-info h3 {
    margin: 0;
    font-size: 1.2em;
}

.testimonial-stars {
    color: gold;
    font-size: 1.2em;
}


/* Кнопка меню */
.menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 12;
    width: 60px; /* Set width */
    height: 60px; /* Set height */
    border-radius: 50%; /* Make it circular */
    background-color: #ff5733; /* Button background color */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 rgba(255, 87, 51, 0.7); /* Initial shadow for wave effect */
    animation: pulse 2s infinite; /* Pulse animation */
    color: white; /* Icon color */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 51, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 87, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 51, 0);
    }
}


/* Боковое меню */
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 13;
    top: 0;
    left: 0;
    background-color: #4a3d91;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    color: #f1f1f1;
}

.side-menu .closebtn {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 36px;
    margin-left: 50px;
}

.side-menu .social-icons {
    padding-left: 16px;
    display: flex;
    justify-content: left; /* Центрируем иконки */
    gap: 0px; /* Добавляем промежуток между иконками */
    margin-top: 20px;
}

.side-menu .social-icons img {
    width: 32px;  /* Ширина иконок */
    height: 32px; /* Высота иконок */
    transition: transform 0.3s ease;
}
.side-menu .social-icons a {
    padding: 10px 2px 2px 10px;
    left: 10px;
}
.side-menu .social-icons img:hover {
    transform: scale(1.1); /* Увеличение иконок при наведении */
}

/* Кнопка смены языка */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 12;
}

.language-switcher button {
    background-color: #4a3d91;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.language-switcher button:hover {
    background-color: #6b58b3;
}
/* Стили для кнопки в секции cta */
.section.cta button {
    position: relative;
    background-color: #fff; /* Белый фон */
    color: #ffffff; /* Цвет текста */
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 auto;
    display: block;
    width: fit-content;
    border: 5px solid transparent; /* Прозрачная основная обводка */
    z-index: 1; /* Убедимся, что кнопка выше псевдоэлементов */
    
}

.section.cta button::before, .section.cta button::after {
    content: '';
    position: absolute;
    text-decoration: none;
    top: -7px; /* Снаружи */
    left: -7px; /* Снаружи */
    right: -7px; /* Снаружи */
    bottom: -7px; /* Снаружи */
    border-radius: 10px; /* Скругленные углы */
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #86a8e7, #91eae4);
    background-size: 200% 200%;
    z-index: -1; /* Позади кнопки */
    animation: gradientBorderAnimation 5s ease infinite;
}

.section.cta button::after {
    top: 2px; /* Внутри */
    left: 2px; /* Внутри */
    right: 2px; /* Внутри */
    bottom: 2px; /* Внутри */
    border-radius: 5px; /* Скругленные углы */
    background-color: #fff; /* Белый фон между обводками */
    z-index: -2; /* Позади псевдоэлемента before */
}

.section.cta button:hover {
    background-color: #4a3d91; /* Цвет фона при наведении */
    color: #ff602f; /* Цвет текста при наведении */
    text-decoration: solid;
}

@keyframes gradientBorderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Стили для прелоадера */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Темный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Стили для анимации кольца */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid transparent;
    border-top-color: #ff7e5f; /* Градиентные цвета */
    border-right-color: #feb47b;
    border-bottom-color: #86a8e7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Скрываем контент по умолчанию */
#content {
    display: none;
    opacity: 0;
}

/* Секция с услугами */
.section.bg-light {
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.section.bg-light h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #4a3d91;
}

/* Секция с услугами */
.section.bg-light {
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.section.bg-light h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #4a3d91;
}

/* Стили для блоков услуг */
.services {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Отступы между элементами */
}

.service-item {
    flex: 1 1 calc(33.333% - 40px); /* Три элемента в ряд на десктопе */
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #4a3d91;
}

.service-item p {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 10px;
}

/* Дополнительный стиль для описания */
.service-item .description {
    font-size: 1em;
    color: #333;
}



@media (max-width: 768px) {
    /* Общие стили */
    body {
        font-size: 16px;
    }

    /* Хедер */
    .header {
        position: relative;
        padding-top: 0px;
        padding-bottom: 0px; /* Увеличиваем отступ снизу для волны */
        height: 120px;
    }
    .wave {
        height: 100px; /* Увеличиваем высоту волны */
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 5;
        fill: transparent;
    }
    .logo {
        position: absolute;
        top: auto;
        bottom: -100px; /* Опускаем логотип ниже волны */
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        max-width: 200px;
    }
    a {
        text-decoration: none;
    }
    
    /* Если вы хотите вернуть подчеркивание при наведении */
    a:hover {
        text-decoration: underline;
    }
    .header .cta-button {
        text-decoration: none;
        position: absolute;
        bottom: 0px;
        top: 65px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 250px;
        max-height: 35px;
        padding: 18px;
        font-size: 0.9em;
        z-index: 5;
        background-color: transparent; /* Прозрачный фон */
        color: #f4f4f4; /* Цвет текста */
        border: 2px solid transparent; /* Прозрачная обводка */
        border-radius: 5px;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color 0.3s ease;
        background-image: linear-gradient(90deg, #ff7e5f, #feb47b, #86a8e7, #91eae4); /* Градиент внутри кнопки */
        background-origin: border-box; /* Указывает, что градиент должен начинаться с границ */
        background-clip: border-box; /* Градиент внутри рамки */
        box-shadow: 0px 0px 2px 2px transparent; /* Устанавливаем тень вокруг кнопки */
    }
    
    .header .cta-button:hover {
        background-color: #4a3d91; /* Цвет фона при наведении */
        color: #fff; /* Цвет текста при наведении */
    }
    

    /* Меню и переключатель языка */
    .menu-button, .language-switcher {
        top: 10px;
        z-index: 10;
    }

    .menu-button {
        left: 10px;
        font-size: 24px;
    }

    .language-switcher {
        right: 10px;
    }

        .language-switcher button {
            padding: 5px 8px;
            font-size: 0.8em;
        }

    /* Секции */
    .section {
        padding: 30px 15px;
    }

        .section h2 {
            font-size: 1.8em;
            margin-bottom: 20px;
        }

        .section p {
            font-size: 1em;
        }

        /* Секция с услугами */
        .section.bg-light, .section.bg-light1 {
            padding-top: 40px;
            padding-bottom: 40px;
        }

            .section.bg-light h2, .section.bg-light1 h2 {
                margin-top: 70px;
                margin-bottom: 15px;
                font-size: 1.8em;
            }

    .services {
        flex-direction: column;
    }

    .service-item {
        width: 100%;
        margin: 10px 0;
        padding: 15px;
    }

        .service-item h3 {
            font-size: 1.3em;
        }

        .service-item p {
            font-size: 0.9em;
        }

    /* Секция с фото и текстом */
    .photo {
        display: none;
    }

    .text-block {
        margin-left: 0;
        padding: 20px;
        max-width: 100%;
        text-align: center;
    }

        .text-block h2 {
            font-size: 1.8em;
            margin-bottom: 15px;
        }

        .text-block p {
            font-size: 1em;
            line-height: 1.5;
        }
    .section.bg-light1 {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .testimonial-carousel {
        width: 98%;
        max-width: 400px;
        margin: 0 auto;
        padding: 10px 5px;
    }

    .testimonial-item {
        padding: 5px;
        margin-bottom: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 8px;
        background-color: #fff;
    }

        .testimonial-item p {
            font-size: 0.95em;
            line-height: 1.6;
            margin-bottom: 5px;
            text-align: justify; /* Выравнивание по ширине */
            hyphens: auto; /* Автоматические переносы */
            word-wrap: break-word; /* Перенос длинных слов */
            overflow-wrap: break-word;
            -webkit-hyphens: auto;
            -ms-hyphens: auto;
        }

    .testimonial-header {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 12px;
        background-color: #4a3d91;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: bold;
        font-size: 1.2em;
    }

    .testimonial-info {
        flex-grow: 1;
    }

        .testimonial-info h3 {
            font-size: 1.1em;
            margin: 0 0 4px 0;
            color: #333;
        }

    .testimonial-stars {
        color: gold;
        font-size: 0.9em;
    }

    /* Карта */
    .map iframe {
        width: 100%;
        height: 250px;
    }

    /* Секция CTA */
    .section.cta button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .section.bg-light h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .services {
        flex-direction: column; /* Вертикальная компоновка блоков на мобильных */
    }

    .service-item {
        flex: 1 1 100%; /* Полная ширина для элементов на мобильных */
        margin-bottom: 20px;
        padding: 15px;
    }

    .service-item h3 {
        font-size: 1.5em;
    }

    .service-item p {
        font-size: 1em;
    }
}











.coming-soon {
    min-height: 300px;
    text-align: center;
    padding: 50 50 50 50px; 
}

.coming-soon h1 {

    font-size: 72px;
    font-weight: bold;
    background: linear-gradient(90deg, #9b59b6, #3498db, #e67e22);
    background-size: 300%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.cta-button {
    text-decoration: none; /* Убирает подчеркивание */
    /* Остальные стили кнопки */
    background: linear-gradient(90deg, #86a8e7, #91eae4);
    color: #f4f4f4;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}




/* Галерея */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 140px 40px 40px 40px;
}

.thumbnail {
    margin: 5px;
    transition: transform 0.2s;
    width: 200px;
    height: 200px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.gallery-modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80%;
    max-height: 80%;
}

.gallery-modal-content img {
    max-width: 70%;
    max-height: 70%;
    border-radius: 5px;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 10000;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.zoom-in, .zoom-out {
    position: absolute;
    top: 15px;
    right: 90px;
    padding: 10px;
    font-size: 20px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10000;
    border-radius: 5px;
    opacity: 0.7;
}

.zoom-in {
    right: 50px;
}

.zoom-out {
    right: 90px;
}

.zoom-in:hover, .zoom-out:hover {
    opacity: 1;
}

@media only screen and (max-width: 700px) {
    .gallery {
        padding: 100px 20px 20px 20px;
    }
    .gallery-modal-content {
        width: 95%;
        height: auto;
    }
}
/* FAQ Button */
.faq-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: background-color 0.3s ease;
}

.faq-button:hover {
    background-color: rgba(58, 45, 129, 0.1);
}

.faq-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.faq-fallback {
    display: none;
    font-size: 30px;
    color: #4a3d91;
    font-weight: bold;
}

.faq-button img[alt]:after {
    content: "?";
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #4a3d91;
    font-weight: bold;
}

/* FAQ Modal */
.faq-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.faq-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 2px solid #4a3d91;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 10px;
    position: relative;
    overflow-y: auto;
}

.faq-close {
    color: #4a3d91;
    position: sticky;
    top: 10px;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1002;
}

.faq-close:hover, .faq-close:focus {
    color: #000;
}

.faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-image {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.faq-rules-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.faq-container h2 {
    text-align: center;
    margin: 0 0 20px 0;
    color: #4a3d91;
}

.faq-questions {
    width: 100%;
    padding-right: 10px;
}

.faq-section {
    margin-bottom: 30px;
}

.faq-section h3 {
    color: #4a3d91;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.faq-section ul {
    list-style-type: none;
    padding-left: 0;
}

.faq-section li {
    margin-bottom: 10px;
    line-height: 1.5;
}

body.faq-modal-open {
    overflow: hidden;
}

/* Стили для скроллбара */
.faq-modal-content::-webkit-scrollbar {
    width: 8px;
}

.faq-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.faq-modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.faq-modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Media Queries */
@media (max-width: 768px) {
    .faq-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .faq-close {
        position: sticky;
        top: 10px;
        right: 20px;
    }

    .faq-image {
        margin-top: 20px;
    }

    .faq-section h3 {
        font-size: 1.1em;
    }

    .faq-section li {
        font-size: 0.9em;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
    html {
        transform: rotate(-90deg);
        transform-origin: left top;
        width: 100vh;
        overflow-x: hidden;
        position: absolute;
        top: 100%;
        left: 0;
    }
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100 100 100 100px;
}

.contact-info {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-info h2 {
    margin-top: 20px;
    font-size: 24px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.map iframe {
    width: 100%;
    height: 250px;
}

.section.map-container {
    padding: 20px 0;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.social-icons img {
    width: 40px;
    height: 40px;
}
.alert {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 18px;
    text-align: center;
}

.alert.success {
    background-color: #DFF2BF;
    color: #4F8A10;
}

.alert.error {
    background-color: #FFBABA;
    color: #D8000C;
}
/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

/* Popup Content */
.popup-content {
    max-width: 60%;
    background: linear-gradient(135deg, #ff7e5f, #feb47b, #86a8e7, #91eae4);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupShow 0.5s ease;
}
.price-notice {
    font-weight: bold;
    color: #ffdd00; /* Жовто-золотий для акценту, або заміни на #a67aff для фіолетового */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: blinkNotice 1.5s ease-in-out infinite;
    font-size: 1.2em;
    margin-top: 10px;
}

/* Анімація блимаючого ефекту */
@keyframes blinkNotice {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Popup Button */
#popupClose {
    background-color: #ff7e5f;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#popupClose:hover {
    background-color: #feb47b;
}

/* Animation */
@keyframes popupShow {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Content Blur */
.blur-content {
    transition: filter 0.5s ease;
}
.promotions-wrapper {
    max-width: 800px; /* Ensures the wrapper is centered and not too wide */
    margin: 100px auto 40px; /* Adds top margin for spacing from the logo, auto centers it horizontally, and a modest bottom margin */
    padding: 20px; /* Padding around the internal elements */
    background-color: #f4f4f4; /* Optional if you want a different background */
    
}

.promotion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4a3d91;
    color: #fff; /* for better contrast */
    margin: 10px 0; /* Reduces vertical spacing between promotions */
    max-width: 690px; /* Adjusted to fit within the wrapper */
    padding: 30px; /* Slightly reduced to fit the design */
    border-radius: 15px;
    text-align: left;
    position: relative; /* Stays to manage positioning relative to its container */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.promotion img {
    width: 25%;
    border-radius: 15px;
    margin-right: 20px; /* Spacing between image and text */
}

.promotion p {
    width: 90%; /* Adjusted for better text wrapping */
    margin: 0;
    color: #ffd700; /* Main text in yellow */
    font-size: 2em;
}

.promotion p.small-text {
    font-size: 0.8em;
    color: grey; /* Making small text grey */
}

/* Responsive design for mobile */
@media (max-width: 600px) {
    .promotion {
        flex-direction: column;
        text-align: center;
    }

    .promotion img {
        width: 90%;
        margin: auto;
    }

    .promotion p {
        width: 100%;
    }
}

/* Основные стили */
.moon-text-block a {
    color: #ff7e5f;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.moon-text-block a:hover {
    color: #feb47b;
}

.moon-phone-number {
    font-weight: bold;
    font-size: 1.2em;
}

.moon-text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    color: white; /* Контраст текста на темном фоне */
}

.moon-split-section {
    padding: 40px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 30%, rgba(74, 61, 145, 1) 100%), url('main_photo.png');
    background-position: left top; /* Позиционируем картинку слева по центру */
    background-size: cover; /* Покрываем весь блок изображением */
    background-repeat: no-repeat; /* Отключаем повторение картинки */
    position: relative; /* Добавляем, чтобы контролировать позиционирование текста */
}



.moon-text-block {
    max-width: 800px;
    padding-left: 50%;
    margin: 0 auto;
    text-align: center;
    background-color: transparent; /* Убираем фоновый цвет, чтобы текст был виден на фоне изображения */
    color: white; /* Контрастный цвет текста */
}



/* Переход цвета для ссылок */
.moon-text-block a {
    color: #ff7e5f;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.moon-text-block a:hover {
    color: #feb47b;
}

/* Стили для номеров телефона */
.moon-phone-number {
    font-weight: bold;
    font-size: 1.2em;
    color: #fff; /* Контрастный цвет номера телефона на темном фоне */
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .moon-split-section {
        padding: 0; /* Убрать внутренние отступы */
        display: flex; /* Использовать flexbox для управления расположением */
        flex-direction: column; /* Элементы располагаются вертикально */
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 5%, rgba(74, 61, 145, 1) 100%), url('main_photo_1.png');
        background-size: cover; /* Картинка покрывает весь блок */
        background-position: center top; /* Центрируем картинку сверху */
        background-repeat: no-repeat; /* Картинка не повторяется */
        overflow: hidden; /* Скрыть выходящие за пределы элементы */
        width: 100%; /* Ширина блока 100% от родительского элемента */
    }

    .moon-text-block {
        
        width: 100%; /* Ширина текстового блока 100% */
        background-color: transparent; /* Прозрачный фон для текстового блока */
        color: white;
        padding: 200% 20px 20px 20px; /* Отступы вокруг текста */
        box-sizing: border-box; /* Учитываем padding и border в ширине элемента */
    }
}



/* Стили для отзывов */
.testimonial-item p {
    color: #000; /* Оставляем черный текст для отзывов */
}