﻿/* Герой баннер */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, #fef9e7 0%, #fdebd0 50%, #fad7a0 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid #e6b236;
}

/* Анимированный фон с сотами */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.honey-comb {
    position: absolute;
    width: 120px;
    height: 104px;
    background: radial-gradient(circle at 20px 20px, #e6b236, transparent 50%), radial-gradient(circle at 60px 20px, #e6b236, transparent 50%), radial-gradient(circle at 100px 20px, #e6b236, transparent 50%), radial-gradient(circle at 40px 52px, #e6b236, transparent 50%), radial-gradient(circle at 80px 52px, #e6b236, transparent 50%);
    background-size: 40px 52px;
    opacity: 0.3;
    animation: floatComb 20s infinite linear;
}

.honey-comb-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.honey-comb-2 {
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.honey-comb-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -14s;
}

.honey-drip {
    position: absolute;
    width: 8px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #e6b236, transparent);
    border-radius: 4px;
    animation: drip 4s infinite ease-in-out;
}

.honey-drip-1 {
    left: 15%;
    top: -80px;
    animation-delay: 1s;
}

.honey-drip-2 {
    right: 20%;
    top: -80px;
    animation-delay: 2.5s;
}

/* Контент героя */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #5c3d09;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #8a743c;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Особенности */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #5c3d09;
}

    .feature i {
        color: #e6b236;
        font-size: 1.3rem;
        width: 24px;
    }

/* Кнопка CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #e6b236, #f0c45a);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(230, 178, 54, 0.3);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(230, 178, 54, 0.4);
        gap: 1.5rem;
    }

/* Визуальная часть */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-honey-jar {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

    .floating-honey-jar img {
        width: 300px;
        height: auto;
        filter: drop-shadow(0 10px 20px rgba(92, 61, 9, 0.3));
    }

.honey-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(230, 178, 54, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Пчелки */
.floating-bee {
    position: absolute;
    font-size: 2rem;
    animation: fly 8s infinite ease-in-out;
}

.bee-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.bee-2 {
    bottom: 30%;
    left: 5%;
    animation-delay: -4s;
}

/* Индикатор прокрутки */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid #e6b236;
    border-radius: 15px;
    position: relative;
}

    .scroll-arrow::after {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 8px;
        background: #e6b236;
        border-radius: 2px;
        animation: scroll 2s infinite;
    }

/* Анимации */
@keyframes floatComb {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes drip {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(100px, 0) rotate(0deg);
    }

    75% {
        transform: translate(50px, 30px) rotate(-5deg);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* Адаптивность */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-features {
        align-items: center;
    }

    .floating-honey-jar img {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        min-height: 500px;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .floating-honey-jar img {
        width: 200px;
    }

    .feature {
        justify-content: center;
    }
}
