:root {
  --accent-color: #6366f1;
  --dark-bg: #0f172a;
  --nav-text-light: #ffffff;
  --nav-text-dark: #1e293b;
  --nav-bg-dark: transparent;
  --nav-bg-light: #ffffff;
}

/* ================= CARRUSEL GALERÍA ================= */
.gallery-carousel {
  background: var(--dark-bg);
  color: white;
  padding: 0;
  position: relative;
  margin-top: 8rem;
}

.gallery-main {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
}

.gallery-slide {
  flex: 1 0 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
  z-index: 1;
}

.gallery-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

.gallery-caption h2 {
  color: var(--nav-bg-light);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gallery-caption p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

/* ================= BOTÓN ALT ================= */
.btn-alt {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-alt:hover {
  background: #3b4a7a;
  transform: translateY(-2px);
}

/* ================= FLECHAS ================= */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}

.gallery-arrow.left { left: 1rem; }
.gallery-arrow.right { right: 1rem; }

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ================= MINIATURAS ================= */
.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: #1e293b;
  overflow-x: auto;
}

.gallery-thumbnails img.thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.gallery-thumbnails img.thumb.active {
  border-color: var(--accent-color);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .gallery-caption {
    margin: 1.5rem;
    padding: 1rem;
  }

  .gallery-caption h2 {
    font-size: 1.5rem;
  }

  .gallery-caption p {
    font-size: 0.9rem;
  }

  .gallery-arrow {
    width: 2rem;
    height: 2rem;
  }
} 
