/***************************
Add your custom styles below
****************************/

/* Mobile-first styles */

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

.gallery-item {
    flex: 1 1 100%;
    box-sizing: border-box;
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* Responsive styles */
@media (min-width: 600px) {
    .gallery-item {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (min-width: 900px) {
    .gallery-item {
        flex: 1 1 calc(33.33% - 10px);
    }
}
