#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Close Button */
#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

/* Navigation */
#lightbox-prev, #lightbox-next {
    position: absolute;
    top: 50%;
    font-size: 60px;
    color: white;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    transform: translateY(-50%);
}

#lightbox-prev {
    left: 30px;
}
#lightbox-next {
    right: 30px;
}

/* Hover-Effekt auf Thumbnails */
.lightbox-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.lightbox-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
