:root {
    --primary-color: #2a7d2e;
    --secondary-color: #1e5a23;
    --accent-color: #f8b739;
    --light-color: rgba(255, 255, 255, 0.9);
    --dark-color: #2c3e50;
    --text-color: #ffffff;
    --gray-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    min-height: 100vh;
    background-color: #0a1f0c;
    overflow-x: hidden;
}

/* Фоновое изображение */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    z-index: -1;
    background-color: #0a1f0c; /* Запасной цвет, если картинка долго грузится */
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.5);
    will-change: transform; 
}

.container {
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative;
}

.section { padding: 80px 0; position: relative; }

.section-title {
    text-align: center; font-size: 36px; margin-bottom: 50px;
    color: var(--text-color); position: relative; font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.section-title:after {
    content: ''; position: absolute; width: 80px; height: 3px;
    background-color: var(--accent-color); bottom: -15px; left: 50%;
    transform: translateX(-50%);
}



/* HEADER & BURGER MENU */
header {
    background-color: rgba(10, 31, 12, 0.9); padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 28px; font-weight: 700; color: var(--text-color); text-decoration: none; display: flex; align-items: center; }
.logo i { margin-right: 10px; color: var(--accent-color); }

.main-nav { display: flex; gap: 25px; align-items: center; }
.nav-link { color: var(--text-color); text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--accent-color); }

.burger-menu {
    display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001;
}
.burger-menu span {
    width: 30px; height: 3px; background-color: var(--text-color);
    border-radius: 3px; transition: all 0.3s ease;
}



/* Республика Адыгея */
.region-section {
    padding: 100px 0 60px;
    background: linear-gradient(to bottom, rgba(10, 31, 12, 0.8), rgba(10, 31, 12, 0.6));
}
.region-title {
    text-align: center; font-size: 48px; color: var(--text-color);
    margin-bottom: 40px; font-weight: 800; text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    position: relative;
}
.region-title:after {
    content: ''; position: absolute; width: 100px; height: 3px;
    background-color: var(--accent-color); bottom: -15px; left: 50%;
    transform: translateX(-50%);
}
.region-text {
    font-size: 18px; line-height: 1.8; color: var(--text-color);
    margin-bottom: 25px; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center; max-width: 900px; margin-left: auto; margin-right: auto;
}



/* СТИЛИ SWIPER (Общие) */
.swiper-pagination-bullet { background: rgba(255, 255, 255, 0.7) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--accent-color) !important; transform: scale(1.3); }
.swiper-button-next, .swiper-button-prev { color: var(--accent-color) !important; background: rgba(0,0,0,0.5); width: 45px !important; height: 45px !important; border-radius: 50%; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 20px !important; font-weight: bold; }



/* Слайдер Регион */
.slider-container { max-width: 1000px; margin: 40px auto 0; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.region-swiper { width: 100%; height: 500px; }
.region-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }


/* Фотогалерея дома */
.house-gallery-container { 
    background: linear-gradient(to bottom, rgba(10, 31, 12, 0.7), rgba(10, 31, 12, 0.9)); 
    padding: 60px 0; 
}
.house-gallery { 
    position: relative; 
    margin-top: 30px; 
    padding: 0 0 30px 0; 
}

/*Текст под фотографиями*/
p { text-align: center } 
/* Настройки Swiper для галереи */
.gallery-swiper { 
    width: 100%;
    overflow: hidden; 
}

.gallery-item { 
    display: block; 
    height: 280px; 
    position: relative; 
    border-radius: 10px; 
    overflow: hidden; 
    cursor: pointer; 
}

.gallery-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s; 
}
.gallery-item:hover .gallery-img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1;}
.gallery-overlay i { font-size: 40px; color: var(--accent-color); text-shadow: 0 0 10px rgba(0,0,0,0.5); }

/* Элементы управления (стрелки и точки) */
.gallery-nav-controls { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    position: relative; 
    margin-top: 20px; 
    height: 50px;
}
/* Сбрасываем абсолютное позиционирование стандартных кнопок Swiper */
.gallery-nav-controls .swiper-button-prev, 
.gallery-nav-controls .swiper-button-next { 
    position: static; 
    margin-top: 0; 
}
.gallery-nav-controls .swiper-pagination { 
    position: static; 
    width: auto; 
}


/* О доме */
.house-info-section { background: linear-gradient(to bottom, rgba(10, 31, 12, 0.8), rgba(10, 31, 12, 0.6)); padding: 80px 0; }
.house-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.info-card {
    background-color: rgba(255, 255, 255, 0.1); padding: 30px; border-radius: 10px;
    backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}
.info-title { font-size: 22px; color: var(--accent-color); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-color); }
/* Полная очистка списка от браузерных точек для мобилок и ПК */
ul.info-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.info-list li {
    /* ПРЕВРАЩАЕМ В ОБЫЧНЫЙ ТЕКСТ */
    display: block !important; 
    
    /* Убираем любые маркеры */
    list-style-image: none !important;
    list-style-type: none !important;
    
    /* Обнуляем все отступы */
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
    
    /* Расстояние между строчками */
    margin-bottom: 10px;
}





/* Развлечения и экскурсии */
.activities-section { background: linear-gradient(to bottom, rgba(10, 31, 12, 0.6), rgba(10, 31, 12, 0.8)); padding: 80px 0; }
.activities { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 40px; }
.activity-column { flex: 1; min-width: 300px; }
.activity-item {
    background-color: rgba(255, 255, 255, 0.1); padding: 20px; margin-bottom: 15px;
    border-radius: 10px; display: flex; align-items: center;
    backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1);
}
.activity-item i { color: var(--accent-color); margin-right: 15px; font-size: 20px; min-width: 25px; text-align: center; }



/* Отзывы */
.reviews-section { background: linear-gradient(to bottom, rgba(10, 31, 12, 0.8), rgba(10, 31, 12, 0.6)); padding: 80px 0; }
.reviews-container { max-width: 1000px; margin: 0 auto; position: relative; padding: 20px 0; }
.review-card {
    background-color: rgba(255, 255, 255, 0.1); padding: 30px; border-radius: 10px;
    backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%; display: flex; flex-direction: column; justify-content: space-between;
}
.review-text { font-style: italic; margin-bottom: 20px; line-height: 1.7; color: var(--text-color); }
.review-author { font-weight: 600; color: var(--accent-color); text-align: right; }
.reviews-nav-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 30px; position: relative; height: 50px;}
.reviews-nav-controls .swiper-button-prev, .reviews-nav-controls .swiper-button-next { position: static; margin-top: 0; }
.reviews-nav-controls .swiper-pagination { position: static; width: auto; }



/* Контакты */
.contacts-section { background: linear-gradient(to bottom, rgba(10, 31, 12, 0.9), rgba(10, 31, 12, 1)); padding: 80px 0; flex: 1 0 auto;}
.contacts-content { display: flex; flex-wrap: wrap; gap: 50px; margin-top: 40px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-item { display: flex; align-items: center; margin-bottom: 20px; }
.contact-item i {
    width: 40px; height: 40px; background-color: var(--accent-color); color: #000;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px;
}
.contact-link {
    display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px;
    background-color: var(--accent-color); color: #000; border-radius: 50%; text-decoration: none; font-size: 24px; transition: all 0.3s;
}
.contact-link:hover { background-color: #fff; transform: scale(1.1); }
.map-container {
    flex: 1; min-width: 300px; height: 400px; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}



/* Footer */
footer {
    background-color: #000 !important; /* Чисто черный цвет */
    padding-top: 40px;
    padding-bottom: 100px; /* Делаем футер "длинным" вниз на 500 пикселей */
    margin-bottom: -100px; /* Компенсируем это, чтобы не появилась лишняя прокрутка */
    text-align: center;
    position: relative;
    z-index: 99; /* Чтобы он точно был поверх фона и затемнения */
    width: 100%;
}

.footer-logo { font-size: 24px; 
               font-weight: 700; 
               color: var(--accent-color); 
               margin-bottom: 10px; 
               display: flex; 
               align-items: center; 
               justify-content: center; }
.footer-logo i { margin-right: 10px; }
.copyright { color: #aaa; 
             font-size: 14px; 
}


/* АДАПТИВНОСТЬ (Мобильные устройства) */
@media (max-width: 768px) {
    /* Бургер меню логика */
    .burger-menu { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 250px; height: 100vh;
        background-color: rgba(10, 31, 12, 0.98); flex-direction: column;
        padding: 80px 20px 20px; transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    .main-nav.active { right: 0; }
    .nav-link { font-size: 20px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
    
    /* Анимация бургера */
    .burger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .logo { font-size: 22px; }
    .region-title { font-size: 32px; }
    .region-text { font-size: 16px; }
    .region-swiper { height: 300px; }
    
    .section-title { font-size: 28px; margin-bottom: 30px; }
    .contacts-content { gap: 30px; }
    .map-container { height: 300px; }
}

@media (max-width: 480px) {
    .region-title { font-size: 26px; }
    .region-swiper { height: 250px; }
    .info-card { padding: 20px; }
    .gallery-item { height: 220px; }
}


