/* ========================================
   히어로 슬라이더 스타일
   모듈: 03_히어로
   버전: 1.0.0
   ======================================== */

/* 히어로 섹션 */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
}

/* 슬라이더 컨테이너 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 개별 슬라이드 */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

/* 이미지 없을 때 기본 배경 */
.hero-slide {
    background-color: var(--color-primary);
}

/* 오버레이 (이미지 위에 어두운 레이어) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* 히어로 콘텐츠 */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    color: var(--color-white);
}

/* 태그 (NEW ARRIVAL 등) */
.hero-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    margin-bottom: var(--spacing-lg);
}

/* 메인 타이틀 */
.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 설명 텍스트 */
.hero-desc {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

/* 버튼 */
.hero-btn {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-base);
    font-weight: 600;
}

/* ========================================
   슬라이더 컨트롤 (이전/다음)
   ======================================== */

.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    pointer-events: none;
    z-index: 20;
}

.hero-prev,
.hero-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* ========================================
   슬라이더 인디케이터 (점)
   ======================================== */

.hero-indicators {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.indicator.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

/* ========================================
   반응형 - 태블릿
   ======================================== */

@media (max-width: 1024px) {
    .hero-section {
        height: 70vh;
        min-height: 450px;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-desc {
        font-size: var(--font-size-base);
    }
}

/* ========================================
   반응형 - 모바일
   ======================================== */

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-tag {
        font-size: var(--font-size-xs);
    }

    .hero-title {
        font-size: var(--font-size-xl);
    }

    .hero-desc {
        font-size: var(--font-size-sm);
    }

    .hero-btn {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-sm);
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
    }

    .hero-controls {
        padding: 0 var(--spacing-sm);
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}
