/* =====================================================================
   WENDYSPO — CUSTOM STYLES
   Minimal styling to supplement Tailwind CSS.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  color: #1E1B2E;
  background-color: #FFFFFF;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #FAF9FF;
}
::-webkit-scrollbar-thumb {
  background: #E5E0FF;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7C5CFF;
}

/* Selection colors */
::selection {
  background-color: #7C5CFF;
  color: #FFFFFF;
}

/* Floating animation for iPhone mockup */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(1deg);
  }
  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Animated background gradient shift */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
}

/* Scroll reveal animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .float-animation {
    animation: none !important;
    transform: none !important;
  }
}

/* Custom glow borders and soft shadows */
.shadow-glow {
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.15);
}
.shadow-glow-hover:hover {
  box-shadow: 0 20px 45px -10px rgba(124, 92, 255, 0.35);
}

/* Smooth active button click */
.btn-press {
  transition: transform 150ms ease, filter 150ms ease;
}
.btn-press:active {
  transform: scale(0.95);
}
