.curve-path {
  opacity: 0;
  transform: translateY(20px) scaleY(1);
  transition: all 1.2s ease-out;
}

.curve-animate {
  opacity: 1;
  transform: translateY(0) scaleY(1.02);
  animation: waveFloat 4s ease-in-out infinite;
}

@keyframes waveFloat {
  0% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(8px) scaleY(1.02); }
  100% { transform: translateY(0) scaleY(1); }
}


 .photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: 1rem;
  padding: 8rem;
    background: linear-gradient(to bottom, #f8f8f8, #ffffff);

}
.gallery-header {
  height: 150px;
  background: linear-gradient(to bottom, #f0f0f0, transparent);
}



.photo-gallery::after {
  content: "";
  width: 100%;
  height: 0;
  grid-column: 1 / -1;
}

.grid-item {
  border-radius: 4px;
}
@media (max-width: 768px) {
	.photo-gallery {
	  padding: 0;
	  place-content: center center;
	  place-items: center;
	}}


.grid-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0px;
  transition: transform 0.2s ease;
  cursor: pointer;
  display: block;
}

.grid-item img:hover {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
    max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}


.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: transparent; 
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1001;
  transition: opacity 0.3s ease;
  opacity: 0.6;
}

.nav-btn:hover {
  opacity: 1;
  background: transparent;
}

#prev-btn {
  left: 2%;
}

#next-btn {
  right: 2%;
}
