/* =========================================================
   HERO SLIDER — Inspired by Lusion
   ========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e5f8e 0%, #164c7a 100%);
}

.hero-slider__viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide__image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide.is-active .hero-slide__image {
    transform: scale(1);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 17, 32, 0.25) 0%, rgba(11, 17, 32, 0.55) 60%, rgba(11, 17, 32, 0.85) 100%);
}

.hero-slide__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 48px;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide__category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide__link {
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

.hero-slide__title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 3rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 720px;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide__line {
    width: 0;
    height: 3px;
    margin-top: 18px;
    border-radius: 0;
    background: #DC2626;
    transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.is-active .hero-slide__icon,
.hero-slide.is-active .hero-slide__category,
.hero-slide.is-active .hero-slide__title {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.is-active .hero-slide__icon {
    transition-delay: 0.15s;
}

.hero-slide.is-active .hero-slide__category {
    transition-delay: 0.25s;
}

.hero-slide.is-active .hero-slide__title {
    transition-delay: 0.35s;
}

.hero-slide.is-active .hero-slide__line {
    width: 120px;
    transition-delay: 0.5s;
}

.hero-slide__link:hover + .hero-slide__line,
.hero-slide__link:focus + .hero-slide__line {
    width: 200px;
}

.hero-slider__controls {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-slider__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-slider__btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.hero-slider__indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.hero-slider__dot.is-active {
    background: #FFFFFF;
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.hero-slider__progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 3;
}

.hero-slider__progress-bar {
    height: 100%;
    background: #DC2626;
    width: 0%;
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    .hero-slide__content {
        padding: 24px;
    }

    .hero-slider__controls {
        bottom: 20px;
        right: 16px;
    }

    .hero-slider__indicators {
        bottom: 28px;
    }

    .hero-slide__title {
        font-size: 1.4rem;
    }
}
