.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.35s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.lightbox-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--red);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  background: #c62f3b;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
