/* assets/css/hero-carousel.css */

/* 1. HERO CAROUSEL - POSIZIONAMENTO OVERLAY */
/* La larghezza è gestita tramite Breakout in style-custom.css per evitare conflitti */
.hero-wrapper {
    position: relative !important;
    height: 100vh !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#hero-carousel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #101417 !important;
    z-index: 1 !important;
}

/* 3. SLIDES & ANIMAZIONI */
.hero-slides-container {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

.hero-slide {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0 !important;
    transition: opacity 1.5s ease-in-out !important;
}

.hero-slide.active {
    opacity: 1 !important;
}

.hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 5 !important;
    pointer-events: none !important;
}

.hero-content {
    position: absolute !important;
    inset: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 2rem !important;
    pointer-events: none !important;
}

.hero-title {
    font-family: var(--font-display), serif !important;
    font-size: clamp(2rem, 10vw, 5rem) !important;
    font-weight: 200 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 1rem !important;
    line-height: 1 !important;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5) !important;
}

.hero-subtitle {
    font-family: var(--font-body), sans-serif !important;
    font-size: clamp(0.4rem, 1.7vw, 0.8rem) !important;
    letter-spacing: 0.5em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}
