/**
 * Hero Slideshow Styles
 * Seoul Curator Theme
 */

/* Hero Slideshow Container */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Active slide */
.hero-slide.active {
    opacity: 1;
}

/* Slide Overlay - Dark gradient for text readability */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(21, 16, 36, 0.85) 0%,
        rgba(21, 16, 36, 0.6) 30%,
        rgba(21, 16, 36, 0.5) 50%,
        rgba(21, 16, 36, 0.6) 70%,
        rgba(21, 16, 36, 0.85) 100%
    );
    z-index: 1;
}

/* Color tint overlay - Pink/Purple theme */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 74, 144, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(235, 178, 255, 0.1) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* Slideshow Overlay - Additional darkening */
.hero-slideshow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(21, 16, 36, 0.3) 0%,
        transparent 50%,
        rgba(21, 16, 36, 0.4) 100%
    );
    z-index: 3;
    pointer-events: none;
}

/* Fallback Background (no images) */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 74, 144, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(235, 178, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-container) 100%);
}

/* Hero Grid Pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Hero Content (above slideshow) */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-slide::before {
        background: linear-gradient(
            180deg,
            rgba(21, 16, 36, 0.9) 0%,
            rgba(21, 16, 36, 0.7) 30%,
            rgba(21, 16, 36, 0.6) 50%,
            rgba(21, 16, 36, 0.7) 70%,
            rgba(21, 16, 36, 0.9) 100%
        );
    }
}