/*
    Gallery
*/

.gallery-hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-hero-background {
    position: absolute;
    inset: 0;
    background-image: url("../img/hero/gallery-hero.webp");
    background-size: cover;
    background-position: center;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 5, .95), rgba(5, 5, 5, .3));
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

}

.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-dark {
    background: var(--color-black);
}

@media(max-width:900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}