/* ─── SCREENSHOTS CAROUSEL ───────────────────────────────────────────────── */
.screenshots { padding: 100px 0; background: var(--surface-2); overflow: hidden; }
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carousel-slide img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-slide img:hover {
  transform: scale(1.015);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.carousel-slide h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
}
.carousel-slide p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 600px;
}
.carousel-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.carousel-btn:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: scale(1.05);
}
.prev-btn { left: -24px; }
.next-btn { right: -24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.4;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-dot.active {
  background: var(--brand);
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .carousel-btn { width: 40px; height: 48px; }
  .prev-btn { left: 10px; border-radius: var(--radius-sm); }
  .next-btn { right: 10px; border-radius: var(--radius-sm); }
}

/* ─── LIGHTBOX MODAL ─────────────────────────────────────────────────────── */
.lightbox-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  margin: 0 auto;
  display: block;
  width: 85%;
  max-width: 1100px;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}
.close-modal {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  transition: all 0.2s;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.close-modal:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}
#caption {
  text-align: center;
  color: #eeeeee;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0.1s;
}
.lightbox-modal.active #caption {
  opacity: 1;
  transform: translateY(0);
}
