



.age-warning {
    display: none;
    position: fixed;
    bottom: 70px; /* Было 20px — теперь выше */
    left: 50%; /* Центровка */
    transform: translateX(-50%); /* Центровка */
    background: #ffcccc;
    color: #000;
    padding: 20px 30px; /* Увеличено */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    max-width: 95%;
    font-size: 20px; /* Было 18px */
    text-align: center; /* По центру */
    z-index: 9999;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
}


.welcome h2 {
 font-family: 'Bebas Neue', 'Oswald';
 font-size: 26px;

}


.modal {
    display: none; /* По умолчанию скрыто */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    width: 300px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.easter-egg {
    color: inherit; /* Оставляет стандартный цвет текста */
    cursor: pointer;
    text-decoration: none; /* Убирает подчёркивание */
}

.easter-egg:hover {
    color: inherit; /* Без изменения цвета при наведении */
}




input.invalid {
    border-color: red; /* Красная рамка для невалидных полей */
}

input.valid {
    border-color: green; /* Зеленая рамка для валидных полей */
}



/* Стили для уведомления */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    background-color: #ff4444; /* Красный цвет для ошибки */
    color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none; /* По умолчанию скрыто */
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    font-family: 'Bebas Neue', 'Oswald';

}

.notification.visible {
    display: flex; /* Показываем уведомление */
}

.close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}

.close-notification:hover {
    color: #ddd;
}




.success-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50; /* Зелёный фон */
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000; /* Чтобы уведомление было поверх других элементов */
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}




body {
  font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #FFFFFF, #921828 ) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
     margin: 0;
    padding-top: 80px; /* Отступ сверху, равный высоте header */
     overflow-x: hidden;
}

header {
   color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Тень */
    transition: background-color 0.3s ease, opacity 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
   background-color: #921828;
 backdrop-filter: blur(8px); /* Размытие для эффекта "матового стекла" */


    height: 50px; /* Задаем фиксированную высоту */
}

/* Эффект при прокрутке */
.header-scrolled {
    opacity: 0.8; /* Делаем полупрозрачным */
    padding: 20px 0; /* Уменьшаем высоту */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
     transition: background-color 0.3s ease, padding 0.3s ease;
    background-color: rgba(146, 24, 40, 0.6);
}


.header-scrolled .logo-img {
    width: 70px; /* Уменьшаем размер */
}

.logo {
     display: flex;
    align-items: center;

}

.logo-img {
     width: 80px; /* Исходный размер */
    height: auto;
    margin-right: 10px;
    border-radius: 40%;
    transition: width 0.3s ease;

}

.logo-text {
    font-size: 40px; /* Увеличенный размер текста */
    font-weight: bold; /* Сделает текст жирным */
    color: white; /* Цвет текста */
   font-family: 'Bebas Neue', 'Oswald';

}




header .logo {
    position: absolute;
    left: 20px; /* Фиксируем логотип слева */
    font-size: 24px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px 20px;
    display: block;
    text-transform: uppercase;
     font-family: 'Bebas Neue', 'Oswald';

}

/* Подсветка при наведении */
nav a:hover {
   background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

/* Стили для выпадающего меню */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1; /* Чтобы меню появлялось поверх других элементов */
}

.dropdown-content li a {
    padding: 10px;
    font-size: 18px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a:hover {
    background-color: #555;
}

.main-content {
   position: relative;
    display: flex;
    justify-content: space-around; /* Равномерно распределяет контейнеры */
    align-items: center;
    padding: 50px 20px;
    flex: 1;
    gap: 10px; /* Увеличивает расстояние между контейнерами */
    padding-bottom: 100px; /* Отступ для плавного перехода */

}





.left, .right {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('obuchenie.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    padding: 50px;
    width: 750px;
    height: 750px;

    display: flex;
    flex-direction: column;
    align-items: center;   
    justify-content: center; 
    text-align: center;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 5px solid #D1C7A6;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.right {
   background-image: url('seans.jpg');

    transform: translateX(100%);
    opacity: 0;
    border: 5px solid #D1C7A6;
     background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
}


.left.visible {
    transform: translateX(0);
    opacity: 1;
}

.right.visible {
    transform: translateX(0);
    opacity: 1;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.left a, .right a {
    display: inline-block;
    background-color: #D1C7A6;
    color: black;
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 35px;
    text-align: center;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
     margin-top: 10%; /* Отправляет кнопку вниз */
     font-family: 'Bebas Neue', 'Oswald';

}

.left p, .right p {
        min-height: 100px; /* Делаем одинаковую высоту текста */

    font-size: 30px;
    color: white;
   font-family: 'Bebas Neue', 'Oswald';

    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.left a:hover, .right a:hover {
    background-color: #d6766f;
    opacity: 1;
}


.welcome {
    position: relative;
    height: 1000px;
    display: flex;
    justify-content: space-between; /* Разделяем текст и контейнер с работами */
    align-items: center;
    text-align: left;
    color: white;
    background: url('welcome.jpg') center/cover no-repeat;
    overflow: hidden;
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.1);
    animation: fogAppear 1.2s ease-out forwards;
    padding: 0 10%; /* Отступы слева и справа */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}


/* Контейнер для кнопок */
.welcome-buttons {
   display: flex;
    gap: 20px; /* Расстояние между кнопками */
    margin-top: 20px; /* Отступ сверху */
    justify-content: left; /* Центрируем кнопки */

}

/* Стили для кнопок */
.welcome-btn {
      background-color: #D1C7A6; /* Цвет кнопок */
    color: #000000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Bebas Neue', 'Oswald';


}

.welcome-btn:hover {
    background-color: #d6766f; /* Цвет кнопок при наведении */
    transform: translateY(-5px); /* Эффект подъема */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}



.works-container {
    max-width: 550px; /* Ограничиваем ширину */
    margin: 0 auto; /* Центрируем */
    padding: 0 20px; /* Отступы слева и справа */
}

.works-container h2 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
     font-family: 'Bebas Neue', 'Oswald';

}

.works-slider {
    position: relative;
    width: 100%;
    max-width: 750px; /* Увеличиваем ширину слайдера */
    margin: 0 auto; /* Центрируем */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

}

.slides {
    display: flex;
    transition: transform 0.5s ease; /* Плавное перелистывание */
}

/* Отдельный слайд */
.slide {
    width: 100%; /* Занимает всю ширину контейнера */
  
    object-fit: contain; /* Заполняет контейнер без искажений */
    border-radius: 15px;
    flex-shrink: 0; /* Запрещаем сжатие слайдов */
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7); /* Более темный полупрозрачный фон */
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px; /* Увеличенный padding для лучшего взаимодействия */
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10; /* Чтобы кнопки были поверх слайдов */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень для объема */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Фиксированная ширина */
    height: 50px; /* Фиксированная высота */
}

.slider-button:hover {
   background: rgba(0, 0, 0, 0.9); /* Темнее при наведении */
    transform: translateY(-50%) scale(1.1); /* Увеличение при наведении */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Увеличенная тень при наведении */
}


.slider-button:active {
    transform: translateY(-50%) scale(0.9); /* Уменьшение при нажатии */
}

.slider-button:focus {
    outline: none; /* Убираем стандартный outline */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); /* Кастомный фокус */
}


/* Кнопка "Назад" */
.prev-button {
    left: 10px; /* Отступ слева */
}

/* Кнопка "Вперед" */
.next-button {
    right: 10px; /* Отступ справа */
}















.welcome-text {
    max-width: 50%; /* Ограничиваем ширину текста */
}


.welcome h1 {
    font-size: 50px; /* Размер заголовка */
    font-weight: bold;
    margin-bottom: 20px; /* Отступ между заголовком и подзаголовком */
   font-family: 'Bebas Neue', 'Oswald';


}

.welcome p {
    font-size: 40px; /* Размер подзаголовка */
    margin: 0; /* Убираем отступы */
   font-family: 'Bebas Neue', 'Oswald';

}

.welcome h1, .welcome p {

    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

@keyframes fogAppear {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}


@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.welcome h1, .welcome p {
    animation: slideInLeft 1.2s ease-out forwards;

}












/* Стили для плавающей кнопки и меню */
.floating-button-container {
      position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: row; /* Располагаем кнопки горизонтально */
    gap: 10px; /* Расстояние между кнопками */
}

.floating-button {
   font-family: 'Bebas Neue', 'Oswald';

    animation: pulse 1.5s infinite;
    background: linear-gradient(135deg, #D1C7A6, #D1C7A9);
    color: #000000;

    border: none;
    border-radius: 50px; /* Сделаем кнопки овальными */
    width: 120px; /* Ширина кнопки */
    height: 50px; /* Высота кнопки */
    font-size: 16px; /* Размер текста */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-button:hover {

    background-color: #d6766f;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
     0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}



.floating-button:active {
    transform: scale(0.95);
}

.contacts-menu {

     display: none;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    bottom: 70px;
    right: -10px; /* Сдвигаем вправо, чтобы не накладывалось */
  background-color: rgba(209, 199, 166, 0.7) !important;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    max-width: 120px; /* Ограничение по ширине */
    width: auto; /* Подстраивание под содержимое */
}


.contacts-menu.visible {
      display: flex;
    opacity: 1;
    transform: translateY(0);
}




/* Стили для кнопок меню */
.contact-link {
    background-color: black;
    color: white;
    text-decoration: none;
    padding: 8px 20px; /* Увеличенные отступы */
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px; /* Минимальная ширина кнопки */
}


.contact-link:hover {
   
    transform: translateY(-2px); /* Эффект подъема */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Тень при наведении */
}





/* Анимация появления меню */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contacts-menu.visible {
    animation: slideIn 0.3s ease forwards;
}


/* Цвета для кнопок */
.contact-link.instagram {
    background-color: #984AE1;
    color: white;
     background-color: black;
}

.contact-link.whatsapp {
    background-color: #984AE1;
    color: white;
     background-color: black;
}

.contact-link.phone {
    background-color: #984AE1;;
    color: white;
     background-color: black;

}


/* Стили для иконок */
.icon {
    width: 55px; /* Размер иконок */
    height: 55px;
    margin-right: 10px; /* Отступ между иконкой и текстом */
    transition: transform 0.3s ease; /* Анимация при наведении */
}

.contact-link:hover .icon {
    transform: scale(1.1); /* Увеличение иконки при наведении */
}


/* Меню для кнопки "Записаться" */
.appointment-menu {
    display: none;
    flex-direction: column;
    gap: 10px; /* Уменьшаем отступы */
    position: absolute;
    bottom: 70px;
    right: 140px; /* Сдвигаем влево, чтобы не накладывалось */
   background-color: rgba(209, 199, 166, 0.7) !important;
    border-radius: 15px;
    padding: 10px; /* Уменьшаем отступы */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    width: 80px; /* Фиксированная ширина */
    height: auto; /* Высота по содержимому */
}


.contacts-menu a {
    font-size: 13px; /* Уменьшим размер шрифта */
    font-family: 'Bebas Neue', 'Oswald';

   
   
   
}


.appointment-menu a {
    font-family: 'Bebas Neue', 'Oswald';

     color: white;
}

.contacts-menu img {
    width: 35px; /* Уменьшим размер иконок */
    height: 35px;
}



.appointment-menu.visible {
     display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Стили для ссылок в меню "Записаться" */
.appointment-link {

   background: black;
    color: #333; /* Цвет текста */
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Тень для ссылок */
}

.appointment-link:hover {
   
    transform: translateY(-2px); /* Эффект подъема */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Тень при наведении */
}


.appointment-link i {
   
    font-size: 30px; /* Размер иконки */
}

/* Анимация появления меню */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appointment-menu.visible {
    animation: slideIn 0.3s ease forwards;
}










/* Стили для модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Темный полупрозрачный фон */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Чтобы окно было поверх других элементов */
}

.modal-content {
  background-color: rgba(146, 24, 40, 0.7);
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Тень для модального окна */
    position: relative;
    color: white;
   
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопка закрытия */
.close {
      position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* Заголовок формы */
.modal-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
    font-weight: 600;
   font-family: 'Bebas Neue', 'Oswald';

     color: white !important;

}

.modal-content label {
    font-family: 'Bebas Neue', 'Oswald';
       color: white !important;
}


/* Стили для формы */
#training-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#training-form label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
   font-family: 'Bebas Neue', 'Oswald';

}

#training-form input,
#training-form select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
     font-family: 'Bebas Neue', 'Oswald';

}

#training-form input:focus,
#training-form select:focus {
    border-color: #b39572; /* Цвет акцента */
    outline: none;
    box-shadow: 0 0 8px rgba(179, 149, 114, 0.3); /* Тень при фокусе */
}

/* Стили для кнопки отправки */
.button-signup {
    background-color: #b39572; /* Цвет акцента */
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Bebas Neue', 'Oswald';

}

.button-signup:hover {
    background-color: #a5825e; /* Темнее при наведении */
    transform: translateY(-2px); /* Эффект поднятия */
}

.button-signup:active {
    transform: translateY(0); /* Возврат при нажатии */
}



/* Стили для страницы Обучение */


bodyTraining {
    background: url('bakcground_obuchenie.webp') center/cover no-repeat;
    background-attachment: fixed; /* если хочешь, чтобы фон не двигался при прокрутке */
    margin: 0;
    padding: 0;
    background-size: cover;
    image-rendering: auto;
}

bodySeans
{
    background: url('bakcground_obuchenie.webp') center/cover no-repeat;
    background-attachment: fixed; /* если хочешь, чтобы фон не двигался при прокрутке */
    margin: 0;
    padding: 0;
    background-size: cover;
    image-rendering: auto;
}


/* Плавная прокрутка для всей страницы */
html {
    scroll-behavior: smooth;
}

/* Стили для контейнеров */
.training-container {
   
    display: flex;
    flex-wrap: wrap; /* Позволяет переносить элементы */
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    gap: 20px; /* Отступ между контейнерами */
}

#course-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #b39572;
    background-color: #f4e9dd;
    font-size: 16px;
    color: #5a3e36;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none; /* Убирает стандартный стиль браузера */
    text-align: center;
}

.training-info {
    border: 5px solid #b4ab90; /* Обводка нужного цвета */
    width: 50%;
   background-color: rgba(209, 199, 166, 0.5); /* 50% прозрачности */
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%); /* Начальная позиция слева за экраном */
    animation: slideInLeft 1s forwards; /* Анимация для левого блока */
     font-family: 'Bebas Neue', 'Oswald';

}

.training-info a {
    display: block; /* Превращает ссылки в блочные элементы, чтобы они занимали всю ширину */
    text-decoration: none; /* Убирает подчеркивание у ссылок */
   background-color: rgba(209, 199, 166, 0.4); /* 50% прозрачности */ /* Устанавливает фон ссылок в темно-красноватый оттенок */
    color: white; /* Делает текст белым */
    padding: 12px; /* Добавляет отступы внутри ссылок, чтобы сделать их больше и удобнее для клика */
    border-radius: 8px; /* Скругляет углы ссылок */
    text-align: center; /* Выравнивает текст по центру */
    font-weight: bold; /* Делает текст жирным */
    transition: background 0.3s ease, transform 0.2s ease; /* Добавляет плавный переход при изменении цвета фона и масштаба */
}

.training-info a:hover {
    background-color: #b4ab90; /* Изменяет фон при наведении на более светлый оттенок */
    transform: scale(1.011); /* Немного увеличивает ссылку при наведении, создавая эффект кнопки */
}

/* Активное состояние ссылок */
.training-info a:active,
.training-info a:focus {
    background-color: #b4ab90 !important; /* Изменение цвета при нажатии */
    transform: scale(1.05); /* Увеличение при нажатии */
}

.seans-info a:active,
.seans-info a:focus {
    background-color: #b4ab90 !important; /* Изменение цвета при нажатии */
    transform: scale(1.05); /* Увеличение при нажатии */
}


.seans-info a:hover {
    background-color: #b4ab90; /* Изменяет фон при наведении на более светлый оттенок */
    transform: scale(1.011); /* Немного увеличивает ссылку при наведении, создавая эффект кнопки */
}

.training-info h2 {
    margin-bottom: 20px;
}

.training-info ul {
   list-style-type: none; /* Убираем маркеры списка */
    padding: 0; /* Убираем отступы по умолчанию */
    margin: 0; /* Убираем отступы по умолчанию */
}

.training-info li {
 background-color: rgba(180, 171, 144, 0.5); /* 50% прозрачности *//* Цвет фона */
    margin-bottom: 10px; /* Отступ между элементами */
    padding: 12px; /* Внутренний отступ */
    border-radius: 8px; /* Скругление углов */
    text-align: center; /* Выравнивание текста по центру */
    font-weight: bold; /* Жирный текст */
    transition: background 0.3s ease, transform 0.2s ease; /* Плавные переходы */
    width: 100%; /* Растягиваем на всю ширину */
    box-sizing: border-box; /* Учитываем padding в ширине */
    word-wrap: break-word; /* Перенос слов, если текст не помещается */
    white-space: normal; /* Разрешаем перенос текста на новую строку */
}


.training-info li a {

     text-decoration: none; /* Убираем подчеркивание у ссылок */
    color: black; /* Цвет текста */
    display: block; /* Ссылка занимает весь блок */
}


.training-info li:hover {

 transform: scale(1.02); /* Легкое увеличение при наведении */

}

.training-form {
    border: 5px solid #b4ab90; /* Обводка нужного цвета */
    width: 50%;
   background-color: rgba(209, 199, 166, 0.5); /* 50% прозрачности */
    padding: 20px;
    margin-top: 20px; /* Отступ сверху */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%); /* Начальная позиция слева за экраном */
    animation: slideInLeft 1s forwards; /* Анимация для левого блока */
    font-family: 'Bebas Neue', 'Oswald';

}

.button-signup {
    background-color: #8c504c !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.button-signup:hover {
    background-color: #d6766f !important;
}

.training-form h2 {
    color: black;
    margin-bottom: 20px;
}

.training-form label {
    color: black;
    display: block;
    margin: 10px 0 5px;
}

.training-form input {
    width: 97%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-family: 'Bebas Neue', 'Oswald';

}

.training-form button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.training-form button:hover {
    background-color: #0056b3;
}

/* Анимация для левого блока */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%); /* Начальная позиция слева */
    }
    to {
        transform: translateX(0); /* Окончательная позиция */
    }
}

/* Анимация для правого блока */
@keyframes slideInRight {
    from {
        transform: translateX(100%); /* Начальная позиция справа */
    }
    to {
        transform: translateX(0); /* Окончательная позиция */
    }
}

.training-description {
    border: 5px solid #b4ab90;
    width: 40%;
    background-color: rgba(209, 199, 166, 0.5);
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    position: fixed; /* Заменено с absolute на relative */
   
   
    height: auto; /* Автоматическая высота по содержимому */
    top: 100;  /* сверху страницы */
    left: 55%;
transform: translateX(-50%);
    animation: slideInRight 1s forwards;
    animation: slideInRight 1s forwards;
    font-family: 'Bebas Neue', 'Oswald';
}


/* Анимация для контейнера */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* По умолчанию скрываем все описания */
.course {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Плавное исчезновение */
}

/* Показываем описание, если выбрана соответствующая ссылка */
:target {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;

}

.course.target-active {
    display: block; /* Показываем только активный блок */
}

/* Стиль для выделения активной ссылки в списке */
a.active {
    font-weight: bold;
    color: orange;
}



/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация для скрытия */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}









/* Стили для чекбокса */
.checkbox-container {
     display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #b39572; /* Цвет акцента */
    cursor: pointer;
}

.checkbox-container label {
     font-size: 14px;
    color: #555;
    cursor: pointer;
}



/* Стили для формы */
#session-form {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

#session-form label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin-bottom: 5px;
   font-family: 'Bebas Neue', 'Oswald';

}

#session-form input,
#session-form select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Bebas Neue', 'Oswald';

}

#session-form input:focus,
#session-form select:focus {
    border-color: #b39572; /* Цвет акцента */
    outline: none;
    box-shadow: 0 0 8px rgba(179, 149, 114, 0.3); /* Тень при фокусе */
}





/* Основные стили сеанс */






footer {
    background-color: #921828 ;
    color: white;
    text-align: center;
    padding: 10px 0;
   
    width: 100%;
       font-family: 'Bebas Neue', 'Oswald';

}

/* Стили для страницы Сеанс */



/* Стили для контейнеров */
.seans-container {
      
    display: flex;
    flex-wrap: wrap; /* Позволяет переносить элементы */
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    gap: 20px; /* Отступ между контейнерами */

}

#course-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #b39572;
    background-color: #f4e9dd;
    font-size: 16px;
    color: #5a3e36;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none; /* Убирает стандартный стиль браузера */
    text-align: center;
      font-family: 'Bebas Neue', 'Oswald';

}






.seans-info {
       border: 5px solid #a9a087; /* Обводка нужного цвета */
    width: 50%;
        background-color: rgba(209, 199, 166, 0.5); /* 50% прозрачности */

    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%); /* Начальная позиция слева за экраном */
    animation: slideInLeft 1s forwards; /* Анимация для левого блока */
    font-family: 'Bebas Neue', 'Oswald';

}

.seans-info a {
    display: block; /* Превращает ссылки в блочные элементы, чтобы они занимали всю ширину */
    text-decoration: none; /* Убирает подчеркивание у ссылок */
   background-color: rgba(209, 199, 166, 0.5); /* 50% прозрачности */
    color: BLACK; /* Делает текст белым */
    padding: 12px; /* Добавляет отступы внутри ссылок, чтобы сделать их больше и удобнее для клика */
    border-radius: 8px; /* Скругляет углы ссылок */
    text-align: center; /* Выравнивает текст по центру */
    font-weight: bold; /* Делает текст жирным */
    transition: background 0.3s ease, transform 0.2s ease; /* Добавляет плавный переход при изменении цвета фона и масштаба */
}

.seans-info a:hover {
    background-color: #b4ab90; /* Изменяет фон при наведении на более светлый оттенок */
    transform: scale(1.011); /* Немного увеличивает ссылку при наведении, создавая эффект кнопки */
}


.seans-info h2 {
    margin-bottom: 20px;
}

.seans-info ul {
    list-style-type: none; /* Убираем маркеры списка */
    padding: 0; /* Убираем отступы по умолчанию */
    margin: 0; /* Убираем отступы по умолчанию */
}

.seans-info li {

   background-color: rgba(180, 171, 144, 0.5); /* 50% прозрачности */
    margin-bottom: 10px; /* Отступ между элементами */
    padding: 12px; /* Внутренний отступ */
    border-radius: 8px; /* Скругление углов */
    text-align: center; /* Выравнивание текста по центру */
    font-weight: bold; /* Жирный текст */
    transition: background 0.3s ease, transform 0.2s ease; /* Плавные переходы */
    width: 100%; /* Растягиваем на всю ширину */
    box-sizing: border-box; /* Учитываем padding в ширине */
    word-wrap: break-word; /* Перенос слов, если текст не помещается */
    white-space: normal; /* Разрешаем перенос текста на новую строку */
}

.seans-info li a {
    text-decoration: none; /* Убираем подчеркивание у ссылок */
    color: BLACK; /* Цвет текста */
    display: block; /* Ссылка занимает весь блок */
}

.seans-info li:hover {
    
    transform: scale(1.02); /* Легкое увеличение при наведении */
}

.seans-form {
       border: 5px solid #a9a087; /* Обводка нужного цвета */
    width: 50%;
background-color: rgba(209, 199, 166, 0.5); /* 50% прозрачности */
    padding: 20px;
margin-top: 20px; /* Отступ сверху */

    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   transform: translateX(-100%); /* Начальная позиция слева за экраном */
    animation: slideInLeft 1s forwards; /* Анимация для левого блока */
    font-family: 'Bebas Neue', 'Oswald';

}


.sketch-upload {
    margin-top: 20px;
    color: white;
}

#upload-section {
    margin-top: 10px;
}

/* Стилизация контейнера */
.sketch-upload {
    margin-top: 30px; /* Увеличиваем отступ сверху */
     margin-bottom: 30px;
    padding: 10px;
    border: 2px solid #b39572;
    border-radius: 8px;
    background-color: rgba(169, 160, 135, 0.5);
    text-align: center;
}


#preview img {
    max-width: 100px;
    max-height: 100px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}


/* Стили для чекбокса */
#has-sketch {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #b39572;
    border-radius: 4px;
    background-color: #f4e9dd;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-left: 10px;
}

/* Стилизация при выборе чекбокса */
#has-sketch:checked {
    background-color: #b39572;
    border-color: #a9a087;
}

/* Создание галочки при выборе */
#has-sketch:checked::after {
    content: '✔';
    position: absolute;
    top: -1px;
    left: 3px;
    font-size: 16px;
    color: white;
}

/* Стили для надписи "У вас есть эскиз?" */
.sketch-upload label {
    font-size: 18px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

/* Стили для контейнера загрузки файлов */
#upload-section {
     width: 90%; /* Уменьшаем ширину */
        margin: 10px auto; /* Выравниваем по центру */
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
      font-family: 'Bebas Neue', 'Oswald';

}

/* Стили для инпута загрузки файлов */
#sketch-upload {
     margin: 10px auto; /* Выравниваем по центру */
    display: block;
    width: 90%;
    padding: 8px;
    background-color: #f4e9dd;
    border: 2px solid #b39572;
    border-radius: 8px;
    color: #5a3e36;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
      font-family: 'Bebas Neue', 'Oswald';

}

/* Эффект при наведении */
#sketch-upload:hover {
    background-color: #e0d3c2;
}

#sketch-upload button {
     font-family: 'Bebas Neue', 'Oswald';

}


.button-signup {

    background-color: #D1C7A6 !important;
    color: BLACK !important;
    border: 4px solid #a9a087 !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.button-signup:hover {
    background-color: #b4ab90 !important;
}


.seans-form h2 {

    color: black;
    margin-bottom: 20px;
}

.seans-form label {
    color: black;
    display: block;
    margin: 10px 0 5px;
}

.seans-form input {
    width: 97%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-family: 'Bebas Neue', 'Oswald';

}

.seans-form button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.seans-form button:hover {
    background-color: #0056b3;
}

/* Анимация для левого блока */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%); /* Начальная позиция слева */
    }
    to {
        transform: translateX(0); /* Окончательная позиция */
    }
}

/* Анимация для правого блока */
@keyframes slideInRight {
    from {
        transform: translateX(100%); /* Начальная позиция справа */
    }
    to {
        transform: translateX(0); /* Окончательная позиция */
    }
}


.seans-description {
     border: 5px solid #b4ab90;
    width: 40%;
    background-color: rgba(209, 199, 166, 0.5);
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    position: fixed; /* Заменено с absolute на relative */
   
   
    height: auto; /* Автоматическая высота по содержимому */
    top: 100;  /* сверху страницы */
    left: 55%;
transform: translateX(-50%);
    animation: slideInRight 1s forwards;
    animation: slideInRight 1s forwards;
    font-family: 'Bebas Neue', 'Oswald';
}



/* Анимация для контейнера */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}



/* По умолчанию скрываем все описания */
.course {
    display: none;
    font-size: 18px; /* Увеличенный размер шрифта */
    font-weight: bold; /* Сделать текст более выразительным */
    color: #black; /* Белый цвет текста */
    background-color: rgba(179, 149, 114, 0.3); /* Полупрозрачный фон */
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #b39572; /* Добавляем акцентную границу слева */
    text-align: left;
    line-height: 1.5; /* Улучшенный межстрочный интервал */
}

/* Показываем описание, если выбрана соответствующая ссылка */
:target {
     display: block;
    animation: fadeIn 0.5s ease-in-out;

}

.target-active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
}



/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Стили для чекбокса */
.age-verification {
     margin-bottom: 15px; /* Отступ снизу, чтобы кнопка не прилегала вплотную */
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.age-verification input[type="checkbox"] {
    display: none; /* Скрываем стандартный чекбокс */
}

.age-verification label {
    position: relative;
    padding-left: 35px; /* Отступ для кастомного чекбокса */
    cursor: pointer;
    font-size: 16px;
    color: black;
    user-select: none;
}

/* Кастомный чекбокс */
.age-verification label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #D1C7A6; /* Цвет в стиле сайта */
    border: 2px solid #b39572;
    border-radius: 5px; /* Скругленные углы */
    transition: all 0.3s ease;
}

/* Галочка внутри чекбокса */
.age-verification input[type="checkbox"]:checked + label::before {
    background-color: #b39572;
    content: "✔";
    font-size: 16px;
    color: white;
    text-align: center;
    line-height: 20px;
}

/* Эффект при наведении */
.age-verification label:hover::before {
   background-color: rgba(169, 160, 135, 0.5);
    border-color: white;
}


/* Общие стили для страницы Акции */
.action-page {
     background: url('bakcground_obuchenie.webp') center/cover no-repeat !important;
    background-attachment: fixed; /* если хочешь, чтобы фон не двигался при прокрутке */
    margin: 0;
    padding: 0;
    background-size: cover;
    image-rendering: auto;
    min-height: 100vh;
     font-family: 'Bebas Neue', 'Oswald';


   
}

.action-page .action-container {
    margin-top: 120px; /* Подстрой под размер header */
}




.action-container h1 {
    color: white;
}
.action-container {
    
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Стили для карусели */
.promo-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 350px; /* Фиксированная высота для одной карточки */
}

.promo-slides {
   display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
}

.promo-card {

   background: linear-gradient(145deg, #ad635e, #d6766f);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 350px; /* Фиксированная высота для одной карточки */

}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.promo-image {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-image img:hover {
    transform: scale(1.1);
}

.promo-content {
    flex: 1;
      color: black !important;
}

.promo-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.promo-details li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
}

.promo-details li:last-child {
    border-bottom: none;
}

/* Кнопки карусели */
.carousel-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


.carousel-button:active {
    transform: translateX(-50%) scale(0.95);
}



.action-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Стили для карусели */
.promo-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.promo-slides {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
}

.promo-card {
    background: linear-gradient(
        145deg, 
        rgba(209, 199, 166, 0.3),  /* #D1C7A6 с прозрачностью 50% */
        rgba(209, 199, 169, 0.3)   /* #D1C7A9 с прозрачностью 50% */
    );
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    transition: left 0.5s ease;
}

.promo-card:hover::before {
    left: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.promo-image {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-image img:hover {
    transform: scale(1.1);
}

.promo-content {
    flex: 1;
    color: white;
}

.promo-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.promo-details li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
}

.promo-details li:last-child {
    border-bottom: none;
}

/* Стили для кнопок карусели */
.carousel-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.carousel-button:active {
    transform: translateX(-50%) scale(0.95);
}

.prevaction-button {
    top: 5px;
}

.nextaction-button {
    bottom: 10px;
}

/* Стили для формы */
.action-form {
    width: 400px;
    background: linear-gradient(
        145deg, 
        rgba(209, 199, 166, 0.5),  /* #D1C7A6 с прозрачностью 50% */
        rgba(209, 199, 169, 0.5)   /* #D1C7A9 с прозрачностью 50% */
    );
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
   
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.action-form:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.action-form h2 {
     color: black !important;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.action-form label {
     color: black !important;
    font-size: 16px;
    display: block;
    margin: 15px 0 8px;
    font-weight: bold;
     font-family: 'Bebas Neue', 'Oswald';

}

.action-form input,
.action-form select {
    width: 95%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    background-color: #f4e9dd;
    font-size: 16px;
    color: #5a3e36;
    transition: all 0.3s ease;
    font-family: 'Bebas Neue', 'Oswald';

}

.action-form input:focus,
.action-form select:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.action-form button {
    width: 100%;
    padding: 15px;
    background-color: #8c504c;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.action-form button:hover {
    background-color: #d6766f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.action-form button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-card,
.action-form {
    animation: fadeIn 0.8s ease-out;
}




/* Секция "Наша команда" */
.our-team {
   padding: 100px 20px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #FFFFFF, #921828 ) !important;
    width: 100%; /* Занимает всю ширину */
    position: relative;
    overflow: hidden;
}

/* Заголовок секции */
.our-team h2 {
    font-size: 48px;
    margin-bottom: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFAFA; /* Акцентный цвет */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
     font-family: 'Bebas Neue', 'Oswald';

}

/* Контейнер для карточек мастеров */
.team-container {
     display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1750px;
    margin: 0 auto;
  
}

/* Карточка мастера */
.team-member {
    background: rgba(255, 255, 255, 0.001);
    border-radius: 15px;
    padding: 30px;
    width: 500px;
    min-height: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* скрывает выходящий за рамки контент */
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    
    opacity: 0;
    transform: translateY(50px);
    transition: 
        transform 0.5s ease,
        box-shadow 0.3s ease,
        opacity 0.5s ease;
}



.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Изображение мастера */
.team-member-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-img {
    transform: scale(1.1); /* Увеличение изображения при наведении */
}

/* Имя мастера */
.team-member h3 {
    font-family: 'Bebas Neue', 'Oswald';

    font-size: 24px;
    margin-bottom: 10px;
    color: #FFFAFA; /* Акцентный цвет */
}

/* Описание мастера */
.team-member p {
    font-family: 'Bebas Neue', 'Oswald';
    font-size: 24px;
    color: #FFFAFA;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Акцентная полоса при наведении */
.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* начальное положение */
    width: 100%;
    height: 3px;
   
    transition: left 0.3s ease;
    z-index: 1; /* на всякий случай, чтобы полоска была выше фона */
}

.team-member:hover::before {
    left: 0; /* Появление полосы при наведении */
}

/* Анимация появления */
.team-member {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-member.in-view {
    opacity: 1;
    transform: translateY(0);
}










/* Адаптация для разрешения 1366x768 */
@media (max-width: 1366px) {
    /* Уменьшаем размеры заголовков и текста */
    .welcome h1 {
        font-size: 40px; /* Уменьшаем размер заголовка */
    }

    .welcome p {
        font-size: 30px; /* Уменьшаем размер подзаголовка */
    }

    .welcome-buttons {
      
        gap: 10px; /* Уменьшаем расстояние между кнопками */
    }

    .welcome-btn {
        padding: 10px 20px; /* Уменьшаем размер кнопок */
        font-size: 16px;
    }

    /* Адаптация секции с работами */
    .works-container {
        max-width: 450px; /* Уменьшаем ширину контейнера */
    }

    .works-container h2 {
        font-size: 40px; /* Уменьшаем размер заголовка */
    }

    .works-slider {
        max-width: 600px; /* Уменьшаем ширину слайдера */
    }

    .slide {
        height: auto; /* Автоматическая высота для слайдов */
    }

    /* Адаптация main-content */
    .main-content {
       
        gap: 20px; /* Уменьшаем расстояние между секциями */
        padding: 30px 20px; /* Уменьшаем отступы */
    }

    .left, .right {
        width: 100%; /* Занимаем всю ширину */
        height: 500px; /* Автоматическая высота */
        padding: 30px; /* Уменьшаем отступы */
    }

    .left a, .right a {
        font-size: 28px; /* Уменьшаем размер текста кнопок */
        padding: 15px 40px; /* Уменьшаем размер кнопок */
    }

    .left p, .right p {
        font-size: 24px; /* Уменьшаем размер текста */
    }

    /* Адаптация плавающих кнопок */
    .floating-button-container {
        bottom: 10px; /* Уменьшаем отступ снизу */
		  right: 10px; /* Уменьшаем отступ справа */
       
    }

    .floating-button {
        width: 100px; /* Уменьшаем ширину кнопок */
        height: 40px; /* Уменьшаем высоту кнопок */
        font-size: 14px; /* Уменьшаем размер текста */
    }

    .contacts-menu {
        bottom: 50px; /* Сдвигаем выше */
        right: -8px; /* Сдвигаем вправо */
        max-width: 100px; /* Уменьшаем ширину */
        padding: 8px; /* Уменьшаем отступы внутри */
        gap: 6px; /* Уменьшаем отступы между элементами */
        border-radius: 10px; /* Меньше скругление */
    }

    .appointment-menu {
        bottom: 50px; /* Сдвигаем выше */
        right: 118px; /* Сдвигаем влево */
        width: 70px; /* Уменьшаем ширину */
        padding: 8px; /* Уменьшаем отступы внутри */
        gap: 6px; /* Уменьшаем отступы между элементами */
        border-radius: 10px; /* Меньше скругление */
        height: auto; /* Высота по содержимому */
    }

  .contacts-menu a,
    .appointment-menu a {
        font-size: 12px; /* Уменьшаем размер шрифта */
        padding: 6px 8px; /* Уменьшаем отступы внутри элементов */
    }

    .contacts-menu img,
    .appointment-menu img {
        width: 24px; /* Уменьшаем размер иконок */
        height: 24px;
    }





    .contact-link, .appointment-link {
        padding: 8px 12px; /* Уменьшаем отступы */
        font-size: 12px; /* Уменьшаем размер текста */
    }

    /* Адаптация модальных окон */
    .modal-content {
        padding: 20px; /* Уменьшаем отступы */
        max-width: 400px; /* Уменьшаем ширину */
    }

    .modal-content h2 {
        font-size: 20px; /* Уменьшаем размер заголовка */
    }

    #training-form input,
    #training-form select {
        padding: 10px; /* Уменьшаем отступы */
        font-size: 14px; /* Уменьшаем размер текста */
    }

    .button-signup {
        padding: 10px 15px; /* Уменьшаем размер кнопки */
        font-size: 14px; /* Уменьшаем размер текста */
    }


 /* Уменьшаем размеры и отступы в header */
    header {
        padding: 20px 0; /* Уменьшаем отступы сверху и снизу */

    }

    header .logo {
        font-size: 20px; /* Уменьшаем размер текста логотипа */
    }

    header .logo-img {
        width: 40px; /* Уменьшаем размер логотипа */
        height: 40px;
    }

    nav a {
        font-size: 16px; /* Уменьшаем размер текста в навигации */
        padding: 8px 15px; /* Уменьшаем отступы */
    }

    /* Уменьшаем размер иконки бургер-меню */
    .menu-toggle i {
        font-size: 24px; /* Уменьшаем размер иконки */
    }

    /* Уменьшаем размер выпадающего меню */
    .dropdown-content li a {
        font-size: 14px; /* Уменьшаем размер текста */
        padding: 8px; /* Уменьшаем отступы */
    }


.training-container {
        padding: 30px; /* Уменьшаем отступы */
        gap: 15px; /* Уменьшаем расстояние между блоками */
    }

    .training-info,
    .training-form {
        width: 48%; /* Немного уменьшаем ширину */
        padding: 15px; /* Уменьшаем внутренний отступ */
        font-size: 14px; /* Уменьшаем шрифт */
    }

    .training-info h1,
    .training-info h2,
    .training-form h2 {
        font-size: 20px; /* Уменьшаем заголовки */
    }

    .training-info p,
    .training-form label {
        font-size: 14px; /* Делаем текст компактнее */
    }

    .training-info li {
        padding: 10px; /* Уменьшаем кнопки списка */
        font-size: 14px;
    }

    .training-description {
        width: 40%; /* Уменьшаем ширину блока */
        min-height: 840px; /* Отключаем фиксированную высоту */
        padding: 15px;
        font-size: 14px;
        right: 30px; /* Немного двигаем вправо */
        top: 109px; /* Чуть выше */
    }

.training-description p {

font-size: 16px;

}



    .training-form input,
    .training-form select {
        font-size: 14px; /* Уменьшаем размер шрифта в полях */
        padding: 8px;
    }

    .button-signup {
        font-size: 14px;
        padding: 8px 16px;
    }

    .training-form button {
        font-size: 14px;
        padding: 8px;
    }


 .seans-container {
        padding: 30px; /* Уменьшаем отступы */
        gap: 15px; /* Уменьшаем расстояние между блоками */
    }

    .seans-info,
    .seans-form {
        width: 48%; /* Немного уменьшаем ширину */
        padding: 15px; /* Уменьшаем внутренний отступ */
        font-size: 14px; /* Уменьшаем шрифт */
    }

    .seans-info h1,
    .seans-info h2,
    .seans-form h2 {
        font-size: 20px; /* Уменьшаем заголовки */
    }

    .seans-info p,
    .seans-form label {
        font-size: 14px; /* Делаем текст компактнее */
    }

    .seans-info li {
        padding: 10px; /* Уменьшаем кнопки списка */
        font-size: 14px;
    }

    .seans-description {
        width: 40%; /* Уменьшаем ширину блока */
        min-height: 965px; /* Отключаем фиксированную высоту */
        padding: 15px;
        font-size: 14px;
        right: 30px; /* Немного двигаем вправо */
        top: 109px; /* Чуть выше */
    }

    .seans-description p {
        font-size: 16px;
    }

    .seans-form input,
    .seans-form select {
        font-size: 14px; /* Уменьшаем размер шрифта в полях */
        padding: 8px;
    }

    .button-signup {
        font-size: 14px;
        padding: 8px 16px;
    }

    .seans-form button {
        font-size: 14px;
        padding: 8px;
    }

    }









/* Стили для бургер-иконки */
.burger-toggle {

     margin-left: auto;
   display: none; /* По умолчанию скрываем на десктопе */
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* Стили для бургер-меню */
.burger-menu {
    position: absolute;
    top: 50px;
    right: 0;
    left: auto;
   background-color: rgba(146, 24, 40, 0.8);
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%); /* Начальная позиция за экраном */
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    min-width: 220px;
    padding: 10px 0;

}

.burger-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.burger-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
     flex-direction: column;
}

.burger-menu-list li {
    padding: 10px 20px;
}

.burger-menu-list li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: background-color 0.3s ease;
}

.burger-menu-list li a:hover {
    background-color: #d6766f;
    border-radius: 5px;
}






/* Адаптация для мобильных устройств мейн страницы*/
@media (max-width: 768px) {

      .desktop-menu {
        display: none; /* Скрываем десктопное меню на мобильных */
    }



 .burger-toggle {
        display: block; /* Показываем бургер-иконку на мобильных */
    }

    .burger-menu {
        display: none; /* Скрываем меню по умолчанию */
    }

    .burger-menu.active {
        display: flex; /* Показываем меню при активации */
    }


 body {
        padding-top: 40px; /* Уменьшаем отступ для мобильных устройств */
    }

    header {
        padding: 10px 0; /* Уменьшаем отступы */

    }

    .logo-img {
      width: 45px !important; /* Фиксируем размер логотипа */
        height:  45px !important; /* Фиксируем размер логотипа */
    }

    .logo-text {
        font-size: 20px; /* Уменьшаем текст логотипа */
    }

   

    .menu-toggle {
         display: block !important; /* Принудительно показываем кнопку */

    }


  .welcome {
        height: auto; /* Убираем фиксированную высоту */
        padding: 20px;
        flex-direction: column; /* Меняем направление на вертикальное */
        text-align: center; /* Центрируем текст */
    }

    .welcome h1 {
        font-size: clamp(30px, 6vw, 40px);
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    }

    .welcome p {
        font-size: 20px; /* Уменьшаем подзаголовок */
    }

    .welcome-buttons {
        flex-direction: column; /* Кнопки в столбик */
        gap: 10px;
    }

    .welcome-btn {
        width: 100%; /* Кнопки на всю ширину */
        padding: 10px;
        font-size: 16px;
    }

    .works-container {
        max-width: 100%; /* Убираем ограничение по ширине */
        padding: 20px;
    }

.our-team h2 {
    font-size: 40px;
}


    .works-slider {
        max-width: 100%; /* Слайдер на всю ширину */
    }

    .slide {
        width: 100%; /* Слайды на всю ширину */
    }

 .main-content {
        flex-direction: column; /* Меняем направление на вертикальное */
        gap: 20px;
        padding: 20px;
    }

    .left, .right {
        width: 10 0%; /* Блоки на всю ширину */
        height: auto; /* Убираем фиксированную высоту */
        padding: 20px;
    }

    .left a, .right a {
        font-size: 30px; /* Уменьшаем текст кнопок */
        padding: 15px 30px;
    }

    .left p, .right p {
        font-size: 18px; /* Уменьшаем текст */
    }
  
.floating-button-container {
    bottom: 5%;
    right: 5%;      /* было 7%, стало ближе к правому краю */
    gap: 160px;       /* было 170px, стало меньше — кнопки ближе друг к другу */
}

    .floating-button {
        width: 100px; /* Уменьшаем ширину */
        height: 40px; /* Уменьшаем высоту */
        font-size: 14px; /* Уменьшаем текст */

    }

    .contacts-menu {
        bottom: 50px; /* Сдвигаем выше */
        
        max-width: 120px; /* Уменьшаем ширину */
        padding: 8px;
    }



.appointment-menu {

        bottom: 50px; /* Сдвигаем выше */
        right: 77%;
        max-width: 120px; /* Уменьшаем ширину */
        padding: 8px;


}





    .contacts-menu a, .appointment-menu a {
        font-size: 12px; /* Уменьшаем текст */
        padding: 6px;
    }

    .contacts-menu img, .appointment-menu img {
        width: 24px; /* Уменьшаем иконки */
        height: 24px;
    }
     .modal-content {
        width: 95%; /* Окно на всю ширину */
        max-width: none;
        padding: 20px;
         
    }

    .modal-content h2 {
        font-size: 20px; /* Уменьшаем заголовок */
    }

    .modal-content input, .modal-content select {
        font-size: 14px; /* Уменьшаем текст */
        padding: 10px;
    }

    .button-signup {
        font-size: 14px; /* Уменьшаем текст кнопки */
        padding: 10px;
    }
.team-container {
        flex-direction: column; /* Карточки в столбик */
        align-items: center;
    }

    .team-member {
        width: 100%; /* Карточки на всю ширину */
        margin-bottom: 20px;
       
    }

    .team-member-img {
        height: 250px; /* Уменьшаем высоту изображения */
    }

    .team-member h3 {
        font-size: 20px; /* Уменьшаем заголовок */
    }

    .team-member p {
        font-size: 14px; /* Уменьшаем текст */
    }
  footer {
        padding: 10px 0;
    }

    footer p {
        font-size: 14px; /* Уменьшаем текст */
    }

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Предотвращаем выход элементов за экран */
* {
    box-sizing: border-box;
}

/* Исправляем смещение элементов */
.main-content,
.team-container,
.team-member {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
}


}


@media (max-width: 768px) {

     .action-container {
        display: flex;
        flex-direction: column; /* Вертикальное расположение */
        gap: 20px; /* Отступ между секциями */
    }

    .action-list {
        order: 1; /* Карусель акций будет первой */
    }



    /* Шапка */
   

  

    #nav-menu {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px;
    }

    #nav-menu.active {
        display: flex;
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .menu-toggle {
        display: block !important; /* Принудительно показываем кнопку */
    }

    /* Карусель акций */
    .action-list h1 {
        font-size: 24px;
        text-align: center;
          margin: 0 auto 0 -15%; /* Смещаем влево на 10% */
    }

    .promo-carousel {
        width: 80%; /* Ширина контейнера — 80% от экрана */
         margin: 0 auto 0 2%; /* Смещаем влево на 10% */
        position: relative; /* Для позиционирования кнопок */

    }

    .promo-slides {
         

        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .promo-card {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        width: 100%; /* Фиксированная ширина карточки */ 
        margin-bottom: 20px;
        box-sizing: border-box;
         min-height: 200px; /* Фиксированная минимальная высота */

    }


    .promo-image {
        flex: 0 0 40%; /* Фиксированная ширина изображения (40% от карточки) */
    }


.promo-content {
         flex: 1;
        padding: 10px;
        box-sizing: border-box;
    }

    .promo-image img {
       width: 100%; /* Изображение на всю ширину блока */
        height: auto; /* Автоматическая высота для сохранения пропорций */
        border-radius: 10px; /* Закругление углов */
    }

    .promo-content {
        padding: 10px;
    }

    .promo-content h2 {
        font-size: 18px; /* Размер заголовка */
        margin-bottom: 5px; /* Отступ после заголовка */
          margin-top: -15px; /* Поднимаем заголовок на 10px вверх */
        
    }

    .promo-content p {
       font-size: 16px; /* Размер текста */
       
    }


.promo-details {
        padding-left: 20px; /* Отступ для списка */
    }

    .promo-details li {
       font-size: 14px; /* Размер текста списка */
        margin-bottom: 8px; /* Отступ между пунктами списка */
         margin: 0 auto 0 -15%; /* Смещаем влево на 10% */
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prevaction-button {
        top: 10px;
        left: 20%;
        transform: translateX(-50%);
    }

    .nextaction-button {
        bottom: 10px;
        left: 20%;
        transform: translateX(-50%);
    }

    /* Форма записи */
    .action-form {
          display: block; /* Убедимся, что форма видима */
        width: 85%;
        padding: 20px;
        box-sizing: border-box;
    }

    .action-form h2 {
       font-size: 22px;
        text-align: center;
        margin-bottom: 20px;
    }

    .action-form label {
        display: block;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .action-form input,
    .action-form select {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .button-signup {
         width: 100%;
        padding: 12px;
        font-size: 16px;
        background-color: #333;
        color: #fff;
        border: none;
        cursor: pointer;
    }

    /* Уведомления */
    .notification {
        width: 90%;
        padding: 10px;
        font-size: 14px;
    }

    .close-notification {
        font-size: 18px;
    }

    .success-message {
        width: 90%;
        font-size: 16px;
    }

    /* Футер */
    footer {
        padding: 10px 0;
        text-align: center;
    }

    footer p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .seans-info {
        order: 1;
    }

    .seans-form {
        order: 3;
    }

    .seans-description {
        order: 2;
    }

    .burger-menu {
        display: block !important;
    }

    .seans-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .seans-info,
    .seans-form,
    .seans-description {
        width: 100%;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .seans-info h1 {
        font-size: 24px;
        text-align: center;
    }

    .seans-info h2 {
        font-size: 20px;
    }

    .seans-info p {
        font-size: 16px;
    }

    .seans-info ul {
        padding-left: 0;
    }

    .seans-info li {
        margin-bottom: 10px;
        padding: 12px;
        border-radius: 8px;
        text-align: center;
        font-weight: bold;
        transition: transform 0.2s ease;
        width: 100%;
        box-sizing: border-box;
    }

    .seans-info li:hover {
        transform: scale(1.02);
    }

    .seans-form h2 {
        font-size: 20px;
        text-align: center;
    }

    .seans-form label {
        font-size: 16px;
        display: block;
        margin: 10px 0 5px;
    }

    .seans-form input,
    .seans-form select {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: none;
        border-radius: 5px;
        font-size: 14px;
    }

    .seans-form .button-signup {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .seans-description {
        width: 100%;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        position: static;
        transform: translateX(0);
        animation: none;
        margin-top: 20px;
    }

    .seans-description h2 {
        font-size: 20px;
        text-align: center;
    }

    .seans-description h3 {
        font-size: 18px;
    }

    .seans-description p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .age-verification {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        margin-top: 10px;
    }

    .age-verification label {
        font-size: 16px;
    }

    .sketch-upload {
        margin-top: 20px;
    }

    #upload-section {
        margin-top: 10px;
    }

    #sketch-upload {
        width: 100%;
        margin: 10px 0;
        padding: 8px;
        border: 2px solid;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
     font-family: 'Bebas Neue', 'Oswald';

    }

    #preview img {
        max-width: 100px;
        max-height: 100px;
        margin: 5px;
        border-radius: 5px;
        border: 1px solid;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


@media (max-width: 768px) {

.training-info {
    order: 1;
}

.training-form {
    order: 3;
}

.training-description {
    order: 2;
}


    .training-container {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .training-info,
    .training-form {
        width: 100%;
        margin-top: 10px;
        padding: 15px;
    }

    .training-description {
        width: 100%;
        position: static;
        margin-top: 20px;
        transform: none;
        animation: none;
    }

    .training-info h2,
    .training-form h2 {
        font-size: 24px;
    }

    .training-info p,
    .training-form label {
        font-size: 14px;
    }

    .training-info a,
    .training-form button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .training-info ul {
        padding-left: 0;
    }

    .training-info li {
        padding: 10px;
        font-size: 14px;
    }

    .training-form input,
    .training-form select {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }

    .training-form button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .logo-img {
        width: 60px;
    }

    .logo-text {
        font-size: 24px;
    }



 .seans-description, 
    .training-description {
        min-height: auto;
        height: auto;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
    }

  select {
        min-height: 30px;
        line-height: 1.2;

    }


.age-warning {
        left: 0;
        right: 0;
        bottom: 40px;
        width: 100%;
        max-width: 100%;
        font-size: 18px;
        padding: 12px 20px;
        text-align: center;
        transform: none; /* Убираем смещение по X */
      border-radius: 10px 10px 0 0;

    }

}