/* === Fullscreen Lightbox for Portfolio === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  transition: transform 0.4s ease;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.8);
}

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

/* Optional: prevent scroll when lightbox is open */
body.no-scroll {
  overflow: hidden;
}
