/* Showcase page */
.showcase-main {
  padding-top: 5rem;
  min-height: 100vh;
}

.showcase-hero {
  text-align: center;
  padding: 2rem 2rem 2.5rem;
}

.showcase-hero h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.showcase-hero p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.showcase-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.showcase-item {
  flex: 1 1 380px;
  max-width: 460px;
  background: var(--bg-elevated);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--bg);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.showcase-item img:hover {
  opacity: 0.9;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: none;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.showcase-caption {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-active {
  color: var(--accent) !important;
}
