/* ===========================================
   GALLERY
=========================================== */

.gallery-section{

    background:#ffffff;

}

.gallery-item{

    position:relative;

    display:block;

    overflow:hidden;

    border-radius:20px;

    text-decoration:none;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.gallery-item img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.5s;

}

.gallery-item:hover img{

    transform:scale(1.1);

}

.gallery-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.15));

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    align-items:center;

    color:#fff;

    padding:30px;

    opacity:0;

    transition:.35s;

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}

.gallery-overlay i{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#0b4ea2;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    margin-bottom:20px;

}

.gallery-overlay h5{

    font-size:22px;

    font-weight:700;

    text-align:center;

}

@media(max-width:768px){

    .gallery-item img{

        height:250px;

    }

}

/*=========================================
GALLERY PAGE
==========================================*/

:root{
    --navy:#041C44;
    --navy-light:#0B2F69;
    --gold:#C9A227;
    --gold-light:#E4C768;
    --white:#ffffff;
    --text:#5f6673;
    --bg:#F7F9FC;
    --transition:.4s ease;
}

body{
    background:#fff;
}


/*=========================================
PAGE BANNER
==========================================*/

.page-banner{
    position:relative;
    padding:170px 0 120px;
    overflow:hidden;
    background:
    linear-gradient(rgba(4,28,68,.86),rgba(4,28,68,.90)),
    url("../images/banner/gallery-banner.jpg") center center/cover;
}

.page-banner::before{
    content:'';
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right,
    rgba(201,162,39,.18),
    transparent 45%);
}

.page-banner .container{
    position:relative;
    z-index:2;
}

.page-subtitle{

    display:inline-block;

    color:var(--gold);

    font-size:14px;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:20px;

    font-weight:600;
}

.page-banner h1{

    color:#fff;

    font-size:58px;

    font-weight:700;

    line-height:1.2;

    margin-bottom:20px;
}

.page-banner h1 span{

    color:var(--gold);

}

.breadcrumb-area{

    color:#fff;
}

.breadcrumb-area a{

    color:#fff;

    text-decoration:none;

    transition:.3s;
}

.breadcrumb-area a:hover{

    color:var(--gold);

}

.breadcrumb-area span{

    margin:0 8px;
}


/*=========================================
SECTION
==========================================*/

.gallery-section{

    padding:100px 0;

    background:var(--bg);

}


/*=========================================
FILTER BUTTONS
==========================================*/

.gallery-filter{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:70px;
}

.gallery-filter button{

    border:none;

    padding:14px 30px;

    border-radius:50px;

    background:#fff;

    color:var(--navy);

    font-weight:600;

    transition:var(--transition);

    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.gallery-filter button:hover{

    background:var(--gold);

    color:#fff;

    transform:translateY(-4px);
}

.gallery-filter button.active{

    background:var(--navy);

    color:#fff;
}


/*=========================================
GALLERY GRID
==========================================*/

.gallery-grid{

    row-gap:30px;
}


/*=========================================
CARD
==========================================*/

.gallery-card{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    background:#fff;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    transition:.5s;

    cursor:pointer;
}

.gallery-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 60px rgba(0,0,0,.18);

}

.gallery-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:1s;
}

.gallery-card:hover img{

    transform:scale(1.10);
}


/* Large Images */

.col-lg-6 .gallery-card img{

    height:420px;

}
/*=========================================
GALLERY OVERLAY
==========================================*/

.gallery-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    padding:30px;
    background:linear-gradient(
        to top,
        rgba(4,28,68,.92) 10%,
        rgba(4,28,68,.55) 45%,
        rgba(4,28,68,0) 100%
    );
    opacity:0;
    visibility:hidden;
    transition:.45s ease;
}

.gallery-card:hover .gallery-overlay{
    opacity:1;
    visibility:visible;
}

.gallery-overlay h4{
    color:#fff;
    font-size:24px;
    font-weight:700;
    margin-bottom:8px;
    transform:translateY(25px);
    transition:.45s ease;
}

.gallery-overlay p{
    color:#ddd;
    margin:0;
    font-size:15px;
    transform:translateY(25px);
    transition:.55s ease;
}

.gallery-card:hover .gallery-overlay h4,
.gallery-card:hover .gallery-overlay p{
    transform:translateY(0);
}


/*=========================================
VIEW BUTTON
==========================================*/

.gallery-view{
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--gold);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:22px;
    transition:.4s;
    transform:scale(.7);
}

.gallery-card:hover .gallery-view{
    transform:scale(1);
}

.gallery-view:hover{
    background:#fff;
    color:var(--navy);
    transform:rotate(90deg);
}


/*=========================================
LOAD MORE BUTTON
==========================================*/

.load-more-btn{
    background:var(--navy);
    color:#fff;
    border:none;
    padding:16px 42px;
    border-radius:50px;
    font-size:16px;
    font-weight:600;
    transition:.35s;
    box-shadow:0 15px 35px rgba(4,28,68,.18);
}

.load-more-btn:hover{
    background:var(--gold);
    color:#fff;
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(201,162,39,.35);
}


/*=========================================
CARD ANIMATION
==========================================*/

.gallery-item{
    animation:fadeUp .7s ease both;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/*=========================================
CUSTOM SCROLLBAR (OPTIONAL)
==========================================*/

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:var(--gold);
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#f2f2f2;
}


/*=========================================
RESPONSIVE
==========================================*/

@media(max-width:991px){

.page-banner{
    padding:140px 0 90px;
}

.page-banner h1{
    font-size:42px;
}

.gallery-section{
    padding:80px 0;
}

.gallery-card img{
    height:280px;
}

.col-lg-6 .gallery-card img{
    height:340px;
}

.gallery-overlay{
    padding:22px;
}

.gallery-overlay h4{
    font-size:20px;
}

}


@media(max-width:767px){

.page-banner{
    padding:120px 0 80px;
}

.page-banner h1{
    font-size:32px;
}

.gallery-filter{
    gap:10px;
    margin-bottom:45px;
}

.gallery-filter button{
    padding:11px 18px;
    font-size:14px;
}

.gallery-card{
    border-radius:18px;
}

.gallery-card img,
.col-lg-6 .gallery-card img{
    height:250px;
}

.gallery-overlay{
    padding:18px;
}

.gallery-overlay h4{
    font-size:18px;
}

.gallery-overlay p{
    font-size:14px;
}

.gallery-view{
    width:50px;
    height:50px;
    font-size:18px;
}

.load-more-btn{
    width:100%;
    padding:15px;
}

}