.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  z-index: 100;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: var(--text-light);
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: 0.2s;
}
.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent);
}

.card-media img {
  transition: transform 150ms ease, box-shadow 150ms ease;
  cursor: zoom-in;
}

.card-media img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
