/* Mustard Seed Marketing — static site styles.
   Tailwind comes from the CDN; this file holds the handful of rules
   that aren't utility classes. */

:root {
  --background: #ffffff;
  --foreground: #ffffff;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

/* Used by the fade-in reveal on section content. */
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 0.5s ease-out; }

/* Hero crossfade layers — JS drives opacity/filter, CSS drives the timing. */
.hero-image {
  transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
}

/* FAQ accordion panels collapse to zero height. */
[data-accordion-panel] {
  transition: height 0.3s ease, opacity 0.3s ease;
}

/* Scroll reveal: elements start hidden, JS adds .is-visible when scrolled into view. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .reveal,
  [data-accordion-panel] {
    transition: none;
  }
  .reveal { opacity: 1; transform: none; }
}
