.nx-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.nx-lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.nx-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.nx-lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.nx-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  cursor: pointer;
}

.nx-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  cursor: pointer;
  padding: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.nx-lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.nx-lightbox-prev {
  left: 20px;
}

.nx-lightbox-next {
  right: 20px;
}

.material-icons {
  font-size: 24px;
  user-select: none;
}

.nx-lightbox-nav .material-icons {
  font-size: 36px;
}

/* Masonry Layout */
.nx-lightbox-masonry {
  columns: 3 200px;
  column-gap: 15px;
  padding: 20px 0;
}

.nx-lightbox-masonry .nx-lightbox-item {
  break-inside: avoid;
  margin-bottom: 15px;
}

.nx-lightbox-masonry img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Hover Effect dengan Info */
.nx-hover-info {
  position: relative;
  overflow: hidden;
}

.nx-lightbox-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nx-hover-info:hover .nx-lightbox-info {
  transform: translateY(0);
}

.nx-lightbox-info h6 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.nx-lightbox-info p {
  margin: 0;
  font-size: 14px;
}

.nx-lightbox-info .material-icons {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Strip Thumbnail */
.nx-lightbox-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-lightbox-main img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.nx-lightbox-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0;
}

.nx-lightbox-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nx-lightbox-thumbs img:hover,
.nx-lightbox-thumbs img.active {
  opacity: 1;
}

.nx-lightbox-overlay.active .nx-lightbox-content {
  transform: scale(1);
} 