/* ==========================================================================
   HOPE 53 MINISTRIES INC (hope53.org)
   Classical Christian Sanctuary & Sacred Heritage Stylesheet
   Polished, Balanced, Centered, High-Legibility Typography
   ========================================================================== */

:root {
  /* Sacred Color Harmony */
  --burgundy: #4a1017;         /* Deep Altar Burgundy */
  --burgundy-dark: #320a0f;    /* Royal Crimson */
  --burgundy-light: #6a1a23;   /* Warm Cardinal */
  
  --gold: #b38728;             /* Church Gold */
  --gold-light: #dfb84b;       /* Bright Gold */
  --gold-warm: #fcf8ee;        /* Soft Linen Gold */
  --gold-border: #d4af37;      /* Filigree Gold */

  --ivory-bg: #faf7f2;         /* Pure Warm Ivory */
  --card-white: #ffffff;       /* Pure Crisp White */
  --border-parchment: #e8e1d3; /* Soft Page Border */
  
  --ink-primary: #1f1a17;      /* Deep Bible Ink */
  --ink-secondary: #4a3f35;    /* Muted Sepia */
  --ink-muted: #736456;        /* Light Tone */

  /* Typography */
  --font-serif-heading: 'Cinzel', Georgia, serif;
  --font-serif-bible: 'EB Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;

  --container-width: 1160px;
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory-bg);
  color: var(--ink-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--gold);
}

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

/* Ornate Filigree Cross Dividers */
.cross-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px auto;
  color: var(--gold);
}

.cross-divider::before,
.cross-divider::after {
  content: "";
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.cross-divider span {
  font-size: 1.3rem;
}

/* Top Announcement Banner */
.top-status-bar {
  background: var(--burgundy-dark);
  color: #ffffff;
  font-family: var(--font-serif-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 2px solid var(--gold-border);
}

.top-status-bar a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 8px;
}

.top-status-bar a:hover {
  color: #ffffff;
}

/* Sanctuary Header */
.sanctuary-header {
  background: #ffffff;
  border-bottom: 2px solid var(--border-parchment);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-cross-icon {
  width: 50px;
  height: 50px;
  background: var(--burgundy);
  border: 2px solid var(--gold-border);
  color: var(--gold-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--font-serif-bible);
  font-size: 0.88rem;
  color: var(--ink-secondary);
  font-style: italic;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-serif-heading);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-primary);
  padding: 6px 2px;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--burgundy);
  border-bottom: 2px solid var(--gold);
}

.nav-cta {
  background: var(--burgundy);
  color: #ffffff !important;
  font-family: var(--font-serif-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(74, 16, 23, 0.2);
}

.nav-cta:hover {
  background: var(--burgundy-dark);
  border-color: var(--gold-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-parchment);
  font-size: 1.4rem;
  padding: 4px 10px;
  color: var(--burgundy);
  cursor: pointer;
}

/* Classical Buttons */
.btn-sacred {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-sacred-primary {
  background: var(--burgundy);
  color: #ffffff;
  border: 1.5px solid var(--gold);
  box-shadow: 0 3px 10px rgba(74, 16, 23, 0.25);
}

.btn-sacred-primary:hover {
  background: var(--burgundy-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 16, 23, 0.35);
}

.btn-sacred-gold {
  background: linear-gradient(180deg, #c59b27 0%, #a67c1e 100%);
  color: #ffffff;
  border: 1.5px solid #dfb84b;
  box-shadow: 0 3px 10px rgba(166, 124, 30, 0.25);
}

.btn-sacred-gold:hover {
  background: linear-gradient(180deg, #d4af37 0%, #b38728 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sacred-outline {
  background: #ffffff;
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
}

.btn-sacred-outline:hover {
  background: var(--burgundy);
  color: #ffffff;
}

/* Centered Sacred Hero */
.sacred-hero {
  background: linear-gradient(180deg, #f5efe4 0%, #faf7f2 100%);
  padding: 60px 0 70px;
  border-bottom: 2px solid var(--border-parchment);
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-warm);
  border: 1px solid var(--gold);
  color: var(--burgundy);
  font-family: var(--font-serif-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-title-main {
  font-family: var(--font-serif-heading);
  font-size: 2.9rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.2;
  max-width: 920px;
  margin: 0 auto 16px;
}

.hero-lead-scripture {
  font-family: var(--font-serif-bible);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink-secondary);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px auto 36px;
}

/* Masterwork Artwork Showcase Frame */
.masterwork-frame {
  max-width: 780px;
  margin: 0 auto;
  border: 3px double var(--gold-border);
  padding: 6px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(74, 16, 23, 0.12);
}

.masterwork-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.masterwork-caption {
  background: var(--burgundy);
  color: #ffffff;
  padding: 12px 18px;
  border-top: 2px solid var(--gold);
}

.masterwork-caption strong {
  font-family: var(--font-serif-heading);
  color: var(--gold-light);
  font-size: 0.95rem;
  display: block;
  letter-spacing: 0.04em;
}

.masterwork-caption span {
  font-family: var(--font-serif-bible);
  font-size: 0.9rem;
  color: #e5ded5;
  font-style: italic;
}

/* Scripture Parchment Banner */
.scripture-banner-parchment {
  background: #ffffff;
  border: 2px solid var(--border-parchment);
  border-left: 6px solid var(--gold);
  border-right: 6px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  padding: 36px 30px;
  margin: 45px auto;
  max-width: 940px;
  text-align: center;
}

.scripture-banner-text {
  font-family: var(--font-serif-bible);
  font-size: 1.45rem;
  line-height: 1.65;
  color: var(--burgundy);
  font-style: italic;
  margin-bottom: 12px;
}

.scripture-banner-source {
  font-family: var(--font-serif-heading);
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Section Common Styling */
.section-sanctuary {
  padding: 65px 0;
}

.section-alt-ivory {
  background: #f4ede1;
  border-top: 2px solid var(--border-parchment);
  border-bottom: 2px solid var(--border-parchment);
}

.section-header-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.section-heading-serif {
  font-family: var(--font-serif-heading);
  font-size: 2.2rem;
  color: var(--burgundy);
  margin-bottom: 8px;
  font-weight: 700;
}

.section-subtitle-serif {
  font-family: var(--font-serif-bible);
  font-size: 1.2rem;
  color: var(--ink-secondary);
  font-style: italic;
  line-height: 1.6;
}

/* Classical Feature Cards (Triptych) */
.cards-triptych {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.sacred-card {
  background: var(--card-white);
  border: 1px solid var(--border-parchment);
  border-top: 4px solid var(--burgundy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sacred-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(74, 16, 23, 0.12);
  border-top-color: var(--gold);
}

.card-img-frame {
  height: 240px;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}

.card-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sacred-card:hover .card-img-frame img {
  transform: scale(1.04);
}

.card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-family: var(--font-serif-heading);
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-serif-heading);
  font-size: 1.3rem;
  color: var(--burgundy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-body-text {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

/* Feature Showcase (Fellowship Focus) */
.showcase-box {
  background: #ffffff;
  border: 3px double var(--gold-border);
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  margin: 30px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.sacred-list {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sacred-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.list-icon-cross {
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1.3;
}

.list-info h5 {
  font-family: var(--font-serif-heading);
  font-size: 1rem;
  color: var(--burgundy);
  margin-bottom: 2px;
}

.list-info p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Prayer Wall Parchment Cards */
.prayer-parchment-card {
  background: #ffffff;
  border: 1px solid var(--border-parchment);
  border-left: 4px solid var(--gold);
  padding: 22px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.prayer-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif-heading);
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.prayer-author {
  font-weight: 700;
  color: var(--burgundy);
}

.prayer-quote-text {
  font-family: var(--font-serif-bible);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--ink-primary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.prayer-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-parchment);
  padding-top: 10px;
}

.btn-pray-counter {
  background: var(--gold-warm);
  color: var(--burgundy);
  border: 1px solid var(--gold);
  font-family: var(--font-serif-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-pray-counter:hover {
  background: var(--burgundy);
  color: #ffffff;
  border-color: var(--burgundy);
}

/* Sacred Form Card */
.sacred-form-card {
  background: #ffffff;
  border: 3px double var(--gold-border);
  padding: 40px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  margin: 0 auto;
}

.form-group-sanctuary {
  margin-bottom: 20px;
}

.form-label-sanctuary {
  display: block;
  font-family: var(--font-serif-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.form-input-sanctuary {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-primary);
  background: #fefdfa;
  border: 1px solid var(--border-parchment);
  border-radius: 2px;
}

.form-input-sanctuary:focus {
  outline: none;
  border-color: var(--burgundy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(74, 16, 23, 0.1);
}

textarea.form-input-sanctuary {
  min-height: 110px;
  resize: vertical;
}

/* Classical Accordion */
.faq-box-classical {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card-item {
  background: #ffffff;
  border: 1px solid var(--border-parchment);
  border-left: 3px solid var(--burgundy);
}

.faq-q {
  padding: 18px 22px;
  font-family: var(--font-serif-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--burgundy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q span:last-child {
  color: var(--gold);
  font-size: 1.3rem;
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* Cathedral Footer */
.cathedral-footer {
  background: var(--burgundy-dark);
  color: #d1c3b1;
  padding: 60px 0 26px;
  border-top: 4px solid var(--gold-border);
}

.footer-grid-classical {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-header-title {
  font-family: var(--font-serif-heading);
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(223, 184, 75, 0.3);
  padding-bottom: 6px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-list a {
  color: #d1c3b1;
  font-size: 0.88rem;
}

.footer-nav-list a:hover {
  color: var(--gold-light);
}

.footer-bottom-copy {
  text-align: center;
  border-top: 1px solid rgba(223, 184, 75, 0.2);
  padding-top: 22px;
  font-size: 0.82rem;
  color: #9c8a78;
  line-height: 1.7;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid-classical {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title-main {
    font-size: 2.2rem;
  }
  .masterwork-img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-bar {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    gap: 12px;
  }
  .nav-bar.active {
    display: flex;
  }
  .hero-title-main {
    font-size: 1.85rem;
  }
  .footer-grid-classical {
    grid-template-columns: 1fr;
  }
  .showcase-box, .sacred-form-card {
    padding: 24px 18px;
  }
}
