/* Slideshow Styles */
.slideshow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  cursor: none; /* Hide cursor during slideshow */
}

.slideshow-overlay.active {
  opacity: 1;
  visibility: visible;
}

.slideshow-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.slideshow-image.visible {
  opacity: 1;
}

.slideshow-image-current {
  z-index: 2;
}

.slideshow-image-next {
  z-index: 1;
}

/* Slideshow icon button */
.slideshow-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 15px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  vertical-align: middle;
  text-decoration: none;
  padding: 0;
}

.slideshow-trigger svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.slideshow-trigger:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.slideshow-trigger:active {
  transform: translateY(0);
}

/* Ensure header h1 is inline-flex to accommodate icon */
header h1 {
  display: inline-flex;
  align-items: center;
}

