/* =============================================================================
   Pride Destroy — Stylesheet
   Deep red + gold on light background. Masculine, clean, readable.
   ============================================================================= */

:root {
  --red: #8b0000;
  --red-dark: #5c0000;
  --red-light: #a52a2a;
  --gold: #c79324;
  --gold-light: #e0b84c;
  --dark: #1a1a1a;
  --text: #2d2d2d;
  --muted: #6b6b6b;
  --light: #faf8f5;
  --white: #ffffff;
  --border: #e0dcd5;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1100px;
  --narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-dark); }
strong { color: var(--dark); }
blockquote { border-left: 4px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
cite { font-style: italic; color: var(--muted); font-size: 0.9rem; }
.lead { font-size: 1.15rem; color: var(--dark); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: var(--narrow); }
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-cta { background: var(--red); color: var(--white); }
.section-cta h2, .section-cta p { color: var(--white); }
.section-cta .btn-primary { background: var(--gold); color: var(--dark); }
.section-cta .btn-primary:hover { background: var(--gold-light); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem; flex-wrap: wrap; gap: 0.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--dark); font-weight: 800;
}
.brand-mark {
  background: var(--red); color: var(--white);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 0.85rem; font-weight: 900; letter-spacing: -0.5px;
}
.brand-name { font-size: 1.1rem; letter-spacing: -0.3px; }
.main-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.main-nav a {
  padding: 0.4rem 0.75rem; border-radius: var(--radius);
  color: var(--text); font-size: 0.9rem; font-weight: 500;
}
.main-nav a:hover { background: var(--light); color: var(--red); }
.lang-switch { display: flex; gap: 0.25rem; }
.ls-link {
  padding: 0.3rem 0.5rem; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--border);
}
.ls-link.active { background: var(--red); color: var(--white); border-color: var(--red); }
.ls-link:hover:not(.active) { border-color: var(--red); color: var(--red); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1515 100%);
  color: var(--white); padding: 5rem 0; text-align: center;
}
.hero-headline { font-size: 3rem; color: var(--white); margin-bottom: 0.25rem; }
.hero-sub { font-size: 1.5rem; color: var(--gold); font-weight: 600; margin-bottom: 1.5rem; }
.hero-body { max-width: 600px; margin: 0 auto 2rem; color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.2s;
  text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ── Fruit Categories ───────────────────────────────────────── */
.fruit-cats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.fruit-cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.fruit-cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-range {
  display: inline-block; background: var(--red); color: var(--white);
  padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.fruit-cat-card h3 { font-size: 1rem; margin: 0; }

/* ── Fruit Grid ─────────────────────────────────────────────── */
.cat-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.cat-range-badge {
  background: var(--red); color: var(--white); padding: 0.3rem 0.8rem;
  border-radius: 4px; font-weight: 800; font-size: 0.9rem; white-space: nowrap;
}
.fruit-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.fruit-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  border-left: 4px solid var(--red);
  transition: box-shadow 0.2s;
}
.fruit-card:hover { box-shadow: var(--shadow); }
.fruit-num {
  display: inline-block; background: var(--light); color: var(--red);
  width: 28px; height: 28px; border-radius: 50%; text-align: center;
  line-height: 28px; font-size: 0.8rem; font-weight: 800; margin-bottom: 0.5rem;
}
.fruit-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.fruit-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ── Root Block ─────────────────────────────────────────────── */
.root-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin: 1.5rem 0; }
.root-text { font-size: 1.1rem; margin-bottom: 1rem; }
.root-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.root-list li {
  background: var(--red); color: var(--white); padding: 0.4rem 1rem;
  border-radius: 20px; font-weight: 600; font-size: 0.95rem;
}

/* ── Verse Block ────────────────────────────────────────────── */
.verse-block { border-left-color: var(--gold); }
.verse-block p { font-style: italic; font-size: 1.1rem; color: var(--dark); }
.verse-large p { font-size: 1.3rem; }

/* ── Test Form ──────────────────────────────────────────────── */
.test-form { margin-top: 2rem; }
.test-question {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem;
}
.test-q-num { font-weight: 800; color: var(--red); font-size: 0.9rem; margin-bottom: 0.25rem; }
.test-q-text { font-weight: 600; margin-bottom: 0.75rem; }
.test-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.test-opt {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.75rem; border: 1px solid var(--border);
  border-radius: 20px; cursor: pointer; font-size: 0.85rem;
  transition: all 0.15s;
}
.test-opt:hover { border-color: var(--red); }
.test-opt input[type="radio"] { accent-color: var(--red); }
.test-opt:has(input:checked) { background: var(--red); color: var(--white); border-color: var(--red); }

.test-result {
  background: var(--white); border: 2px solid var(--gold);
  border-radius: var(--radius); padding: 2rem; margin-top: 2rem;
}
.test-result h2 { color: var(--red); }

/* ── Steps ──────────────────────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  border-left: 4px solid var(--gold);
}
.step-card h2 { font-size: 1.2rem; color: var(--red); }
.step-card p { margin: 0; }

/* ── Reflection ─────────────────────────────────────────────── */
.reflection-list { padding-left: 1.5rem; }
.reflection-list li { margin-bottom: 0.75rem; font-size: 1.05rem; line-height: 1.5; }

/* ── Verse List ──────────────────────────────────────────────── */
.verse-list { display: flex; flex-direction: column; gap: 1rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 3rem 0; text-align: center;
}
.footer-tagline { color: var(--gold); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-verse { font-style: italic; margin-bottom: 1rem; }
.footer-credit { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ── Quote Grid ──────────────────────────────────────────────── */
.quote-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.quote-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.quote-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.quote-card img { width: 100%; height: auto; display: block; }
.quote-card-info { padding: 1.25rem; }
.quote-card-info h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.quote-card-info p { font-size: 0.85rem; margin-bottom: 0.75rem; }
.quote-card-actions { display: flex; gap: 0.5rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; border-radius: 4px; }
.btn-outline { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 1.15rem; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .main-nav { width: 100%; justify-content: flex-start; }
  .fruit-grid { grid-template-columns: 1fr; }
  .fruit-cats { grid-template-columns: repeat(2, 1fr); }
  .test-options { flex-direction: column; }
  .section { padding: 2.5rem 0; }
}

/* ── Share Page ─────────────────────────────────────────────── */
.hero-share {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2d15 100%);
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.share-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.share-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.share-card-inner {
  padding: 1.5rem 1.5rem 1rem;
  flex: 1;
  border-left: 4px solid var(--red);
}
.share-card-num {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  width: 28px; height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.share-card-quote {
  border: none;
  padding: 0;
  margin: 0 0 0.5rem;
  background: none;
}
.share-card-quote p {
  font-style: italic;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
}
.share-card-ref {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.share-card-actions {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--light);
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  color: var(--muted);
}
.share-btn:hover { transform: scale(1.1); }
.share-tw:hover { background: #1d9bf0; color: #fff; border-color: #1d9bf0; }
.share-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-copy:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Big share buttons */
.share-big-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  color: var(--white);
}
.btn-share-tw { background: #1d9bf0; }
.btn-share-tw:hover { background: #0c7abf; color: var(--white); }
.btn-share-fb { background: #1877f2; }
.btn-share-fb:hover { background: #0d5fc5; color: var(--white); }
.btn-share-wa { background: #25d366; }
.btn-share-wa:hover { background: #1da851; color: var(--white); }

/* Embed code block */
.embed-code-block {
  background: var(--dark);
  color: #e0e0e0;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
  overflow-x: auto;
}
.embed-code-block pre {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
}
.embed-code-block code {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
}

/* Email signup */
.email-signup {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.email-signup h2 {
  color: var(--red);
  margin-bottom: 0.5rem;
}
.email-signup p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-input {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s;
}
.email-input:focus {
  outline: none;
  border-color: var(--gold);
}
.email-privacy {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.email-success {
  background: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
}
.email-success p {
  color: #2e7d32;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 768px) {
  .share-grid { grid-template-columns: 1fr; }
  .share-big-btns { flex-direction: column; align-items: center; }
  .email-signup { padding: 1.5rem; }
  .email-form { flex-direction: column; }
}

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}
.breadcrumb a {
  color: var(--red);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-sep {
  color: var(--border);
  margin: 0 0.4rem;
}
.breadcrumb-current {
  color: var(--muted);
}

/* ── Footer Related Ministries ───────────────────────────────── */
.footer-related {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-related h4 {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.footer-related-link {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-related-link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.footer-related-link strong {
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 0.15rem;
}
.footer-related-link span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
}

/* ── Sitemap ─────────────────────────────────────────────────── */
.sitemap-list {
  list-style: none;
  padding: 0;
}
.sitemap-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}
.sitemap-item:last-child {
  border-bottom: none;
}
.sitemap-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--red);
  text-decoration: none;
}
.sitemap-link:hover {
  text-decoration: underline;
}
.sitemap-url {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: monospace;
}

/* ── Share Copy Blocks (Resources page) ──────────────────────── */
.share-copy-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.share-copy-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.share-copy-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.share-pre {
  background: #f5f2ed;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  margin: 0.75rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.share-pre code {
  font-family: var(--font);
  color: var(--text);
}
