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

:root {
  --burgundy:  #1a5496;
  --burgundy-dark: #0d3060;
  --gold:      #ffffff;
  --gold-light: #d0e4ff;
  --cream:     #f4f7fb;
  --cream-dark: #e4eaf4;
  --navy:      #0d2d5c;
  --text:      #1a2030;
  --text-light: #4a5a70;
  --white:     #ffffff;
  --shadow:    0 2px 12px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--burgundy-dark);
  line-height: 1.25;
}

a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--gold); }

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

/* === UTILITY === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-alt { background: var(--cream-dark); }

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.divider {
  width: 60px; height: 3px;
  background: var(--burgundy);
  margin: 12px auto 32px;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--burgundy);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  color: var(--white);
}

/* === HEADER / NAV === */
header {
  background: var(--burgundy-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
}
.nav-brand img {
  height: 46px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-links a.active {
  border-bottom: 2px solid var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

@media (max-width: 700px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--burgundy-dark);
    flex-direction: column;
    padding: 12px 0 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-radius: 0; }
}

/* === FOOTER === */
footer {
  background: var(--burgundy-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col p, .footer-col li { font-size: 0.9rem; margin-bottom: 6px; }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 56px 0 52px;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* === HOME HERO === */
.home-hero {
  background: linear-gradient(160deg, var(--burgundy-dark) 0%, #0a3a70 40%, var(--navy) 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 24px 90px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '✝';
  position: absolute;
  font-size: 420px;
  opacity: 0.04;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.home-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  position: relative;
}
.home-hero .tagline {
  color: var(--gold-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 28px;
}
.home-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.14); }
.card-body { padding: 28px; }
.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--burgundy);
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p  { color: var(--text-light); font-size: 0.95rem; }

/* === QUICK INFO STRIP === */
.info-strip {
  background: var(--burgundy);
  color: var(--white);
  padding: 0;
}
.info-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-weight: 700;
  font-size: 0.92rem;
  border-right: 1px solid rgba(0,0,0,0.1);
}
.info-item:last-child { border-right: none; }
.info-item .icon { font-size: 1.2rem; }

/* === VERSE BANNER === */
.verse-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 56px 24px;
}
.verse-banner blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.5;
}
.verse-banner cite { color: var(--gold-light); font-size: 0.9rem; }

/* === SERVICES PAGE === */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table th {
  background: var(--burgundy-dark);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
}
.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.95rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--cream); }
.schedule-table .time { font-weight: 700; color: var(--burgundy); }

/* === SERMONS === */
.sermon-list { display: flex; flex-direction: column; gap: 20px; }
.sermon-card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.2s;
}
.sermon-card:hover { transform: translateY(-2px); }
.sermon-icon {
  font-size: 2rem;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 2px;
}
.sermon-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 6px; }
.sermon-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.sermon-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 12px; }

/* === EVENTS === */
.events-list { display: flex; flex-direction: column; gap: 20px; }
.event-card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
}
.event-date {
  background: var(--burgundy);
  color: var(--white);
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  text-align: center;
}
.event-date .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); }
.event-date .day   { font-size: 2rem; font-weight: 700; line-height: 1; font-family: 'Playfair Display', Georgia, serif; }
.event-body { padding: 20px 24px; }
.event-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.event-body .event-time { font-size: 0.82rem; color: var(--text-light); margin-bottom: 8px; }
.event-body p  { font-size: 0.9rem; color: var(--text-light); }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h2 { margin-bottom: 16px; }
.about-text p  { color: var(--text-light); margin-bottom: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.value-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.value-item .icon { font-size: 2rem; margin-bottom: 12px; color: var(--burgundy); }
.value-item h3    { font-size: 1rem; margin-bottom: 8px; }
.value-item p     { font-size: 0.88rem; color: var(--text-light); }

.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.leader-card {
  text-align: center;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
}
.leader-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 14px;
  color: var(--burgundy);
  border: 3px solid var(--burgundy);
}
.leader-card h3 { font-size: 1rem; margin-bottom: 4px; }
.leader-card p  { font-size: 0.82rem; color: var(--text-light); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}
.contact-icon {
  font-size: 1.4rem;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid #d8ccc0;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burgundy);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.map-wrapper {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .section { padding: 52px 0; }
}
@media (max-width: 600px) {
  .section { padding: 40px 0; }
  .home-hero { padding: 70px 20px 60px; }
  .info-item { padding: 14px 18px; }
}
