/* Root Variables */
:root {
    --primary-color: #4a7c59; /* Green */
    --secondary-color: #f8b400; /* Yellow accent */
    --light-color: #f9f7f3; /* Off-white */
    --dark-color: #1e2923; /* Dark green */
    --text-color: #333333;
    --border-radius: 25px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.btn-primary:hover {
    background-color: #3d6a4b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(248, 180, 0, 0.3);
}

.btn-secondary:hover {
    background-color: #e0a40c;
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(248, 180, 0, 0.4);
}

/* Header */
.header {
    position: absolute;
    width: 100%;
    z-index: 100;
    padding: 15px 0 10px;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo-nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 0;
}

.logo {
    padding: 0;
}

.logo img {
    height: 110px;
    transition: all 0.3s ease;
    max-width: 100%;
    object-fit: contain;
}

.main-nav {
    margin-left: 30px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 15px;
}

.main-nav ul li a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
    border-radius: 25px;
    padding: 8px 12px;
    background-color: rgba(74, 124, 89, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.main-nav ul li a:after {
    display: none;
}

.main-nav ul li a:hover:after {
    display: none;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 5px;
    width: 100%;
}

.phone {
    color: white;
    font-weight: 700;
    text-decoration: none;
    margin-right: 20px;
    font-size: 1.1rem;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
    background-color: rgba(248, 180, 0, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.phone:hover {
    color: white;
    background-color: rgba(248, 180, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.callback-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
    border-radius: 25px;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.callback-btn:hover {
    background-color: white;
    color: var(--primary-color);
    text-shadow: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 999;
    padding: 80px 20px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-contact {
    margin-top: 40px;
    text-align: center;
}

.mobile-contact .phone {
    display: block;
    margin-bottom: 20px;
}

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

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide.temp-slide {
    opacity: 0.5;
    z-index: 3;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    color: #fff;
    text-align: left;
    max-width: 600px;
    margin: 0;
    padding: 30px;
    opacity: 0;
    transition: all 0.8s ease;
    position: absolute;
    top: 55%;
    left: 50px;
    transform: translateY(-50%);
    z-index: 5;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-content h1, 
.hero-content p,
.hero-content .btn {
    padding-left: 0;
    margin-left: 0;
}

.hero-content .btn {
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 220px;
    text-align: center;
    margin-top: 50px;
    align-self: flex-start;
    border-radius: 25px;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    min-height: 115px;
    display: flex;
    align-items: flex-start;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.hero-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.hero-slider-prev,
.hero-slider-next {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-slider-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.hero-slider-dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 124, 89, 0.6);
    transform: translateX(-100%);
    animation: slideProgress 7s linear forwards;
}

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

.hero-slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.about-text {
    flex: 1 1 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,240,240,0.8) 100%);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--primary-color);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../photo/fons-onas.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.about-text::after {
    display: none;
}

.about-text p, .about-text h3 {
    position: relative;
    z-index: 3;
    color: var(--dark-color);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.about-text p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.about-features {
    margin: 20px 0;
    list-style: none;
    position: relative;
    z-index: 3;
}

.about-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--dark-color);
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-features li:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.about-features li i {
    color: white;
    margin-right: 12px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5b3a 100%);
    border-radius: 50%;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(74, 124, 89, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 4;
    transition: transform 0.3s ease;
}

.about-features li:hover i {
    transform: scale(1.1) rotate(5deg);
}

.about-text .btn {
    margin-top: 20px;
    position: relative;
    z-index: 3;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.about-text .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(74, 124, 89, 0.5);
}

.about-infographics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.about-infographics .info-card:nth-child(1),
.about-infographics .info-card:nth-child(2) {
    align-self: start;
}

.about-infographics .info-card:nth-child(3),
.about-infographics .info-card:nth-child(4) {
    align-self: start;
}

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    aspect-ratio: 1 / 1; /* Квадратная форма */
    height: 180px; /* Уменьшаем высоту карточек */
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Равномерное распределение элементов */
    padding: 12px;
    width: 100%;
    height: 100%;
}

.circle-icon {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 50% !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    flex-shrink: 0;
    flex-grow: 0;
    margin-bottom: 5px; /* Уменьшаем отступ */
}

.circle-icon i {
    font-size: 24px;
    color: white;
}

.circle-icon i.fa-tree {
    font-size: 22px;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-icon i {
    font-size: 30px;
    color: white;
}

.counter-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0; /* Убираем отступы у счетчика */
    line-height: 1;
    transition: all 0.3s ease;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-label {
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: 500;
    line-height: 1.3;
    height: 45px; /* Увеличиваем высоту для текста */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Добавляем специальные стили для второй карточки с 7 сотками */
.about-infographics .info-card:nth-child(2) .info-label {
    line-height: 1.2;
    padding-top: 3px;
}

/* Houses Section */
.houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.house-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    transform: translateZ(0);
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 10px;
}

.house-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.house-image {
    height: 240px; /* Увеличиваем высоту изображения */
    overflow: hidden;
}

.house-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.house-card:hover .house-image img {
    transform: scale(1.05);
}

.house-info {
    padding: 20px;
}

.house-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.house-features {
    margin-bottom: 20px;
}

.house-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.house-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.house-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Advantages Section */
.advantages {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.advantages-bg {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background-image: url('../photo/fons-onas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.advantage-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    background: transparent;
    border: none;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
    transform: translateY(-5px);
}

.advantage-item:hover .advantage-icon img {
    transform: scale(1.08);
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
}

.advantage-item p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .advantages::before {
        top: 40px;
        left: 3%;
        width: 94%;
        height: calc(100% - 80px);
    }
}

@media (max-width: 768px) {
    .advantages::before {
        display: none;
    }
    
    .advantage-item {
        padding: 25px;
    }
    
    .advantage-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }
    
    .advantage-icon i {
        font-size: 30px;
    }
}

/* Infrastructure Section */
.infrastructure-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.infrastructure-map {
    flex: 0 0 48%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.infrastructure-list {
    flex: 0 0 48%;
}

.infrastructure-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.infrastructure-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.infra-icon {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(74, 124, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.infra-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.infra-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

/* Contact Form Section */
.contact-form {
    background-color: rgba(74, 124, 89, 0.05);
}

.contact-form-inner {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 0;
    left: 10px;
    transform: translateY(-50%);
    background-color: white;
    padding: 0 5px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.form-group input::placeholder {
    color: transparent;
}

.privacy-policy {
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
    text-align: center;
}

/* Contacts Section */
.contacts-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contacts-info {
    flex: 0 0 40%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(74, 124, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-link i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
}

.social-link:hover i {
    color: white;
}

.contacts-map {
    flex: 0 0 55%;
    position: relative;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
}

.footer-nav ul li {
    margin-bottom: 15px;
}

.footer-nav ul li a {
    color: #ccc;
}

.footer-nav ul li a:hover {
    color: white;
}

.footer-contact {
    color: #ccc;
}

.footer-phone {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.footer-social {
    display: flex;
}

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social .social-link i {
    color: white;
}

.footer-social .social-link:hover {
    background-color: white;
}

.footer-social .social-link:hover i {
    color: var(--dark-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    text-align: center;
}

/* Media Queries */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-content {
        left: 40px;
        max-width: 550px;
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 42px;
        min-height: 100px;
    }
    
    .hero-content p {
        min-height: 50px;
        font-size: 18px;
    }
    
    .hero-content .btn {
        margin-top: 40px;
    }
    
    .hero-slider-dots {
        left: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .about-stats {
        flex: 0 0 100%;
    }
    
    .infrastructure-content {
        flex-direction: column;
    }
    
    .infrastructure-map, 
    .infrastructure-list {
        flex: 0 0 100%;
    }
    
    .infrastructure-map {
        margin-bottom: 30px;
    }
    
    .contacts-content {
        flex-direction: column;
    }
    
    .contacts-info, 
    .contacts-map {
        flex: 0 0 100%;
    }
    
    .contacts-info {
        margin-bottom: 30px;
    }

    .logo-nav-container {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul li {
        margin: 5px;
    }

    .logo img {
        height: 95px;
    }

    .about-text {
        padding: 25px;
    }
    
    .about-features li {
        padding: 6px 12px;
    }
    
    .info-card {
        height: 180px;
    }
    
    .counter-value {
        font-size: 3.5rem;
        height: 60px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
    }
    
    .circle-icon {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
    }
    
    .circle-icon i {
        font-size: 24px;
    }
    
    .circle-icon i.fa-tree {
        font-size: 22px;
    }
    
    .info-card:nth-child(2) .circle-icon {
        margin-top: 6px;
        top: 2px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .header-inner {
        padding: 0;
    }
    
    .main-nav, 
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        padding: 0;
    }
    
    .hero {
        height: 600px;
    }
    
    .hero-content {
        left: 30px;
        max-width: 80%;
        padding: 20px;
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
        min-height: 80px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
        min-height: 45px;
    }
    
    .hero-content .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 180px;
        margin-top: 30px;
    }
    
    .hero-slider-dots {
        left: 30px;
        bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, 
    .footer-nav, 
    .footer-contact, 
    .footer-social {
        margin-bottom: 30px;
    }
    
    .footer-social {
        justify-content: center;
    }

    .logo-nav-container {
        justify-content: space-between;
        padding: 0;
    }

    .logo img {
        height: 80px;
    }

    .header-contact {
        display: none;
    }

    .about-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .about-text, 
    .about-infographics {
        flex: 1 1 100%;
    }
    
    .about-infographics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }
    
    .hero-content {
        left: 20px;
        max-width: 90%;
        padding: 15px;
        height: 220px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
        min-height: 70px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
        min-height: 40px;
    }
    
    .hero-content .btn {
        padding: 8px 15px;
        font-size: 12px;
        min-width: 150px;
        margin-top: 20px;
    }
    
    .hero-slider-dots {
        left: 20px;
        bottom: 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .logo img {
        height: 70px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }

    .about-infographics {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding: 20px;
    }
    
    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .about-text p:first-of-type {
        font-size: 1rem;
    }
    
    .about-features li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .about-features li i {
        width: 1.6rem;
        height: 1.6rem;
    }
    
    .info-card {
        height: 150px;
    }
    
    .counter-value {
        font-size: 2.5rem;
        height: 45px;
    }
    
    .info-label {
        font-size: 0.85rem;
        height: 35px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .circle-icon {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
    }
    
    .circle-icon i {
        font-size: 20px;
    }
    
    .circle-icon i.fa-tree {
        font-size: 18px;
    }
    
    .info-card:nth-child(2) .circle-icon {
        margin-top: 4px;
        top: 1px;
    }
}

/* Offset for section anchors */
#about, #houses, #advantages, #infrastructure, #contacts, #contact-form {
    scroll-margin-top: 150px;
    padding-top: 30px;
}

/* Стиль для позиционирования круга с ёлкой */
.info-card:nth-child(2) .circle-icon {
    margin-top: 0;
    position: relative;
    top: 0;
}

.circle-icon i.fa-tree {
    font-size: 24px;
}

@media (max-width: 1024px) {
    .circle-icon {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
    
    .circle-icon i {
        font-size: 22px;
    }
    
    .circle-icon i.fa-tree {
        font-size: 20px;
    }
    
    .counter-value {
        font-size: 3.2rem;
        height: 55px;
    }
    
    .info-label {
        font-size: 0.85rem;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .circle-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }
    
    .circle-icon i {
        font-size: 18px;
    }
    
    .circle-icon i.fa-tree {
        font-size: 16px;
    }
    
    .counter-value {
        font-size: 2.5rem;
        height: 45px;
    }
    
    .info-label {
        font-size: 0.8rem;
        height: 35px;
    }
}

/* Стили для карусели домов */
.houses-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 60px; /* Увеличиваем отступы для кнопок */
    margin: 0 auto;
}

.houses-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.house-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    transform: translateZ(0);
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 10px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

@media (max-width: 1024px) {
    .house-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .house-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .house-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .houses-carousel-container {
        padding: 0 20px;
    }
}

/* План поселка */
.village-plan-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.village-plan {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

.village-map {
    width: 100%;
    height: auto;
    display: block;
}

.village-plan-legend {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 15px;
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.status-indicator.available {
    background-color: #4CAF50;
}

.status-indicator.sold {
    background-color: #FFC107;
}

.legend-text {
    font-size: 0.9rem;
    color: var(--dark-color);
}

.village-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.village-info-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.village-info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.village-info-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.village-features {
    list-style: none;
    padding: 0;
}

.village-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #666;
}

.village-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.village-info-item .btn {
    margin-top: 10px;
    width: 100%;
}

@media (max-width: 1024px) {
    .village-plan-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .village-plan-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Стили для черно-белой карты */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.4s ease;
}

.map-container:hover iframe {
    filter: grayscale(50%) contrast(1.1) brightness(1);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    border-radius: var(--border-radius);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.contacts-map {
    flex: 0 0 55%;
    position: relative;
}

.contacts-info {
    flex: 0 0 40%;
} 