/* --- Gallery & Lightbox Styling --- */
.cursor-pointer {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* Zoom the image slightly on hover */
}

/* Glassmorphism Overlay */
.gallery-overlay {
    background: rgba(10, 49, 97, 0.4);
    /* Primary color with transparency */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Modal Lightbox Adjustments */
.lightbox-modal .modal-content {
    background: transparent;
}

.lightbox-modal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.9);
    /* Darker backdrop for the lightbox */
}

#lightboxImage {
    max-height: 85vh;
    /* Prevents huge images from overflowing off the screen */
    width: auto;
    object-fit: contain;
}