/* =====================================================
   HERO - BunDeTot Theme
===================================================== */
.home-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: calc(100vh - var(--bdt-header-h, 110px));
    height: calc(100svh - var(--bdt-header-h, 110px));
    max-height: calc(100vh - var(--bdt-header-h, 110px));
    max-height: calc(100svh - var(--bdt-header-h, 110px));
    box-sizing: border-box;
    background: #222;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px 30px;
    max-width: 760px;
    width: 100%;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-bottom: 24px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-btn {
    display: inline-block;
    background: var(--hero-btn-bg, #9a0019);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.22);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    margin-top: 8px;
}
.hero-btn:hover {
    filter: brightness(1.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
    color: #fff;
}
.hero-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

/* =====================================================
   CARUSEL
===================================================== */
.hero-carousel {
    position: relative;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Butoane prev/next */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
}
.hero-prev:hover,
.hero-next:hover {
    background: rgba(154,0,25,0.75);
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.hero-dot.active {
    background: #fff;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
    .hero-title    { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.95rem; }

    /* Carousel -> imagine statica pe mobil */
    .hero-prev,
    .hero-next,
    .hero-dots     { display: none !important; }

    /* Ascunde toate slide-urile exceptand primul activ */
    .hero-slide {
        opacity: 0;
        transition: none;
    }
    .hero-slide.active {
        opacity: 1;
    }
    /* Asigura ca slide-urile inactive nu sunt deasupra */
    .hero-slide:not(.active) {
        z-index: 0;
        pointer-events: none;
    }
}
