/* ===============================
   GLOBAL BASE STYLES
================================== */
body {
  scroll-behavior: smooth;
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  padding: 0;
}

a.cta-button,
a.cta-button:hover {
  background-color: transparent;
  color: #222;
  border-color: #222;
}

.pure-button-hover,
.pure-button:focus,
.pure-button:hover {
  background-color: unset !important;
  background-image: unset !important;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===============================
   HERO SECTION
================================== */
.hero-section {
  background: url('/wp-content/themes/kqmusic/assets/media/hero-background-img/peace.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 4rem;
  border-radius: 1rem;
  max-width: 960px;
  width: 100%;
  box-shadow: 0 0 80px rgba(255, 255, 255, 0.05);
}

/* Hero step-by-step */
.hero-content h1,
.hero-content p,
.hero-content .cta-button {
  opacity: 0;
  transform: translateY(20px);
}

.hero-section.in-view .hero-content h1 {
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.1s;
}

.hero-section.in-view .hero-content p {
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.6s;
}

.hero-section.in-view .hero-content .cta-button {
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1.1s;
}

.hero-content h1 {
  font-size: 4em;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.4em;
  color: #fff;
}

.hero-content p {
  font-size: 2em;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-button {
  font-size: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.75em 2em;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  transition: all 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 3.5em; }
  .hero-content p { font-size: 1.25em; }
}

/* ===============================
   PEACE TONE — BACKGROUND COLORS
================================== */
.section-playlist     { background-color: #f5f5f5; color: #222; }
.section-verse        { background-color: #fafafa; color: #222; }
.section-prayer       { background-color: #ffffff; color: #333; }
.section-testimonies  { background-color: #f0f0f0; color: #222; }
.section-about        { background-color: #fdfdfb; color: #222; }
.section-support      { background-color: #f7f7f7; color: #222; }
.site-footer          { background-color: #eeeeee; color: #444; }

/* ===============================
   SHARED SECTION LAYOUT
================================== */
.section-playlist,
.section-verse,
.section-prayer,
.section-testimonies,
.section-about,
.section-support {
  padding: 6rem 2rem;
  min-height: 100vh;
  text-align: center;
}

.playlist-content,
.verse-content,
.prayer-content,
.testimonies-content,
.about-content,
.support-content {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
}

/* ===============================
   STAGGERED SECTION ANIMATION
================================== */

/* Base state */
.playlist-content h2,
.playlist-content p,
.playlist-content .playlist-video,
.verse-content h2,
.verse-content blockquote,
.verse-content p,
.prayer-content h2,
.prayer-content p,
.prayer-form,
.testimonies-content h2,
.testimony-cards,
.about-content h2,
.about-content p,
.support-content h2,
.support-content p,
.support-links {
  opacity: 0;
  transform: translateY(20px);
}
.playlist-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Section trigger */
.section-playlist.in-view .playlist-content h2           { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.1s; }
.section-playlist.in-view .playlist-content p            { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.4s; }
.section-playlist.in-view .playlist-video                { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.7s; }

.section-verse.in-view .verse-content h2                 { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.1s; }
.section-verse.in-view .verse-content blockquote         { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.4s; }
.section-verse.in-view .verse-content p                  { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.7s; }

.section-prayer.in-view .prayer-content h2               { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.1s; }
.section-prayer.in-view .prayer-content p                { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.4s; }
.section-prayer.in-view .prayer-form                     { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.7s; }

.section-testimonies.in-view .testimonies-content h2     { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.1s; }
.section-testimonies.in-view .testimony-cards            { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.4s; }

.section-about.in-view .about-content h2                 { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.1s; }
.section-about.in-view .about-content p                  { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.4s; }

.section-support.in-view .support-content h2             { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.1s; }
.section-support.in-view .support-content p              { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.4s; }
.section-support.in-view .support-links                  { animation: fadeIn 0.8s ease-out forwards; animation-delay: 0.7s; }


.playlist-content h2 {
  font-size: 2em;
}
.playlist-content p {
  font-size: 2em;
}

.verse-content h2 {
  font-size: 4em;
}
.verse-content blockquote {
  font-size: 2em;
}
.verse-content p {
  font-size: 1.5em;
}

.prayer-content h2 {
  font-size: 2em;
}
.prayer-content p {
  font-size: 1.5em;
}

/* ===============================
   TESTIMONY CARDS RESPONSIVE GRID
================================== */
.testimony-cards {
  display: grid;
  gap: 2rem;
}
.section-testimonies.in-view .testimony-cards .card-1 {
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.section-testimonies.in-view .testimony-cards .card-2 {
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.4s;
}
.section-testimonies.in-view .testimony-cards .card-3 {
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.6s;
}
.section-testimonies.in-view .testimony-cards .card-4 {
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

.testimonies-content h2 {
  font-size: 2em;
}
.testimony-quote {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 2rem;
  border-radius: 12px;
  font-style: italic;
  font-size: 1.5em;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
  color: #222;
}

.testimony-quote footer {
  margin-top: 1rem;
  font-size: 0.7em;
  opacity: 0.6;
  text-align: right;
  color: #555;
}

@media (min-width: 1024px) {
  .testimony-cards { grid-template-columns: repeat(3, 1fr); }
  .card-4 { display: none; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .testimony-cards { grid-template-columns: repeat(2, 1fr); }
  .card-1, .card-2, .card-3, .card-4 { display: block; }
}

@media (max-width: 639px) {
  .testimony-cards { grid-template-columns: 1fr; }
  .card-4 { display: none; }
}

/* ===============================
   ABOUT LINE & SUPPORT LINKS
================================== */
.about-content h2 {
  font-size: 2em;
}
.about-content p {
  font-size: 1.5em;
}


.about-dynamic {
  font-style: italic;
  color: #444;
  font-size: 1.3em;
  opacity: 1;
}

.support-content h2 {
  font-size: 2em;
}
.support-content p {
  font-size: 1.5em;
}

.support-links {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.support-links a {
  border: 1px solid #222;
  color: #222;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.support-links a:hover {
  background-color: #222;
  color: #fff;
}

/* ===============================
   FOOTER
================================== */
.site-footer {
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-social {
  color: #222;
  text-decoration: none;
  border: 1px solid #222;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background-color: #222;
  color: #fff;
}

.footer-subscribe {
  font-size: 1em;
  opacity: 0.8;
  margin: 1rem 0;
}

.footer-copyright {
  font-size: 0.9em;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-social {
    display: inline-block;
    margin-bottom: 1rem;
  }
}
