
.hero-banner {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/hero-slide-2.fc5f611e3994.jpg");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}

/* === АНИМАЦИИ === */
@keyframes slideUpFromWhite {
    0% {
        transform: translateY(150px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.page-title {
    color: #ffffff;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
    transform: translateY(150px);
    opacity: 0;
    animation: slideUpFromWhite 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

/* === СЕКЦИЯ НОВОСТЕЙ === */
.news-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
}

/* === АНИМАЦИЯ ПОЯВЛЕНИЯ (SLIDE IN СПРАВА) === */
.news-anim-wrapper {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.news-anim-wrapper.is-visible {
    opacity: 1;
    transform: translateX(0);
}


.news-anim-wrapper:nth-child(3n - 2) {
    transition-delay: 0s;
}


.news-anim-wrapper:nth-child(3n - 1) {
    transition-delay: 0.4s;
}

.news-anim-wrapper:nth-child(3n) {
    transition-delay: 0.8s;
}

.news-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.news-desc {
    font-size: 15px;
    color: #555555;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.news-date {
    font-size: 12px;
    color: #888888;
    font-weight: 500;
    margin-top: auto;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 992px) {
    .header .main-nav, .header .lang-switcher {
        display: none;
    }

    .burger-btn {
        display: block;
    }

    .page-title {
        font-size: 52px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-anim-wrapper:nth-child(n) {
        transition-delay: 0s;
    }

    .news-anim-wrapper:nth-child(2n - 1) {
        transition-delay: 0s;
    }

    .news-anim-wrapper:nth-child(2n) {
        transition-delay: 0.4s;
    }
}

@media (max-width: 576px) {
    .mobile-menu {
        padding: 30px 20px;
        width: 60%;
    }

    .mobile-logo {
        font-size: 26px;
    }

    .mobile-nav a {
        font-size: 24px;
    }

    .page-title {
        font-size: 42px;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-anim-wrapper:nth-child(n) {
        transition-delay: 0s;
    }
}

