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

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

/* Скрытый элемент для 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: 98vh;
    overflow: hidden;
}

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

.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%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    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 {
    transform: scale(1.05);
}

.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: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: clamp(20px, 4vw, 40px) clamp(30px, 6vw, 60px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    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;
        border: none;
        padding: 30px 20px;
    }
}

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

/* Индикаторы слайдов */
.slide-indicators {
    position: absolute;
    bottom: 180px;
    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: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(45, 90, 39, 0.5);
}

/* Показываем индикаторы на мобильных устройствах */
@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;
    }
}

.slide.active .slide-content-wrapper {
    animation: dissolveIn 1s ease-out 0.2s both;
}

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

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

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

.slide-content-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: 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(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@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(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.9;
        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.9;
        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);
}

.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: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.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;
    margin-top: -148px;
    z-index: 2;
}

.problem-section .section-title {
    margin-bottom: 0;
}

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

.problem-section::before {
    content: '';
    position: absolute;
    top: -98px;
    left: 0;
    width: calc(50% + 0.5px);
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    z-index: 1;
}

.problem-section::after {
    content: '';
    position: absolute;
    top: -98px;
    right: 0;
    width: calc(50% + 0.5px);
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 1;
}

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

.problem-item {
    padding: 0;
    width: 100%;
}

.problem-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: 0.01em;
}

/* 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::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-top: 60px solid var(--white);
    z-index: 10;
}

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

.solution-section .section-title {
    color: var(--white);
    margin-bottom: 0;
}

.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: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.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: 50px 0 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    min-height: 120px;
}

@media (max-width: 900px) {
    .sticky-filter-buttons {
        justify-content: flex-start !important;
        padding: 15px 15px;
    }
    
    .sticky-menu-filters {
        justify-content: flex-start !important;
        padding: 45px 20px 35px 20px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-height: 110px;
    }
    
    .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;
}

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

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

.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 {
    margin-top: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.food-carousel-container {
    flex: 1;
    overflow: visible;
    border-radius: 20px;
}

.food-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.food-card {
    flex: 0 0 calc(33.333% - 14px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    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(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

/* Active food card styles */
.food-card.active {
    transform: scale(1.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5) !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    z-index: 10 !important;
    position: relative !important;
}

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

.food-card h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.food-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Стили для изображений и контента карточек еды */
.food-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.food-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.food-carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    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);
    flex-shrink: 0;
}

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


/* Адаптивные стили для карусели еды */
@media (max-width: 768px) {
    
    .food-carousel {
        flex-direction: row;
        gap: 10px;
    }
    
    .food-carousel-container {
        overflow: visible;
        width: 100%;
    }
    
    .food-carousel-track {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }
    
    .food-card {
        flex: 1;
        width: auto;
        max-width: none;
        padding: 8px 6px;
        min-height: 60px;
        max-height: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .food-card h4 {
        font-size: 0.7rem;
        margin-bottom: 2px;
        line-height: 1.1;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .food-card p {
        display: none;
    }
    
    .food-card-image {
        height: 100px;
        margin-bottom: 8px;
    }
    
    .food-card-content {
        padding: 0;
    }
    
    .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;
}

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

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

.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;
    margin-bottom: 8px;
}

.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(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.activity-price-badge:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    border-color: rgba(255, 255, 255, 0.2);
}

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

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

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

.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;
    max-width: 450px;
    margin: 0 auto;
    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: 500px !important;
    max-width: 500px !important;
    /* Принудительное ограничение размера шрифта */
    font-size: 14px !important;
}

.form-group select option {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    /* Принудительное обрезание длинного текста */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    /* Принудительное ограничение размера шрифта */
    font-size: 14px !important;
    /* Принудительное ограничение отступов */
    padding: 5px 10px !important;
}

/* Дополнительное принудительное ограничение для всех состояний select */
.form-group select,
.form-group select:focus,
.form-group select:hover,
.form-group select:active {
    width: 500px !important;
    max-width: 500px !important;
    min-width: 500px !important;
}

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

.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;
    display: none;
}

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

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

.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: 6px 12px;
        border-radius: 10px;
    }
    
    .price-amount {
        font-size: 0.9rem;
    }
    
    .price-included {
        font-size: 0.8rem;
    }
    
    .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: 3rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-section {
        padding: 60px 0;
        margin-top: -98px;
    }
    
    .problem-section::before {
        top: -98px;
        height: 100px;
    }
    
    .problem-section::after {
        top: -98px;
        height: 100px;
    }
    
    .problems-list {
        grid-template-columns: 1fr;
        gap: 16px 0;
        margin-top: 1.5rem;
        padding: 0 30px;
    }
    
    .solution-section {
        padding: 130px 0;
    }
    
    .solution-section::after {
        top: 0;
        border-left: 50vw solid transparent;
        border-right: 50vw solid transparent;
        border-top: 50px solid var(--white);
    }
    
    .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: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .problem-section {
        padding: 50px 0;
        margin-top: -78px;
    }
    
    .problem-section::before {
        top: -78px;
        height: 80px;
    }
    
    .problem-section::after {
        top: -78px;
        height: 80px;
    }
    
    .problems-list {
        gap: 14px 0;
        margin-top: 1rem;
        padding: 0 20px;
    }
    
    .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;
    }
    
    .solution-section::after {
        top: 0;
        border-left: 50vw solid transparent;
        border-right: 50vw solid transparent;
        border-top: 40px solid var(--white);
    }
    
    
    .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 {
        max-width: 100%;
        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 {
        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;
}

.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: 250px;
    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-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;
    }
    
    .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: 200px;
    }
    
    .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;
    }
    
    .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: 180px;
    }
    
    .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-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;
    }
}