/*=========================================================
                GOOGLE FONTS
=========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

body{
    margin:0;
    padding:0;
    font-family:'Poppins',sans-serif;
    background:#FFFDF9;
    color:#6E6256;
}

img{
    width:100%;
    display:block;
}

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

.gallery-banner{

    position:relative;
    height:75vh;
    background:url('../images/gallery/photo-1650338031221-ba71d1178d43.jpg') center center/cover no-repeat;
    display:flex;
    align-items:center;

}

.gallery-banner .overlay{

    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(31,58,46,.72);

}

.banner-content{

    position:relative;
    z-index:2;
    max-width:700px;
    color:#fff;

}

.banner-content span{

    display:inline-block;
    color:#C5A678;
    letter-spacing:4px;
    text-transform:uppercase;
    font-size:15px;
    margin-bottom:15px;

}

.banner-content h1{

    font-size:70px;
    color:#fff;
    margin-bottom:20px;
    font-family:'Playfair Display',serif;

}

.banner-content p{

    font-size:20px;
    line-height:1.8;

}

/*=========================================================
                    INTRO
=========================================================*/

.gallery-intro{

    padding:100px 0 70px;
    text-align:center;

}

.gallery-intro span{

    color:#C5A678;
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:14px;

}

.gallery-intro h2{

    font-size:50px;
    color:#3E2D20;
    margin:20px 0;
    font-family:'Playfair Display',serif;

}

.gallery-intro p{

    max-width:700px;
    margin:auto;
    line-height:1.9;

}

/*=========================================================
                CATEGORY
=========================================================*/

.gallery-category{

    margin-bottom:70px;

}

.category-box{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

}

.category-box a{

    padding:14px 28px;
    border-radius:40px;
    text-decoration:none;
    background:#F8F5EF;
    color:#3E2D20;
    transition:.4s;
    font-weight:500;

}

.gallery_category:hover{

    background:#1F3A2E;
    color:#fff;

}
.gallery_category.active{
    background:#1F3A2E;
    color:#fff;
}

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

.gallery-empty-box{

    max-width:750px;
    margin:auto;
    text-align:center;
    background:#fff;
    padding:70px 50px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.gallery-icon{

    width:100px;
    height:100px;
    margin:0 auto 30px;
    background:#1F3A2E;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;

}

.gallery-icon i{

    font-size:40px;
    color:#C5A678;

}

.gallery-empty-box span{

    display:block;
    color:#C5A678;
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:14px;
    margin-bottom:15px;
    font-weight:600;

}

.gallery-empty-box h2{

    color:#3E2D20;
    font-size:46px;
    margin-bottom:20px;
    font-family:'Playfair Display',serif;

}

.gallery-empty-box p{

    color:#6E6256;
    line-height:1.9;
    font-size:17px;
    margin-bottom:35px;

}

.gallery-btn{

    display:inline-block;
    padding:16px 40px;
    background:#1F3A2E;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    transition:.3s;

}

.gallery-btn:hover{

    background:#C5A678;
    color:#fff;

}

/*==========================
        Responsive
==========================*/

@media(max-width:768px){


.gallery-empty-box{

    padding:45px 25px;

}

.gallery-empty-box h2{

    font-size:32px;

}

.gallery-empty-box p{

    font-size:16px;

}

.gallery-icon{

    width:80px;
    height:80px;

}

.gallery-icon i{

    font-size:32px;

}

}


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

.gallery-section{

    padding:40px 0 120px;
    background:#FFFDF9;

}

.container{

    max-width:1350px;
    margin:auto;
    padding:0 15px;

}


.gallery-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:320px;
    gap:25px;

}

.gallery-item{

    position:relative;
    overflow:hidden;
    border-radius:22px;
    cursor:pointer;
    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.gallery-item.large{

    grid-row:span 2;

}

.gallery-item img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

/*=========================================================
                OVERLAY
=========================================================*/

.gallery-overlay{

    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    padding:35px;
    background:linear-gradient(transparent,rgba(0,0,0,.9));
    opacity:0;
    transition:.4s;

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}

.gallery-overlay h3{

    color:#fff;
    font-size:28px;
    margin:0;
    font-family:'Playfair Display',serif;

}

/*=========================================================
                LIGHTBOX
=========================================================*/

.lightbox{

    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.92);

}

.lightbox-content{

    display:block;
    max-width:90%;
    max-height:85%;
    margin:4% auto;
    border-radius:15px;

}

.close{

    position:absolute;
    top:25px;
    right:40px;
    color:#fff;
    font-size:45px;
    cursor:pointer;

}

/*=========================================================
                HOVER EFFECT
=========================================================*/

.gallery-item::before{

    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(31,58,46,.15);
    opacity:0;
    transition:.4s;
    z-index:1;

}

.gallery-item:hover::before{

    opacity:1;

}

/*=========================================================
                ANIMATION
=========================================================*/

.gallery-item{

    animation:fadeUp .8s ease forwards;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(50px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

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

@media(max-width:1200px){

.gallery-grid{

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

}

.banner-content h1{

    font-size:58px;

}

}

@media(max-width:992px){

.gallery-grid{

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

}

.gallery-item.large{

    grid-row:span 1;

}

.banner-content{

    text-align:center;
    margin:auto;

}

.banner-content h1{

    font-size:48px;

}

.gallery-intro h2{

    font-size:40px;

}

}

@media(max-width:768px){

.gallery-banner{

    height:60vh;

}

.banner-content h1{

    font-size:38px;

}

.banner-content p{

    font-size:17px;

}

.gallery-grid{

    grid-template-columns:1fr;

}

.gallery-intro{

    padding:70px 20px 40px;

}

.gallery-intro h2{

    font-size:32px;

}

.category-box{

    gap:10px;

}

.category-box a{

    padding:10px 18px;
    font-size:14px;

}

}

@media(max-width:576px){

.banner-content h1{

    font-size:30px;

}

.gallery-intro h2{

    font-size:28px;

}

.gallery-overlay{

    opacity:1;
    padding:20px;

}

.gallery-overlay h3{

    font-size:20px;

}

.close{

    top:10px;
    right:20px;
    font-size:35px;

}

}