
.slideshow {
  position: relative;
  max-width: 100%;
  height: 400px;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.fullscreen-overlay.active {
  display: flex;
}

.fullscreen-container {
  position: relative;
  width: 90%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.fullscreen-close:hover {
  color: #97bc62;
}

.fullscreen-overlay .slide-prev,
.fullscreen-overlay .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 95, 45, 0.7);
  color: white;
  border: none;
  padding: 1.5rem;
  cursor: pointer;
  font-size: 2rem;
  z-index: 10001;
  transition: background 0.3s;
  border-radius: 4px;
}

.fullscreen-overlay .slide-prev:hover,
.fullscreen-overlay .slide-next:hover {
  background: rgba(44, 95, 45, 0.9);
}

.fullscreen-overlay .slide-prev {
  left: 2rem;
}

.fullscreen-overlay .slide-next {
  right: 2rem;
}

.fullscreen-overlay .slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10001;
}

.fullscreen-overlay .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.fullscreen-overlay .dot:hover,
.fullscreen-overlay .dot.active {
  background: rgba(255, 255, 255, 1);
}

.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 95, 45, 0.7);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 4px;
}

.slide-prev:hover,
.slide-next:hover {
  background: rgba(44, 95, 45, 0.9);
}

.slide-prev {
  left: 1rem;
}

.slide-next {
  right: 1rem;
}

.slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: rgba(255, 255, 255, 1);
}

.slide-caption {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 95, 45, 0.8);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
}
