/* ── Slideshow container ─────────────────────────────────── */
.home-topbanner {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Conținutul slide-urilor – fiecare slide ocupă toată lățimea */
.slideshow-track {
    display: flex;
    transition: transform 0.7s ease-in-out;
    will-change: transform;
}

.slide {
    flex: 0 0 100%; /* fiecare slide ocupă 100% din lățimea containerului */
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ── Butoane săgeți ── */
.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 14, 14, 0.8); /* roșu semi-transparent */
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: /*flex*/ none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.slideshow-btn:hover {
    background: #8b0e0e;
    transform: translateY(-50%) scale(1.05);
}
.slideshow-btn.prev {
    left: 16px;
}
.slideshow-btn.next {
    right: 16px;
}

/* Pe mobil, butoane mai mici */
@media (max-width: 600px) {
    .slideshow-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .slideshow-btn.prev {
        left: 8px;
    }
    .slideshow-btn.next {
        right: 8px;
    }
}

/* ── Puncte de navigare ── */
.slideshow-dots {
    text-align: center;
    padding: 12px 0 4px;
}
.slideshow-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.slideshow-dots .dot.active {
    background: #8b0e0e;
}
.slideshow-dots .dot:hover {
    background: #8b0e0e;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .slideshow-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
    .slideshow-btn.prev { left: 6px; }
    .slideshow-btn.next { right: 6px; }
    .slideshow-dots .dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    .slide img {
        max-height: 300px;
    }
}

.slideshow-track {
    display: flex;
    transition: transform 0.7s ease-in-out;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
}

.slideshow-container {
    touch-action: pan-y; /* previne scroll-ul orizontal în timpul glisării */
    user-select: none;
    -webkit-user-select: none;
}