:root {
  --blue-deep: #5f7fa3;
  --blue-soft: #dfeaf5;
  --blue-mist: #edf4fa;
  --gold-soft: #d8c28a;
  --gold-light: #efe4be;
  --ivory: #fffdf8;
  --white: #ffffff;
  --text: #4a5563;
  --heading: #3f5873;
  --muted: #7b8794;
  --shadow: 0 12px 30px rgba(95, 127, 163, 0.10);
  --shadow-soft: 0 8px 20px rgba(95, 127, 163, 0.07);
  --radius: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, var(--ivory), var(--blue-mist));
  line-height: 1.85;
  font-size: 1.25rem;
}

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

a {
  color: var(--heading);
  text-decoration: none;
}

p,
li,
label,
input,
textarea,
button {
  font-family: "Source Sans 3", Arial, sans-serif;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(8px);
  color: var(--heading);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(95, 127, 163, 0.08);
  border-bottom: 1px solid rgba(216, 194, 138, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--heading);
}

.brand h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 16%;
  background: var(--white);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 194, 138, 0.35);
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: var(--heading);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  position: relative;
}

.site-nav a.active,
.site-nav a:hover {
  color: #8f7440;
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--heading);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
  background:
    linear-gradient(135deg, rgba(223, 234, 245, 0.95), rgba(255, 253, 248, 0.98)),
    linear-gradient(to bottom right, var(--blue-soft), var(--ivory));
}

.hero::before {
  content: "✝";
  position: absolute;
  top: 40px;
  right: 8%;
  font-size: 11rem;
  color: rgba(216, 194, 138, 0.10);
  line-height: 1;
  pointer-events: none;
}

.hero::after {
  content: "✝";
  position: absolute;
  bottom: 20px;
  left: 6%;
  font-size: 7rem;
  color: rgba(95, 127, 163, 0.08);
  line-height: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #8f7440;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.hero h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  margin: 0 0 18px;
  line-height: 1.08;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero p {
  max-width: 620px;
  font-size: 1.08rem;
  color: #5d6875;
}

.hero-image-card img {
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 360px;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: linear-gradient(to right, var(--gold-light), var(--gold-soft));
  color: #5a4a26;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(95, 127, 163, 0.12);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(216, 194, 138, 0.45);
  color: var(--heading);
}

.page-header {
  background: linear-gradient(to bottom, rgba(223, 234, 245, 0.5), rgba(255, 253, 248, 0.85));
  padding: 54px 0 28px;
  text-align: center;
}

.page-header h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--heading);
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.section {
  padding: 72px 0;
  position: relative;
}

.alt-bg {
  background: linear-gradient(to bottom, rgba(237, 244, 250, 0.72), rgba(255, 253, 248, 0.9));
}

.section-heading {
  margin-bottom: 30px;
  text-align: center;
}

.section-heading h3,
.section h3,
.card h3,
.card h4,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin-top: 0;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 2.2rem;
}

.section-heading h3,
.section h3 {
  font-size: 2.5rem;
}

.section-heading h3::after,
.section h3::after {
  content: " ✝";
  color: rgba(143, 116, 64, 0.75);
  font-size: 0.9em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 194, 138, 0.24);
  backdrop-filter: blur(4px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.placeholder-box {
  min-height: 260px;
  border: 1.5px dashed rgba(216, 194, 138, 0.65);
  border-radius: 28px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(to bottom, rgba(255, 253, 248, 0.96), rgba(237, 244, 250, 0.8));
  color: var(--muted);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 4px solid rgba(255, 255, 255, 0.7);
}

.video-wrapper {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f1f5f9;
  border: 1px solid rgba(216, 194, 138, 0.25);
}

.video-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(95, 127, 163, 0.18);
  border-radius: 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.88);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(216, 194, 138, 0.35);
  border-color: rgba(216, 194, 138, 0.55);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 12px;
}

.site-footer {
  background: linear-gradient(135deg, #6f88a6, #8aa0bb);
  color: var(--white);
  padding: 42px 0;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "✝";
  position: absolute;
  right: 5%;
  top: 10px;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.site-footer h4 {
  margin-top: 0;
  color: #fff6d8;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.site-footer a {
  color: #f8fbff;
}

ul {
  padding-left: 20px;
}

.pastor-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.scripture,
blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #7b6a45;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .cards,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 0;
    top: 70px;
    background: rgba(255, 253, 248, 0.98);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    min-width: 220px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    color: var(--heading);
  }

  .site-nav.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero::before {
    font-size: 7rem;
    top: 20px;
  }

  .hero::after {
    font-size: 5rem;
  }

  .hero-image-card img {
    min-height: 260px;
  }

  .video-wrapper iframe {
    height: 280px;
  }

  .page-header h2 {
    font-size: 2.4rem;
  }

  .section-heading h3,
  .section h3 {
    font-size: 2rem;
  }
}