/* ==========================================
SEYON Public Gallery
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#FFF8FB;
}

/* ==========================================
HEADER
========================================== */

.header{

    background:linear-gradient(135deg,#FCE4EC,#F8BBD0);

    padding:70px 20px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.header h1{

    font-size:48px;

    color:#C2185B;

}

.header h1 i{

    margin-right:10px;

}

.header p{

    margin-top:15px;

    color:#6A1B4D;

    font-size:18px;

}

/* ==========================================
SEARCH
========================================== */

.toolbar{

    width:90%;

    margin:40px auto 20px;

}

.toolbar input{

    width:100%;

    padding:16px;

    border:2px solid #F8BBD0;

    border-radius:15px;

    outline:none;

    font-size:16px;

    background:white;

}

.toolbar input:focus{

    border-color:#EC407A;

}

/* ==========================================
FILTER
========================================== */

.filter-section{

    width:90%;

    margin:auto;

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

}

.filterBtn{

    border:none;

    padding:12px 24px;

    border-radius:30px;

    cursor:pointer;

    background:#F8BBD0;

    color:#880E4F;

    font-weight:600;

    transition:.3s;

}

.filterBtn:hover{

    background:#EC407A;

    color:white;

}

.filterBtn.active{

    background:#D81B60;

    color:white;

}

/* ==========================================
GALLERY GRID
========================================== */

.galleryGrid{

    width:90%;

    margin:40px auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

/* ==========================================
CARD
========================================== */

.galleryCard{

    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(236,64,122,.18);

    transition:.35s;

}

.galleryCard:hover{

    transform:translateY(-8px);

}

.galleryCard img{

    width:100%;

    height:230px;

    object-fit:cover;

    cursor:pointer;

    transition:.4s;

}

.galleryCard:hover img{

    transform:scale(1.05);

}

/* ==========================================
CONTENT
========================================== */

.galleryContent{

    padding:18px;

}

.galleryContent h3{

    color:#D81B60;

    margin-bottom:10px;

}

.galleryContent p{

    color:#666;

    margin:6px 0;

}

/* ==========================================
BUTTON
========================================== */

.viewBtn{

    width:100%;

    margin-top:15px;

    border:none;

    background:#EC407A;

    color:white;

    padding:12px;

    border-radius:10px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.viewBtn:hover{

    background:#C2185B;

}

/* ==========================================
IMAGE VIEWER
========================================== */

.modal{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.8);

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.imageBox{

    position:relative;

    width:90%;

    max-width:900px;

    text-align:center;

}

.imageBox img{

    width:100%;

    border-radius:18px;

}

.imageBox h2{

    margin-top:15px;

    color:white;

}

.imageBox p{

    color:#FFDDEB;

}

.close{

    position:absolute;

    top:-45px;

    right:0;

    color:white;

    font-size:45px;

    cursor:pointer;

}

/* ==========================================
LOADING
========================================== */

.loading{

    grid-column:1/-1;

    text-align:center;

    padding:80px;

    color:#888;

    font-size:22px;

}

/* ==========================================
FOOTER
========================================== */

footer{

    background:#F8BBD0;

    text-align:center;

    padding:20px;

    margin-top:50px;

    color:#880E4F;

    font-weight:600;

}

/* ==========================================
RESPONSIVE
========================================== */

@media(max-width:768px){

.header h1{

    font-size:36px;

}

.filter-section{

    justify-content:center;

}

.galleryGrid{

    grid-template-columns:1fr;

}

}