@charset "utf-8";
/* CSS Document */

/* =========================
GALLERY
========================= */

.gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* HORIZONTAL SCROLL GALLERY */
.gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 40px;
    
    /* hide scrollbar */
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

/* IMAGES */
.gallery img {
    flex: 0 0 auto;
    width: 140px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* GALLERY ARROWS */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 30px;
    width: 40px;
    height: 60px;
    cursor: pointer;
    border-radius: 6px;
}

.gallery-arrow:hover {
    background: rgba(0,0,0,0.85);
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

/* =========================
LIGHTBOX
========================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

/* LIGHTBOX NAVIGATION */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 10000;
}

.prev { left: 20px; }
.next { right: 20px; }
/* NAVIGATION */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }
