/* ========================================
   Video Hero Background Styles
======================================== */

.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Swiper Container */
.home-hero-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.home-hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Slide */
.home-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* linear-gradient(
            135deg,
            rgba(13, 148, 136, 0.90) 0%,
            rgba(139, 181, 162, 0.82) 50%,
            rgba(201, 169, 98, 0.78) 100%
        ), */
        rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Particles.js Container for Video Slide */
#particles-js-video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

#particles-js-video canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* Image Slide */
.home-hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.home-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Particles.js Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

#particles-js canvas {
    position: absolute;
    top: 0;
    left: 0;
}

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

.home-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* ========================================
   Hero Navigation
======================================== */

.home-hero-pagination {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: none;
}

.home-hero-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.6;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.home-hero-pagination .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

.home-hero-button-prev,
.home-hero-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-hero-button-prev:hover,
.home-hero-button-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.home-hero-button-prev {
    left: 30px;
}

.home-hero-button-next {
    right: 30px;
}

.home-hero-button-prev::after,
.home-hero-button-next::after {
    content: '';
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    mask-size: contain;
    -webkit-mask-size: contain;
}

.home-hero-button-prev::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.home-hero-button-next::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ========================================
   텍스트 가독성 강화
======================================== */

.home-hero-content h1,
.home-hero-content .home-hero-subtitle,
.home-hero-content .home-hero-badge {
    color: var(--s-text-white);
    /* text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.4),
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.5); */
}

.home-hero-content .home-hero-badge span,
.home-hero-content .home-hero-title span {
    color: var(--s-text-white);
}

.home-hero-content .btn {
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-hero-content .btn:hover {
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {

    .home-hero-button-prev,
    .home-hero-button-next {
        width: 40px;
        height: 40px;
    }

    .home-hero-button-prev {
        left: 15px;
    }

    .home-hero-button-next {
        right: 15px;
    }

    .home-hero-pagination {
        bottom: 60px;
    }

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