/* 
   Aura Mindspace - Tailwind Custom CSS 
   Used only for complex animations, keyframes, and utilities that exceed inline capabilities.
   NOTE: @tailwind directives removed — not needed with CDN-based Tailwind.
*/

/* Base resets & smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== UNIFIED CONTAINER — used on every section ===== */
/*
   Replaces all inconsistent max-w-7xl / max-w-5xl / max-w-3xl / max-w-[1300px].
   Every major section wrapper should use this class.
   Inner prose or narrow content still uses max-w-3xl / max-w-2xl centered inside.
   !important is required because Tailwind CDN utilities (e.g. w-full) 
   would otherwise override this width.
*/
.aura-container {
  width: min(100% - 32px, 1240px) !important;
  margin-inline: auto;
}

/* Hero Section — strictly viewport-height, clears fixed header */
.hero-section {
  height: 100svh;
  max-height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(217, 169, 62, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(217, 169, 62, 0);
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(217, 169, 62, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes ripple {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

/* Reusable Animation Classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

.animate-pulse-ring {
  animation: pulse-ring 2s infinite;
}

.animate-breathe {
  animation: breathe 4s ease-in-out infinite;
}

/* Scroll Reveal (Handled via IntersectionObserver in main.js) */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
.delay-400 {
  transition-delay: 400ms;
}
.delay-500 {
  transition-delay: 500ms;
}

/* Custom Form Styles overrides for webkit autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}
