body {
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(135deg, #FFFDF9, #F8E8EE, #E2F2FF);
  text-align: center;
  padding: 30px;
}

.title {
  font-size: 32px;
  color: #7B6CA8;
  margin-bottom: 20px;
}
.icon {
  width: 24px;
  height: 24px;
}
/* FILTER BUTTONS */
.filters {
  margin-bottom: 25px;
}
.filters button {
  padding: 10px 18px;
  margin: 6px;
  border: none;
  background: #E2F2FF;
  color: #5D4E8E;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}
.filters button:hover,
.filters button.active {
  background: #7B6CA8;
  color: white;
}

/* GALLERY MASONRY */
.gallery {
  column-count: 4;        /* Number of columns on desktop */
  column-gap: 22px;
  padding: 10px;
}

/* Images auto-stack vertically like Pinterest */
.gallery img {
  width: 100%;
  margin-bottom: 22px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.35s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  opacity: 0.95;
  display: block;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
  .gallery { column-count: 3; }
}
@media (max-width: 768px) {
  .gallery { column-count: 2; }
}
@media (max-width: 480px) {
  .gallery { column-count: 1; }
}

/* SLIDER – unchanged */
.slider img {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

/* HOVER EFFECT */
.gallery img:hover {
  transform: scale(1.06);
  filter: brightness(1.12);
  opacity: 1;
}


/* LIGHTBOX */
.lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  overflow: auto;
}


.lightbox-img {
  max-width: 70%;
  border-radius: 20px;
  transition: 0.3s ease;
}

.close {
  position: absolute;
  top: 40px;
  right: 50px;
  font-size: 50px;
  color: white;
  cursor: pointer;
}

/* NEXT & PREVIOUS */
.nav {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}
.prev { left: 90px; }
.next { right: 90px; }

@media(max-width:600px){
  .nav {
    font-size: 40px;
  }
  .prev { left: 30px; }
  .next { right: 30px; }
}
