/* Stile del Lightbox (Nascosto di default) */
#custom-lightbox {
    display: none; 
    position: fixed;
    z-index: 99999; /* Sopra a tutto il resto */
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9); /* Sfondo nero opaco */
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

/* L'immagine all'interno del lightbox */
#lightbox-img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-radius: 4px;
    transition: transform 0.3s ease;
}

/* Pulsante di chiusura (X) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox-close:hover {
    color: #bbb;
}

/* Effetto cursore sui tuoi div della galleria per far capire che sono cliccabili */
.div-galleria {
    cursor: pointer;
    transition: transform 0.2s ease;
}
.div-galleria:hover {
    transform: scale(1.02); /* Un leggero zoom al passaggio del mouse */
}