body{
    margin:0;
    background:#fff8fa;
    font-family:serif;
}

.gallery-header{
    text-align:center;
    padding:80px 20px 40px;
}

.gallery-header h1{
    font-size:60px;
    color:#b03060;
}

.gallery-header p{
    color:#666;
}

.gallery-filter{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

.gallery-filter button{

    border:none;

    padding:12px 25px;

    border-radius:40px;

    cursor:pointer;

    background:white;

    box-shadow:0 5px 15px rgba(0,0,0,.1);

    transition:.4s;
}

.gallery-filter button:hover,
.gallery-filter .active{

    background:#d4af37;

    color:white;
}
/* =========================
   PREMIUM WEDDING GALLERY
========================= */
/* =========================
   PREMIUM GALLERY FIXED
========================= */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    padding:40px;
}

.gallery-item{
    width:100%;
    height:280px;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.15);
    background:#fff;
    cursor:pointer;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.5s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}


/* Tablet */

@media(max-width:1200px){
    .gallery-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
        padding:20px;
    }
}

@media(max-width:500px){
    .gallery-grid{
        grid-template-columns:1fr;
    }
}
.gallery-item{
    height:280px;
}
.gallery-item.hide{
    display:none;
}

.gallery-item:hover img{

    transform:scale(1.05);
}

#lightbox{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.9);

    justify-content:center;
    align-items:center;

    z-index:99999;
}

#lightbox img{

    max-width:90%;
    max-height:90%;
}

#closeLightbox{

    position:absolute;

    top:30px;
    right:40px;

    color:white;

    font-size:50px;

    cursor:pointer;
}

@media(max-width:768px){

    .gallery-grid{
        column-count:2;
    }

}

@media(max-width:500px){

    .gallery-grid{
        column-count:1;
    }

}

