/* ==========================
   HERO
========================== */

.gallery-hero {

    padding-top: 180px;
    padding-bottom: 120px;

    text-align: center;

    background:
        linear-gradient(rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .85)),
        url('../../images/hero/gallery-banner.jpg');

    background-size: cover;
    background-position: center;
}

.gallery-hero span {

    color: var(--primary-gold);

    letter-spacing: 3px;

    text-transform: uppercase;
}

.gallery-hero h1 {

    margin: 15px 0 20px;
}

.gallery-hero p {

    max-width: 700px;
    margin: auto;
}


/* ==========================
   FILTERS
========================== */

.gallery-filter {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 50px;
}

.filter-btn {

    padding: 12px 24px;

    border: 1px solid var(--border-color);

    border-radius: 50px;

    color: white;

    background: #111;

    transition: .3s;
}

.filter-btn:hover,
.filter-btn.active {

    background: var(--primary-gold);

    color: black;
}


/* ==========================
   GALLERY GRID
========================== */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.gallery-item {

    overflow: hidden;

    border-radius: 18px;

    border:
        1px solid var(--border-color);

    cursor: pointer;
}

.gallery-item img {

    height: 300px;

    width: 100%;

    object-fit: cover;

    transition: .6s;
}

.gallery-item:hover img {

    transform: scale(1.12);
}

.gallery-item:hover {

    border-color: var(--primary-gold);
}


/* ==========================
   CTA
========================== */

.gallery-cta {

    text-align: center;

    background:
        linear-gradient(135deg,
            rgba(212, 175, 55, .12),
            rgba(0, 0, 0, .95));
}

.gallery-cta h2 {

    margin-bottom: 20px;
}

.gallery-cta p {

    margin-bottom: 30px;
}


/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1200px) {

    .gallery-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }
}

@media(max-width:992px) {

    .gallery-grid {

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

    .gallery-hero {

        padding-top: 160px;
    }
}

@media(max-width:768px) {

    .gallery-grid {

        grid-template-columns: 1fr;
    }

    .gallery-item img {

        height: 260px;
    }
}

@media(max-width:576px) {

    .gallery-hero {

        padding-top: 140px;
        padding-bottom: 80px;
    }

    .gallery-hero h1 {

        font-size: 2rem;
    }
}