/* ══════════════════════════════════════════════
   HERO SLIDESHOW — add this to your <style> block,
   replacing the old .hero CSS
   ══════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 80px;
    background: #0f172a;
    overflow: hidden;
}

/* ── Slideshow layer ── */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

/* Subtle Ken Burns zoom on the active slide */
.hero-slide {
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

.hero-slide.active {
    transform: scale(1.05);
}

/* ── Overlay ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to right, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.65) 50%, rgba(15,23,42,0.25) 100%),
        linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.2) 40%, transparent 100%);
    pointer-events: none;
}

/* ── Content ── */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 160px 0 0;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeInUp 0.6s ease both;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--skrc-red);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-sub a {
    color: var(--skrc-red);
    text-decoration: none;
    font-weight: 600;
}

.hero-sub a:hover {
    text-decoration: underline;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* ── Slide indicators ── */
.hero-indicators {
    display: flex;
    gap: 8px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-indicator {
    width: 32px;
    height: 3px;
    border: none;
    border-radius: 2px;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-indicator::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--skrc-red);
    border-radius: 2px;
    transition: none;
}

.hero-indicator.active {
    width: 48px;
    background: rgba(255,255,255,0.15);
}

.hero-indicator.active::after {
    animation: indicatorFill 5s linear forwards;
}

@keyframes indicatorFill {
    from { width: 0; }
    to { width: 100%; }
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding-bottom: 60px;
    }
    .hero-content {
        padding-top: 140px;
    }
    .hero-overlay {
        background:
            linear-gradient(to right, rgba(15,23,42,0.93) 0%, rgba(15,23,42,0.8) 100%),
            linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 50%);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    .hero-indicators {
        justify-content: center;
    }
}
