﻿/* assets/css/slideshow.css */

.gallery-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.gallery-slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slides-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 500ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gallery-slide.is-active {
        opacity: 1;
        z-index: 2;
    }

    .gallery-slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.gallery-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    background: rgba(0,0,0,0.5);
    padding: 8px 14px;
    border-radius: 4px;
    pointer-events: none;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease;
}

    .gallery-arrow:hover {
        background: rgba(0,0,0,0.7);
    }

    .gallery-arrow.prev {
        left: 20px;
    }

    .gallery-arrow.next {
        right: 20px;
    }

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 25px;
    color: #fff;
    font-size: 1rem;
    background: rgba(0,0,0,0.4);
    padding: 6px 10px;
    border-radius: 4px;
    z-index: 5;
}
