.project-gallery {
    background: #f5f5f5;
    padding: 100px 0;
}

/* BOTONES */

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-btn {
    background: #d6003d;
    color: white;

    padding: 14px 25px;

    text-decoration: none;

    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 800;

    transition: .3s;
}

.gallery-btn:hover {
    transform: translateY(-2px);
}

/* GRID */

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* THUMBS */

.gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    cursor: pointer;

    transition: .3s;
}

.gallery-image:hover {
    transform: scale(1.03);
}

/* LIGHTBOX */

.lightbox {

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.95);

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.lightbox img {

    max-width: 90%;
    max-height: 90%;
}

.close-btn {

    position: absolute;

    top: 20px;
    right: 40px;

    color: white;
    font-size: 50px;

    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 1200px) {

    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-nav {
        flex-direction: column;
        align-items: center;
    }
}