#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox-overlay.visible {
    display: flex;
}

#lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

#lightbox-prev, #lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
}

#lightbox-prev {
    left: 10px;
}

#lightbox-next {
    right: 10px;
}

#lightbox-prev:hover, #lightbox-next:hover {
    background: rgba(255, 255, 255, 0.8);
}
