/* ОСНОВНЫЕ СТИЛИ - Загородный клуб "Усадьба" */

:root {
    --primary-green: #2d5a27;
    --secondary-green: #4a7c59;
    --accent-green: #8fbc8f;
    --light-green: #a8d5a8;
    --dark-green: #1a3d1a;
    --forest-green: #228b22;
    --sage-green: #9caf88;
    --mint-green: #98fb98;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Плавный скролл как в CodePen примере */
html {
    overflow-x: hidden;
    overflow-y: scroll;
}

.js-scroll {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    will-change: transform;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #fafafa !important;
    background: #fafafa !important;
    margin: 0;
    padding: 0;
    
    /* Улучшенная четкость шрифтов для всех устройств */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
}

/* Скрытый элемент для SEO (доступен поисковикам, но не виден пользователям) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Отступ для контента под фиксированным хедером */
.main-content {
    padding-top: 80px; /* Высота хедера + небольшой отступ */
    position: relative;
    z-index: 1;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Unified Button Styles */
.btn-unified {
    border-radius: 12px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

/* Modern Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.brand-link {
    position: relative;
}

/* Подчеркивание у логотипа убрано */

.brand-logo {
    height: 48px;
    width: 48px;
    margin-right: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.brand-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-green), #2d5a27);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.brand-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(45, 90, 39, 0.7);
    letter-spacing: 0.02em;
    margin-top: 4px;
    text-transform: uppercase;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Убран фон при hover */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #2d7a2d;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #2d7a2d;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-actions .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

.navbar-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.navbar-actions .btn:hover::before {
    left: 100%;
}

.navbar-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 39, 0.3);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.burger-menu:hover {
    background: rgba(45, 90, 39, 0.1);
    color: var(--primary-green);
    transform: scale(1.05);
}

/* Адаптивные отступы для навигации на десктопах */
@media (min-width: 1200px) {
    .navbar-nav {
        gap: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-nav {
        gap: 12px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .navbar-nav {
        gap: 10px;
    }
    
    /* Планшетные стили для кнопок фильтров */
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 15px 20px 20px 20px;
        margin: 0 -20px 30px -20px;
    }
    
    .filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .sticky-filter-buttons {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 12px;
        padding: 20px 20px 25px 20px;
    }
    
    .sticky-filter-buttons::-webkit-scrollbar {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(45, 90, 39, 0.1);
    color: var(--primary-green);
    transform: scale(1.1);
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 272px;
}

.mobile-nav li {
    margin: 0;
    width: 100%;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hover эффекты только для десктопа */
@media (hover: hover) and (pointer: fine) {
    .mobile-nav a:hover {
        color: var(--primary-green);
        transform: translateX(4px);
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-color: rgba(45, 90, 39, 0.3);
        box-shadow: 0 4px 20px rgba(45, 90, 39, 0.15);
    }
    
    .mobile-nav a:hover i {
        opacity: 1;
        transform: scale(1.1);
    }
}

.mobile-nav a:active {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.15);
}

/* Активное состояние для текущей страницы */
.mobile-nav a.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8), rgba(45, 90, 39, 0.6)) !important;
    border-color: rgba(45, 90, 39, 0.8) !important;
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.3) !important;
    transform: translateX(4px) !important;
    z-index: 10 !important;
}

.mobile-nav a.active i {
    color: var(--white) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* Убираем hover эффекты для активного элемента */
.mobile-nav a.active:hover {
    color: var(--white) !important;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8), rgba(45, 90, 39, 0.6)) !important;
    border-color: rgba(45, 90, 39, 0.8) !important;
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.3) !important;
    transform: translateX(4px) !important;
}

.mobile-nav a.active:hover i {
    color: var(--white) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.mobile-nav a i {
    margin-left: 12px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    order: 2;
    color: #ffffff !important;
}


.mobile-nav a span {
    order: 1;
    flex: 1;
}

/* Контейнер для навигации в мобильном меню */
.mobile-nav-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 24px;
}

/* Стили для кнопки "Онлайн меню" в мобильном меню */
.mobile-menu-online {
    background: linear-gradient(135deg, var(--forest-green), var(--accent-green)) !important;
    border-radius: 12px !important;
    margin: 10px 0 !important;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3) !important;
}

.mobile-menu-online:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4) !important;
    background: linear-gradient(135deg, var(--accent-green), var(--forest-green)) !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Десктоп: поддерживаем 16:9 пропорции для видео */
@media (min-width: 1024px) {
    .hero-slider {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 720px;
        max-height: 90vh;
        max-width: 100vw;
        width: 100%;
    }
}

/* Портретные устройства: удерживаем 9:16 без обрезки */
@media (max-width: 1023px) {
    .hero-slider {
        width: 100%;
        max-width: 100vw;
        aspect-ratio: auto;
        height: clamp(480px, calc(100vw * 16 / 9), 90vh);
        min-height: clamp(420px, calc(100vw * 1.05), 80vh);
        max-height: 90vh;
    }
}

/* Планшеты в портретной ориентации */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-slider {
        width: 100vw;
        height: min(90vh, calc(100vw * 4 / 3));
        max-height: 90vh;
        min-height: 540px;
        aspect-ratio: auto;
    }
    
    .slide--mobile-video .hero-video {
        object-fit: cover;
        transform: scale(1.12);
    }

    .slide--mobile-video .hero-image-fallback {
        object-fit: cover;
    }

    .slide-content-wrapper {
        padding-top: clamp(40px, 8vh, 110px);
    }
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slider:not(.is-initialized) .slide:first-child {
    opacity: 1;
}

.slide.slide-out .slide-content-wrapper {
    animation: dissolveOut 0.8s ease-in forwards;
}

.slide.slide-out .slide-title {
    animation: fadeOutScale 0.4s ease-in forwards;
}

.slide.slide-out .slide-subtitle {
    animation: fadeOutUp 0.4s ease-in forwards;
}

.slide.slide-out .cta-button {
    animation: fadeOutScale 0.4s ease-in forwards;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease-out;
}

.slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease-out;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}


.slide.active .slide-bg img {
    transform: scale(1.05);
}

.slide.active .slide-bg video {
    transform: scale(1.05);
}

.slide.active .hero-video {
    transform: scale(1.05);
}

/* Видео фон для hero слайдов */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease;
    pointer-events: none;
}

/* Hero video fills the viewport; prepare separate 16:9 and 9:16 crops in admin. */
@media (min-width: 1024px) {
    .hero-video {
        object-fit: cover;
    }
}

.slide--mobile-video .hero-video {
    object-fit: cover;
}

/* Изображение как fallback для видео */
.hero-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease-out;
}

/* Fallback image must match the same premium crop as video. */
@media (min-width: 1024px) {
    .hero-image-fallback {
        object-fit: cover;
    }
}

.slide--video-ready .hero-video {
    opacity: 1;
}

.slide--video-ready .hero-image-fallback {
    opacity: 0;
    visibility: hidden;
}

.slide--video-error .hero-video,
.slide--motion-reduced .hero-video {
    opacity: 0;
}

.slide--video-error .hero-image-fallback,
.slide--motion-reduced .hero-image-fallback {
    opacity: 1;
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-image-fallback {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--white);
}

.slide-content-wrapper {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: clamp(20px, 4vw, 40px) clamp(30px, 6vw, 60px);
    box-shadow: none;
    width: 100vw;
    max-width: none;
    position: relative;
    left: 0;
    right: 0;
    overflow: hidden;
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .slide-content-wrapper {
        width: 100vw;
        position: relative;
        left: 0;
        right: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .slide-content-wrapper {
        width: 100vw;
        position: relative;
        left: 0;
        right: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        padding: 25px 15px;
    }
}

/* Индикаторы слайдов */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.slide-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.slide-indicator.active {
    background: #4CAF50;
    border-color: #4CAF50;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.8), 0 0 25px rgba(76, 175, 80, 0.4);
}

/* Показываем индикаторы на мобильных устройствах */
@media (max-width: 768px) {
    .slide-indicators {
        display: flex !important;
    }
    
    /* OwlCarousel2 индикаторы видны на мобильных - стили в основной секции */
}

/* Скрываем индикаторы на десктопе */
@media (min-width: 769px) {
    .slide-indicators {
        display: none !important;
    }
}

/* Скрываем кастомные индикаторы, используем только OwlCarousel2 */
.carousel-indicators {
    display: none !important;
}

/* Скрываем стандартные стрелки OwlCarousel2 */
.owl-nav {
    display: none !important;
}

/* Принудительно скрываем кнопки навигации на мобильных */
@media (max-width: 768px) {
    .nav-arrow,
    .nav-prev,
    .nav-next {
        display: none !important;
    }
}

/* Skeletons and Fallbacks for Media */
.hero-image, .food-card-image, .service-card, .gazebo-image, .gallery-item img {
    background-color: #2a2a2a;
    position: relative;
    overflow: hidden;
}

.hero-image::before, .food-card-image::before, .gallery-item img::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Card Rhythm Improvements */
.service-card h4, .food-card h4 {
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p, .food-card p {
    min-height: 4.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero UI Polish - Reduced Noise */
.slide-content-wrapper {
    max-width: 800px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: dissolveIn 1s ease-out 0.2s both;
}

.slide-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.slide-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.slide.active .slide-title {
    animation: fadeInScale 1s ease-out 0.6s both;
}

.slide.active .slide-subtitle {
    animation: fadeInUp 1s ease-out 0.9s both;
    opacity: 0.7 !important;
}

.slide.active .cta-button {
    animation: fadeInScale 1s ease-out 1.2s both;
}

.slide-content-wrapper::before {
    content: none;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.slide-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
    line-height: 1.2;
    opacity: 0;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0 !important;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 0.8;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes dissolveOut {
    from {
        opacity: 1;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    to {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        background: rgba(255, 255, 255, 0);
        border: 1px solid rgba(255, 255, 255, 0);
    }
}

@keyframes dissolveIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        background: rgba(255, 255, 255, 0);
        border: 1px solid rgba(255, 255, 255, 0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.slide-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 500px;
}

.cta-button {
    background: linear-gradient(135deg, var(--forest-green), var(--accent-green));
    border: none;
    padding: 18px 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.3);
    opacity: 0;
}

@media (max-width: 768px) {
    .cta-button {
        padding: 12px 20px;
    }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 139, 34, 0.4);
    color: var(--white);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--white);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-prev { left: 30px; }
.nav-next { right: 30px; }

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
}

/* Problem Section */
.problem-section {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.problem-section .section-title {
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.problem-section .solution-subtitle {
    color: #000000;
}

.problems-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 2rem;
    padding: 0 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 2rem;
    padding: 0 40px;
}

.problem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 140px;
    justify-content: flex-start;
}

.problem-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.problem-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.problem-icon i {
    font-size: 22px;
    color: var(--text-dark);
}

.problem-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.3;
    max-width: 120px;
}


/* Solution Section */
.solution-section {
    color: var(--white);
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    /* Улучшение четкости на Retina дисплеях */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Адаптивные фоновые изображения */
.solution-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Фоновый слой для параллакса */
.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.parallax-bg-desktop,
.parallax-bg-mobile {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    object-fit: cover;
    object-position: center center;
    /* Улучшение четкости на Retina дисплеях */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Всегда видимы для Rellax.js */
    opacity: 1;
    visibility: visible;
    /* Плавность параллакса */
    will-change: transform;
    /* Оптимизация для четкости */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* По умолчанию показываем десктопное изображение */
.parallax-bg-desktop {
    display: block;
    z-index: 2;
}

.parallax-bg-mobile {
    display: block;
    z-index: 1;
    opacity: 0.01; /* Почти невидимо, но доступно для Rellax.js */
}

/* Адаптивные настройки для разных размеров экранов */
@media (max-width: 768px) {
    .parallax-bg-desktop {
        opacity: 0;
        z-index: 1;
    }
    
    .parallax-bg-mobile {
        opacity: 1;
        z-index: 2;
        /* На мобильных устройствах меньше отступы */
        top: -10%;
        left: -5%;
        width: 110%;
        height: 120%;
    }
}




/* Rellax.js параллакс эффект - упрощенные стили */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}


.solution-section .container {
    position: relative;
    z-index: 3;
    transform: translateZ(0);
}

.solution-section .section-title {
    color: var(--white);
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.solution-subtitle {
    text-align: center;
    font-size: 1rem;
    opacity: 0.9;
    color: var(--white);
    margin-top: 0.1rem;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 15px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.benefit-card h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
    padding: 100px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.gallery-section .section-title {
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.gallery-section .solution-subtitle {
    color: var(--text-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Дублирующие фильтры под хедером */
.sticky-filter-buttons {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sticky-filter-buttons.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-menu-filters {
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 900px) {
    .sticky-filter-buttons {
        justify-content: flex-start !important;
        padding: 15px 15px;
    }
    
    .sticky-menu-filters {
        justify-content: flex-start !important;
        padding: 15px 15px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .sticky-menu-filters::-webkit-scrollbar {
        display: none;
    }
    
    .sticky-menu-filters .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .sticky-filter-buttons {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 15px 0;
    }
    
    .sticky-filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .sticky-filter-buttons .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .sticky-filter-buttons .filter-btn:first-child {
        margin-left: 20px;
    }
    
    .sticky-filter-buttons .filter-btn:last-child {
        margin-right: 20px;
    }
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    border-radius: 12px;
    cursor: pointer;
    transition: color 0.6s ease, border-color 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #000000;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.filter-btn:hover::before {
    height: 100%;
}

.filter-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.filter-btn.active::before {
    height: 100%;
}

.filter-btn:active {
    transform: translateY(0);
    transition: all 0.1s;
}

.gallery-grid {
    margin: 40px auto 0;
    max-width: 100%;
    column-count: 3;
    column-gap: 9px;
    column-fill: balance;
    column-rule: none;
}

.gallery-item {
    break-inside: avoid;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s ease,
                box-shadow 0.4s ease;
    display: inline-block;
    width: 100%;
    position: relative;
    cursor: pointer;
    transform: translateY(0) scale(1);
    opacity: 1;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #f0f0f0;
}

/* Спиннер загрузки для изображений галереи */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(45, 90, 39, 0.15);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: gallery-spin 0.8s linear infinite;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.gallery-item.loading::before {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Спиннер должен быть виден даже при фильтрации */
.gallery-item.filtering-out.loading::before,
.gallery-item.filtering-in.loading::before {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

@keyframes gallery-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
    background: #f0f0f0;
}

.gallery-item img.loaded {
    opacity: 1;
}

.gallery-item.loading img {
    opacity: 0.15;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.gallery-item.hidden {
    display: none !important;
}

/* Анимации для фильтрации */
.gallery-item.filtering-in {
    animation: filterIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    visibility: visible !important;
}

.gallery-item.filtering-out {
    animation: filterOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Отключаем анимацию фильтрации при загрузке */
.gallery-item.filtering-out.loading {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-item.filtering-in.loading {
    animation: none !important;
}

.gallery-item.hidden {
    visibility: hidden;
    opacity: 0;
}

@keyframes filterIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
        visibility: visible;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
    }
}

@keyframes filterOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        visibility: hidden;
    }
}

/* Food Services Section */
.food-services-section {
    background: transparent;
    min-height: 80vh;
    padding: 10vh 0;
    position: relative;
    z-index: 1;
    margin: -20px 0;
    overflow: hidden;
}

.food-services-section .section-title {
    margin-bottom: 10px;
    color: var(--white);
    margin-top: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.food-services-section .solution-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.food-services-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 60vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Видео фон для секции еды */
.food-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000000;
}

.food-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 1.5s ease-in-out;
}

/* Видео для ландшафтной ориентации (по умолчанию) */
.landscape-video {
    display: block;
}

.portrait-video {
    display: none;
}

/* На мобильных устройствах показываем портретное видео */
@media (max-width: 768px) {
    .landscape-video {
        display: none !important;
    }
    
    .portrait-video {
        display: block !important;
    }
}

.food-video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 1.5s ease-in-out;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* Карусель еды */
.food-carousel {
    order: 2;
    margin-top: 36px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.food-carousel-container {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 999px;
    padding: 12px 6px 18px;
    scroll-behavior: smooth;
    scroll-padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.12);
}

.food-carousel-container::-webkit-scrollbar {
    height: 6px;
}

.food-carousel-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.food-carousel-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}

.food-carousel-track {
    display: flex;
    gap: 12px;
    justify-content: center;
    min-width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.food-card {
    flex: 0 0 auto;
    min-width: clamp(132px, 17vw, 210px);
    max-width: 240px;
    min-height: 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(20, 18, 14, 0.46);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 10px 20px;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    cursor: pointer;
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.food-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(20, 18, 14, 0.58);
}

.food-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

/* Active food card styles */
.food-card.active {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.18) inset !important;
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    z-index: 2 !important;
    position: relative !important;
}

.food-card.active h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

.food-card h4 {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 0;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
    overflow-wrap: anywhere;
}

.food-card p {
    display: none;
}

/* Стили для изображений и контента карточек еды */
.food-card-image {
    display: none;
}

.food-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.food-carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(20, 18, 14, 0.48) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.food-carousel-btn:hover {
    background: rgba(20, 18, 14, 0.66) !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}


/* Адаптивные стили для карусели еды */
@media (max-width: 768px) {
    
    .food-carousel {
        flex-direction: row;
        gap: 0;
        margin-top: 28px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .food-carousel-container {
        overflow-x: auto;
        overflow-y: visible;
        width: calc(100% + 40px);
        max-width: calc(100% + 40px);
        margin: 0 -20px;
        padding: 10px 20px 18px;
        border-radius: 0;
        scroll-padding: 20px;
        overscroll-behavior-x: contain;
    }
    
    .food-carousel-track {
        gap: 10px;
        min-width: max-content;
        width: max-content;
        justify-content: flex-start;
    }
    
    .food-card {
        flex: 0 0 auto;
        min-width: 112px;
        width: auto;
        max-width: none;
        min-height: 42px;
        padding: 9px 14px;
    }
    
    .food-card h4 {
        font-size: 0.84rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .food-card p {
        display: none;
    }
    
    .food-carousel-btn {
        display: none;
    }
    
    .food-carousel-controls {
        display: none;
    }
}

/* Секция "О нас" */
.about-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.about-section .section-title {
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.about-section .solution-subtitle {
    color: #000000 !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.about-text h3 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 30px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 300;
    text-align: justify;
    text-indent: 1.5em;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 300;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05), rgba(45, 90, 39, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(45, 90, 39, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.15);
    border-color: rgba(45, 90, 39, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Адаптивность для секции "О нас" */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* Activities Section */
.activities-section {
    background: #fafafa !important;
    background-color: #fafafa !important;
    min-height: 80vh;
    padding: 10vh 0;
    margin: 0;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.activities-section .section-title {
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.activities-section .section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
}

/* Принудительный фон #fafafa для всех элементов секции развлечений, кроме панелей контента */
.activities-section .container,
.activities-section .activities-carousel,
.activities-section .carousel-container,
.activities-section .carousel-track {
    background: #fafafa !important;
    background-color: #fafafa !important;
}

.activities-carousel {
    margin-top: 50px;
    background: #fafafa !important;
    background-color: #fafafa !important;
}

.carousel-container {
    position: relative;
    overflow: visible; /* Показываем все карточки */
    width: 100%;
    height: 700px; /* Увеличена высота контейнера */
    touch-action: pan-y; /* Разрешаем только вертикальный скролл */
    border-radius: 20px;
    background: #fafafa !important;
    background-color: #fafafa !important;
    display: flex;
    justify-content: center; /* Центрируем контент */
    align-items: center;
    padding: 0 50px; /* Добавляем отступы по бокам */
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    background: transparent; /* Убираем фон у трека */
    justify-content: flex-start; /* Выравниваем по левому краю */
    align-items: center;
    width: max-content;
    touch-action: pan-y; /* Разрешаем только вертикальный скролл */
}

.activity-card {
    flex: 0 0 450px; /* Еще шире карточки */
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    height: 600px; /* Увеличена высота */
    position: relative;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Keep cloned cards visible for infinite scroll */
/* .activity-card.cloned styles removed - using default visibility */

/* Food section header layout */
.food-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

/* Halal sticker styles */
.halal-sticker {
    display: block;
    width: 75px;
    height: 75px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.halal-sticker:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

/* Food section text container */
.food-section-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Reset section title styles for food section */
.food-section-header .section-title {
    display: block;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.activity-card:hover .activity-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
}

.activity-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.activity-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Стильный бейдж с ценой в правом верхнем углу */
.activity-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(46, 125, 50, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4), 
                0 0 20px rgba(76, 175, 80, 0.2);
    z-index: 10;
}

.price-amount {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.price-included {
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.activity-card:hover .activity-photo {
    transform: scale(1.05);
}

.activity-icon {
    font-size: 4rem;
    opacity: 0.9;
}

/* Цветовые фоны для иконок */
.rope-park {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.laser-tag {
    background: linear-gradient(135deg, #FF5722 0%, #D84315 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tarzan {
    background: linear-gradient(135deg, #8BC34A 0%, #558B2F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.playground {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cinema {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sports {
    background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.default {
    background: linear-gradient(135deg, #607D8B 0%, #37474F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.activity-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    padding: 20px 15px;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: none;
    border-radius: 0 0 20px 20px;
    box-shadow: none;
}

.activity-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}



.carousel-btn {
    position: static;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

/* OwlCarousel2 индикаторы - заменили старые кастомные */
.activities-carousel .owl-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
}

.activities-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(45, 90, 39, 0.3) !important;
    background: rgba(45, 90, 39, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.activities-carousel .owl-dot:hover {
    background-color: rgba(45, 90, 39, 0.6) !important;
    transform: scale(1.1) !important;
}

.activities-carousel .owl-dot.active {
    background-color: var(--primary-green) !important;
    background: var(--primary-green) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 0 8px rgba(45, 90, 39, 0.4) !important;
}

/* Дополнительные стили для всех состояний OwlCarousel2 */
.activities-carousel .owl-dot[aria-pressed="true"] {
    background-color: var(--primary-green) !important;
    background: var(--primary-green) !important;
}

.activities-carousel .owl-dot:not(.active) {
    background-color: rgba(45, 90, 39, 0.3) !important;
    background: rgba(45, 90, 39, 0.3) !important;
}

/* Скрываем любые span элементы внутри индикаторов */
.activities-carousel .owl-dot span {
    display: none !important;
    visibility: hidden !important;
}

.prev-btn {
    margin-right: 0;
}

.next-btn {
    margin-left: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.15);
}

.service-card h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-price {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
}

.service-included {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1rem;
    margin-top: 10px;
}

/* Gazebo Section */
.gazebo-section {
    background: #ffffff;
    color: var(--text-dark);
    padding: 100px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Волнообразные вертикальные линии по центру */


.gazebo-section .section-title {
    color: var(--text-dark);
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.gazebo-section .solution-subtitle {
    color: var(--text-light);
}

.gazebo-container {
    margin-top: 50px;
}

.gazebo-item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    min-height: 600px;
    position: relative;
}

.gazebo-item:nth-child(even) {
    flex-direction: row-reverse;
}

.gazebo-item:nth-child(odd) .gazebo-info-panel {
    margin-left: -100px;
}

.gazebo-item:nth-child(even) .gazebo-info-panel {
    margin-right: -100px;
}

.gazebo-image-section {
    flex: 0 0 60%;
    height: 600px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gazebo-image-section:hover {
    transform: translateY(-3px);
}

.gazebo-slider {
    width: 100%;
    height: 100%;
    position: relative;
    touch-action: pan-y pan-x; /* Разрешаем и вертикальные, и горизонтальные жесты */
    overflow: hidden; /* Предотвращаем скролл */
}

.gazebo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gazebo-slide.active {
    opacity: 1;
}

.gazebo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gazebo-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.gazebo-slider-arrow {
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gazebo-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.gazebo-info-section {
    flex: 0 0 40%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gazebo-info-panel {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    min-width: 100%;
    margin: 0;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.gazebo-title {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.gazebo-specs {
    margin-bottom: 25px;
}

.gazebo-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gazebo-spec:last-child {
    border-bottom: none;
}

.gazebo-spec-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.gazebo-spec-value {
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

.gazebo-description {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gazebo-description-text {
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.5;
}

/* Выравнивание описания и кнопки для нечетных карточек (панель слева) */
.gazebo-item:nth-child(odd) .gazebo-description-text {
    text-align: right !important;
}

/* Выравнивание описания и кнопки для четных карточек (панель справа) */
.gazebo-item:nth-child(even) .gazebo-description-text {
    text-align: left !important;
}

/* Индикаторы слайдов */
.gazebo-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.gazebo-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.gazebo-slider-dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* Скрываем индикаторы на десктопе */
.gazebo-slider-dots {
    display: none;
}

/* Стили для пустой галереи */
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-style: italic;
}

/* Стили для кнопок в карточках беседок теперь используют .btn .btn-primary */
.gazebo-info-panel .btn {
    width: auto;
    margin-top: 15px;
    display: block;
}

/* Кнопка справа для нечетных карточек (панель слева) */
.gazebo-item:nth-child(odd) .gazebo-info-panel .btn.btn-primary {
    margin-left: auto !important;
    text-align: center !important;
}

/* Кнопка слева для четных карточек (панель справа) */
.gazebo-item:nth-child(even) .gazebo-info-panel .btn.btn-primary {
    margin-left: 0 !important;
    text-align: center !important;
}

/* Booking Form */
.booking-form-container {
    margin-top: 60px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 10px;
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.booking-form-container h3 {
    text-align: center;
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.booking-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1rem;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group select {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-group select option {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Принудительное ограничение ширины выпадающего списка */
.form-group select:focus {
    width: 100% !important;
    max-width: 100% !important;
}

/* Дополнительные стили для принудительного ограничения ширины */
.form-group select {
    min-width: 0 !important;
    flex-shrink: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
}

.form-group select option {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
}

.form-group select,
.form-group select:focus,
.form-group select:hover,
.form-group select:active {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Кастомный dropdown для беседок */
.custom-select {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.custom-select-display {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.custom-select-display::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select-display::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-display:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Стили для скроллбара в dropdown */
.custom-select-options::-webkit-scrollbar {
    width: 8px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.custom-select.open .custom-select-options {
    display: block;
}

.custom-option {
    padding: 12px 16px;
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-option:hover {
    background: rgba(45, 90, 39, 0.3);
}

.custom-option.selected {
    background: rgba(45, 90, 39, 0.5);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(45, 90, 39, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.form-group textarea {
    grid-column: 1 / -1;
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    margin: 15px 0 20px 0;
    padding: 8px 10px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: transparent;
    background: transparent;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 1px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: rgba(121, 174, 200, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(121, 174, 200, 0.3);
}

.checkbox-label a:hover {
    color: rgba(168, 213, 168, 0.9);
    border-bottom-color: rgba(168, 213, 168, 0.5);
}

/* Стили для иконки календаря в поле даты */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-inner-spin-button,
.form-group input[type="date"]::-webkit-clear-button {
    filter: invert(1);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--forest-green), var(--accent-green));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid #e9ecef;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* Contact Section */
.contact-section {
    background: #fafafa;
    color: var(--text-dark);
    padding: 100px 0;
}

.contact-section .section-title {
    color: var(--text-dark);
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.contact-section .solution-subtitle {
    color: var(--text-secondary);
}

.contact-details {
    text-align: center;
    margin-bottom: 50px;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-details i {
    color: var(--accent-green);
    width: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
    color: var(--white);
}

.map-container {
    margin-top: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a1a0a 0%, #050f05 100%);
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Убираем лишнее пространство после футера */
body::after {
    display: none;
}

html {
    overflow-x: hidden;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-container {
    flex-shrink: 0;
}

.footer-logo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand-text h3 {
    color: var(--white);
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
}

.footer-brand-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.footer-social h4 {
    color: var(--white);
    margin: 0 0 0px 0;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: right;
    line-height: 1.2;
}

.social-links {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link i {
    font-size: 1.8rem;
}

/* Цвета иконок согласно брендам соцсетей */
.social-link[title="ВКонтакте"] i {
    color: #0077ff;
}

.social-link[title="Telegram"] i {
    color: #0088cc;
}

.social-link[title="Instagram"] i {
    color: #e4405f;
}

.social-link[title="ВКонтакте"]:hover {
    background: rgba(0, 119, 255, 0.2);
}

.social-link[title="Telegram"]:hover {
    background: rgba(0, 136, 204, 0.2);
}

.social-link[title="Instagram"]:hover {
    background: rgba(228, 64, 95, 0.2);
}

.instagram-warning {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 4px 0 0 0;
    text-align: right;
    line-height: 1;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.footer-bottom p {
    margin: 0;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .navbar-nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .navbar-actions .btn span {
        display: none;
    }
    
    .navbar-actions .btn {
        padding: 10px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }
    
    .navbar-actions .btn i {
        margin: 0;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        align-items: center;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo {
        height: 50px;
        width: 50px;
    }
    
    .footer-social {
        align-items: center;
        justify-content: center;
    }
    
    .footer-social h4 {
        text-align: center;
        font-size: 1.1rem;
        color: var(--white);
        opacity: 0.5;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link i {
        font-size: 1.5rem;
    }
    
    /* Activities Section Mobile */
    .activities-section {
        min-height: 70vh;
        padding: 8vh 0;
    }
    
    .carousel-container {
        padding: 0 20px; /* Меньше отступы на мобильных */
        height: 600px; /* Фиксированная высота на мобильных */
    }
    
    .activity-card {
        flex: 0 0 350px; /* Немного меньше на мобильных */
        height: 550px; /* Увеличена высота на мобильных */
    }
    
    .activity-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .activity-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Адаптивные стили для бейджа с ценой на мобильных */
    .activity-price-badge {
        top: 10px;
        right: 10px;
        padding: 8px 14px;
        border-radius: 20px;
        border-width: 1.5px;
    }
    
    .price-amount {
        font-size: 0.85rem;
    }
    
    .price-included {
        font-size: 0.7rem;
    }
    
    .activity-content {
        bottom: 0;
        left: 0;
        right: 0;
        height: 25%;
        padding: 15px;
    }
    
    .activity-title {
        font-size: 1.2rem;
    }
    
    .activity-description {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    
    .carousel-controls {
        padding: 0 15px;
    }
    
    /* Скрываем кнопки навигации на мобильных */
    .activities-carousel .carousel-controls {
        display: none !important;
    }
}

/* Mobile styles for medium screens */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        font-weight: bold;
        text-transform: uppercase;
    }
    
    .problem-section {
        padding: 60px 0;
    }
    
    .problem-section::before {
        display: none;
    }
    
    .problem-section::after {
        display: none;
    }
    
    .problems-list {
        grid-template-columns: 1fr;
        gap: 16px 0;
        margin-top: 1.5rem;
        padding: 0 30px;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 1.5rem;
        padding: 0 30px;
    }
    
    .problem-item {
        padding: 25px 15px;
    }
    
    .problem-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .problem-icon i {
        font-size: 24px;
        color: var(--text-dark);
    }
    
    .problem-item p {
        font-size: 14px;
        max-width: 120px;
    }
    
    .solution-section {
        padding: 130px 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin-top: 30px;
    }
    
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* Горизонтальный скролл для фильтров на мобильных */
    .filter-buttons {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 20px 20px 25px 20px;
        margin: 0 -20px 30px -20px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .filter-buttons::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .sticky-filter-buttons {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 20px 20px 25px 20px;
    }
    
    .sticky-filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .nav-prev { left: 15px; }
    .nav-next { right: 15px; }
}

/* Mobile styles for small screens */
@media (max-width: 480px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        font-weight: bold;
        text-transform: uppercase;
    }
    
    .problem-section {
        padding: 50px 0;
    }
    
    .problem-section::before {
        display: none;
    }
    
    .problem-section::after {
        display: none;
    }
    
    .problems-list {
        gap: 14px 0;
        margin-top: 1rem;
        padding: 0 20px;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 1rem;
        padding: 0 20px;
    }
    
    .problem-item {
        padding: 20px 12px;
    }
    
    .problem-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }
    
    .problem-icon i {
        font-size: 22px;
        color: var(--text-dark);
    }
    
    .problem-item p {
        font-size: 13px;
        max-width: 100px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .benefit-card h4 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .benefit-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .benefit-card {
        padding: 15px 10px;
        border-radius: 12px;
    }
    
    .solution-section {
        padding: 100px 0;
    }
    
    .booking-form {
        max-width: 100%;
        padding: 0 5px;
    }
    
    .booking-form-container {
        padding: 30px 5px;
        margin-top: 40px;
        margin-bottom: 40px;
        max-width: 95%;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .gazebo-item {
        flex-direction: column !important;
        margin-bottom: 80px;
        min-height: auto;
    }
    
    .gazebo-image-section {
        flex: none;
        width: 100%;
        height: 400px;
        margin-bottom: 30px;
    }
    
    .gazebo-info-section {
        flex: none;
        width: 100%;
        padding: 0;
    }
    
    .gazebo-info-panel {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, 0.95);
        box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    }
    
    .gazebo-slider-nav {
        right: 20px !important;
        left: auto !important;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .gazebo-info-panel {
        padding: 30px;
    }
    
    .gazebo-title {
        font-size: 2rem;
    }
    
    .gazebo-spec-label {
        font-size: 1rem;
    }
    
    .gazebo-spec-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gazebo-image-section {
        height: 250px;
    }
    
    .gazebo-info-panel {
        padding: 25px;
    }
    
    .gazebo-title {
        font-size: 1.3rem;
    }
    
    .gazebo-info-panel .btn {
        width: 100%;
        font-size: 1rem;
        padding: 15px 25px;
        margin-left: 0 !important; /* Принудительно сбрасываем выравнивание на мобильных */
    }
    
    /* Текст описания всегда слева на мобильных */
    .gazebo-item:nth-child(odd) .gazebo-description-text,
    .gazebo-item:nth-child(even) .gazebo-description-text {
        text-align: left !important;
    }
    
    /* Скрываем кнопки навигации на мобильных */
    .gazebo-slider-nav {
        display: none !important;
    }
    
    /* Показываем индикаторы на мобильных */
    .gazebo-slider-dots {
        display: flex !important;
    }
    
    /* На мобильных объединяем фото и описание в одну карточку */
    .gazebo-item {
        flex-direction: column !important;
        margin-bottom: 40px !important;
    }
    
    .gazebo-image-section {
        flex: none !important;
        height: 300px !important;
        margin-bottom: 0 !important;
        border-radius: 15px 15px 0 0 !important;
        overflow: hidden !important;
    }
    
    .gazebo-info-section {
        flex: none !important;
        position: relative !important;
        margin-top: -20px !important;
        z-index: 5 !important;
    }
    
    .gazebo-info-panel {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        position: relative !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.85) !important;
        border-radius: 0 0 15px 15px !important;
    }
    
    /* Убираем отступы панели для нечетных и четных карточек на мобильных */
    .gazebo-item:nth-child(odd) .gazebo-info-panel,
    .gazebo-item:nth-child(even) .gazebo-info-panel {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Кнопки на мобильных занимают всю ширину и выровнены по центру */
    .gazebo-info-panel .btn {
        width: 100% !important;
        margin-left: 0 !important;
        text-align: center !important;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Уменьшаем размеры основных кнопок на мобильных */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Контейнер карты с информацией */
.map-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Информация под картой */
.map-info {
    background: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-info-item i {
    color: var(--accent-green);
    font-size: 1.1rem;
    width: 20px;
}

.map-info-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-info-item a:hover {
    color: var(--primary-green);
}

/* Адаптивность для информации под картой */
@media (max-width: 768px) {
    .map-info {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        text-align: center;
    }
    
    .map-info-item {
        justify-content: center;
    }
    
    .map-info-item a {
        font-size: 0.9rem;
    }
    
    #yandex-map {
        height: 300px;
    }
}

/* Стили для ошибок валидации */
.field-error {
    color: #F44336 !important;
    font-size: 0.75rem !important;
    margin-top: 5px;
    font-weight: 400;
    display: block;
}

.form-group input.error,
.form-group select.error {
    border-color: #F44336 !important;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1) !important;
}

/* Gallery responsive styles */
@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2 !important;
        column-gap: 9px !important;
        display: block !important;
    }
    
    .gallery-item {
        break-inside: avoid !important;
        display: inline-block !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
}

/* Gallery Modal Styles */
.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.8);
}

/* Старые кнопки навигации больше не используются */

/* Динамическое модальное окно */
.gallery-modal-dynamic {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background-color: rgb(0, 0, 0);
    overflow: auto;
    transition: background-color 0.3s ease;
}

.gallery-modal-dynamic.active {
    background-color: rgba(0, 0, 0, 0.9);
}

.gallery-modal-content-dynamic {
    background-color: #000000;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    max-height: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 1000000;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-modal-content-dynamic.animate-in {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-modal-close-dynamic {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.gallery-modal-close-dynamic.animate-in {
    opacity: 1;
    transform: scale(1);
}

.gallery-modal-close-dynamic:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Кнопки навигации по краям экрана */
.gallery-screen-nav-prev,
.gallery-screen-nav-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    z-index: 9999999;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.gallery-screen-nav-prev {
    left: max(20px, 2vw);
}

.gallery-screen-nav-next {
    right: max(20px, 2vw);
}

.gallery-screen-nav-prev:hover,
.gallery-screen-nav-next:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-screen-nav-prev:focus,
.gallery-screen-nav-next:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.gallery-screen-nav-prev:active,
.gallery-screen-nav-next:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-modal-image-container-dynamic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    position: relative;
}

.gallery-modal-image-container-dynamic img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.gallery-modal-image-container-dynamic img.animate-in {
    opacity: 1;
    transform: scale(1);
}

.gallery-modal-counter-dynamic {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000003;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    font-family: 'Roboto', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-modal-counter-dynamic.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация смены изображений */
.gallery-modal-image-temp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-modal-image-temp.slide-in-left {
    transform: translateX(-30px);
}

.gallery-modal-image-temp.slide-in-right {
    transform: translateX(30px);
}

.gallery-modal-image-temp.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.gallery-modal-image-temp.slide-out-left {
    transform: translateX(30px);
}

.gallery-modal-image-temp.slide-out-right {
    transform: translateX(-30px);
}

.gallery-modal-content {
    background-color: #000000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #333;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
}

.gallery-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
    background: rgba(0, 0, 0, 0.9);
    text-decoration: none;
    cursor: pointer;
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.gallery-modal-image-container {
    text-align: center;
    margin: 20px 0;
}

.gallery-modal-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    box-sizing: border-box;
}

.gallery-modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-modal-image-container img.fade-out {
    opacity: 0;
}

.gallery-modal-image-container img.fade-in {
    opacity: 1;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

/* Gallery Modal Responsive */
@media (max-width: 768px) {
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        width: 95vw;
        height: 95vh;
        margin: 20px auto;
    }
    
    .gallery-modal-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .gallery-modal-prev {
        left: 15px;
    }
    
    .gallery-modal-next {
        right: 15px;
    }
    
    .gallery-modal-counter {
        bottom: 15px;
        right: 15px;
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gallery-modal-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
        margin: 0 auto;
        border-radius: 0;
    }
    
    .gallery-modal-counter {
        bottom: 12px;
        right: 12px;
        padding: 5px 8px;
        font-size: 12px;
    }
    
    /* Адаптация кнопок навигации для мобильных устройств */
    .gallery-nav-prev,
    .gallery-nav-next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Скрываем кнопки навигации на мобильных устройствах */
    .gallery-screen-nav-prev,
    .gallery-screen-nav-next {
        display: none !important;
    }
}

/* ============================================
   СТРАНИЦА МЕНЮ
   ============================================ */

.menu-hero {
    padding: 100px 0 60px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/static/images/menu_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.menu-hero .section-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.menu-hero .solution-subtitle {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 0;
}

.menu-categories {
    padding: 40px 0 10px;
    background: #fafafa;
}

.menu-categories .filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.menu-section {
    padding: 10px 0 80px;
    background: #fafafa;
}

.category-content {
    display: none;
    opacity: 0;
}

.category-content.active {
    display: block;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(40px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.subcategory-block {
    margin-bottom: 70px;
}

.category-label {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2d5a27;
    margin: 50px 0 12px;
    opacity: 0.8;
}

.subcategory-title {
    font-size: 36px;
    font-weight: 300;
    margin: 0 0 40px;
    color: #2c3e50;
    text-align: center;
    letter-spacing: -0.5px;
}

.subcategory-description {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 300;
}

.menu-section .menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.menu-item-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: cardFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.menu-item-card:nth-child(1) { animation-delay: 0.05s; }
.menu-item-card:nth-child(2) { animation-delay: 0.1s; }
.menu-item-card:nth-child(3) { animation-delay: 0.15s; }
.menu-item-card:nth-child(4) { animation-delay: 0.2s; }
.menu-item-card:nth-child(5) { animation-delay: 0.25s; }
.menu-item-card:nth-child(6) { animation-delay: 0.3s; }
.menu-item-card:nth-child(7) { animation-delay: 0.35s; }
.menu-item-card:nth-child(8) { animation-delay: 0.4s; }
.menu-item-card:nth-child(9) { animation-delay: 0.45s; }
.menu-item-card:nth-child(n+10) { animation-delay: 0.5s; }

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.menu-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.menu-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.menu-item-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.menu-item-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #eef3ec;
}

.menu-item-image .menu-item-image-placeholder > img {
    width: 72px;
    height: 72px;
    max-width: 28%;
    max-height: 28%;
    object-fit: contain;
    opacity: 0.9;
    filter: saturate(0.92);
    transform: none;
    transition: none;
    will-change: auto;
}

.menu-item-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.menu-item-price {
    font-size: 22px;
    font-weight: 700;
    color: #2d5a27;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.menu-item-unit {
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
    margin-left: 4px;
}

.menu-item-name {
    font-size: 19px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 0px;
}

.menu-item-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    font-weight: 300;
}

.menu-empty-section {
    text-align: center;
    padding: 80px 20px;
}

.menu-empty-message {
    font-size: 18px;
    color: #6c757d;
    font-weight: 300;
}

/* Адаптивность меню */
@media (min-width: 1400px) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 900px) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .menu-categories {
        text-align: center;
    }
    
    .menu-categories .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .menu-categories .filter-buttons {
        display: inline-flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 0;
        margin: 0 auto;
    }
    
    .category-label {
        font-size: 12px;
        margin: 40px 0 10px;
    }
    
    .subcategory-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .menu-hero {
        padding: 80px 0 50px;
        background-attachment: scroll;
    }
    
    .menu-hero .section-title {
        font-size: 2.5rem;
        font-weight: bold;
        text-transform: uppercase;
    }
    
    .menu-hero .solution-subtitle {
        font-size: 1rem;
    }
    
    .menu-categories {
        padding: 30px 0 10px;
    }
    
    .menu-categories .filter-buttons {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 10px;
        padding: 0 20px;
    }
    
    .menu-categories .filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .menu-categories .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .menu-item-image {
        height: 240px;
    }
    
    .subcategory-title {
        font-size: 28px;
        margin: 30px 0 25px;
    }
    
    .subcategory-block {
        margin-bottom: 50px;
    }
    
    .menu-item-content {
        padding: 20px;
    }
    
    .menu-item-name {
        font-size: 17px;
    }
    
    .menu-item-price {
        font-size: 20px;
    }
    
    .menu-item-unit {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .menu-section .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-hero {
        padding: 60px 0 40px;
    }
    
    .menu-hero .section-title {
        font-size: 2rem;
        font-weight: bold;
        text-transform: uppercase;
    }
    
    .menu-hero .solution-subtitle {
        font-size: 0.9rem;
    }
    
    .category-label {
        font-size: 11px;
    }
    
    .subcategory-title {
        font-size: 24px;
        margin: 25px 0 20px;
    }
    
    .menu-item-image {
        height: 220px;
    }
    
    .menu-item-content {
        padding: 18px;
    }
    
    .menu-item-name {
        font-size: 16px;
    }
    
    .menu-item-price {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .menu-item-description {
        font-size: 13px;
    }
}

/* ============================================
   СТРАНИЦА ПРАВИЛ БЕЗОПАСНОСТИ
   ============================================ */

.safety-hero {
    padding: 100px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #2d5a27 0%, #1a3d1a 100%);
}

.safety-hero .section-title,
.safety-hero .solution-subtitle {
    color: #ffffff;
}

.safety-hero .section-title {
    font-weight: bold;
    text-transform: uppercase;
}

.safety-content {
    padding: 60px 0 80px;
    background: #fafafa;
}

.safety-rules {
    max-width: 900px;
    margin: 0 auto;
}

.rule-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.rule-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.important-title {
    color: #d32f2f;
}

.rule-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 15px;
}

.rule-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 25px 0 15px 0;
}

.rule-content h3:first-child {
    margin-top: 0;
}

.danger-title {
    color: #d32f2f;
}

.rule-content ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.rule-content ul li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
}

.rule-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d5a27;
    font-weight: bold;
    font-size: 18px;
}

.danger-list li::before {
    content: '✕';
    color: #d32f2f;
}

.highlight {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.warning-box {
    background: #fff3f3;
    border-left: 4px solid #d32f2f;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.warning-title {
    color: #d32f2f;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.warning-box ul li::before {
    content: '!';
    color: #d32f2f;
    background: #ffebee;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.medical-box {
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.medical-title {
    color: #1976d2;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.medical-box ul li::before {
    content: '⚕';
    color: #1976d2;
}

.confirmation-box {
    background: #e8f5e9;
    border-left: 4px solid #2d5a27;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.confirmation-box h3 {
    color: #2d5a27;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.confirmation-box ul {
    list-style: none;
    padding-left: 0;
}

.confirmation-box ul li {
    padding-left: 35px;
    margin-bottom: 15px;
    position: relative;
    font-size: 17px;
    font-weight: 500;
    color: #2c3e50;
}

.confirmation-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d5a27;
    font-weight: bold;
    font-size: 22px;
}

.safety-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.safety-footer p {
    font-size: 18px;
    color: #2c3e50;
}

/* Адаптивность страницы правил */
@media (max-width: 768px) {
    .safety-hero {
        padding: 80px 0 50px;
    }
    
    .safety-content {
        padding: 40px 0 60px;
    }
    
    .rule-section {
        padding: 30px 25px;
    }
    
    .rule-title {
        font-size: 24px;
    }
    
    .rule-content h3 {
        font-size: 18px;
    }
    
    .rule-content p,
    .rule-content ul li {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .safety-hero {
        padding: 60px 0 40px;
    }
    
    .rule-section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .rule-title {
        font-size: 20px;
    }
    
    .rule-content h3 {
        font-size: 17px;
    }
    
    .rule-content p,
    .rule-content ul li {
        font-size: 14px;
    }
    
    .confirmation-box {
        padding: 25px 20px;
    }
    
    .confirmation-box h3 {
        font-size: 18px;
    }
}

/* ============================================
   МОДАЛЬНОЕ ОКНО ПОДТВЕРЖДЕНИЯ БРОНИРОВАНИЯ
   ============================================ */

/* Динамическое модальное окно подтверждения бронирования */
.booking-confirmation-modal-dynamic {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background-color: rgb(0, 0, 0);
    overflow: auto;
    transition: background-color 0.3s ease;
}

.booking-confirmation-modal-dynamic.active {
    background-color: rgba(0, 0, 0, 0.9);
}

.booking-confirmation-content-dynamic {
    background: linear-gradient(135deg, #2d5a27 0%, #1a3d1a 100%);
    width: 90vw;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 1000000;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-confirmation-content-dynamic.animate-in {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.booking-confirmation-close-dynamic {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
}

.booking-confirmation-close-dynamic.animate-in {
    opacity: 1;
    transform: scale(1);
}

.booking-confirmation-close-dynamic:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.booking-confirmation-header {
    text-align: center;
    padding: 40px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-confirmation-header i {
    font-size: 60px;
    color: #a8d5a8;
    margin-bottom: 15px;
    animation: checkPulse 0.6s ease;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.booking-confirmation-header h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.booking-confirmation-body {
    padding: 30px;
}

.booking-confirmation-message {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.booking-confirmation-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.booking-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-detail-row:last-of-type {
    border-bottom: none;
}

.booking-detail-row.highlight {
    background: rgba(168, 213, 168, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    border: 1px solid rgba(168, 213, 168, 0.3);
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.detail-value {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.booking-confirmation-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.booking-confirmation-footer .btn {
    background: linear-gradient(135deg, #a8d5a8 0%, #7fb87f 100%);
    color: #2d5a27;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-confirmation-footer .btn:hover {
    background: linear-gradient(135deg, #7fb87f 0%, #a8d5a8 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 213, 168, 0.4);
}

/* Мобильные стили для кнопок подтверждения бронирования */
@media (max-width: 768px) {
    .booking-confirmation-footer .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* Плашка с призывом к действию в секции еды */
.food-cta-banner {
    order: 1;
    margin-bottom: 40px;
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}


.food-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.food-cta-text {
    text-align: center;
}

.food-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.food-cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.food-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
    position: relative;
    overflow: hidden;
}

.food-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.food-cta-button:hover::before {
    left: 100%;
}

.food-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
}

.food-cta-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.food-cta-button:hover i {
    transform: translateX(5px);
}

/* Мобильные стили для плашки */
@media (max-width: 768px) {
    .food-cta-banner {
        order: 1;
        margin-bottom: 30px;
        padding: 25px 20px;
    }
    
    .food-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .food-cta-text {
        text-align: center;
    }
    
    .food-cta-title {
        font-size: 1.3rem;
    }
    
    .food-cta-description {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .food-cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .food-cta-banner {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .food-cta-content {
        gap: 15px;
    }
    
    .food-cta-title {
        font-size: 1.1rem;
    }
    
    .food-cta-description {
        font-size: 0.8rem;
    }
    
    .food-cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Плавающая кнопка "Наверх" */
.floating-scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.floating-scroll-to-top:hover {
    background: linear-gradient(135deg, #4a7c59, #2c5530);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
}

.floating-scroll-to-top:active {
    transform: translateY(0);
}

.floating-scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .floating-scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .floating-scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Плавающая кнопка мессенджеров */
.floating-messenger-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366, #128c7e); /* WhatsApp green */
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}

.floating-messenger-button:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-messenger-button:active {
    transform: translateY(0) scale(0.95);
}

.floating-messenger-button.active {
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.floating-messenger-button i {
    font-size: 24px;
    line-height: 1;
}

/* Меню мессенджеров */
.floating-messenger-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.floating-messenger-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
}

.messenger-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.messenger-item:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.messenger-item.whatsapp {
    background: #25d366;
}

.messenger-item.whatsapp:hover {
    background: #128c7e;
}

.messenger-item.whatsapp i {
    color: white;
    font-size: 28px;
    line-height: 1;
}

.messenger-item.telegram {
    background: #0088cc;
}

.messenger-item.telegram:hover {
    background: #006aa6;
}

.messenger-item.telegram i {
    color: white;
    font-size: 24px;
    line-height: 1;
}

/* Когда кнопка возврата видна, кнопка мессенджера сдвигается выше */
.floating-messenger-button.scroll-top-visible {
    bottom: 90px;
}

.floating-messenger-menu.scroll-top-visible {
    bottom: 160px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .floating-messenger-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-messenger-button i {
        font-size: 22px;
        line-height: 1;
    }
    
    .floating-messenger-menu {
        bottom: 85px;
        right: 20px;
        gap: 10px;
    }
    
    /* Когда кнопка возврата видна, кнопка мессенджера сдвигается выше */
    .floating-messenger-button.scroll-top-visible {
        bottom: 75px;
    }
    
    /* Меню также сдвигается выше */
    .floating-messenger-menu.scroll-top-visible {
        bottom: 140px;
    }
    
    .messenger-item {
        width: 45px;
        height: 45px;
    }
    
    .messenger-item.whatsapp i {
        font-size: 24px;
        line-height: 1;
    }
    
    .messenger-item.telegram i {
        font-size: 20px;
        line-height: 1;
    }
}

/* Улучшение четкости шрифтов на Retina и высоких DPI дисплеях */
@media (-webkit-min-device-pixel-ratio: 2), 
       (min-resolution: 192dpi) {
    body,
    * {
        -webkit-font-smoothing: subpixel-antialiased !important;
        -moz-osx-font-smoothing: auto !important;
        text-rendering: optimizeQuality !important;
    }
    
    /* Дополнительная четкость для заголовков */
    h1, h2, h3, h4, h5, h6,
    .slide-title,
    .activity-title {
        font-weight: 500;
        letter-spacing: 0.02em;
    }
    
    .section-title {
        font-weight: bold;
        letter-spacing: 0.02em;
    }
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }
    
    /* Улучшенная читаемость для мелких экранов */
    p, span, a, li {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}
/* Принудительное удаление стеклянного эффекта в hero */
.slide-content-wrapper {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.slide-content-wrapper::before {
    display: none !important;
    content: none !important;
}

/* Стили для полей времени при почасовой оплате */
/* Переопределяем стили form-group для date-time-group */
.form-group.date-time-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Максимальная специфичность для гарантии горизонтального расположения */
#booking_form .form-group.date-time-group,
.booking-form .form-group.date-time-group,
.form-group.date-time-group {
    display: flex !important;
    flex-direction: row !important;
}

/* Если поля времени в отдельном form-group, располагаем их рядом */
.form-group.date-time-group + .form-group.time-range-group {
    display: none !important; /* Скрываем отдельный time-range-group */
}

.date-input-wrapper {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 200px !important;
    max-width: 200px !important;
    transition: width 0.3s ease, max-width 0.3s ease;
}

/* Когда поля времени скрыты, поле даты занимает всю ширину */
.date-time-group:has(.time-range-group[style*="display: none"]) .date-input-wrapper,
.date-time-group .time-range-group:not([style*="display: flex"]) ~ .date-input-wrapper,
.date-time-group.hide-time-fields .date-input-wrapper {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

.date-input-wrapper > label {
    margin-bottom: 8px !important;
    height: auto !important;
}

.date-time-group .time-range-group {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    max-width: 100%;
}

.date-time-group .time-range-group > label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 10px !important;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    height: auto !important;
    line-height: 1.4 !important;
}

.date-time-group .time-range-group[style*="display: none"] {
    display: none !important;
}

.date-time-group .time-range-group[style*="display: block"] {
    display: flex !important;
}

.time-inputs {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 0 !important;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
}

/* Контейнер для ошибок полей времени */
.time-fields-errors {
    position: relative;
    width: 100%;
    margin-top: 5px;
    min-height: 20px;
}

.time-fields-errors .field-error {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    margin-top: 5px;
}

.time-input {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
    width: 90px;
    max-width: 90px;
}

.time-input .field-error {
    color: #F44336 !important;
    font-size: 0.75rem !important;
    margin-top: 5px;
    font-weight: 400;
    display: block;
}

/* Центрируем подсказки относительно самого input поля (фиксированная высота 48px) */
.time-label-start,
.time-label-end {
    position: absolute;
    left: 16px;
    top: 0;
    height: 48px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
    background: transparent;
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Скрываем старые метки "От:" и "До:" если они есть */
.time-input > label[for="time_start"],
.time-input > label[for="time_end"] {
    display: none !important;
}

.time-separator {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin: 0 6px !important;
    align-self: center !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 48px !important;
    z-index: 0 !important;
    position: relative !important;
}

.time-input {
    position: relative;
}

.time-input input[type="time"] {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
}

.time-input input[type="time"]:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.time-input input[type="time"]:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(45, 90, 39, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.time-input input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.time-input input[type="time"]:disabled {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Стили для select вместо input type="time" */
.time-input select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 48px;
    padding: 12px 16px 12px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem !important;
    font-weight: 400;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    flex-shrink: 0 !important;
}

.time-input select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.time-input select:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(45, 90, 39, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.time-input select:disabled {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.time-input select option {
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 8px;
}

/* Контейнер для предупреждений о времени бронирования */
.date-time-group .booking-warning-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 15px;
    margin-left: 0;
    margin-right: 0;
    padding: 12px 16px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    flex: 1 1 100% !important;
    flex-basis: 100% !important;
    min-width: 100% !important;
    order: 10;
}

.booking-warning-container .warning-message {
    color: #FFC107;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-warning-container .warning-message::before {
    content: "⚠";
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .date-time-group {
        flex-direction: row !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }
    
    .date-input-wrapper {
        flex: 0 0 140px !important;
        width: 140px !important;
        max-width: 140px !important;
        min-width: 140px !important;
    }
    
    .date-input-wrapper input {
        font-size: 0.85rem !important;
        padding: 15px 8px !important;
    }
    
    .time-range-group {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    
    .time-inputs {
        flex-direction: row;
        gap: 4px;
    }
    
    .time-input {
        width: 80px !important;
        max-width: 80px !important;
        position: relative !important;
    }
    
    /* Надписи внутри поля у верхней границы */
    .time-label-start,
    .time-label-end {
        position: absolute !important;
        top: 6px !important;
        left: 10px !important;
        height: auto !important;
        font-size: 12px !important;
        line-height: 1 !important;
        display: block !important;
        align-items: flex-start !important;
    }
    
    /* Больше верхний отступ, чтобы не пересекаться с надписью */
    .time-input select {
        padding-top: 22px !important;
        padding-bottom: 8px !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-position: right 8px center !important;
        background-size: 16px !important;
    }
    
    /* Надписи всегда видимы на мобильных и расположены у верхней границы */
    .time-label-start,
    .time-label-end {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .time-separator {
        font-size: 14px !important;
        margin: 0 4px !important;
    }
}

@media (max-width: 480px) {
    .date-time-group {
        flex-direction: row !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    
    .date-input-wrapper {
        flex: 0 0 120px !important;
        width: 120px !important;
        max-width: 120px !important;
        min-width: 120px !important;
    }
    
    .date-input-wrapper input {
        font-size: 0.85rem !important;
        padding: 15px 8px !important;
    }
    
    .time-range-group {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    
    .time-input {
        width: 75px !important;
        max-width: 75px !important;
        font-size: 0.85rem !important;
    }
    
    .time-separator {
        font-size: 12px !important;
        margin: 0 3px !important;
    }
    
    .time-inputs {
        gap: 3px !important;
    }
}

/* Исправление прокрутки для карусели развлечений */
.activities-carousel {
    overflow: visible !important;
    pointer-events: auto !important;
}

.activities-carousel .owl-carousel {
    overflow: visible !important;
    pointer-events: auto !important;
}

.activities-carousel .owl-stage-outer {
    overflow: visible !important;
    pointer-events: auto !important;
}

.activities-carousel .owl-stage {
    overflow: visible !important;
    pointer-events: auto !important;
}

.activities-carousel .owl-item {
    overflow: visible !important;
    pointer-events: auto !important;
}
