/* ===================================
   REUSABLE HERO SECTION - ALL PAGES
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image/Slider */
.hero-bg,
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 6s ease;
    transform: scale(1.1);
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    color: #fff;
}

/* LEFT: Logo Block */
.hero-logo-block {
    flex-shrink: 0;
    animation: fadeInLeft 1s ease-in-out;
}

.hero-big-logo {
    width: auto;
    height: 220px;
    filter: drop-shadow(0 8px 20px rgba(144, 207, 77, 0.5));
    animation: fadeInRight 1s ease;
}

/* White background behind logo */
.hero-logo-block {
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RIGHT: Text Block */
.hero-text-block {
    flex: 1;
    text-align: left;
    max-width: 720px;
}

.hero-text-block h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-in-out 0.3s both;
}

.hero-text-block p,
.hero-text-block .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-in-out 0.6s both;
}

.hero-text-block .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-in-out 0.9s both;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ===================================
   RESPONSIVE
   =================================== */

/* Tablet */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-logo-block {
        order: 1;
        text-align: center;
    }

    .hero-big-logo {
        height: 180px;
    }

    .hero-text-block {
        order: 2;
        text-align: center;
    }

    .hero-text-block h1 {
        font-size: 2.5rem;
    }

    .hero-text-block p,
    .hero-text-block .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding-top: 20px;
    }

    .hero-logo-block {
        order: 1;
        margin: 0 auto 20px;
    }

    .hero-big-logo {
        height: 120px;
    }

    .hero-text-block {
        order: 2;
        text-align: center;
    }

    .hero-text-block h1 {
        font-size: 2rem;
    }

    .hero-text-block p,
    .hero-text-block .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}
