
.gallery-section{
    padding:100px 20px;
}

.gallery-container{
    max-width:1300px;
    margin:auto;
}

.gallery-title{
    text-align:center;
    margin-bottom:50px;
}

.gallery-title span{
    color:#0d6efd;
    font-weight:600;
    letter-spacing:1px;
}

.gallery-title h2{
    font-size:42px;
    margin-top:10px;
    color:#111;
}

/* ======================
   Gallery Grid
====================== */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    cursor:pointer;
    height:320px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:.4s;
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}

.gallery-icon{
    width:70px;
    height:70px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#111;
    font-size:22px;
    cursor:pointer;
    transition:.3s;
}

.gallery-icon:hover{
    transform:scale(1.1);
}

/* ======================
   Show More Button
====================== */

.show-more-wrap{
    text-align:center;
    margin-top:50px;
}



/* ======================
   Filter Buttons
====================== */

.gallery-filter{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:50px;
}

.gallery-filter button{
    padding:14px 28px;
    border:none;
    border-radius:50px;
    background:#fff;
    cursor:pointer;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:.3s;
}

.gallery-filter button.active,
.gallery-filter button:hover{
    background:#0d6efd;
    color:#fff;
}

/* ======================
   Lightbox
====================== */

.gallery-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.92);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.gallery-lightbox.active{
    display:flex;
}

.gallery-lightbox img{
    width:85%;
    max-width:1000px;
    max-height:85vh;
    object-fit:contain;
    border-radius:15px;
}

.gallery-close{
    position:absolute;
    top:30px;
    right:40px;
    color:#fff;
    font-size:50px;
    cursor:pointer;
}

.gallery-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:65px;
    height:65px;
    border:none;
    border-radius:50%;
    background:#fff;
    font-size:24px;
    cursor:pointer;
}

.gallery-prev{
    left:40px;
}

.gallery-next{
    right:40px;
}

/* ======================
   Responsive
====================== */

@media(max-width:991px){

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-title h2{
        font-size:32px;
    }

    .gallery-item{
        height:280px;
    }

    .gallery-nav{
        width:50px;
        height:50px;
    }

}