/* Screenshots Component Styles */
.screenshots-section {
  padding: 60px 0;
  background: var(--surface);
}

.screenshots-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.screenshot-item {
  display: none;
  text-align: center;
}

.screenshot-item.active {
  display: block;
}

.screenshot-preview {
  width: 100%;
  height: 400px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
}

.screenshot-item h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
}

.screenshot-item p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--surface-light);
  border-color: var(--border-light);
  transform: scale(1.05);
}

/* Kanban Preview Styles */
.preview-kanban {
  display: flex;
  gap: 16px;
  padding: 20px;
  height: 100%;
}

.kanban-column {
  flex: 1;
  background: var(--surface);
  border-radius: 8px;
  padding: 16px;
}

.kanban-column h4 {
  font-size: 14px;
  margin: 0 0 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.kanban-card {
  height: 50px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
}

/* GitHub Sync Preview */
.github-sync {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  height: 100%;
}

.sync-item {
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .screenshots-carousel {
    max-width: 100%;
  }
  
  .screenshot-preview {
    height: 300px;
  }
  
  .screenshot-image {
    object-fit: contain;
  }
  
  .screenshot-item h3 {
    font-size: 18px;
  }
  
  .screenshot-item p {
    font-size: 14px;
  }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
  overflow: hidden;
}

.lightbox-content img {
  display: block;
  max-width: 90vw;
  max-height: 70vh;
}

.lightbox-caption {
  padding: 12px 16px;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-light);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-light);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }

.lightbox-counter {
  position: absolute;
  bottom: 12px;
  right: 16px;
  color: var(--text-muted);
  font-size: 12px;
}
