/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin-bottom: 10px;
  border: 2px solid white;
}

.lightbox-caption {
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  max-width: 80%;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 30px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Make gallery images clickable */
.wp-caption a {
  cursor: pointer;
}

/* Add hover effect to gallery images */
.wp-caption img {
  transition: opacity 0.3s ease;
}

.wp-caption img:hover {
  opacity: 0.9;
}
