/**
 * Auto-slideshow fix CSS
 * Makes the bottom gallery more obviously clickable
 */

/* Make sure the auto-slideshow is positioned properly */
.auto-slideshow {
    position: relative;
}

.auto-slideshow .auto-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Make the lightbox links cover the entire slide */
.auto-slideshow a.lightbox-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
}

/* Make sure active slides are visible */
.auto-slideshow a.lightbox-link .auto-slide.active {
    z-index: 1;
    opacity: 1;
}

/* Add a subtle hover effect */
.auto-slideshow a.lightbox-link:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
}

/* Hover effect for the overlay */
.auto-slideshow .slide-overlay:hover {
    background-color: rgba(0,0,0,0.3) !important;
}

/* Full-screen image viewer styles */
.fullscreen-image {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0,0,0,0.9) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.fullscreen-image img {
    max-width: 95% !important;
    max-height: 90% !important;
    object-fit: contain !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.fullscreen-image .close-btn {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    color: white !important;
    font-size: 40px !important;
    cursor: pointer !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    text-align: center !important;
    background-color: rgba(0,0,0,0.5) !important;
    border-radius: 50% !important;
}
