/**
 * (주)시원오토파츠 - Hero Section Sequential Ambient Video Stage & Lighting (css/hero-car.css)
 */

/* Genesis Korea-Inspired Full-Bleed Key Visual Video Stage & Seamless Blended Header */
.hero-video-stage {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.navbar-video-blend {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.navbar-video-blend::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 135%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.24) 0%,
        rgba(255, 255, 255, 0.08) 52%,
        rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.12) 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.12) 80%, transparent 100%);
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter 0.45s cubic-bezier(0.22, 1, 0.36, 1), -webkit-backdrop-filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar-video-blend.navbar-scrolled::before {
    height: 118%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.68) 0%,
        rgba(255, 255, 255, 0.42) 68%,
        rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(180deg, #000000 0%, #000000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000000 0%, #000000 68%, transparent 100%);
}

.navbar-video-blend .nav-link {
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
}

/* Seamless Video-Blended Brand Marquee Ticker (Zero Background Tint) */
.marquee-video-blend {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.marquee-video-blend::before {
    display: none;
}

.marquee-video-blend .marquee-track {
    color: rgba(30, 41, 59, 0.78);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.75);
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-filter: saturate(0.95) contrast(1.06) brightness(1.04);
    filter: saturate(0.95) contrast(1.06) brightness(1.04);
    will-change: opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-bg-video.is-active {
    opacity: 0.42;
    transform: scale(1);
}

@media (max-width: 767px) {
    .hero-video-stage {
        top: 0;
        height: 100vh;
        height: 100dvh;
    }
    .hero-bg-video {
        object-fit: cover;
    }
    .hero-bg-video.is-active {
        opacity: 0.36;
    }
}

/* Genesis "Beauty of White Space" Directional Optical Scrim */
.hero-video-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.10) 44%, rgba(248, 250, 252, 0.04) 78%, rgba(255, 255, 255, 0.10) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 22%, rgba(255, 255, 255, 0.02) 82%, rgba(255, 255, 255, 0.04) 100%);
}

html[data-motion="reduced"] .hero-bg-video {
    animation: none !important;
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-video {
        transition: opacity 0.25s ease !important;
    }
}




