/* =========================================================
   Tuviah Christian Ministries — Site Styles
   Brand: royal purple + gold, crowned lion crest
   Palette: #3B0066 / #6A0DAD / #A569BD / #C8A2C8 / #FFD700 / #DAA520 / #E8A87C
   Fonts: Cinzel (display), Manrope (body)
   ========================================================= */

:root {
  --purple-dark: #3b0066;
  --purple: #6a0dad;
  --purple-light: #a569bd;
  --lilac: #c8a2c8;
  --gold: #ffd700;
  --gold-deep: #daa520;
  --sunset: #e8a87c;
  --ink: #241333;
  --plum-black: #1d0433;
  --gray-700: #4d4258;
  --gray-500: #8d8398;
  --gray-200: #e9e2ef;
  --cream: #faf7fc;
  --white: #ffffff;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cinzel", "Times New Roman", serif;
  --shadow-sm: 0 1px 3px rgba(59, 0, 102, 0.1);
  --shadow-md: 0 8px 28px rgba(59, 0, 102, 0.14);
  --radius: 12px;
  --max-w: 1140px;
}

/* Sips, Dips & Sides sub-brand accents */
.page-sds {
  --accent: #f4a825;        /* sunflower gold */
  --accent-2: #ff6f61;      /* coral */
  --accent-3: #2a9d8f;      /* teal */
  --accent-4: #2e9bff;      /* bright blue */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--purple-dark);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border-radius: 2px;
  margin-top: 14px;
}

.section-title.center { text-align: center; }
.section-title.center::after { margin-left: auto; margin-right: auto; }

.lead { font-size: 19px; color: var(--gray-700); }

.scripture-ref {
  font-style: italic;
  color: var(--purple-light);
  font-size: 15px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--purple-dark);
}
.btn-gold:hover { filter: brightness(1.06); color: var(--purple-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--purple-dark); }

.btn-outline-dark {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline-dark:hover { background: var(--purple); color: var(--white); }

/* ---------- Top bar ---------- */

.top-bar {
  background: var(--plum-black);
  color: var(--lilac);
  font-size: 14px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.top-bar a { color: var(--gold); font-weight: 600; }
.top-bar a:hover { color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  background: linear-gradient(180deg, var(--purple-dark), #4a0b7e);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 58px; width: auto; }
.logo .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--gold);
  line-height: 1.2;
}
.logo .logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lilac);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 13px;
  color: #eaddf5;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
}

.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); }

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--purple-dark);
  margin-left: 8px;
  padding: 10px 20px;
}
.main-nav .nav-cta:hover { filter: brightness(1.06); color: var(--purple-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 4, 51, 0.55), rgba(59, 0, 102, 0.72));
}

.hero .container {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
  max-width: 880px;
}

.hero-kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(29, 4, 51, 0.6);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 19px;
  max-width: 640px;
  margin: 0 auto 30px;
  color: #f0e7f8;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero.hero-sub .container { padding-top: 84px; padding-bottom: 84px; }

/* ---------- Quote banner ---------- */

.quote-banner {
  background: linear-gradient(120deg, var(--purple-dark), var(--purple));
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.quote-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--gold);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-banner cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lilac);
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
.section-alt { background: var(--cream); }
.section-dark {
  background: linear-gradient(160deg, var(--plum-black), var(--purple-dark));
  color: #eaddf5;
}
.section-dark .section-title, .section-dark h3 { color: var(--white); }
.section-dark p { color: #d9c8e8; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.card-img { width: 100%; height: 210px; object-fit: cover; }

.card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 21px; }
.card-body p { color: var(--gray-700); flex: 1; }
.card-body .btn { align-self: flex-start; }

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.info-card h3 { font-size: 20px; margin-bottom: 8px; }
.info-card p { color: var(--gray-700); }

.info-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Ministry lane cards */
.lane-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
  border-top: 5px solid var(--purple);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lane-card.gold-top { border-top-color: var(--gold-deep); }
.lane-card.sunset-top { border-top-color: var(--sunset); }
.lane-card.lilac-top { border-top-color: var(--purple-light); }

.lane-card h3 { font-size: 21px; }

.lane-sub {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lane-card p { color: var(--gray-700); flex: 1; }

.lane-tone {
  font-size: 14px;
  font-style: italic;
  color: var(--purple-light);
}

.lane-card .card-link { font-weight: 800; }

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ---------- Stats / pillars ---------- */

.stat-row { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }

.stat h4 {
  font-size: 34px;
  color: var(--purple);
  font-family: var(--font-display);
}

.stat span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.pillar {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.pillar .icon { color: var(--gold); margin-bottom: 12px; display: inline-flex; }
.pillar h3 { font-size: 19px; color: var(--white); margin-bottom: 6px; }
.pillar p { font-size: 15px; }

/* ---------- Values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.value-tile {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  padding: 28px 14px;
}

.value-tile .icon { color: var(--gold-deep); display: inline-flex; margin-bottom: 10px; }
.value-tile h3 { font-size: 17px; }

/* ---------- Timeline (story sections) ---------- */

.story-block { max-width: 780px; margin: 0 auto 54px; }
.story-block:last-child { margin-bottom: 0; }

.story-block .story-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-block h2 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 14px; }
.story-block p { color: var(--gray-700); }

/* ---------- Charts ---------- */

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.chart-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

/* ---------- Dedication / long-form ---------- */

.longform {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--gray-700);
}

.longform p { margin-bottom: 20px; }

.longform .drop p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 54px;
  float: left;
  line-height: 0.9;
  padding-right: 10px;
  color: var(--gold-deep);
}

.longform .signature {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--purple);
  text-align: right;
}

.dedication-intro {
  text-align: center;
  margin-bottom: 40px;
}

.dedication-intro .vol {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-500);
}

details.read-more { margin-top: 8px; }

details.read-more summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--purple);
  list-style: none;
  display: inline-block;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  margin-bottom: 24px;
}

details.read-more summary::-webkit-details-marker { display: none; }

/* ---------- Offer list ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.offer {
  background: var(--white);
  border-radius: 10px;
  border-left: 4px solid var(--accent, var(--gold-deep));
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}

.page-sds .offer:nth-child(4n + 2) { border-left-color: var(--accent-2); }
.page-sds .offer:nth-child(4n + 3) { border-left-color: var(--accent-3); }
.page-sds .offer:nth-child(4n + 4) { border-left-color: var(--accent-4); }

/* ---------- Link lists (resources / referrals) ---------- */

.link-list { list-style: none; margin-top: 26px; }

.link-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.link-list li strong { font-size: 17px; }
.link-list li span { color: var(--gray-500); font-size: 15px; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background:
    linear-gradient(120deg, rgba(29, 4, 51, 0.88), rgba(106, 13, 173, 0.82)),
    url("../images/lion-crest-scene.png") center 22% / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 84px 0;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 12px;
}

.cta-banner p { max-width: 560px; margin: 0 auto 28px; color: #ecdff7; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--purple-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #f3e8ff;
  border: 1px solid var(--purple-light);
  color: var(--purple-dark);
  font-weight: 600;
}

.form-status.visible { display: block; }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--plum-black);
  color: #cbb8dc;
  padding-top: 64px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-logo img { height: 64px; margin-bottom: 14px; }

.site-footer h4 {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-weight: 800;
}

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cbb8dc; }
.site-footer a:hover { color: var(--gold); }

.footer-scripture {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 215, 0, 0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.footer-social { display: flex; gap: 12px; margin-top: 18px; }

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.footer-social a:hover { background: var(--gold); color: var(--purple-dark); }

.footer-bottom {
  border-top: 1px solid rgba(200, 162, 200, 0.18);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: #9d87b3;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 34px; direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 10px; }
  .main-nav .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero .container { padding-top: 84px; padding-bottom: 84px; }
  .section { padding: 60px 0; }
  .top-bar .top-links { display: none; }
}
