/* ============================================
   HERO VIDEO BACKGROUND - 이 내용을 style.css 하단에 추가하세요
   또는 이 파일을 별도로 로드해도 됩니다
   ============================================ */

.hero {
    position: relative;
    overflow: hidden;
    /* 기존 배경 그라데이션은 동영상 로딩 전 대체용으로 유지 */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 36, 64, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::before,
.hero::after {
    z-index: 1;
}

/* 모바일에서는 영상 대신 기존 배경 사용 (데이터 절약) */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
}
