 /* ===== ОБЩИЕ СТИЛИ ===== */
        body {
            background-color: #f8f9fa;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding-top: 0px;
        }
        
        .container {
            max-width: 1200px;
        }
        
        h2 {
            color: #2c3e50;
            font-weight: 700;
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 15px;
            text-align: center;
        }
        
        h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
            border-radius: 2px;
        }

        .lake-primary-image {
            margin-top: 32px;
        }
        
        /* ===== ГЕРОЙ СЕКЦИЯ ===== */
        .fullscreen-hero {
            height: 100vh;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }

        .site-closed-page {
            min-height: 100vh;
            padding: 2rem 0;
        }

        .site-closed-card {
            max-width: 820px;
            padding: 3rem;
            border-radius: 24px;
            background: rgba(0, 0, 0, 0.68);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(8px);
        }
        
        /* ===== ПАРАЛЛАКС ЭФФЕКТ ===== */
        .parallax {
            min-height: 600px;
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        
        .parallax-content {
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 2rem;
            border-radius: 10px;
            max-width: 800px;
        }
        
        /* ===== КАРТОЧКИ ИЗБ ===== */
        .card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 30px;
            height: 100%;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .card-body {
            padding: 25px;
        }
        
        .card-title {
            color: #2c3e50;
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .card-text {
            color: #7f8c8d;
            margin-bottom: 15px;
        }
        
        .card-text strong {
            color: #e74c3c;
            font-size: 1.2rem;
        }
        
        .card ul {
            padding-left: 20px;
            margin-bottom: 20px;
        }
        
        .card ul li {
            color: #34495e;
            margin-bottom: 8px;
            position: relative;
        }
        
        .card ul li:before {
            content: "•";
            color: #2ecc71;
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }
        
        /* ===== КАРУСЕЛЬ В КАРТОЧКАХ ===== */
        .house-carousel {
            position: relative;
            overflow: hidden;
        }
        
        .carousel-inner {
            height: 520px; /* Фиксированная высота для всех каруселей */
        }
        .gallery-inner {
            height: min(68vh, 600px) !important;
            min-height: 420px;
        }
        
        .carousel-item {
            height: 100%;
        }
        
        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Обеспечивает одинаковое отображение всех изображений */
        }
        
        .carousel-indicators {
            margin-bottom: 10px;
        }
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
        }
        
        .carousel-control-prev, .carousel-control-next {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.3);
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.8;
        }
        
        .carousel-control-prev {
            left: 15px;
        }
        
        .carousel-control-next {
            right: 15px;
        }
        
        .carousel-control-prev:hover, .carousel-control-next:hover {
            background-color: rgba(0, 0, 0, 0.7);
        }
        
        /* ===== КНОПКА БРОНИРОВАНИЯ ===== */
        .check-availability-btn {
            background: linear-gradient(90deg, #3498db, #2ecc71);
            border: none;
            border-radius: 50px;
            padding: 12px 25px;
            font-weight: 600;
            transition: all 0.3s;
            width: 100%;
            margin-top: 15px;
            color: white;
        }
        
        .check-availability-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            background: linear-gradient(90deg, #2980b9, #27ae60);
            color: white;
        }
        
        /* ===== УДОБСТВА ===== */
        .amenities {
            display: flex;
            justify-content: space-around;
            margin: 20px 0;
            padding: 15px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }
        
        .amenity {
            text-align: center;
            color: #7f8c8d;
        }
        
        .amenity i {
            display: block;
            font-size: 24px;
            color: #3498db;
            margin-bottom: 5px;
        }
        
        /* ===== ОТДЕЛЬНАЯ ГАЛЕРЕЯ ===== */
        .carousel-container {
            max-width: 900px;
            margin: 40px auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            overflow: hidden;
        }

        #gallery {
            min-height: auto;
        }
        
        .carousel-caption {
            background: rgba(0, 0, 0, 0.5);
            border-radius: 10px;
            padding: 15px;
        }
        
        .carousel-image2 {
            height: 500px;
            object-fit: cover;
            width: 100%;
            cursor: zoom-in;
        }
        
        /* ===== МОДАЛЬНОЕ ОКНО ГАЛЕРЕИ ===== */
        .modal-gallery {
            display: none;
            position: fixed;
            z-index: 2000;
            padding: 24px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: rgba(0,0,0,0.9);
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .modal-gallery.is-open {
            display: flex;
        }
        
        .modal-gallery-content {
            display: block;
            width: min(92vw, 1400px);
            height: 82vh;
            max-height: 82vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
        }

        .gallery-modal-close {
            position: fixed;
            top: 18px;
            right: 28px;
            z-index: 2001;
            border: 0;
            background: transparent;
            color: #f1f1f1;
            font-size: 44px;
            line-height: 1;
            cursor: pointer;
        }

        .gallery-modal-close:hover,
        .gallery-modal-close:focus {
            color: #bbb;
        }

        .gallery-modal-caption {
            color: #fff;
            text-align: center;
            margin-top: 12px;
            max-width: min(90vw, 900px);
            font-size: 1rem;
        }

        .gallery-modal-nav {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2001;
            width: 56px;
            height: 56px;
            border: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.18);
            color: #fff;
            font-size: 34px;
            line-height: 1;
            cursor: pointer;
            transition: background 0.2s, transform 0.2s;
        }

        .gallery-modal-nav:hover,
        .gallery-modal-nav:focus {
            background: rgba(255, 255, 255, 0.32);
            transform: translateY(-50%) scale(1.04);
        }

        .gallery-modal-prev {
            left: 28px;
        }

        .gallery-modal-next {
            right: 28px;
        }
        
        .close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
        }
        
        .close:hover,
        .close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }
        
        /* ===== СЕКЦИЯ КОНТАКТОВ ===== */
        .contact-section {
            background-color: #f8f9fa;
            padding: 3rem 0;
        }

        .location-section h3 {
            font-size: 1.15rem;
            margin-bottom: 0.35rem;
        }

        .location-section ul {
            margin-bottom: 0.65rem;
            padding-left: 1.2rem;
        }

        .location-section li {
            line-height: 1.35;
            margin-bottom: 0.2rem;
        }

        .contacts-section .row {
            align-items: flex-start;
        }

        .contacts-section .col-md-3 {
            margin-bottom: 0.75rem !important;
        }

        .contacts-section i.fs-1 {
            font-size: 1.7rem !important;
        }

        .contacts-section h4 {
            font-size: 1.05rem;
            margin-bottom: 0.35rem;
        }

        .contacts-section p {
            margin-bottom: 0;
        }
        
        /* ===== КАРТА ===== */
        #map {
            height: 400px;
            width: 100%;
        }
        
        .yandexmaps {
            max-width: 100vh;
            overflow-y: auto;
        }
        
        /* ===== КАЛЕНДАРЬ ===== */
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
            margin: 15px 0;
        }
        
        .weekday {
            text-align: center;
            font-weight: bold;
            padding: 8px;
            background-color: #f8f9fa;
            border-radius: 4px;
            font-size: 0.9em;
        }
        
        .calendar-day {
            text-align: center;
            padding: 10px;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s ease;
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .calendar-day.free {
            background-color: #d4edda;
            color: #155724;
            border-color: #c3e6cb;
        }
        
        .calendar-day.free:hover {
            background-color: #c3e6cb;
            transform: scale(1.05);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .calendar-day.booked {
            background-color: #f8d7da;
            color: #721c24;
            border-color: #f5c6cb;
            cursor: not-allowed;
            opacity: 0.7;
        }
        
        .calendar-day.past {
            background-color: #f8f9fa;
            color: #6c757d;
            border-color: #e9ecef;
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .calendar-day.today {
            border: 2px solid #007bff;
            font-weight: bold;
        }
        
        .calendar-day.other-month {
            background-color: #f8f9fa;
            color: #ced4da;
            border-color: #e9ecef;
        }
        
        #calendarLoader {
            text-align: center;
            padding: 2rem;
        }
        
        #dateInfo {
            margin-top: 1rem;
        }
        
        /* ===== АДАПТИВНОСТЬ ===== */
        @media (max-width: 768px) {
             .carousel-inner {
        height: auto;
    }
    
    .gallery-inner {
        height: 300px !important;
        min-height: 300px;
    }

    .carousel-image2 {
        height: 100%;
    }
            
            .amenities {
                flex-wrap: wrap;
            }
            
            .amenity {
                width: 50%;
                margin-bottom: 15px;
            }
        }
        
        @media (max-width: 991px) {
            .lake-primary-image {
                margin-top: 0;
            }

            .navbar-collapse.collapse.show {
                max-height: 100vh;
                overflow-y: auto;
            }
            
            .navbar-collapse:not(.show) {
                display: none !important;
            }
            
            .navbar-collapse.show {
                display: block !important;
            }
            
            .parallax {
                visibility: hidden;
                display: none;
            }
            
            .navbar-collapse {
                background-color: #343a40;
                padding: 20px;
                border-radius: 0 0 10px 10px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            }
            
            .navbar-nav {
                text-align: center;
            }
            
            .nav-item {
                margin: 10px 0;
            }
            
            .nav-link {
                font-size: 1.1rem;
                padding: 12px 20px !important;
                border-radius: 6px;
                transition: all 0.3s ease;
            }
            
            .nav-link:hover {
                background-color: #495057;
            }
            
        }
        
        /* Плавная анимация для мобильного меню */
        .navbar-collapse {
            transition: all 0.3s ease-in-out;
        }

/* нью дома */ 

 .houses-section {
            background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
            padding: 60px 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        
        .house-carousel-container {
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .house-slide {
            background: white;
            padding: 30px;
        }
        
        .house-image-container {
            height: 470px;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .house-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .house-content {
            padding: 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .house-title {
            color: #2c5530;
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1.8rem;
        }
        
        .house-price {
            color: #2c5530;
            font-weight: bold;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        
        .house-description {
            color: #555;
            margin-bottom: 25px;
            line-height: 1.6;
        }
        
        .amenities {
            display: flex;
            justify-content: space-between;
            margin: 20px 0;
            padding: 20px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }
        
        .amenity {
            text-align: center;
            flex: 1;
        }
        
        .amenity i {
            color: #2c5530;
            font-size: 1.5rem;
            margin-bottom: 8px;
            display: block;
        }
        
        .amenity span {
            font-size: 0.9rem;
            color: #555;
        }
        
        .house-details {
            margin-bottom: 25px;
        }
        
        .house-details ul {
            padding-left: 20px;
            margin-bottom: 0;
        }
        
        .house-details li {
            margin-bottom: 10px;
            color: #555;
        }
        
        .house-buttons {
            display: flex;
            gap: 15px;
            margin-top: auto;
        }
        
        .details-btn {
            background-color: #2c5530;
            border: none;
            padding: 12px 25px;
            font-weight: 600;
            border-radius: 30px;
            transition: background-color 0.3s, transform 0.2s;
            flex: 1;
        }
        
        .details-btn:hover {
            background-color: #1e3a22;
            transform: translateY(-2px);
        }
        
        .call-btn {
            background-color: #28a745;
            border: none;
            padding: 12px 25px;
            font-weight: 600;
            border-radius: 30px;
            transition: background-color 0.3s, transform 0.2s;
            flex: 1;
        }
        
        .call-btn:hover {
            background-color: #218838;
            transform: translateY(-2px);
        }
        
        .carousel-control-prev, .carousel-control-next {
            width: 50px;
            height: 50px;
            background-color: #2c5530;
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.8;
        }
        
        .carousel-control-prev {
            left: 15px;
        }
        
        .carousel-control-next {
            right: 15px;
        }
        
        .carousel-control-prev:hover, .carousel-control-next:hover {
            opacity: 1;
        }
        
        .carousel-indicators {
            bottom: -50px;
        }
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #2c5530;
            opacity: 0.5;
        }
        
        .carousel-indicators button.active {
            opacity: 1;
        }
        
        /* ===== ЭКСТРЕННОЕ ИСПРАВЛЕНИЕ НАЛОЖЕНИЯ БЛОКОВ ===== */
.houses-section {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.house-carousel-container {
    position: relative;
    z-index: 5;
}

/* ФИКС ВЫСОТЫ КАРУСЕЛИ */
#housesCarousel .carousel-inner {
    height: auto !important;
    min-height: 500px;
}

#housesCarousel .carousel-item {
    height: auto !important;
}

/* ФИКС ДЛЯ СЕКЦИЙ */
section {
    position: relative;
    clear: both;
}

/* УБИРАЕМ КОНФЛИКТУЮЩИЕ СТИЛИ */
.carousel-inner {
    height: auto !important; /* Убираем фиксированную высоту для всех каруселей */
}

#infiniteCarousel .gallery-inner {
    height: 500px !important;
    min-height: 0;
}

#infiniteCarousel .carousel-item {
    height: 100%;
}

#infiniteCarousel .carousel-image2 {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* АДАПТИВНОСТЬ КАРУСЕЛИ ДОМОВ */
@media (max-width: 991px) {
    .house-slide .row {
        flex-direction: column;
    }
    
    .house-image-container {
        height: 300px !important;
        margin-bottom: 20px;
    }
    
    .house-content {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    #gallery,
    .houses-section {
        min-height: auto;
    }

    #housesCarousel .carousel-inner {
        min-height: 600px;
    }

    #infiniteCarousel .gallery-inner {
        height: 300px !important;
        min-height: 0;
    }
    
    .house-buttons {
        flex-direction: column;
    }
    
    .amenities {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .amenity {
        flex: 0 0 calc(50% - 5px);
    }
}

/* ГАРАНТИРУЕМ, ЧТО БЛОКИ НЕ ВЫЛАЗЯТ */
.container {
    overflow: visible;
}

.row {
    margin: 0;
}

/* ФИКС ДЛЯ PARALLAX СЕКЦИИ */
.parallax {
    position: relative;
    z-index: 2;
}

/* ФИКС ДЛЯ СЕКЦИИ УСЛУГ */
.services-section {
    position: relative;
    z-index: 8;
}

