/*==========================================
OUR GALLERY
==========================================*/

.gallery-section{

    position:relative;

    padding:110px 0;

    background:#f7f9fc;

    overflow:hidden;

}

.gallery-section::before{

    content:"";

    position:absolute;

    top:-120px;

    right:-120px;

    width:350px;

    height:350px;

    border-radius:50%;

    background:rgba(12,69,173,.05);

    filter:blur(40px);

}

.gallery-section::after{

    content:"";

    position:absolute;

    bottom:-140px;

    left:-100px;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(220,38,38,.05);

    filter:blur(40px);

}

.gallery-section .container{

    position:relative;

    z-index:2;

}

/*==========================================
HERO
==========================================*/
.gallery-hero{

    position:relative;

    min-height:82vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    overflow:hidden;

    padding:170px 0 120px;

}

/* Background Collage */

.gallery-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("../image/gallery-collage.jpg") center center/cover no-repeat;

    filter:blur(2px) brightness(1.0);

    transform:scale(1.05);

    z-index:0;

}

/* Content */

.gallery-hero .container{

    position:relative;

    z-index:2;

    max-width:900px;

}

.gallery-hero h1{

    font-size:72px;

    font-weight:800;

    color:#fff;

    margin:20px 0;

    letter-spacing:1px;

    line-height:1.1;

}

.gallery-hero h1 span{

    color:#ef3b43;

}

.gallery-hero p{

    max-width:760px;

    margin:auto;

    color:#eef2f7;

    font-size:21px;

    line-height:1.9;

}

.section-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 26px;

    border-radius:50px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(15px);

    color:#fff;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:14px;

    font-weight:600;

}

.breadcrumb{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-bottom:35px;

}

.breadcrumb a{

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.breadcrumb a:hover{

    color:#ef3b43;

}

.breadcrumb span{

    color:#ddd;

}

/*==========================================
GRID
==========================================*/

.gallery-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:28px;

    margin-top:20px;

}
/*==========================================
GALLERY CARD
==========================================*/

.gallery-item {
    position: relative;
    overflow: hidden;

    border-radius: 22px;

    background: #ffffff;

    cursor: pointer;

    /* ALL IMAGES SAME SIZE */
    aspect-ratio: 4 / 3;

    box-shadow: 0 18px 45px rgba(0,0,0,.08);

    transition: .45s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);

    box-shadow: 0 28px 60px rgba(0,0,0,.18);
}


/*==========================================
IMAGE
==========================================*/

.gallery-item picture {
    display: block;

    width: 100%;
    height: 100%;
}

.gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    /* REMOVE OLD min-height */
    min-height: 0;

    object-fit: cover;

    transition:
        transform .7s ease,
        filter .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);

    filter: brightness(.75);
}
/*==========================================
OVERLAY
==========================================*/

.gallery-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        transparent 35%,

        rgba(0,0,0,.75)

    );

    opacity:.15;

    transition:.45s;

    z-index:1;

}

.gallery-item:hover::before{

    opacity:1;

}

/*==========================================
GALLERY CTA
==========================================*/

.gallery-cta{

    position:relative;

    padding:120px 0;

    background:linear-gradient(135deg,#071C73,#0D47A1);

    overflow:hidden;

}

.gallery-cta::before{

    content:"";

    position:absolute;

    top:-180px;

    right:-120px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}

.gallery-cta::after{

    content:"";

    position:absolute;

    bottom:-180px;

    left:-120px;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

}

.gallery-cta-content{

    position:relative;

    z-index:2;

    max-width:850px;

    margin:auto;

    text-align:center;

}

.gallery-cta-content h2{

    color:#fff;

    font-size:46px;

    font-weight:800;

    margin:22px 0;

    line-height:1.3;

}

.gallery-cta-content p{

    color:rgba(255,255,255,.88);

    font-size:18px;

    line-height:1.9;

    margin-bottom:40px;

}

.section-tag{

    display:inline-block;

    padding:12px 24px;

    border-radius:50px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(15px);

    color:#fff;

    font-size:14px;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

}

/*==========================================
BUTTONS
==========================================*/

.gallery-cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.gallery-cta-buttons .btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:180px;

    height:56px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.btn-primary{

    background:#e63946;

    color:#fff;

}

.btn-primary:hover{

    background:#fff;

    color:#071C73;

    transform:translateY(-5px);

}

.btn-outline{

    border:2px solid rgba(255,255,255,.45);

    color:#fff;

}

.btn-outline:hover{

    background:#fff;

    color:#071C73;

}

/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:991px){

    .gallery-hero{

        padding:150px 0 90px;

    }

    .gallery-hero h1{

        font-size:46px;

    }

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }


    .gallery-cta-content h2{

        font-size:36px;

    }

}

@media(max-width:768px){

    .gallery-section{

        padding:80px 0;

    }

    .gallery-grid{

        grid-template-columns:1fr;

        gap:22px;

    }


    .gallery-item img{

        min-height:260px;

    }

    .gallery-hero h1{

        font-size:36px;

    }

    .gallery-hero p{

        font-size:16px;

    }

    .gallery-cta{

        padding:90px 0;

    }

    .gallery-cta-content h2{

        font-size:30px;

    }

    .gallery-cta-buttons{

        flex-direction:column;

        align-items:center;

    }

    .gallery-cta-buttons .btn{

        width:100%;

        max-width:320px;

    }

}

@media(max-width:480px){

    .gallery-hero{

        padding:130px 0 70px;

    }

    .gallery-hero h1{

        font-size:30px;

    }

    .gallery-item{

        border-radius:18px;

    }

}