* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f5f5f5;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

/* ШАПКА - ПОЛНОСТЬЮ ИСПРАВЛЕННАЯ */
.header {
    background-color: #90ed90;
    padding: 10px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    color: #2E8B57;
    background: rgba(255,255,255,0.2);
    padding: 8px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: #1d5e3e;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.header-nav-link i {
    color: #2E8B57;
}

.header-nav-link:hover {
    background: #2E8B57;
    color: white;
}

.header-nav-link:hover i {
    color: white;
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-phone {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background-color: #2E8B57;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.header-phone:hover {
    background-color: #1d5e3e;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.15);
    color: white;
    text-decoration: none;
}

.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    background-color: #128C7E;
}

.telegram {
    background-color: #0088cc;
}

.telegram:hover {
    background-color: #006699;
}

.max {
    background-color: #1E3A8A;
}

.max:hover {
    background-color: #2563EB;
}

/* Выпадающее меню */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: #1d5e3e;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.dropbtn i {
    color: #2E8B57;
    transition: all 0.3s;
}

.dropbtn:hover {
    background: #2E8B57;
    color: white;
}

.dropbtn:hover i {
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 10px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #1d5e3e;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item i {
    color: #2E8B57;
    width: 20px;
    font-size: 1rem;
}

.dropdown-item:hover {
    background: #90ed90;
    padding-left: 25px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .logo-block {
        justify-content: center;
    }
    
    .header-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .header-contacts {
        justify-content: center;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropbtn {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-content {
        width: 100%;
        position: relative;
        margin-top: 5px;
    }
}


/* НАВИГАЦИЯ ПО СТРАНИЦЕ */
.page-nav {
    background: white;
    padding: 15px 0;
    border-bottom: 3px solid #2E8B57;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.page-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.page-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #90ed90;
    color: #1d5e3e;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
    border: 2px solid transparent;
}

.page-nav-link i {
    color: #2E8B57;
    font-size: 0.9rem;
}

.page-nav-link:hover {
    background: #2E8B57;
    color: white;
    transform: translateY(-2px);
}

.page-nav-link:hover i {
    color: white;
}

/* ДЛЯ МОБИЛОК - меню в самый верх */
@media (max-width: 768px) {
    /* Шапка не липнет */
    .header {
        position: relative;
        top: auto;
    }
    
    /* Меню липнет к самому верху */
    .page-nav {
        top: 0 !important; /* ПРИЖИМАЕМ К ВЕРХУ */
    }
}


/* ЗАГОЛОВОК ДОМИКА */
.house-hero {
    background: linear-gradient(135deg, #90ed90, white);
    padding: 40px 20px;
    text-align: center;
}

.house-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1d5e3e;
    margin-bottom: 10px;
}

.house-subtitle {
    font-size: 1.2rem;
    color: #555;
}

/* ОБЩИЕ СТИЛИ ДЛЯ СЕКЦИЙ */
.section-title {
    text-align: center;
    color: #1d5e3e;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2E8B57;
}

/* ГАЛЕРЕЯ - компактная */

.house-gallery-section {
    padding: 40px 20px;  /* Уменьшили отступы */
    background-color: white;
}

.house-gallery-container {
    max-width: 1000px;  /* Уменьшили контейнер */
    margin: 0 auto;
}

.gallery-layout {
    display: flex;
    gap: 15px;  /* Уменьшили gap */
    margin-top: 20px;
}

/* Левая колонка с главным фото */
.gallery-main-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-main {
    flex: 1;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #2E8B57, #90ed90, #2E8B57, #90ed90);
    background-size: 300% 300%;
    animation: sparkle 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    position: relative;
}

/* Убрали блестки (::before и ::after удалены) */

.gallery-main-img {
    max-width: 99%;
    max-height: 99%;
    object-fit: contain;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 2px solid white;
    position: relative;
    z-index: 2;
}

/* Анимация мерцания фона */
@keyframes sparkle {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Звездочки вокруг фото (оставили) */
.gallery-main-wrapper {
    position: relative;
}

.gallery-main-wrapper::before,
.gallery-main-wrapper::after {
    content: '✨';
    position: absolute;
    font-size: 20px;
    color: gold;
    text-shadow: 0 0 10px yellow;
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

.gallery-main-wrapper::before {
    top: -10px;
    left: 20%;
    animation-delay: 0s;
}

.gallery-main-wrapper::after {
    bottom: -10px;
    right: 20%;
    animation-delay: 1.5s;
}

/* Анимация плавающих звездочек */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(-10px) rotate(10deg); opacity: 1; }
}
/* Кнопки навигации - компактнее */
.gallery-nav-btn {
    width: 35px;  /* Уменьшили */
    height: 35px;  /* Уменьшили */
    border-radius: 50%;
    background: white;
    border: 2px solid #2E8B57;
    color: #2E8B57;
    font-size: 1rem;  /* Уменьшили */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.gallery-nav-btn:hover {
    background: #2E8B57;
    color: white;
    transform: scale(1.1);
}

/* Правая колонка - сетка превью */
.gallery-thumbs-grid {
    width: 280px;  /* Фиксированная ширина для трех превью в ряд */
    display: flex;
    flex-direction: column;
    gap: 8px;  /* Расстояние между рядами */
}

.thumbs-row {
    display: flex;
    gap: 8px;  /* Расстояние между превью в ряду */
    justify-content: space-between;
}

/* Превьюшки в сетке */
.thumb-grid {
    width: 88px;  /* (280px - 16px gap) / 3 = 88px */
    height: 70px;  /* Чуть ниже, чтобы поместилось больше рядов */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.7;
    border: 2px solid transparent;  /* Уменьшили рамку */
}

.thumb-grid:hover {
    transform: scale(1.05);
    opacity: 1;
}

.thumb-grid.active {
    opacity: 1;
    border-color: #2E8B57;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
    .gallery-layout {
        flex-direction: column;
    }
    
    .gallery-main {
        height: 350px;
    }
    
    .gallery-thumbs-grid {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .thumbs-row {
        width: auto;
    }
    
    .thumb-grid {
        width: 100px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .gallery-main {
        height: 300px;
    }
    
    .thumb-grid {
        width: 90px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .gallery-main {
        height: 250px;
    }
    
    .gallery-nav-btn {
        width: 30px;
        height: 30px;
    }
    
    .thumb-grid {
        width: 80px;
        height: 60px;
    }
}

/* ВИДЕО */
.video-section {
    padding: 60px 20px;
    background-color: #90ed90;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    background: #333;
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-placeholder {
    text-align: center;
    color: white;
}

.video-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #2E8B57;
}

 

/* ========== ФИШКИ И ПРЕИМУЩЕСТВА ========== */

/* Основной блок */
.features-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Главная фишка (выделенная) */
.feature-special {
    background: linear-gradient(135deg, #2E8B57, #1d5e3e);
    border-radius: 20px;
    padding: 3px;
    box-shadow: 0 10px 20px rgba(46, 139, 86, 0.3);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
    margin-bottom: 25px;
}

.feature-special:hover {
    transform: scale(1.02);
}

.special-badge {
    position: absolute;
    top: -8px;
    left: 20px;
    background: gold;
    color: #1d5e3e;
    padding: 3px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

.special-content {
    background: white;
    border-radius: 18px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.special-content i {
    font-size: 2.5rem;
    color: #2E8B57;
    background: #e8f5e9;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-content h3 {
    color: #1d5e3e;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.special-content p {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

/* Подсказка для клика (общая для всех карточек) */
.click-hint {
    position: absolute;
    bottom: -8px;
    right: 5px;
    font-size: 0.7rem;
    color: #2E8B57;
    opacity: 0;
    transition: opacity 0.3s;
    background: white;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
}

.feature-card:hover .click-hint,
.feature-special:hover .click-hint {
    opacity: 1;
}

.feature-special .click-hint {
    bottom: -5px;
    right: 20px;
    color: white;
    background: rgba(0,0,0,0.3);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Сетка фишек */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, white);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46,139,86,0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #1d5e3e;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Теги фишек */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.feature-tag {
    background: #f0f7f0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #1d5e3e;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    border: 1px solid #2E8B57;
}

.feature-tag:hover {
    background: #2E8B57;
    color: white;
    transform: translateY(-2px);
}

.feature-tag i {
    font-size: 0.85rem;
}

/* ========== МОДАЛЬНОЕ ОКНО ДЛЯ ФИШЕК ========== */
.feature-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.feature-modal-content {
    background-color: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

.feature-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2E8B57;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    line-height: 1;
}

.feature-modal-close:hover {
    background: #1d5e3e;
    transform: scale(1.1) rotate(90deg);
}

.feature-modal-body {
    padding: 30px;
}

.feature-modal-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-modal-title {
    color: #1d5e3e;
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding-right: 40px;
}

.feature-modal-description {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .special-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .feature-modal-title {
        font-size: 1.5rem;
    }
    
    .feature-modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-special {
        margin-bottom: 15px;
    }
    
    .special-content {
        padding: 12px;
    }
    
    .special-content i {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .feature-tags {
        padding: 10px;
        gap: 6px;
    }
    
    .feature-tag {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
}

/* КАЛЕНДАРЬ */
.house-booking-section {
    padding: 40px 15px;  /* уменьшили отступы */
    background: linear-gradient(135deg, #90ed90, white);
}

.house-booking-container {
    max-width: 1100px;  /* чуть уже */
    margin: 0 auto;
}

.booking-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.calendar-container {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.selected-dates-info {
    width: 300px;  /* уже */
}

.selected-dates-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 120px;
}

.info-title {
    color: #1d5e3e;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.date-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.booking-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2E8B57, #1d5e3e);
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 15px;
}

.booking-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #666;
}
/* Стили для занятых дат с крестиком */
.flatpickr-day.flatpickr-disabled {
    position: relative;
    background: #ffebee !important;
    color: #c62828 !important;
    font-weight: bold;
    text-decoration: line-through;
}

.flatpickr-day.disabled::before,
.flatpickr-day.disabled::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 2px;
    background-color: #c62828;
    top: 50%;
    left: 15%;
}

.flatpickr-day.disabled::before {
    transform: rotate(45deg);
}

.flatpickr-day.disabled::after {
    transform: rotate(-45deg);
}

.flatpickr-day.disabled span {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
    .booking-wrapper {
        gap: 15px;
    }
    
    .calendar-container {
        min-width: 250px;
    }
    
    .selected-dates-info {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .booking-wrapper {
        flex-direction: column;
    }
    
    .calendar-container {
        width: 100%;
    }
    
    .selected-dates-info {
        width: 100%;
    }
    
    .selected-dates-card {
        position: static;  /* убираем sticky на мобилках */
        margin-top: 0;
    }
    
    .house-booking-section {
        padding: 30px 10px;
    }
    
    /* Уменьшаем календарь на мобилках */
    .flatpickr-calendar {
        width: 100% !important;
    }
    
    .flatpickr-months {
        padding: 5px !important;
    }
    
    .flatpickr-month {
        height: 30px !important;
    }
    
    .flatpickr-weekday {
        font-size: 0.8rem !important;
    }
    
    .flatpickr-day {
        max-width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .house-booking-section {
        padding: 20px 8px;
    }
    
    .calendar-container {
        padding: 12px;
    }
    
    .selected-dates-card {
        padding: 15px;
    }
    
    .info-title {
        font-size: 1.1rem;
    }
    
    .date-item {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .booking-submit-btn {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    /* Еще меньше календарь */
    .flatpickr-day {
        max-width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 0.8rem !important;
    }
    
    .flatpickr-current-month .flatpickr-monthDropdown-months {
        font-size: 0.9rem !important;
    }
    
    .flatpickr-current-month input.cur-year {
        font-size: 0.9rem !important;
    }
}

/* ========== ПРАВИЛА ПРОЖИВАНИЯ ========== */
.rules-section {
    padding: 40px 20px;
    background: white;
}

.rules-container {
    max-width: 1200px;  /* увеличил до 1200px */
    margin: 0 auto;
    width: 100%;
}

.rules-book {
    background: linear-gradient(135deg, #d0f0d0, #b0e0b0, #d0f0d0, #b0e0b0);
    background-size: 300% 300%;
    animation: sparkle 8s ease infinite;
    border-radius: 20px;
    padding: 20px;  /* уменьшил с 25px */
    box-shadow: 0 20px 40px rgba(46, 139, 86, 0.3);
    border: 2px solid white;
}

.book-cover {
    background: #8b6f4c;
    border-radius: 15px;
    padding: 12px;  /* уменьшил с 15px */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.book-content {
    background: #fff9f0;
    border-radius: 10px;
    padding: 15px;  /* уменьшил с 20px */
    position: relative;
    min-height: 320px;  /* уменьшил с 450px */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.book-pages {
    display: flex;
    gap: 30px;
    position: relative;
}

.page-left, .page-right {
    flex: 1;
    background: #fff5e6;
    border-radius: 8px;
    padding: 15px;  /* уменьшил с 20px */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-height: 280px;  /* уменьшил с 400px */
    position: relative;
}

/* Контент страниц */
.page-content {
    height: 100%;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 8px;  /* уменьшил */
    margin-bottom: 12px;  /* уменьшил */
    padding-bottom: 8px;  /* уменьшил */
    border-bottom: 2px solid #2E8B57;
}

.page-title i {
    font-size: 1.3rem;  /* уменьшил */
    color: #2E8B57;
}

.page-title h3 {
    font-size: 1.1rem;  /* уменьшил */
    margin: 0;
}

.book-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-rules-list li {
    display: flex;
    gap: 8px;  /* уменьшил */
    margin-bottom: 8px;  /* уменьшил */
    font-size: 0.85rem;  /* уменьшил */
    line-height: 1.3;  /* уменьшил */
    padding: 6px;  /* уменьшил */
    background: rgba(255,255,255,0.5);
    border-radius: 6px;  /* уменьшил */
    border-left: 3px solid #2E8B57;
}

/* Номера страниц */
.page-number {
    text-align: center;
    margin-top: 10px;  /* уменьшил */
    color: #8b6f4c;
    font-size: 0.75rem;  /* уменьшил */
}

/* Элементы управления */
.book-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;  /* уменьшил */
    padding: 10px 15px;  /* уменьшил */
    background: white;
    border-radius: 40px;  /* уменьшил */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.book-btn {
    background: #2E8B57;
    color: white;
    border: none;
    padding: 8px 20px;  /* уменьшил */
    border-radius: 30px;
    font-size: 0.9rem;  /* уменьшил */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;  /* уменьшил */
    transition: all 0.3s;
}

.page-info {
    font-size: 0.95rem;  /* уменьшил */
    color: #1d5e3e;
    font-weight: 600;
}

/* Адаптация */
@media (max-width: 992px) {
    .rules-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .book-pages {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-left, .page-right {
        min-height: 250px;
    }
    
    .book-controls {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .book-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

/* ИНТЕРЕСНО */
.interesting-section {
    padding: 60px 20px;
    background-color: #90ed90;
}

.interesting-container {
    max-width: 1000px;
    margin: 0 auto;
}

.videos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 40px;
}

.video-card {
    width: calc(33.33% - 17px);
    min-width: 250px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-thumb {
    height: 180px;
    background: linear-gradient(135deg, #667, #444);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb i {
    font-size: 3.5rem;
    color: white;
    opacity: 0.8;
}

.video-card h4 {
    padding: 15px;
    text-align: center;
    color: #1d5e3e;
    font-size: 1rem;
}

/* ПОДВАЛ */
.footer {
    background: linear-gradient(135deg, #1a3b2e, #0a2a1f);
    color: white;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo i {
    color: #2E8B57;
}

.footer-col p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 12px 0;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col ul li i {
    width: 20px;
    color: #2E8B57;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* МОДАЛЬНОЕ ОКНО */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 139, 74, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal h3 {
    color: #1d5e3e;
    margin-bottom: 20px;
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1d5e3e;
    font-weight: bold;
}

.modal-form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
}

.btn-submit {
    width: 100%;
    background: #2E8B57;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.selected-dates-summary {
    background: #90ed90;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

/* АДАПТАЦИЯ */
@media (max-width: 992px) {
    .booking-wrapper {
        flex-direction: column;
    }
    
    .selected-dates-info {
        width: 100%;
    }
    
    .feature-card {
        width: calc(50% - 13px);
    }
    
    .video-card {
        width: calc(50% - 13px);
    }
    
    .page-nav-container {
        gap: 8px;
    }
    
    .page-nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .logo-block {
        justify-content: center;
    }
    
    .header-nav {
        justify-content: center;
    }
    
    .header-contacts {
        justify-content: center;
    }
    
    .page-nav {
        top: 140px;
    }
    
    .page-nav-container {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .page-nav-link {
        flex-shrink: 0;
    }
    
    .house-title {
        font-size: 2.5rem;
    }
    
    .gallery-main {
        height: 350px;
    }
    
    .thumb {
        width: calc(33.33% - 10px);
        min-width: 80px;
        height: 80px;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .rule-item {
        width: 100%;
    }
    
    .video-card {
        width: 100%;
    }
    
    .footer-col {
        min-width: 100%;
        text-align: center;
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .house-title {
        font-size: 2rem;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .thumb {
        width: calc(50% - 8px);
        height: 60px;
    }
    
    .video-wrapper {
        height: 250px;
    }
    
    .page-nav {
        top: 180px;
    }
}