/**
 * Premium custom styles & micro-interactions for the static Biblioteca de Temas para Yoga
 */

/* Custom keyframes & animation helpers */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Subtle pulse override for sticky checkout */
.pulse-green {
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse-green-effect 2s infinite;
}

@keyframes pulse-green-effect {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* Smooth rotation for Faq chevrons */
.rotate-180 {
  transform: rotate(180deg);
}

/* Custom interactive active pane subtle light border */
#peek-display-pane {
  transition: all 0.3s ease;
}

/* Base custom font configuration */
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}
