


/*   базовые и глоабльыне стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    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;
    font-family: 'Inter', Arial, sans-serif;
    color: #1a2a1a;
    line-height: 1.5;
}

a {
    text-decoration: none;
}
/*-------------------------------------------------------*/

/* шапки*/

/* Большая шапка */
#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(-150%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

/* Навигация в шапке */
.nav-menu {
    display: flex;
    gap: 32px;
}

    .nav-menu a {
        color: white;
        font-weight: 500;
        transition: opacity 0.2s;
    }

        .nav-menu a:hover {
            opacity: 0.8;
        }

/* Логотип */
.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);
}

/* Компактная шапка */
#compact-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.85) 0%, rgba(0, 180, 70, 0.9) 100%);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

    #compact-header.visible {
        opacity: 1;
        pointer-events: all;
    }

    #compact-header a {
        color: white;
        font-weight: 500;
    }

/*-------------------------------------------------------*/

/*  основной контент*/
.about-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 5% 80px;
}
/*-------------------------------------------------------*/


/*  фото + текст */
.about-hero-container {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.about-photo-frame {
    flex: 1;
    min-width: 280px;
}

.about-text-frame {
    flex: 1.5;
}

/* Плейсхолдер для фото */
.image-placeholder {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.2), rgba(0, 150, 60, 0.3));
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 60px 20px;
    text-align: center;
    border: 2px dashed rgba(0, 150, 60, 0.5);
    color: #2e7d32;
}

    .image-placeholder i {
        font-size: 64px;
        margin-bottom: 16px;
        display: block;
    }

/* Текстовая часть */
.about-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a3a1a;
}

.highlight {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-desc {
    font-size: 18px;
    color: #2a4a2a;
    line-height: 1.6;
    margin-bottom: 24px;
}

.about-signature {
    font-size: 16px;
    font-weight: 600;
    color: #2e7d32;
    border-left: 3px solid #4caf50;
    padding-left: 16px;
}
/*-------------------------------------------------------*/


/*   достижения */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 40px 32px;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

    .stat-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.6);
    }

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: #2e7d32;
    display: block;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #2a4a2a;
}
/*-------------------------------------------------------*/

/*  заголовки секций */
.section-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;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a3a1a;
}
/*-------------------------------------------------------*/

/*  блок услуги */
.services-preview {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.service-preview-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 32px 24px;
    width: 260px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

    .service-preview-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.6);
    }

    .service-preview-card i {
        font-size: 48px;
        color: #2e7d32;
        margin-bottom: 16px;
    }

    .service-preview-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
        color: #1a3a1a;
    }

    .service-preview-card p {
        font-size: 14px;
        color: #3a5a3a;
    }

/*-------------------------------------------------------*/

/*  портфолио */
.portfolio-preview {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.portfolio-preview-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 20px;
    width: 300px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

    .portfolio-preview-card:hover {
        transform: translateY(-6px);
        background: rgba(255, 255, 255, 0.6);
    }

    .portfolio-preview-card .card-img {
        background: rgba(0, 150, 60, 0.15);
        border-radius: 20px;
        height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        border: 1px dashed #4caf50;
    }
/*-------------------------------------------------------*/

/*    кнопки */
.services-link-wrap {
    text-align: center;
    margin-top: 40px;
}

.portfolio-link-wrap {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s;
    margin: 15px;
}

.btn-secondary {
    background: rgba(0, 180, 70, 0.15);
    color: #2e7d32;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    border: 1px solid rgba(0, 150, 60, 0.4);
    display: inline-block;
    transition: 0.2s;
}

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-2px);
    }
/*-------------------------------------------------------*/

/*  футер */
#main-footer,
.footer {
    background: linear-gradient(135deg, #1a3a1a, #0e2a0e);
    color: white;
    margin-top: 60px;
    padding: 48px 5% 24px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo .logo {
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.2);
}

.footer-links {
    margin: 24px 0;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

    .footer-links a {
        font-size: 14px;
        color: white;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.2s;
    }

        .footer-links a:hover {
            opacity: 1;
        }
/*-------------------------------------------------------*/

/* адаптив */
@media (max-width: 768px) {
    .about-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .nav-menu {
        display: none;
    }

    .services-preview,
    .portfolio-preview {
        flex-direction: column;
        align-items: center;
    }
}
/*-------------------------------------------------------*/

/* дополнительно */

/* Фото в hero-блоке */
.hero-image-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
    object-fit: cover;
}

.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;
    }
/*-------------------------------------------------------*/

/* бергер меню*/

/* Кнопка бургера */
.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;
    }
}
/*-------------------------------------------------------*/
