.gallery { background: var(--bg-primary); }

.gallery-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gallery-slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-slide:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.9), transparent);
  color: var(--text-primary);
}

.gallery-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 5;
}

.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: var(--transition-base);
  pointer-events: all;
  cursor: pointer;
}

.gallery-btn:hover {
  background: var(--accent-blue);
  color: var(--bg-primary);
  border-color: var(--accent-blue);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
}

.gallery-dot.active {
  background: var(--accent-blue);
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .gallery-slide { aspect-ratio: 16 / 12; }
  .gallery-overlay { padding: 20px 16px; }
  .gallery-overlay h3 { font-size: 1rem; }
  .gallery-overlay p { font-size: 0.78rem; }
}
