/* Image Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Image Gallery */
.gallery img {
  width: 350px; /* Increase size */
  height: 350px; /* Maintain square aspect */
  object-fit: cover; /* Ensures no distortion */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.gallery img:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow for effect */
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 80vh;
  display: block;
  margin: auto;
  object-fit: contain; /* Prevents stretching */
}


/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  color: red;
  cursor: pointer;
  background: none;
  border: none;
}

/* Email Button */
.email-btn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  border-radius: 5px;
}

.email-btn:hover {
  background: #00ff22;
}
