/* =========================
   GALLERY BANNER
========================= */

.gallery-banner{
    position: relative;
    width: 100%;
    height: 420px;

    background-image: url("../images/2.png");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-overlay{
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.55);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.gallery-overlay h1{
    font-size: 65px;
    margin-bottom: 20px;
}

.gallery-overlay p{
    font-size: 20px;
}

/* =========================
   GALLERY SECTION
========================= */

.gallery-section-page{
    padding: 100px 20px;
    background: #f5f7fb;
}

.gallery-container{
    max-width: 1300px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

/* GALLERY ITEM */

.gallery-item{
    overflow: hidden;
    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    transition: 0.4s ease;

    background: #ffffff;
}

.gallery-item:hover{
    transform: translateY(-10px);
}

/* IMAGE */

.gallery-item img{
    width: 100%;
    height: 320px;

    object-fit: cover;

    transition: 0.5s ease;
}

.gallery-item:hover img{
    transform: scale(1.08);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    .gallery-container{
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:768px){

    .gallery-container{
        grid-template-columns: 1fr;
    }

    .gallery-overlay h1{
        font-size: 42px;
    }

    .gallery-overlay p{
        font-size: 16px;
    }

}