/* Gallery Grid Layout */
.gallery-grid-container {
    display: grid;
    /* Mobile: 2 Columns | Tablet: 3 Columns | Desktop: 4 Columns */
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Image Card Styling */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    /* Square images for uniform grid */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Effect */
.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card::after {
    content: '\f00e';
    /* FontAwesome Zoom Icon code */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover::after {
    opacity: 1;
}

/* LIGHTBOX STYLES */
#lightbox-modal {
    backdrop-filter: blur(10px);
}