

/* Lightbox / Fullscreen Overlay */

.lv .lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(69, 63, 58, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  cursor: pointer;
  background: linear-gradient(
    45deg,
    rgb(179, 195, 255),
    rgb(193, 179, 255),
    rgb(220, 179, 255),
    rgb(255, 179, 206),
    rgb(255, 255, 221),
    rgb(186, 255, 201),
    rgb(186, 225, 255),
    rgb(179, 195, 255)
  );
}

.lv .lightbox-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

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

.lv .lightbox-overlay img {
  max-width: 95%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 0.5rem;
  transform: scale(0.9);
  transition: transform 0.5s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lv .lightbox-overlay.active img {
  transform: scale(1);
}

.lv .lightbox-close {
  position: absolute;
  top: -3px;
  right: 60px;
  font-size: 4rem;
  font-family: chillax-medium, sans-serif;
  background: linear-gradient(
    45deg,
    rgb(179, 195, 255),
    rgb(193, 179, 255),
    rgb(220, 179, 255),
    rgb(255, 179, 206),
    rgb(255, 255, 221),
    rgb(186, 255, 201),
    rgb(186, 225, 255),
    rgb(179, 195, 255)
  );
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iridescent 4s ease-in-out infinite;
  cursor: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    filter 0.3s ease;
  z-index: 10000;
  filter: drop-shadow(0 2px 4px rgba(108, 92, 168, 0.5));
}

.lv .lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  text-shadow:
    0 0 12px rgba(255, 179, 186, 0.8),
    0 0 25px rgba(186, 225, 255, 0.6),
    0 0 40px rgba(224, 179, 255, 0.5),
    0 0 60px rgba(186, 255, 201, 0.4);
}

/* Carousel Navigation */
.lv .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: linear-gradient(
    45deg,
    rgb(179, 195, 255),
    rgb(193, 179, 255),
    rgb(220, 179, 255),
    rgb(255, 179, 206),
    rgb(255, 255, 221),
    rgb(186, 255, 201),
    rgb(186, 225, 255),
    rgb(179, 195, 255)
  );
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iridescent 4s ease-in-out infinite;
  cursor: pointer;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
  z-index: 10000;
  padding: 10px;
  user-select: none;
  filter: drop-shadow(0 2px 4px rgba(108, 92, 168, 0.5));
}

.lv .lightbox-nav:hover {
  opacity: 1;
  text-shadow:
    0 0 12px rgba(255, 179, 186, 0.8),
    0 0 25px rgba(186, 225, 255, 0.6),
    0 0 40px rgba(224, 179, 255, 0.5),
    0 0 60px rgba(186, 255, 201, 0.4);
}

.lv .lightbox-prev {
  left: 7px;
}

.lv .lightbox-prev:hover {
  transform: translateY(-50%) translateX(-5px);
}

.lv .lightbox-next {
  right: 7px;
}

.lv .lightbox-next:hover {
  transform: translateY(-50%) translateX(5px);
}

/* Image counter */
.lv .lightbox-counter {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    45deg,
    rgb(179, 195, 255),
    rgb(193, 179, 255),
    rgb(220, 179, 255),
    rgb(255, 179, 206),
    rgb(255, 255, 221),
    rgb(186, 255, 201),
    rgb(186, 225, 255),
    rgb(179, 195, 255)
  );
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.75rem;
  font-weight: bold;
  opacity: 0.8;
  letter-spacing: 2px;
}

/* Smooth image transition */
.lv .lightbox-overlay img {
  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
}

.lv .lightbox-overlay img.fade-out {
  opacity: 0;
  transform: scale(0.95);
}


