/* Estilos personalizados para el diseño minimalista y moderno */

/* Animación de flotación suave */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Animaciones para formas decorativas del fondo */
@keyframes float-slow {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
}

@keyframes float-slower {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-40px, 40px) rotate(10deg);
  }
}

.animate-float-slow {
  animation: float-slow 20s ease-in-out infinite;
}

.animate-float-slower {
  animation: float-slower 25s ease-in-out infinite;
}

/* Animación de rebote lento */
@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 2s infinite;
}

/* Línea de tiempo moderna y minimalista */
.timeline {
  position: relative;
  width: 100%;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom,
    #3b82f6 0%,
    #8b5cf6 50%,
    #ec4899 100%
  );
  border-radius: 2px;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  z-index: 10;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: 4px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
  transition: all 0.3s ease;
}

.timeline-dot:hover {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.7);
}

/* Responsive timeline para móviles */
@media (max-width: 640px) {
  .timeline-line {
    left: 50%;
    width: 4px;
    opacity: 0.2;
  }

  .timeline-dot {
    display: none !important;
  }

  .timeline-item {
    justify-content: center !important;
    align-items: center !important;
  }
}

/* Scroll suave mejorado */
html {
  scroll-behavior: smooth;
}

/* Animación de fade-in para secciones */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-section.opacity-100 {
  opacity: 1;
  transform: translateY(0);
}

/* Efecto hover para imágenes */
.guest-img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.guest-img:hover {
  transform: scale(1.02);
}

/* Estilo para las badges de estadísticas */
.stat-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 600;
  color: #374151;
  transition: all 0.3s ease;
}

.stat-badge:hover {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Backdrop blur para modales */
.backdrop-blur-sm {
  backdrop-filter: blur(8px);
}

/* Animación de entrada para elementos */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

/* Scrollbar personalizado (solo webkit) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 6px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb 0%, #7c3aed 100%);
}
