/* =======================================================
   ROOT PALETTE
======================================================= */
:root {
  --white: #ffffff;
  --offwhite: #fafafa;
  --light-gray: #f1f1f1;
  --gray: #dcdcdc;
  --text-dark: #1e1e1e;
  --text-light: #6b6b6b;

  --accent: #d3b46f;
  --accent-dark: #b69955;

  --border: rgba(0,0,0,0.1);
}

/* =======================================================
   GLOBAL RESET
======================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--offwhite);
  color: var(--text-dark);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 820px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* =======================================================
   HEADER — DESKTOP NAVIGATION
======================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.crc-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.crc-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  position: relative;
  opacity: 0.85;
  transition: 0.25s ease;
}

.crc-nav a:hover {
  opacity: 1;
}

.crc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.crc-nav a:hover::after {
  width: 100%;
}

/* =======================================================
   HAMBURGER BUTTON (CRC STYLE)
======================================================= */
.nav-toggle {
  display: none;
  width: 28px;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =======================================================
   CRC MOBILE DRAWER
======================================================= */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 72%;
  max-width: 290px;
  background: #ffffff;
  box-shadow: 3px 0 18px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  padding-top: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.mobile-panel.open {
  transform: translateX(0);
}

.mobile-panel-header {
  padding: 0 1.4rem 1rem;
  border-bottom: 1px solid var(--border);
}

.close-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mobile Links */
.mobile-link {
  padding: 1rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-12px);
  animation: slideIn 0.45s forwards;
}

.mobile-link:nth-child(2) { animation-delay: .05s; }
.mobile-link:nth-child(3) { animation-delay: .10s; }
.mobile-link:nth-child(4) { animation-delay: .15s; }
.mobile-link:nth-child(5) { animation-delay: .20s; }
.mobile-link:nth-child(6) { animation-delay: .25s; }
.mobile-link:nth-child(7) { animation-delay: .30s; }
.mobile-link:nth-child(8) { animation-delay: .35s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =======================================================
   SLIDESHOW
======================================================= */
.slideshow-container {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Mobile slideshow height */
@media (max-width: 700px) {
  .slideshow-container {
    height: 260px;
  }
}

/* =======================================================
   SECTIONS
======================================================= */
.section {
  padding: 4rem 0;
  background: var(--white);
}

.section-light {
  padding: 4rem 0;
  background: var(--light-gray);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.section-tagline {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

.divider {
  width: 80px;
  height: 3px;
  background: var(--accent);
  border: none;
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

.narrow-text {
  max-width: 620px;
  margin: 0.6rem auto 1.6rem;
  color: var(--text-light);
}

/* Feature Images */
.feature-img {
  width: 55%;
  max-width: 320px;
  margin: 0 auto 1.6rem;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

@media (max-width: 600px) {
  .feature-img {
    width: 75%;
  }
}

/* =======================================================
   MINISTRY PANELS
======================================================= */
.three-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.panel {
  background: var(--white);
  padding: 1.6rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* =======================================================
   BUTTONS
======================================================= */
.btn {
  padding: 0.9rem 1.6rem;
  background: var(--accent);
  color: #000;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid var(--accent);
  margin: 0.45rem;
  display: inline-block;
  transition: 0.25s;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn-outline {
  padding: 0.9rem 1.6rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  margin: 0.45rem;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--accent);
  color: black;
}

.btn-outline-dark {
  padding: 0.9rem 1.6rem;
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  font-weight: 700;
  margin: 0.45rem;
}

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: white;
}

/* BOOK BUTTON GROUPS FIX */
.book-primary-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.retailer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =======================================================
   MUSIC PLATFORM PILLS
======================================================= */
.platform-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pill {
  padding: 0.55rem 1.2rem;
  background: var(--gray);
  border-radius: 8px;
  font-weight: 700;
  transition: 0.25s ease;
}

.pill:hover {
  background: var(--accent);
  color: black;
}

/* =======================================================
   CONTACT FORM
======================================================= */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  background: var(--offwhite);
  font-size: 1rem;
}

.contact-form button {
  width: 100%;
}

/* =======================================================
   FOOTER
======================================================= */
.footer {
  padding: 2.2rem 0;
  text-align: center;
  color: var(--text-light);
  background: var(--white);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

/* =======================================================
   RESPONSIVE BREAKPOINTS
======================================================= */
@media (max-width: 900px) {
  .crc-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}
/* =======================================================
   SIMPLE MOBILE NAV (for signed.html)
   Safe: additive only
======================================================= */
.nav-mobile {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-mobile a {
  display: block;
  padding: 1rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-mobile.open {
  display: block;
}

/* Never show on desktop */
@media (min-width: 901px) {
  .nav-mobile {
    display: none !important;
  }
}
/* FIX: signed.html mobile menu hidden behind header */
.nav-mobile {
  position: relative;
  z-index: 10001;
}
/* W2W Productions image — isolated size adjustment */
.feature-img--music {
  max-width: 540px;
}
/* =======================================================
   BOARD SECTION
======================================================= */

.board-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  justify-items: center; /* forces full centering */
  text-align: center;
}

.board-member {
  display: flex;
  flex-direction: column;
  align-items: center; /* hard center */
}

.board-member img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  object-position: center center;  /* this is the key */
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  display: block;
}
/* =======================================================
   EVENT INDEX PAGE
======================================================= */

.event-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  justify-content: center;
  gap: 2rem;
}

.event-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.event-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

.event-card:hover {
  transform: translateY(-6px);
}

