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

:root {
  --navy: #0a1628;
  --navy-light: #0f1e33;
  --sage: #7b9d81;
  --sage-dark: #5f7d64;
  --gold: #c9a96e;
  --text-primary: #f0ece4;
  --text-secondary: #a8a3b3;
  --border: rgba(255,255,255,0.08);
  --max-width: 960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sage); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

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

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.nav-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.nav-links a { font-size: 14px; color: var(--text-secondary); letter-spacing: 0.3px; }
.nav-links a:hover { color: var(--text-primary); }

.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }

/* === Hero === */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,157,129,0.12) 0%, transparent 70%);
}

.hero h1 {
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero .subtitle {
  font-size: 22px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cta-button:hover { background: var(--sage-dark); color: #fff; transform: translateY(-1px); }

/* === Sections === */
section { padding: 80px 0; }

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.feature-icon { font-size: 32px; margin-bottom: 16px; }

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--text-primary);
}

.feature-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* === Testimonials === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.testimonial-author { color: var(--text-secondary); font-size: 14px; }
.testimonial-author strong { color: var(--sage); }

/* === Saints Cards === */
.saints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.saint-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.saint-card:hover { border-color: var(--sage); transform: translateY(-2px); }

.saint-card h3 { font-size: 22px; margin-bottom: 8px; font-weight: 400; }
.saint-card .saint-dates { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.saint-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* === Legal / Policy Pages === */
.legal-page { padding: 60px 0 100px; }

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 8px;
  font-weight: 400;
}

.legal-page .last-updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
  font-weight: 400;
  color: var(--sage);
}

.legal-page h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 400;
}

.legal-page p, .legal-page li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul { padding-left: 24px; list-style-type: disc; }
.legal-page li { margin-bottom: 8px; }

/* === Article Pages (Saints, Maronite) === */
.article-page { padding: 60px 0 100px; }

.article-page h1 {
  font-size: 40px;
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.article-page .article-meta {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-page h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
  font-weight: 400;
  color: var(--sage);
}

.article-page p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.article-page blockquote {
  border-left: 3px solid var(--sage);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(123,157,129,0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-primary);
}

/* === CTA Banner === */
.cta-banner {
  text-align: center;
  padding: 60px 24px;
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}

.cta-banner h2 { font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 24px; font-size: 17px; }

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  color: var(--text-secondary);
  font-size: 14px;
}

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

.footer-brand p { margin-top: 8px; line-height: 1.6; max-width: 280px; }

.footer-col h4 {
  color: var(--text-primary);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
}

.footer-col a { display: block; color: var(--text-secondary); margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* === Support Page === */
.support-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.support-card h2 { font-size: 24px; font-weight: 400; margin-bottom: 16px; }

.support-card .support-email {
  display: inline-block;
  font-size: 20px;
  color: var(--sage);
  margin: 16px 0;
  padding: 12px 28px;
  border: 1px solid var(--sage);
  border-radius: 8px;
  transition: background 0.2s;
}

.support-card .support-email:hover { background: rgba(123,157,129,0.1); }

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero .subtitle { font-size: 18px; }
  .hero { padding: 60px 24px 50px; }

  .section-title { font-size: 26px; }
  section { padding: 50px 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .article-page h1 { font-size: 30px; }
  .legal-page h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
