.gallery-section{
    width: 100%;
    padding: 60px 0;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 470px;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    background: #ddd;
}

.gallery-item.large{
    grid-row: span 2;
    min-height: 720px;
}

.gallery-item.medium{
    min-height: 560px;
}

.gallery-item.small{
    min-height: 470px;
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s ease;
}

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

.gallery-overlay{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 32px;
    color: white;
    z-index: 2;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.95),
        rgba(0,0,0,.55),
        rgba(0,0,0,.08),
        transparent
    );
}

.gallery-year{
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #00bcd4;
}

.gallery-overlay h3{
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 18px;
}

.gallery-overlay .btn{
    border-radius: 10px;
    color: white;
    border-color: #00bcd4;
}

.gallery-overlay .btn:hover{
    background-color: #00bcd4;
    color: white;
}

/* Responsive tablets */
@media(max-width: 992px){

    .gallery-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item,
    .gallery-item.small,
    .gallery-item.medium{
        min-height: 450px;
    }

    .gallery-item.large{
        min-height: 620px;
    }

}

/* Responsive celulares */
@media(max-width: 576px){

    .gallery-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item,
    .gallery-item.small,
    .gallery-item.medium,
    .gallery-item.large{
        min-height: 430px;
    }

    .gallery-overlay{
        padding: 24px;
    }

    .gallery-overlay h3{
        font-size: 20px;
    }

}