


/* базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFBF0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 65px, rgba(0, 150, 60, 0.03) 80px, rgba(0, 150, 60, 0.03) 80.1px, transparent 80.5px, transparent 160px), repeating-linear-gradient(-45deg, transparent, transparent 65px, rgba(0, 150, 60, 0.03) 80px, rgba(0, 150, 60, 0.03) 80.1px, transparent 80.5px, transparent 160px);
    background-attachment: fixed;
    color: #1a2a1a;
    line-height: 1.5;
}
/*-------------------------------------------------------*/

/* шапка */

/* Большая шапка */
#main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.75) 0%, rgba(0, 180, 70, 0.8) 100%);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 150, 60, 0.25);
    z-index: 1000;
    transition: all 0.4s ease;
}

    #main-header.hidden {
        transform: translateX(-50%) translateY(-120%);
    }

/* Логотип */
.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    background: rgba(255,255,255,0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

/* Навигация в шапке */
.nav-menu {
    display: flex;
    gap: 32px;
}

    .nav-menu a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.2s;
    }

        .nav-menu a:hover {
            opacity: 0.8;
        }

/* Компактная шапка (появляется при скролле) */
#compact-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.95), rgba(0, 180, 70, 0.95));
    backdrop-filter: blur(12px);
    border-radius: 50px;
    display: flex;
    gap: 32px;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    white-space: nowrap;
}

    #compact-header.visible {
        opacity: 1;
        pointer-events: all;
    }

    #compact-header a {
        color: white;
        text-decoration: none;
        font-weight: 500;
    }
/*-------------------------------------------------------*/

/* основной контент */
.project-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 5% 80px;
}
/*-------------------------------------------------------*/

/* hero секция */
.project-hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero-badge {
    background: rgba(0, 180, 70, 0.15);
    color: #2e7d32;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.project-title {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.project-subtitle {
    font-size: 20px;
    color: #3a5a3a;
}
/*-------------------------------------------------------*/

/* инфо блоки */
.info-block {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.5);
}

    .info-block.reverse {
        flex-direction: row-reverse;
    }

.info-text {
    flex: 1;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.info-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #1a3a1a;
}

.info-text p {
    font-size: 18px;
    color: #2a4a2a;
    margin-bottom: 20px;
    line-height: 1.7;
}

.info-image {
    flex: 1;
}


/* Плейсхолдер для изображений */
.image-placeholder {
    background: rgba(0,150,60,0.1);
    border-radius: 32px;
    padding: 60px 20px;
    text-align: center;
    border: 2px dashed rgba(0,150,60,0.4);
    color: #2e7d32;
}

    .image-placeholder i {
        font-size: 64px;
        margin-bottom: 16px;
        display: block;
    }
/*-------------------------------------------------------*/

/* принциы */
.principles-block {
    margin-bottom: 80px;
}

.principles-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    background: rgba(0, 180, 70, 0.15);
    color: #2e7d32;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.principles-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a3a1a;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.principle-card {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.6);
}

    .principle-card:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,0.6);
    }

.principle-icon {
    width: 80px;
    height: 80px;
    background: rgba(0,150,60,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

    .principle-icon i {
        font-size: 36px;
        color: #2e7d32;
    }

.principle-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a3a1a;
}

.principle-card p {
    color: #3a5a3a;
    font-size: 15px;
    line-height: 1.6;
}
/*-------------------------------------------------------*/

/* заключительный блок*/
.conclusion-block {
    text-align: center;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.5);
}

    .conclusion-block h2 {
        font-size: 48px;
        color: #2e7d32;
        margin-bottom: 24px;
    }

    .conclusion-block p {
        font-size: 18px;
        color: #2a4a2a;
        max-width: 800px;
        margin: 0 auto 20px;
    }
/*-------------------------------------------------------*/

/* кнопки */
.btn-primary {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,150,60,0.4);
    }
/*-------------------------------------------------------*/

/* футер */
#main-footer {
    background: linear-gradient(135deg, #1a3a1a, #0e2a0e);
    color: white;
    padding: 48px 5% 24px;
    text-align: center;
    margin-top: 60px;
}

.footer-content p {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}
/*-------------------------------------------------------*/

/* доп */
.hero-image-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
    object-fit: cover;
}
/*-------------------------------------------------------*/

/* адаптив */
@media (max-width: 768px) {
    .project-title {
        font-size: 48px;
    }

    .principles-header h2 {
        font-size: 28px;
    }

    .nav-menu {
        display: none;
    }

    .info-block {
        flex-direction: column;
        padding: 30px;
    }

        .info-block.reverse {
            flex-direction: column;
        }

    .conclusion-block {
        padding: 30px;
    }

        .conclusion-block h2 {
            font-size: 32px;
        }
}
/*-------------------------------------------------------*/

/* бургер мееню */

/* Кнопка бургера */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
}

    .burger span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Анимация бургера в крестик */
    .burger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

/* Мобильное меню (выезжающее справа) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 180, 70, 0.98), rgba(0, 150, 60, 0.98));
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
}

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu a {
        display: block;
        color: white;
        font-size: 18px;
        font-weight: 500;
        padding: 15px 0;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        transition: all 0.2s;
    }

        .mobile-menu a:hover {
            opacity: 0.8;
            padding-left: 10px;
        }

/* Затемнение фона при открытом меню */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

    .mobile-overlay.active {
        display: block;
    }

/* адаптация бургера */
@media (max-width: 768px) {
    /* Показываем бургер */
    .burger {
        display: flex;
    }

    /* Скрываем обычную навигацию */
    .nav-menu,
    .nav-menu-small {
        display: none !important;
    }

    /* Шапка на мобилках */
    #main-header,
    #header {
        width: 95% !important;
        padding: 10px 16px !important;
        top: 10px !important;
        left: 2.5% !important;
        transform: none !important;
    }

        /* Логотип на мобилках */
        #main-header .logo,
        #header .logo {
            width: 36px !important;
            height: 36px !important;
            font-size: 18px !important;
        }

        /* Отключаем скрытие шапки на мобилках */
        #main-header.hidden,
        #header.hidden {
            transform: none !important;
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: all !important;
        }

    /* Скрываем маленькую шапку */
    #compact-header,
    #compactheader {
        display: none !important;
    }
}
/*-------------------------------------------------------*/
