.gallery-hero{

padding:80px 20px;

text-align:center;

background:#14b8a6;

color:#fff;

}

.gallery-filter{

display:flex;

justify-content:center;

flex-wrap:wrap;

gap:10px;

padding:30px;

}

.gallery-filter a{

padding:10px 20px;

border-radius:30px;

background:#eee;

text-decoration:none;

color:#333;

}

.gallery-filter a.active{

background:#14b8a6;

color:#fff;

}

.gallery-grid{

display:grid;

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

gap:20px;

padding:30px 20px;

}

.gallery-item{

background:#fff;

border-radius:15px;

overflow:hidden;

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

transition:.3s;

cursor:pointer;

}

.gallery-item:hover{

transform:translateY(-6px);

}

.gallery-item{

background:#fff;

border-radius:15px;

overflow:hidden;

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

transition:.3s;

}

.gallery-item img{

    width:100%;

    height:auto;

    display:block;

}

.gallery-item:hover img{

transform:scale(1.05);

}

.caption{

padding:18px;

font-weight:600;

text-align:center;

}

.lightbox{

display:none;

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

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

justify-content:center;

align-items:center;

z-index:9999;

}

.lightbox img{

max-width:90%;

max-height:90%;

}

@media (max-width:768px){

.gallery-grid{

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

gap:15px;

padding:15px;

}

.gallery-item{

border-radius:12px;

}

.gallery-item img{

aspect-ratio:4 / 5;

}

.caption{

padding:10px;

font-size:13px;

}

}

@media (max-width:1024px){

.gallery-grid{

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

}

}