/* =====================================================
   MSF Home Slider - Carousel para la página principal
   Coloca en: Themes/default/css/msf_slider.css
   ===================================================== */

.msf-home-slider {
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.msf-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.msf-carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.msf-carousel-item {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.msf-carousel-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.msf-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    padding: 20px 16px 12px;
    text-align: center;
}

.msf-carousel-caption h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    color: #fff;
}

.msf-carousel-caption p {
    margin: 0;
    font-size: 13px;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Indicators (dots) */
.msf-carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.msf-carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.msf-carousel-indicators button.active {
    background: #fff;
    border-color: #fff;
}

/* Prev / Next buttons */
.msf-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
}

.msf-carousel-control:hover {
    background: rgba(0,0,0,0.7);
}

.msf-carousel-control.prev {
    left: 10px;
}

.msf-carousel-control.next {
    right: 10px;
}
