/* Hero Section - Simple & Modern Design */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* Image Slideshow Background */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide.fade-out {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

/* Content Container */
.hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content-centered {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

/* Hero Messages */
.hero-messages {
    position: relative;
    min-height: 180px; /* 텍스트 영역 높이 증가 */
    width: 100%;
}

.hero-message {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-align: center;
}

.hero-message.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 나가는 메시지 효과 */
.hero-message.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #FFD700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
    animation-delay: 0.2s;
    font-family: 'Poppins', sans-serif;
    transition: all 0.5s ease;
}

/* Hero Title */
.hero-title {
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.title-normal {
    display: block;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
    animation-delay: 0.4s;
    letter-spacing: -0.5px;
    transition: all 0.5s ease;
}

.title-highlight {
    display: block;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    color: #FFD700;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
    transition: all 0.5s ease;
}

/* 메시지가 fade-out 할 때 각 요소들도 함께 사라짐 */
.hero-message.fade-out .hero-subtitle,
.hero-message.fade-out .title-normal,
.hero-message.fade-out .title-highlight {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hero Description */
.hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto 40px;
    max-width: 600px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.8s;
    letter-spacing: 0.5px;
}

/* Hero CTA Buttons */
.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1s;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-hero.primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-hero.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
}

.btn-hero.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFD700;
    color: #FFD700;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-container {
        padding: 0 20px;
        align-items: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-messages {
        margin-bottom: 30px;
        min-height: 120px; /* 모바일에서 높이 조정 */
    }
    
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .title-normal {
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .title-highlight {
        font-size: 28px;
        letter-spacing: -1px;
    }
    
    .hero-description {
        font-size: 14px;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

.scroll-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@media (max-width: 768px) {
    .hero-scroll-indicator {
        display: none;
    }
}

/* Remove all previous complex elements */
.hero-stats,
.stat-item,
.stat-number,
.stat-label,
.hero-top-badge,
.hero-features,
.feature-item,
.hero-cta,
.cta-button,
.hero-bottom-info,
.hero-scroll,
.hero-side-text,
.hero-bg-elements,
.magic-orb,
.magic-line,
.title-word,
.title-accent,
.subtitle-line,
.subtitle-divider,
.feature-icon,
.feature-text,
.button-inner,
.button-glow,
.info-text,
.scroll-inner,
.scroll-dot,
.scroll-text,
.badge-star,
.badge-text,
.feature-number,
.feature-label,
.button-icon,
.info-icon {
    display: none !important;
}
