/* ══════════════════════════════════════
   SCREEN GALLERY + LIGHTBOX
   ══════════════════════════════════════ */

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f7f8fc;
  cursor: zoom-in;
  border-bottom: 1px solid var(--line);
}
.shot img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: top left;
}
.shot figcaption {
  padding: 20px 22px;
}
.shot figcaption b {
  display: block;
  font-family: Poppins;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}
.shot figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}
.shot.tall img {
  height: 340px;
}

/* ── Lightbox ──
   visibility+opacity (not display:none) so it can transition in/out;
   .lb-inner gets its own scale transition for a subtle pop effect. */
#lb {
  position: fixed;
  inset: 0;
  background: rgba(9, 15, 26, 0.92);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 200;
  padding: 36px;
  overflow: auto;
  text-align: center;
}
#lb.on {
  visibility: visible;
  opacity: 1;
}

.lb-inner {
  display: inline-block;
  max-width: 1180px;
  width: 100%;
  margin-top: 24px;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
#lb.on .lb-inner {
  transform: scale(1);
}

#lbimg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.lb-caption {
  color: #c7d0e2;
  font-size: 0.88rem;
  margin-top: 16px;
}

.lb-btn {
  position: fixed;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  z-index: 2;
}
.lb-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lb-close {
  top: 22px;
  right: 26px;
  border-radius: 8px;
  padding: 8px 15px;
  font-family: Poppins;
  font-size: 0.9rem;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
}
.lb-prev {
  left: 16px;
}
.lb-next {
  right: 16px;
}

body.lightbox-open {
  overflow: hidden;
}
