/**
 * SimpleLightbox Theme Customizations for FC Baník Prievidza
 * 
 * @package FCBanikPD
 * @since 1.5.0
 */

/* Base lightbox styling */
.fcbanikpd-lightbox.sl-wrapper {
    background-color: rgba(0, 0, 0, 0.95);
    /* Dark theme color with opacity */
}

/* Navigation arrows styling - card style */
.fcbanikpd-lightbox .sl-navigation button {
    color: #FFFFFF;
    background-color: #0F5B2F;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.fcbanikpd-lightbox .sl-navigation button:hover {
    background-color: #F7D708;
    color: #0F5B2F;
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Position arrows at screen edges */
.fcbanikpd-lightbox .sl-prev {
    left: 20px;
}

.fcbanikpd-lightbox .sl-next {
    right: 20px;
}

/* Close button styling */
.fcbanikpd-lightbox .sl-close {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 300;
    right: 20px;
    top: 20px;
    width: 48px;
    height: 48px;
    background-color: rgba(15, 91, 47, 0.8);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fcbanikpd-lightbox .sl-close:hover {
    background-color: #0F5B2F;
    transform: scale(1.1);
}

/* Image container */
.fcbanikpd-lightbox .sl-image {
    max-width: 95vw;
    max-height: 90vh;
}

/* Loading spinner customization */
.fcbanikpd-lightbox .sl-spinner {
    border-color: rgba(247, 215, 8, 0.3);
    /* Secondary color transparent */
    border-top-color: #F7D708;
    /* Secondary color solid */
}

/* Touch/swipe indicator styling */
.fcbanikpd-lightbox .sl-wrapper.sl-touch-move {
    cursor: grabbing;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fcbanikpd-lightbox .sl-navigation button {
        width: 40px;
        height: 40px;
    }

    .fcbanikpd-lightbox .sl-prev {
        left: 10px;
    }

    .fcbanikpd-lightbox .sl-next {
        right: 10px;
    }

    .fcbanikpd-lightbox .sl-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
        right: 10px;
        top: 10px;
    }

    .fcbanikpd-lightbox .sl-caption {
        font-size: 14px;
        padding: 15px 15px 20px;
    }
}

/* Animation enhancements */
.fcbanikpd-lightbox .sl-image img {
    transition: transform 0.3s ease;
    border-radius: 1em;
}

.fcbanikpd-lightbox.sl-animating .sl-image {
    transition: all 0.3s ease;
}

/* Disable right-click on images if needed */
.fcbanikpd-lightbox .sl-image img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Focus styles for accessibility */
.fcbanikpd-lightbox button:focus {
    outline: 2px solid #F7D708;
    outline-offset: 2px;
}

/* Custom arrow SVG icons (if not using default) */
.fcbanikpd-lightbox .sl-navigation svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Fix wrapper background */
.sl-overlay {
    background: rgba(0, 0, 0, 0.95) !important;
}