body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 20px;
  background: linear-gradient(to right, #dfe9f3, #ffffff);
  text-align: center;
}

h1 {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(to right, #0078D7, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.filters button {
  margin: 6px;
  padding: 12px 20px;
  border: none;
  background: linear-gradient(to right, #0078D7, #00c6ff);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 120, 215, 0.3);
  transition: all 0.3s ease;
}

.filters button:hover {
  background: linear-gradient(to right, #005fa3, #00aaff);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 120, 215, 0.4);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.img-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.img-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.img-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox .nav button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 20px;
  background: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 901px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
