/*==================================================
        Gallery Hero
==================================================*/

.gallery-hero{

    position:relative;

    overflow:hidden;

    padding:120px 0;

    background:linear-gradient(135deg,#0b5d2a,#06431d);

}

.gallery-hero::before{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    top:-180px;

    right:-120px;

}

.gallery-hero::after{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    background:rgba(255,255,255,.04);

    border-radius:50%;

    bottom:-150px;

    left:-120px;

}

.gallery-hero .container{

    position:relative;

    z-index:2;

}

.gallery-title{

    color:#fff;

    font-size:58px;

    font-weight:800;

    line-height:1.2;

    margin-bottom:25px;

}

.gallery-title span{

    color:#A8F0BF;

}

.gallery-description{

    color:rgba(255,255,255,.88);

    font-size:18px;

    line-height:1.9;

    max-width:760px;

    margin:auto;

}

.gallery-breadcrumb{

    margin-top:35px;

}

.gallery-breadcrumb a{

    color:#fff;

    text-decoration:none;

    font-weight:600;

}

.gallery-breadcrumb span{

    color:#cde8d5;

    margin:0 8px;

}

.gallery-breadcrumb span:last-child{

    color:#A8F0BF;

}

@media(max-width:991px){

.gallery-hero{

    padding:90px 0;

}

.gallery-title{

    font-size:42px;

}

}

@media(max-width:576px){

.gallery-title{

    font-size:34px;

}

.gallery-description{

    font-size:16px;

}

}

/*==================================================
                Gallery
==================================================*/

.gallery-section{

    padding:100px 0;

    background:#f8faf8;
}

.gallery-filter{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:60px;
}

.gallery-filter button{

    border:none;

    background:#fff;

    padding:12px 28px;

    border-radius:50px;

    font-weight:600;

    color:#1c2f2a;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.gallery-filter button:hover{

    background:#0b5d2a;

    color:#fff;
}

.gallery-filter button.active{

    background:#0b5d2a;

    color:#fff;
}

.gallery-grid{

    display:grid;

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

    gap:28px;
}

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    cursor:pointer;

    background:#fff;

    box-shadow:0 20px 40px rgba(0,0,0,.08);

    transition:.4s;
}

.gallery-item img{

    width:100%;

    height:280px;

    object-fit:cover;

    transition:.6s;
}

.gallery-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(to top,rgba(8,58,29,.95),rgba(8,58,29,.15));

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:25px;

    color:#fff;

    opacity:0;

    transition:.4s;
}

.gallery-overlay i{

    font-size:35px;

    margin-bottom:15px;
}

.gallery-overlay h5{

    margin:0;

    font-weight:700;
}

.gallery-item:hover img{

    transform:scale(1.12);
}

.gallery-item:hover .gallery-overlay{

    opacity:1;
}

.gallery-item:hover{

    transform:translateY(-8px);
}

@media(max-width:991px){

.gallery-grid{

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

}

@media(max-width:576px){

.gallery-grid{

    grid-template-columns:1fr;
}

.gallery-filter{

    gap:10px;
}

.gallery-filter button{

    padding:10px 18px;

    font-size:14px;
}

.gallery-item img{

    height:240px;
}

}
/*=====================================
        Gallery Lightbox
======================================*/

.gallery-lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    align-items:center;

    justify-content:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99999;

}

.gallery-lightbox.show{

    opacity:1;

    visibility:visible;

}

.lightbox-content{

    max-width:90%;

    max-height:90%;

    text-align:center;

    transform:scale(.9);

    transition:.35s;

}

.gallery-lightbox.show .lightbox-content{

    transform:scale(1);

}

.lightbox-content img{

    max-width:100%;

    max-height:75vh;

    border-radius:18px;

    box-shadow:0 30px 80px rgba(0,0,0,.45);

}

.lightbox-footer{

    color:#fff;

    margin-top:20px;

}

.lightbox-footer h5{

    margin-bottom:6px;

    font-weight:700;

}

.lightbox-footer span{

    color:#9dd5af;

}

.lightbox-close{

    position:absolute;

    top:30px;

    right:35px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#0b5d2a;

    color:#fff;

    font-size:22px;

}

.lightbox-prev,
.lightbox-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:#0b5d2a;

    color:#fff;

    font-size:28px;

}

.lightbox-prev{

    left:30px;

}

.lightbox-next{

    right:30px;

}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover{

    background:#14773a;

}

body.lightbox-open{

    overflow:hidden;

}

@media(max-width:768px){

.lightbox-prev,
.lightbox-next{

    width:46px;

    height:46px;

    font-size:20px;

}

.lightbox-prev{

    left:10px;

}

.lightbox-next{

    right:10px;

}

.lightbox-close{

    top:15px;

    right:15px;

}

.lightbox-content img{

    max-height:60vh;

}

}
