/* Photo Gallery */
  .photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  @media (min-width: 768px) {
    .photo-gallery {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .gallery-item {
    position: relative;
    cursor: pointer;
  }
  
  .gallery-item-inner {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .gallery-caption {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--text-color);
    font-size: 0.875rem;
  }
  
  /* Modal */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9); /* Dark background */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  background: none; /* Remove background */
  border: none; /* Remove border */
  box-shadow: none; /* Remove box shadow */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-content img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
}

.modal-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.2rem;
}

.modal-close {
  position: absolute;
  top: 10px; /* Adjust this value to move the button down */
  right: 10px; /* Adjust this value to move the button from the right */
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem; /* Adjust the size of the icon */
}

