/* ===========================
   MEJORAS ESPECÍFICAS PARA BOTONES DE GALERÍA
   Solo afecta: "Ver todos los momentos especiales" y "Ver todas las imágenes"
   =========================== */

/* Contenedor de acciones del carrusel */
.carousel-actions {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
}

/* Contenedor de acciones de la galería */
.gallery-actions {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
}

/* Botón secundario mejorado (Ver todos los momentos especiales) */
.btn-secondary {
  background: linear-gradient(135deg, #F5F3E7 0%, #E8E4D6 100%);
  color: #8B4513;
  border: 2px solid #C4A76D;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(196, 167, 109, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #C4A76D 0%, #8B4513 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 167, 109, 0.4);
  border-color: #8B4513;
}

.btn-secondary:hover::before {
  left: 0;
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-secondary i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-secondary:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Botón primario mejorado (Ver todas las imágenes) */
.btn-primary {
  background: linear-gradient(135deg, #2C5F8A 0%, #1E4A6B 100%);
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(44, 95, 138, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3A7AB0 0%, #2E5A7B 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(44, 95, 138, 0.4);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-primary i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: scale(1.3) rotate(-5deg);
}

/* Efectos adicionales para ambos botones */
.btn-secondary:focus,
.btn-primary:focus {
  outline: 2px solid #C4A76D;
  outline-offset: 2px;
}

/* Animación de pulso sutil para llamar la atención */
@keyframes subtle-pulse {
  0%, 100% {
    box-shadow: 0 3px 12px rgba(44, 95, 138, 0.3);
  }
  50% {
    box-shadow: 0 3px 12px rgba(44, 95, 138, 0.5);
  }
}

.btn-primary {
  animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-glow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(196, 167, 109, 0.2);
  }
  50% {
    box-shadow: 0 2px 8px rgba(196, 167, 109, 0.4);
  }
}

.btn-secondary {
  animation: gentle-glow 4s ease-in-out infinite;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .carousel-actions,
  .gallery-actions {
    margin: 1.5rem 0;
    padding: 0.5rem;
  }
  
  .btn-secondary,
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .btn-secondary i,
  .btn-primary i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .btn-secondary,
  .btn-primary {
    padding: 12px 16px;
    font-size: 0.85rem;
    max-width: 100%;
  }
  
  .carousel-actions,
  .gallery-actions {
    margin: 1rem 0;
  }
}

/* Eliminar animaciones si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .btn-secondary,
  .btn-primary {
    animation: none;
    transition: none;
  }
  
  .btn-secondary:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .btn-secondary i,
  .btn-primary i {
    transition: none;
  }
  
  .btn-secondary:hover i,
  .btn-primary:hover i {
    transform: none;
  }
}
