/* Simple Fullscreen Slider - Frontend Styles */

.sfs-fullscreen-slider {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.sfs-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.sfs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.sfs-slide.active {
    opacity: 1;
    z-index: 2;
}

.sfs-slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

.sfs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Flechas de navegación */
.sfs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 48px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.sfs-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.sfs-prev {
    left: 20px;
}

.sfs-next {
    right: 20px;
}

/* Dots/Indicadores */
.sfs-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.sfs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sfs-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.sfs-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 14px;
    height: 14px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .sfs-arrow {
        font-size: 36px;
        width: 50px;
        height: 50px;
    }
    
    .sfs-prev {
        left: 10px;
    }
    
    .sfs-next {
        right: 10px;
    }
    
    .sfs-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .sfs-dot {
        width: 10px;
        height: 10px;
    }
    
    .sfs-dot.active {
        width: 12px;
        height: 12px;
    }
}

/* Preloader opcional */
.sfs-slide.loading {
    background: #000;
}

.sfs-slide.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: sfs-spin 1s linear infinite;
}

@keyframes sfs-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
