/*
 * ВИДНЫЙ - ТЕМАТИЧЕСКИЕ ШРИФТЫ ДЛЯ ЭКОЛОГИЧЕСКОГО ПОСЕЛКА
 * 
 * Используемые шрифты:
 * 1. Playfair Display - Элегантный serif для заголовков (премиальное ощущение)
 * 2. Lora - Красивый serif с курсивом для акцентных текстов и цитат
 * 3. Source Sans Pro - Современный sans-serif для навигации и интерфейса
 * 4. Merriweather - Читабельный serif для основного текста
 * 5. PT Serif - Резервный serif шрифт
 * 
 * Концепция: сочетание элегантности serif шрифтов с природной тематикой
 * создает ощущение премиального экологического проекта
 */

/* Цветовые переменные */
:root {
    --primary-color: #2d5a3d;      /* Темно-зеленый */
    --secondary-color: #8fbc8f;    /* Светло-зеленый */
    --accent-color: #ff7043;       /* Теплый оранжевый */
    --text-dark: #2c3e50;          /* Темно-серый */
    --text-light: #6c757d;         /* Светло-серый */
    --bg-light: #f8f9fa;           /* Светлый фон */
    --white: #ffffff;
    --brown-light: #d7ccc8;        /* Светло-коричневый */
    --green-soft: #e8f5e8;         /* Мягкий зеленый */
    
    /* Новые градиентные переменные */
    --gradient-green: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 50%, #a5d6a7 100%);
    --gradient-nature: linear-gradient(135deg, #f1f8e9 0%, #dcedc1 50%, #c5e1a5 100%);
    --gradient-warm: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ffcc80 100%);
    --gradient-light: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #eeeeee 100%);
    --gradient-eco: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 50%, #80cbc4 100%);
}

/* Основные стили */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', 'Merriweather', serif;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    font-weight: 400;
}

/* Заголовки используют элегантный serif шрифт для создания премиального ощущения */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'PT Serif', serif;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

/* Специальные стили для разных типов заголовков */
h1 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-weight: 600;
    line-height: 1.3;
}

h3, h4 {
    font-weight: 500;
    line-height: 1.4;
}

/* Для акцентных текстов используем Lora */
.accent-text, .lead, blockquote, .testimonial-text {
    font-family: 'Lora', serif;
    font-style: italic;
    line-height: 1.6;
}

/* Для навигации и кнопок - более современный sans-serif */
.navbar, .btn, .nav-link, .navbar-brand {
    font-family: 'Source Sans Pro', sans-serif !important;
}

/* Дополнительные стили для улучшения типографики */
p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.feature-highlight h5,
.card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.feature-highlight p,
.card-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}

/* Улучшение контрастности в hero feature highlights */
.hero-section .feature-highlight h5 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    font-weight: 600;
}

.hero-section .feature-highlight p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 500;
}

/* Форматирование для важных текстовых блоков */
.intro-text, .description-text {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Стили для цитат и выделенных блоков */
blockquote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--text-light);
}

.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* Заголовки секций */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

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

/* Кнопки */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e64a19;
    border-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 112, 67, 0.3);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Навигация */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.01em;
}

.navbar-brand .fw-bold {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.navbar-brand small {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-style: normal;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-phone {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    margin-right: 15px;
}

/* Hero секция */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-content .lead {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    font-weight: 400;
    line-height: 1.5;
}

/* Карточки */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.card-img-top {
    transition: transform 0.3s ease;
}

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

/* Блок о поселке */
.about-section {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 25%, #f0f9f7 50%, #e6f7f1 75%, #f5fbf8 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(45, 90, 61, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 112, 67, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

/* Добавление декоративных элементов */
.about-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 90, 61, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Улучшенный стиль для основного описания */
.about-section .row.align-items-center {
    position: relative;
    z-index: 2;
}

.about-section .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.about-section .lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* Стили для изображения */
.about-section img {
    position: relative;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        0 15px 30px rgba(45, 90, 61, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.about-section img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(45, 90, 61, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.about-section img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.15),
        0 25px 50px rgba(45, 90, 61, 0.15);
}

/* Улучшение контрастности текста в about секции */
.about-section h2, 
.about-section h3, 
.about-section h4, 
.about-section h5 {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    position: relative;
}

.about-section h3.h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #2c3e50 !important;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-section .text-muted {
    color: #34495e !important;
    font-weight: 400;
}

.about-section .feature-highlight p {
    color: #2c3e50 !important;
}

/* Улучшенная сетка преимуществ */
.features-grid {
    position: relative;
    z-index: 2;
}

.features-grid .col-lg-6.col-md-6,
.features-grid .col-lg-4.col-md-6,
.features-grid .col-lg-8.col-md-8 {
    margin-bottom: 2rem;
}



/* Улучшенные бейджи */
.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.feature-badge .badge {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Призыв к действию в конце секции */
.about-section .bg-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 20px;
    padding: 2.5rem !important;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 15px 30px rgba(45, 90, 61, 0.05);
    position: relative;
    overflow: hidden;
}

.about-section .bg-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
}

.about-section .bg-white h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-section .bg-white .btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e64a19 100%);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(255, 112, 67, 0.3);
    transition: all 0.3s ease;
}

.about-section .bg-white .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 112, 67, 0.4);
    background: linear-gradient(135deg, #e64a19 0%, var(--accent-color) 100%);
}

/* Новые стили для улучшенных элементов */

/* Бейджи в начале секции */
.section-tag .badge {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.section-tag .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Feature points - список с иконками */
.feature-points {
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,249,250,0.8) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(45, 90, 61, 0.1);
}

.feature-point {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 10px;
}

.feature-point:hover {
    background: rgba(45, 90, 61, 0.05);
    transform: translateX(5px);
}

.feature-point-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background: rgba(255,255,255,0.8);
    border: 2px solid rgba(45, 90, 61, 0.1);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-point-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.feature-point-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Кнопки CTA */
.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Overlay информация на изображении */
.image-overlay-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.info-card, .info-card-2 {
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.9) 0%, rgba(45, 90, 61, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.info-card {
    top: 20px;
    right: 20px;
    animation-delay: 0.3s;
}

.info-card-2 {
    bottom: 20px;
    left: 20px;
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.2rem;
}

.info-text {
    color: white;
}

.info-number {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.info-label {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1;
}

/* Секция преимуществ */
.advantages-section {
    margin-top: 3rem;
}



.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    border-radius: 3px;
}

/* CTA секция в конце */
.cta-content {
    position: relative;
}

.cta-icon {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

.cta-features {
    background: rgba(45, 90, 61, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(45, 90, 61, 0.1);
}

.cta-features small {
    font-weight: 500;
    color: var(--text-dark) !important;
}

/* Генплан */
.genplan-section {
    background: var(--gradient-light);
    position: relative;
}

.genplan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 112, 67, 0.02) 0%, rgba(45, 90, 61, 0.03) 100%);
    pointer-events: none;
}

.genplan-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Слоган CTA */
.slogan-cta {
    background: linear-gradient(135deg, #2d5a3d 0%, #1a3a28 50%, #2d5a3d 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.slogan-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.slogan-cta p {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Отзывы */
.testimonials-section {
    background: var(--gradient-nature);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

/* Улучшение контрастности в секции отзывов */
.testimonials-section h2,
.testimonials-section h3 {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.testimonials-section p {
    color: #2c3e50 !important;
    font-weight: 500;
}

.testimonials-section .text-muted {
    color: #34495e !important;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.testimonial-card blockquote,
.testimonial-card .testimonial-text {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-card .testimonial-author {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

/* Форма контактов */
.contact-section {
    background: var(--gradient-eco);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
}

/* Улучшение контрастности в секции контактов */
.contact-section h2,
.contact-section h3,
.contact-section h4 {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.contact-section p {
    color: #2c3e50 !important;
    font-weight: 500;
}

.contact-section .text-muted {
    color: #34495e !important;
}

.contact-section label {
    color: #2c3e50 !important;
    font-weight: 600;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 112, 67, 0.25);
}

/* Подвал */
.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: #e8f5e8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer a:hover {
    color: #ffffff;
}

.footer p {
    color: #e8f5e8;
    font-weight: 400;
}

.footer .text-muted {
    color: #c8e6c9 !important;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #e64a19;
}

/* Кнопка "Наверх" */
#backToTop {
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0 !important;
    border: none !important;
    min-width: 50px !important;
    font-size: 1.2rem;
}

#backToTop:hover {
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .slogan-cta h2 {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .hero-section {
        background-attachment: scroll;
        padding-top: 300px; /* Отступ сверху для мобильных */
    }
    
    .slogan-cta {
        padding: 60px 0;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card-body.horizontal {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .utilities-list,
    .services-list {
        justify-content: center;
    }
    
    /* Убираем лишний отступ справа */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    #backToTop {
        right: 15px !important;
        bottom: 15px !important;
    }
    
    /* Уменьшаем размер логотипа и текста в header на мобильных */
    .navbar-brand img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .navbar-brand .fw-bold {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .navbar-brand small {
        font-size: 0.65rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .feature-icon {
        margin: 0 auto 10px;
    }
    
    /* Новые responsive стили для about секции */
    .feature-points {
        margin-bottom: 2rem;
    }
    
    .feature-point {
        margin-bottom: 1rem !important;
    }
    
    .feature-point-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .info-card, .info-card-2 {
        padding: 10px 15px;
    }
    
    .info-card {
        top: 15px;
        right: 15px;
    }
    
    .info-card-2 {
        bottom: 15px;
        left: 15px;
    }
    
    .info-number {
        font-size: 1.2rem;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
    
    .section-tag .badge {
        font-size: 0.75rem;
        padding: 8px 12px;
        margin-bottom: 0.5rem;
        display: block;
        text-align: center;
    }
    
    .section-tag .badge.ms-2 {
        margin-left: 0 !important;
    }
    
    .cta-features .row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slogan-cta h2 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .navbar-phone {
        display: none;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    /* Дополнительные стили для about секции на мобильных */
    .about-section {
        padding: 60px 0;
    }
    
    .about-section h3.h2 {
        font-size: 2rem;
    }
    
    .feature-points {
        padding: 1rem;
    }
    
    .info-card, .info-card-2 {
        padding: 8px 12px;
    }
    
    .info-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .info-number {
        font-size: 1rem;
    }
    
    .info-label {
        font-size: 0.6rem;
    }
    
    .about-section .lead {
        font-size: 1.1rem;
        padding-left: 15px;
    }
    
    .about-section .lead::before {
        width: 3px;
    }
    
    .section-tag {
        text-align: center;
    }
    
    .advantages-section {
        margin-top: 2rem;
    }
    
    .about-section .bg-white {
        padding: 2rem 1.5rem !important;
        border-radius: 15px;
    }
    
    .cta-features {
        padding: 0.8rem;
    }
}

/* Дополнительные стили для анимаций */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для модальных окон */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--brown-light);
    background-color: var(--green-soft);
}

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

/* Улучшения для карусели */
.carousel-item img {
    border-radius: 15px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Карта */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Список генплана */
.genplan-list {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.genplan-list ol {
    counter-reset: item;
    padding-left: 0;
}

.genplan-list li {
    display: block;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    border-left: 3px solid var(--accent-color);
}

.genplan-list li:before {
    content: counter(item);
    counter-increment: item;
    background: var(--accent-color);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

/* О застройщике */
.developer {
    background: var(--gradient-warm) !important;
    position: relative;
}

.developer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.03) 0%, rgba(255, 204, 128, 0.05) 100%);
    pointer-events: none;
}

section[id="developer"] {
    background: var(--gradient-warm);
    position: relative;
}

section[id="developer"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

/* Улучшение контрастности в секции застройщика */
section[id="developer"] h2,
section[id="developer"] h3,
section[id="developer"] h4 {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

section[id="developer"] p {
    color: #2c3e50 !important;
    font-weight: 500;
}

section[id="developer"] .text-muted {
    color: #34495e !important;
}

/* Предложения секция */
section[id="offers"] {
    background: var(--gradient-light);
    position: relative;
}

section[id="offers"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 112, 67, 0.02) 0%, rgba(45, 90, 61, 0.03) 70%);
    pointer-events: none;
}

/* Секция расположения */
section[id="location"] {
    background: var(--gradient-eco);
    position: relative;
}

section[id="location"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
}

/* Улучшение контрастности в секции расположения */
section[id="location"] h2,
section[id="location"] h3,
section[id="location"] h4 {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

section[id="location"] p {
    color: #2c3e50 !important;
    font-weight: 500;
}

section[id="location"] .text-muted {
    color: #34495e !important;
}

/* ========================================
 * ОБЩИЕ УЛУЧШЕНИЯ КОНТРАСТНОСТИ ДЛЯ ЭКОПАРКА
 * ======================================== */

/* Улучшенная читабельность на всех цветных фонах */
.bg-light .text-muted,
.gradient-bg .text-muted {
    color: #2c3e50 !important;
    font-weight: 500;
}

/* Дополнительное затемнение для лучшей читабельности */
.section-text-contrast h1,
.section-text-contrast h2,
.section-text-contrast h3,
.section-text-contrast h4,
.section-text-contrast h5,
.section-text-contrast h6 {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.section-text-contrast p,
.section-text-contrast .lead {
    color: #2c3e50 !important;
    font-weight: 500;
}

.section-text-contrast .text-muted {
    color: #34495e !important;
    font-weight: 400;
}

/* Обеспечение читабельности кнопок на любом фоне */
.btn-primary {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-color: rgba(255,255,255,0.9);
}

/* Улучшенная видимость иконок */
.feature-icon {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

/* Контрастные карточки */
.card {
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* ========================================
 * ИСПРАВЛЕНИЕ ЦВЕТА text-primary ДЛЯ ЭКОПАРКА
 * ======================================== */

/* Заменяем стандартный Bootstrap text-primary на тематический цвет */
.text-primary {
    color: #2d5a3d !important; /* Используем наш основной темно-зеленый цвет */
}

/* Специальные стили для иконок с text-primary */
i.text-primary {
    color: #ff7043 !important; /* Акцентный оранжевый для иконок */
}

/* Цифры и числа с text-primary */
.h1.text-primary, 
.h2.text-primary, 
.h3.text-primary, 
.h4.text-primary, 
.h5.text-primary, 
.h6.text-primary,
h1.text-primary, 
h2.text-primary, 
h3.text-primary, 
h4.text-primary, 
h5.text-primary, 
h6.text-primary {
    color: #2d5a3d !important; /* Темно-зеленый для заголовков */
}

/* Специальные цвета для разных типов иконок */
.bi-building.text-primary,
.bi-hospital.text-primary,
.bi-mortarboard.text-primary,
.bi-cart.text-primary,
.bi-airplane.text-primary,
.bi-train-front.text-primary {
    color: #4caf50 !important; /* Зеленый для инфраструктурных иконок */
}

.bi-wind.text-primary,
.bi-droplet.text-primary,
.bi-tree-fill.text-primary,
.bi-tree.text-primary {
    color: #66bb6a !important; /* Светло-зеленый для природных иконок */
}

.bi-rulers.text-primary,
.bi-house.text-primary,
.bi-grid.text-primary {
    color: #ff7043 !important; /* Оранжевый для строительных иконок */
}

.bi-award.text-primary,
.bi-shield-check.text-primary,
.bi-clock.text-primary,
.bi-tools.text-primary {
    color: #2d5a3d !important; /* Темно-зеленый для преимуществ компании */
}

.bi-telephone.text-primary,
.bi-envelope.text-primary,
.bi-globe.text-primary,
.bi-geo-alt-fill.text-primary,
.bi-clock-fill.text-primary,
.bi-telephone-fill.text-primary,
.bi-envelope-fill.text-primary {
    color: #ff7043 !important; /* Оранжевый для контактных иконок */
}

/* ================================
   КРАСИВЫЕ КАРТОЧКИ ПРЕИМУЩЕСТВ
   ================================ */

.feature-card {
    border-radius: 15px;
    padding: 20px;
    transition: all 0.4s ease;
    background: #fff;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

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

.feature-card-body {
    position: relative;
    z-index: 2;
}

.feature-card-body.horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-content {
    flex: 1;
}

/* Иконки */
.feature-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card-body.horizontal .feature-icon {
    margin: 0;
}

.feature-card:hover .feature-icon,
.feature-card:hover .feature-icon-large {
    transform: scale(1.1) rotate(360deg);
}

/* Цветовые схемы карточек */
.feature-card-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-card-primary .feature-icon-large.security {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.feature-card-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.feature-card-success .feature-icon-large.eco {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.feature-card-info {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2c3e50;
}

.feature-card-info .feature-icon.architecture {
    background: rgba(103, 58, 183, 0.1);
    color: #673ab7;
}

.feature-card-warning {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b4513;
}

.feature-card-warning .feature-icon.family {
    background: rgba(255, 193, 7, 0.2);
    color: #ff6f00;
}

.feature-card-secondary {
    background: linear-gradient(135deg, #e3ffe7 0%, #d9e7ff 100%);
    color: #2c3e50;
}

.feature-card-secondary .feature-icon.management {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.feature-card-primary-light {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border: 2px solid #667eea;
    color: #2c3e50;
}

.feature-card-primary-light .feature-icon.utilities {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.feature-card-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.feature-card-dark .feature-icon.roads {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.feature-card-info-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #17a2b8;
    color: #2c3e50;
}

.feature-card-info-light .feature-icon.services {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

/* Цветные рамки для единого стиля */
.feature-card-primary-border {
    border-color: #667eea !important;
}

.feature-card-primary-border .feature-icon {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.feature-card-success-border {
    border-color: #28a745 !important;
}

.feature-card-success-border .feature-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.feature-card-purple-border {
    border-color: #673ab7 !important;
}

.feature-card-purple-border .feature-icon {
    background: rgba(103, 58, 183, 0.1);
    color: #673ab7;
}

.feature-card-orange-border {
    border-color: #ff6f00 !important;
}

.feature-card-orange-border .feature-icon {
    background: rgba(255, 111, 0, 0.1);
    color: #ff6f00;
}

.feature-card-gray-border {
    border-color: #6c757d !important;
}

.feature-card-gray-border .feature-icon {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.feature-card-dark-border {
    border-color: #343a40 !important;
}

.feature-card-dark-border .feature-icon {
    background: rgba(52, 58, 64, 0.1);
    color: #343a40;
}

.feature-card-pink-border {
    border-color: #e91e63 !important;
}

.feature-card-pink-border .feature-icon {
    background: rgba(233, 30, 99, 0.1);
    color: #e91e63;
}

.feature-card-gradient {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #2c3e50;
}

.feature-card-gradient .feature-icon.transport {
    background: rgba(255, 154, 158, 0.2);
    color: #e91e63;
}

/* Заголовки и описания */
.feature-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-card-primary .feature-title,
.feature-card-success .feature-title,
.feature-card-dark .feature-title {
    color: white;
}

.feature-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.feature-card-primary .feature-description,
.feature-card-success .feature-description,
.feature-card-dark .feature-description {
    color: rgba(255,255,255,0.9);
}

/* Бейджи */
.feature-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Дополнительные элементы */
.utilities-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.utility-item {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.services-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.service-item {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.transport-info {
    margin-top: 8px;
    padding: 6px 10px;
    background: rgba(233, 30, 99, 0.1);
    border-radius: 8px;
    text-align: center;
}

.transport-info small {
    color: #e91e63;
    font-weight: 500;
}

/* Стили для тегов в зависимости от цвета рамки */
.feature-card-primary-border .utility-item {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.feature-card-pink-border .transport-info {
    background: rgba(233, 30, 99, 0.1);
}

.feature-card-pink-border .transport-info small {
    color: #e91e63;
}

/* Адаптивность */
@media (max-width: 768px) {
    .feature-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .feature-card-body.horizontal {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .utilities-list,
    .services-list {
        justify-content: center;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
} 