/* ==============================
   Image Zoom Lightbox
   Click any photo to zoom in full-screen; click the cross,
   click outside the photo, or press Escape to zoom back out.
   (Slider photos and the site/footer logos are excluded on
   purpose — see assets/js/image-zoom.js)
============================== */

#imageLightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .92);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    animation: imageLightboxFadeIn .3s;
}

#imageLightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 255, 255, .2);
    animation: imageLightboxZoomIn .3s;
}

#imageLightbox .imageLightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

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

@keyframes imageLightboxZoomIn {
    from { transform: scale(.8); }
    to   { transform: scale(1); }
}
