
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #121212;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: url("images/wave5.jpg");
  /*background-image: linear-gradient(to top left, rgb(48, 48, 48),rgb(0, 0, 0),rgb(59, 0, 56));*/
}

header h1 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 3rem;
  padding: 20px;
  margin-bottom: 40px;
  color: aqua;
}

.gallery
{
   display: grid;
  grid-template-columns: repeat( auto-fit,minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}
.gallery1{
  display: flex;
}




.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  padding: 5px;
  transition: filter 0.5s ease, transform 0.3s ease;
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: rgba(54, 0, 38, 0.808);
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  filter: blur(1px) brightness(0.9);
  transform: scale(1.05);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox Styles */
#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

#lightbox:active img {
  transform: scale(0.98);
}
