/* css/hero.css - стили герой-блока */

.hero {
    background: linear-gradient(135deg, #1e3a5c 0%, #2c3e50 100%);
    color: white;
    padding: 200px 0 100px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position:center;
    height:auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.hero__subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.hero__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero__button {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.hero__button--outline {
    background: transparent;
    color: var(--accent, #7747D4);
    border: 2px solid var(--accent, #7747D4);
}
.hero__button--outline:hover {
    background: var(--accent, #7747D4);
    color: #fff;
    border-color: var(--accent, #7747D4);
}

.hero__image {
    text-align: center;
}

.hero__img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 50px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
}