/* Church of Jesus Christ — Main Styles */
:root {
  --navy: #102a43;
  --navy-dark: #081c2d;
  --gold: #c79a45;
  --gold-light: #e2c27a;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --text: #243746;
  --muted: #687987;
  --line: #e4ded2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 42, 67, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228,222,210,.8);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light);
  font-size: 21px;
}
.brand strong { display: block; color: var(--navy); font-family: "Playfair Display", serif; font-size: 17px; line-height: 1.15; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--text); transition: color .2s; }
.nav a:hover { color: var(--gold); }
.nav-button { background: var(--navy); color: white !important; padding: 11px 18px; border-radius: 5px; }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--navy); margin: 5px; }

.hero {
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7,28,45,.97), rgba(16,42,67,.82)),
    radial-gradient(circle at 80% 20%, rgba(199,154,69,.30), transparent 35%);
}
.hero::after {
  content: "✝";
  position: absolute;
  right: 7%; top: 4%;
  font-family: "Playfair Display", serif;
  color: rgba(255,255,255,.035);
  font-size: 540px;
  line-height: 1;
}
.hero-content { position: relative; z-index: 2; padding: 110px 0 130px; }
.eyebrow { color: var(--gold-light); font-weight: 700; font-size: 12px; letter-spacing: .18em; }
.eyebrow.dark { color: #9b7028; }
.hero h1, h2 { font-family: "Playfair Display", Georgia, serif; line-height: 1.13; }
.hero h1 { color: white; font-size: clamp(48px, 7vw, 82px); margin: 18px 0; max-width: 700px; }
.hero h1 span { color: var(--gold-light); }
.hero-text { max-width: 670px; color: rgba(255,255,255,.82); font-size: 18px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 5px;
  font-weight: 700; font-size: 14px; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.button-primary { background: var(--gold); color: var(--navy-dark); }
.button-outline { border-color: rgba(255,255,255,.45); color: white; }
.button-dark { background: var(--navy); color: white; }
.button-light { background: white; color: var(--navy); border-color: var(--line); }

.service-card {
  margin-top: 65px; padding: 20px 25px;
  max-width: 850px; display: flex; align-items: center; gap: 20px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px); border-radius: 8px; color: white;
}
.service-icon { font-size: 27px; color: var(--gold-light); }
.service-card span, .contact-card span, .contact-person span {
  display: block; color: rgba(255,255,255,.62); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700;
}
.service-card strong { display: block; font-size: 14px; }
.service-divider { height: 45px; width: 1px; background: rgba(255,255,255,.18); margin: 0 5px; }

.section { padding: 100px 0; }
.intro-grid, .two-column, .partnership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro h2, .content h2, .partnership h2, .section-heading h2 { color: var(--navy); font-size: clamp(34px, 4vw, 50px); margin: 12px 0 0; }
.intro-copy { font-size: 17px; color: var(--muted); }
.text-link { color: var(--navy); font-weight: 700; display: inline-block; margin-top: 8px; }
.text-link span { color: var(--gold); margin-left: 5px; }

.soft { background: var(--cream); }
.about-image {
  min-height: 520px; border-radius: 8px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(226,194,122,.35), transparent 23%),
    linear-gradient(145deg, #173b56, #091e31 65%, #081827);
  box-shadow: var(--shadow);
}
.cross-large { color: rgba(255,255,255,.90); font-size: 150px; text-shadow: 0 0 50px rgba(226,194,122,.35); }
.image-caption {
  position: absolute; left: 25px; right: 25px; bottom: 25px;
  color: white; font-family: "Playfair Display", serif; font-size: 19px;
  border-left: 3px solid var(--gold); padding-left: 16px;
}
.content p { color: var(--muted); }
.check-list { margin-top: 25px; display: grid; gap: 10px; font-weight: 600; font-size: 14px; }
.check-list span, .needs span { color: var(--gold); margin-right: 9px; font-weight: 900; }

.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: white; padding: 30px 25px; border: 1px solid var(--line);
  border-radius: 7px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { font-size: 31px; margin-bottom: 16px; }
.card h3 { color: var(--navy); font-family: "Playfair Display", serif; font-size: 22px; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

.outreach-grid { align-items: stretch; }
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; font-size: 14px; font-weight: 600; }
.outreach-panel {
  background: var(--navy); color: white; border-radius: 8px; padding: 55px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.outreach-panel::after { content: "✝"; position: absolute; right: -15px; bottom: -65px; color: rgba(255,255,255,.045); font-size: 260px; }
.panel-cross { color: var(--gold-light); font-size: 32px; }
.outreach-panel h3 { font-family: "Playfair Display", serif; font-size: 34px; margin: 10px 0; }
.outreach-panel p { color: rgba(255,255,255,.72); max-width: 390px; margin-bottom: 25px; }
.outreach-panel .button { align-self: flex-start; position: relative; z-index: 2; }

.mission { background: var(--navy); text-align: center; color: white; }
.mission-content { max-width: 850px; }
.mission h2 { font-size: clamp(35px, 5vw, 58px); margin: 15px 0; }
.mission p { color: rgba(255,255,255,.75); font-size: 17px; }

.partnership { background: white; }
.partnership-grid { align-items: center; }
.partnership p { color: var(--muted); font-size: 17px; margin-bottom: 25px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 25px; }
.contact-card {
  background: var(--navy); color: white; padding: 25px; border-radius: 7px;
  display: flex; gap: 17px; align-items: flex-start;
}
.contact-icon { font-size: 23px; color: var(--gold-light); }
.contact-card span { color: rgba(255,255,255,.58); }
.contact-card strong { display: block; font-size: 14px; line-height: 1.6; margin-top: 5px; }
.contact-card a { color: white; }
.contact-person {
  display: flex; justify-content: space-between; gap: 30px; align-items: center;
  padding: 30px; background: white; border: 1px solid var(--line); border-radius: 7px;
}
.contact-person span { color: #9b7028; }
.contact-person h3 { color: var(--navy); font-family: "Playfair Display", serif; font-size: 27px; margin: 3px 0; }
.contact-person p { margin: 0; color: var(--muted); font-size: 14px; }
.person-actions { display: flex; gap: 10px; flex-wrap: wrap; }

footer { background: #071a2a; color: white; padding: 65px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 45px; }
.footer-brand p { color: rgba(255,255,255,.58); max-width: 360px; font-size: 14px; }
.footer-logo strong { color: white; }
.footer-logo small { color: rgba(255,255,255,.48); }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); }
.footer-links h4 { color: white; margin: 0 0 8px; font-size: 14px; }
.footer-links a:hover { color: var(--gold-light); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.10); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.42);
  font-size: 11px;
}

@media (max-width: 900px) {
  .nav { gap: 14px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .two-column, .partnership-grid { gap: 45px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 20px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 5px; }
  .nav-button { text-align: center; }
  .menu-toggle { display: block; }
  .hero { min-height: 680px; }
  .hero-content { padding: 80px 0 100px; }
  .hero h1 { font-size: 52px; }
  .hero-text { font-size: 16px; }
  .service-card { flex-direction: column; align-items: flex-start; }
  .service-divider { width: 100%; height: 1px; }
  .section { padding: 72px 0; }
  .intro-grid, .two-column, .partnership-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 360px; }
  .cards, .contact-grid { grid-template-columns: 1fr; }
  .needs { grid-template-columns: 1fr; }
  .outreach-panel { padding: 38px 28px; }
  .contact-person { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .copyright { flex-direction: column; }
}

@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
