/* Убираем отступ для главной страницы */
body.landing-page {
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    /*background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);*/
    background: url('/img/hero/landing_hero.jpg') center/cover;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    margin: 0 10px 10px 0;
    border-radius: 50px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--eco-light);
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

/* Stats Section */
.stats-section {
    background: var(--eco-brown);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-green);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Products Section - исправленная версия */
.products-section .row {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.products-section .col-md-3 {
    display: flex;
    margin-bottom: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: auto;
    aspect-ratio: 729/468;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 125, 50, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    border: 2px solid white;
    background: transparent;
    color: white;
    transition: all 0.3s ease;
}

.product-overlay .btn:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

.product-info {
    background: white;
    border-top: 1px solid #f0f0f0;
    padding: 1.5rem !important;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h5 {
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-info .text-muted {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Business Section */
.business-section .feature-item {
    border-left: 3px solid var(--light-green);
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.business-section .feature-item:hover {
    border-left-color: var(--primary-green);
    padding-left: 1.5rem;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrapper i {
    color: white;
    font-size: 1.2rem;
}

.feature-title {
    color: var(--dark-green);
    font-weight: 600;
}

.feature-description {
    line-height: 1.6;
}

.business-cta {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.business-visual img {
    transition: transform 0.3s ease;
}

.business-visual:hover img {
    transform: scale(1.02);
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптивность для лендинга */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .stats-section .col-6 {
        margin-bottom: 2rem;
    }

    .product-card {
        margin-bottom: 2rem;
    }

    .business-section .row {
        text-align: center;
    }

    .business-section .feature-item {
        margin-bottom: 2rem;
        padding-left: 1rem;
    }

    .feature-header {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon-wrapper {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }

    .feature-description {
        margin-left: 0 !important;
        text-align: center;
    }

    .business-cta .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .testimonial-card {
        margin-bottom: 2rem;
    }
}

/* Адаптивность для продуктов на разных экранах */
@media (max-width: 1200px) {
    .products-section .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .products-section .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-info {
        min-height: auto;
        padding: 1rem !important;
    }
}

/* Улучшение анимации AOS для товаров */
.product-card[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.product-card[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Products Section - исправленная версия */
.products-section {
    overflow: hidden;
}

.products-section .container {
    max-width: 100%;
}

.products-section .row {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.products-section .col-md-3 {
    display: flex;
    margin-bottom: 1.5rem;
    padding-left: 10px;
    padding-right: 10px;
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 1200px) {
    .products-section .col-md-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .products-section .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .products-section .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}