/* ═══════════════════════════════════════════════
   HERO — Fullscreen Video
   assets/css/sections/hero.css
   ═══════════════════════════════════════════════ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
}

.hero-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100vw, 177.78vh);
    height: max(100vh, 56.25vw);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

/* ─── Scroll indicator ─── */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    opacity: 0;
    animation: heroFadeIn 0.8s var(--ease-out) 1s forwards;
    cursor: pointer;
}

.hero-scroll-indicator:hover span {
    color: rgba(255,255,255,0.9);
}

.hero-scroll-indicator:hover .scroll-line {
    height: 52px;
}

.hero-scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color var(--speed-fast) var(--ease-smooth);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    transition: height var(--speed) var(--ease-out);
}

@keyframes heroFadeIn {
    to { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(1.2); }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero {
        height: 65svh;
        min-height: 400px;
    }

    .hero-video-wrap iframe {
        width: max(100vw, 177.78vh);
        height: max(65svh, 56.25vw);
        min-width: 100vw;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60svh;
        min-height: 360px;
    }

    .hero-video-wrap iframe {
        height: max(60svh, 56.25vw);
    }
}
