﻿:root {
    --primary-green: #859737;
    --light-green: #d0db9d;
    --dark-green: #085436;
    --olive-green: #a6ac5a;
    --light-olive: #b4b46c;
    --teal-green: #356c57;
    --accent-coral: #D027FF;
    --accent-lime: #72F211;
    --background-light: #f7fbf6;
    --secondary-blue: #004d72;
}

body {
    padding-top: 76px; /* Высота навигационной панели */
}

@media (max-width: 991.98px) {
    body {
        padding-top: 56px; /* Меньшая высота на мобильных */
    }
}

/* Титульная страница на всю высоту */
.hero-section {
    min-height: calc(100vh - 76px);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    padding: 0;
    overflow: hidden;
}

/* Фоновая картинка */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./home.jpg') no-repeat center center/cover;
    z-index: -2;
}

/* Градиентный оверлей для сочности */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*            background: linear-gradient(
                135deg, 
                rgba(8, 84, 54, 0.65) 0%, 
                rgba(53, 108, 87, 0.5) 50%, 
                rgba(133, 151, 55, 0.4) 100%
            );*/
    background-color: rgba(33, 33, 33, .45);
    z-index: -1;
}

/* Логотип в навигации */
.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--accent-lime);
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-icon::after {
        content: "🌿";
        font-size: 18px;
    }

/* Навигация */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 76px; /* Фиксированная высота навигации */
}

.mar-t-7{
    margin-top:7px;
}

@media (max-width: 991.98px) {
    .navbar {
        height: 56px; /* Меньшая высота на мобильных */
    }
}

.navbar-nav .nav-link {
    color: var(--dark-green) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--accent-coral) !important;
    }

/* Исправления для мобильного меню */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
    margin-right: 0; /* Убедимся, что кнопка не уходит за край */
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

/* Основной контент титульной страницы */
.hero-content {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 3px 0px #898999;
    /*text-shadow: 0 2px 4px rgba(0,0,0,0.3);*/
}

.section-padding {
    padding: 80px 0;
}

.light-bg {
    background-color: var(--background-light);
}

.eco-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.eco-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 14px 1px rgba(0,0,0,0.2);
}


.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--background-light);
    color: var(--secondary-blue);
    font-size: 32px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-green);
    color: white;
    border: none;
    font-weight: 600;
}

.nav-pills .nav-link {
    color: var(--text-dark);
    margin: 5px;
    transition: all 0.3s;
}

    .nav-pills .nav-link:hover {
        background-color: var(--background-light);
    }

.stats-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 10px 10px 14px 1px rgba(0,0,0,0.2);
    margin: 15px 0;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-blue);
    display: block;
}

.feature-badge {
    background: var(--accent-bright);
    color: var(--text-dark);
    padding: 8px 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.15);
}

/* Ключевые функции */
.key-features {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-olive) 100%);
}

.key-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.key-feature-icon {
    background-color: #238c2a;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.key-feature-content h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.key-feature-content p {
    color: var(--teal-green);
    margin-bottom: 0;
}


/* Подвал */
.footer {
    background-color: var(--dark-green);
    color: white;
    padding: 3rem 0 1.5rem;
}

    .footer h5 {
        color: var(--accent-lime);
        margin-bottom: 1.2rem;
        font-weight: 600;
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.7rem;
    }

    .footer-links a {
        color: var(--light-green);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--accent-lime);
        }

.footer-contact {
    color: var(--light-green);
}

    .footer-contact i {
        color: var(--accent-lime);
        margin-right: 0.5rem;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--light-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Список возможностей */
.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list li {
padding: 0.5rem 0;
position: relative;
padding-left: 2rem;
font-size: 1.1rem;
text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-lime);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Кнопки */
.btn-primary-custom {
    background-color: var(--accent-lime);
    border-color: var(--accent-lime);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: black;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    line-height: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-primary-custom:hover {
        background-color: #e67e00;
        border-color: #e67e00;
        transform: translateY(-2px);
        color: white;
        box-shadow: 0 6px 16px rgba(255, 140, 0, 0.4);
    }

.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    line-height: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-outline-custom:hover {
        background-color: var(--accent-lime);
        color: var(--dark-green);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(114, 242, 17, 0.3);
    }

/* Разделы */
.section-padding {
    padding: 5rem 0;
}

.section-padding-bt {
    padding-bottom: 5rem;
}

.section-title {
    color: var(--dark-green);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Карточки */
.feature-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: rgba(133, 151, 55, 0.1);
    font-size: 1.8rem;
    color: var(--primary-green);
}

/* Бейджи */
.badge-custom-primary {
    background-color: var(--accent-coral);
    color: white;
}

.badge-custom-secondary {
    background-color: var(--primary-green);
    color: white;
}

.logoBox {
    display: inline-block;
    width: 75px;
}

.main_BrandName {
    display: inline-block;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 10px;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

        .navbar-nav .nav-item {
            margin: 5px 0;
        }

        .navbar-nav .nav-link {
            padding: 10px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

            .navbar-nav .nav-link:hover {
                background-color: rgba(133, 151, 55, 0.1);
            }

        .navbar-nav .btn {
            margin: 10px 0 0 0;
            width: 100%;
            justify-content: center;
        }

    .navbar-brand_name {
        font-size: 1.04rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }
}
