.gallery-section{
  padding:100px 0;
  background:linear-gradient(180deg,#0a0a15 0%,#000 100%);
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}

.gallery-item{
  height:220px;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
  position:relative;
  padding:6px;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
  transition:transform .4s ease;
}

.gallery-item:hover img{
  transform:scale(1.12);
  filter:brightness(1.1);
}

.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  border:2px solid;
  border-image-slice:1;
  border-image-source:linear-gradient(135deg,#ffffff,#ffffff);
  pointer-events:none;
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:10px;
}

@media(max-width:1200px){
  .gallery-grid{
    grid-template-columns:repeat(4,1fr);
  }
}

@media(max-width:900px){
  .gallery-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:600px){
  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .gallery-item{
    height:180px;
  }
}

.lightbox-close{
  position:absolute;
  top:25px;
  right:35px;
  color:#fff;
  font-size:42px;
  font-weight:bold;
  cursor:pointer;
  z-index:10000;
  line-height:1;
}

.lightbox img{
  max-width:90vw;
  max-height:90vh;
  object-fit:contain;
  border-radius:12px;
}

@media(max-width:600px){
  .lightbox img{
    max-width:94vw;
    max-height:82vh;
  }

  .lightbox-close{
    top:18px;
    right:22px;
    font-size:38px;
  }
}