/* Lightbox Overlay Styles */

.portfolio-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 11, 12, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.portfolio-lightbox-overlay.active {
  opacity: 1;
}

.portfolio-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-lightbox-overlay.active .portfolio-lightbox-content {
  transform: scale(1);
}

.portfolio-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--bs-border-color, #27272a);
}

.portfolio-lightbox-caption {
  margin-top: 1rem;
  color: #f4f4f5;
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  text-align: center;
}

.portfolio-lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: transparent;
  border: none;
  color: #f4f4f5;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.portfolio-lightbox-close:hover {
  color: var(--bs-primary, #e11d48);
  transform: scale(1.1);
}

/* Make portfolio images look clickable */

.row img[src*="assets/images/"], .card img[src*="assets/images/"], .ratio img[src*="assets/images/"] {
  cursor: zoom-in;
}

