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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e20;
    max-width: 1090px;
    margin: 0 auto;
    background: #f5f0e8;
}

.container {
    padding: 40px 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a2912;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e20;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6b8e23, #228b22);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #3d5a27;
}

p {
    margin-bottom: 15px;
}

/* Блок 1: Hero - Джунгли */
#hero {
    background: linear-gradient(135deg, #1a4314 0%, #2d5016 50%, #3d6b1f 100%);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(107, 142, 35, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 139, 34, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #1a4314 0%, #2d5016 50%, #3d6b1f 100%);
    min-height: 470px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(85, 107, 47, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34, 139, 34, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1,
#hero h2,
#hero p {
    color: #e8f5e9;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#hero h2::after {
    background: linear-gradient(90deg, #a5d6a7, #66bb6a);
}

/* Кнопка CTA */
.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(85, 139, 47, 0.4);
    transition: all 0.3s ease;
    border: 2px solid #9ccc65;
}

.cta-button:hover {
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(85, 139, 47, 0.6);
}

/* Блок отзывов */
#reviews {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    position: relative;
}

#reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #7cb342, #558b2f, #33691e);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.review-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(85, 139, 47, 0.2);
    border-left: 5px solid #7cb342;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(85, 139, 47, 0.3);
}

.review-item h3 {
    color: #558b2f;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* Блок услуг */
#services {
    background: linear-gradient(135deg, #33691e 0%, #558b2f 50%, #689f38 100%);
    background-image:
        radial-gradient(circle at 15% 20%, rgba(139, 195, 74, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(124, 179, 66, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, #33691e 0%, #558b2f 50%, #689f38 100%);
    color: #e8f5e9;
}

#services h2,
#services h3 {
    color: #ffffff;
}

#services h2::after {
    background: linear-gradient(90deg, #a5d6a7, #81c784);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(165, 214, 167, 0.3);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(165, 214, 167, 0.5);
}

/* Статья */
.blog-post {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid #7cb342;
    position: relative;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #7cb342, #558b2f, #33691e, #689f38);
    border-radius: 20px;
    z-index: -1;
}

.blog-post h2 {
    color: #33691e;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.blog-post p {
    color: #2c3e20;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Блок команды */
#team {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-member {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    border-top: 5px solid #558b2f;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.team-member h3 {
    color: #2e7d32;
    margin-bottom: 8px;
}

.team-member .role {
    color: #7cb342;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 15px;
}

/* Формы */
#subscribe-form {
    background: linear-gradient(135deg, #558b2f 0%, #33691e 100%);
    color: #ffffff;
}

#subscribe-form h2 {
    color: #ffffff;
}

#subscribe-form h2::after {
    background: linear-gradient(90deg, #a5d6a7, #81c784);
}

#subscribe-form p {
    color: #e8f5e9;
}

form {
    max-width: 600px;
    margin: 30px auto 0;
}

input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #7cb342;
    border-radius: 10px;
    font-size: 1rem;
    background: #ffffff;
    color: #2c3e20;
    transition: all 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #558b2f;
    box-shadow: 0 0 10px rgba(124, 179, 66, 0.4);
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-button {
    width: 100%;
    padding: 15px 35px;
    background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.6);
}

/* Блок медиа */
#media {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

#media p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Блок отзыва */
#leave-review {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
}

/* Локация */
#location {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.map-container {
    margin-top: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(85, 139, 47, 0.3);
    border: 3px solid #7cb342;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: #e8f5e9;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin: 0;
}

footer .domainName {
    color: #a5d6a7;
    font-weight: bold;
}

/* Мобильная версия */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    #hero {
        min-height: 400px;
    }

    #hero h2 {
        font-size: 1.2rem;
    }

    .container {
        padding: 30px 15px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .reviews-grid,
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-post {
        padding: 25px 20px;
    }

    .blog-post h2 {
        font-size: 1.4rem;
    }

    form {
        margin-top: 20px;
    }

    input[type="email"],
    input[type="text"],
    textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .map-container iframe {
        height: 300px;
    }

    #hero::before,
    #hero::after {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    #hero {
        min-height: 470px;
    }

    .blog-post {
        padding: 20px 15px;
    }

    .review-item,
    .service-item,
    .team-member {
        padding: 20px;
    }
}
