/* ============================
   LBC MUSIC MINISTRY PAGE STYLES
   Choir, worship, and special music
   Mobile-first responsive design
   ============================ */

/* ============================
   This file uses design tokens from lbc-tokens.css
   DO NOT redefine :root variables here
   ============================ */

/* Prevent horizontal overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

main {
  background: var(--lbc-cream);
  width: 100%;
}

/* =====================
   CONTAINER
   ===================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 641px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* =====================
   1. HERO SECTION
   HERO SPACING MOVED TO lbc-overrides.css
   ===================== */
.ministry-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--lbc-white);
  background: linear-gradient(135deg, var(--lbc-navy) 0%, var(--lbc-navy-soft) 50%, var(--lbc-navy) 100%);
}

.hero-music {
  background: linear-gradient(135deg, var(--lbc-navy) 0%, var(--lbc-navy-light) 50%, var(--lbc-navy) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 33, 0.85); /* Navy overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lbc-gold);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(208, 167, 95, 0.4); /* Gold border */
  border-radius: 999px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin: 0 0 1.5rem;
  max-width: 600px;
  margin-inline: auto;
}

.hero-verse {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--lbc-gold);
  padding: 1.25rem;
  margin: 0 auto 2rem;
  max-width: 600px;
  text-align: left;
  border-radius: 0 0.5rem 0.5rem 0;
}

.hero-verse p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--lbc-gold-light);
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.hero-verse cite {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

@media (min-width: 641px) {
  .ministry-hero {
    /* Hero spacing handled by lbc-overrides.css */
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .hero-lead {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: row;
    width: auto;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: auto;
    max-width: none;
    margin: 0;
  }
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lbc-gold), var(--lbc-gold-light));
  color: var(--lbc-navy);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(208, 167, 95, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208, 167, 95, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

/* =====================
   SECTION HEADERS
   ===================== */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lbc-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lbc-navy);
  margin: 0;
}

@media (min-width: 641px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* =====================
   2. PHILOSOPHY SECTION
   ===================== */
.philosophy-section {
  padding: 3rem 0;
  background: #fff;
}

.philosophy-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lbc-gold);
  margin-bottom: 0.5rem;
}

.philosophy-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lbc-navy);
  margin: 0 0 1rem;
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.philosophy-text p {
  font-size: 1rem;
  color: var(--lbc-text-soft);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.philosophy-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--lbc-text-soft);
  line-height: 1.6;
}

.philosophy-list li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--lbc-gold);
}

.philosophy-list li strong {
  color: var(--lbc-navy);
}

.philosophy-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .philosophy-section {
    padding: 4rem 0;
  }
  
  .philosophy-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .philosophy-title {
    font-size: 2rem;
  }
}

/* =====================
   3. MUSIC MINISTRIES SECTION
   ===================== */
.music-ministries-section {
  padding: 3rem 0;
  background: var(--lbc-cream);
}

.music-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.music-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.music-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.music-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--lbc-cream);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--lbc-gold);
}

.music-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--lbc-navy);
  margin: 0 0 0.75rem;
}

.music-card p {
  font-size: 0.9375rem;
  color: var(--lbc-text-soft);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.music-schedule {
  font-size: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--lbc-text-soft);
}

.music-schedule strong {
  color: var(--lbc-navy);
}

@media (min-width: 768px) {
  .music-ministries-section {
    padding: 4rem 0;
  }
  
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================
   4. INVOLVED SECTION (Centered)
   ===================== */
.involved-section {
  padding: 3rem 0;
  background: #fff;
}

.involved-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lbc-gold);
  margin-bottom: 0.5rem;
}

.involved-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lbc-navy);
  margin: 0 0 1rem;
}

.involved-content-centered {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.involved-content-centered p {
  font-size: 1rem;
  color: var(--lbc-text-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.involved-actions {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .involved-section {
    padding: 4rem 0;
  }
  
  .involved-title {
    font-size: 2rem;
  }
}

/* =====================
   5. CTA SECTION
   ===================== */
.cta-section {
  padding: 3.5rem 0 4rem;
  background: var(--lbc-cream);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--lbc-navy);
}

.cta-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lbc-text-soft);
  margin: 0 0 2rem;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

.cta-actions .btn {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.cta-section .btn-outline {
  border-color: var(--lbc-navy);
  color: var(--lbc-navy);
  background: transparent;
}

.cta-section .btn-outline:hover {
  background: var(--lbc-navy);
  color: #fff;
}

@media (min-width: 641px) {
  .cta-section {
    padding: 4rem 0;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-actions {
    flex-direction: row;
    width: auto;
    gap: 1rem;
  }
  
  .cta-actions .btn {
    width: auto;
    max-width: none;
    margin: 0;
  }
}
