/* ===========================
   HERO SECTION - hero.css
   =========================== */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
}

/* ===========================
   ФОН ТА ОВЕРЛЕЙ
   =========================== */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.15) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(44, 62, 80, 0.7) 0%,
            rgba(44, 62, 80, 0.5) 50%,
            rgba(145, 208, 114, 0.4) 100%);
}

/* ===========================
   КОНТЕНТ
   =========================== */

.hero-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content {
    max-width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   БЕЙДЖ
   =========================== */

.hero-badge {
    display: inline-block;
    background: rgba(145, 208, 114, 0.9);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

/* ===========================
   ЗАГОЛОВКИ
   =========================== */

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-title-line {
    display: block;
}

.hero-title-line--nowrap {
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ===========================
   ОСОБЛИВОСТІ (FEATURES)
   =========================== */

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    width: fit-content;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(8px);
}

.hero-feature svg {
    flex-shrink: 0;
}

/* ===========================
   КНОПКИ ДІЙ
   =========================== */

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===========================
   АДАПТИВНІСТЬ
   =========================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-title {
        font-size: 34px;
        gap: 4px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-feature {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-title-line--nowrap {
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}
