.gallery-item { cursor: pointer; }
.gallery-item img { transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:hover .gallery-caption { opacity: 1; }

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
    animation: lbFadeIn .2s ease;
}
.lightbox-overlay.active { display: flex; }

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-img {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
    animation: lbZoomIn .25s ease;
}

@keyframes lbZoomIn {
    from { transform: scale(.95); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-close .material-symbols-outlined { font-size: 26px; }

.lightbox-caption {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: .03em;
}
