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

:root {
  --purple: #4a1a8a;
  --purple-dark: #2d0f54;
  --purple-light: #6b3fa0;
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --white: #ffffff;
  --off-white: #f9f7fc;
  --text: #2a2a2a;
  --text-light: #555;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header / Nav ── */
header {
  background: var(--purple-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1100px;
  margin: 0 auto;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand .logo-circle {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: var(--purple-dark);
  flex-shrink: 0;
}

.nav-brand span {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.12);
  color: var(--gold-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 50%, var(--purple-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 20px 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(212,168,67,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.hero h1 .gold { color: var(--gold-light); }

.hero .tagline {
  font-size: clamp(16px, 2.5vw, 22px);
  font-style: italic;
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 16px;
  position: relative;
}

.hero .pastor {
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 32px;
  position: relative;
}

.hero .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.btn-gold {
  background: var(--gold);
  color: var(--purple-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ── Section Utility ── */
section { padding: 80px 20px; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 34px;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.section-title .underline {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* ── Service Times ── */
.services-bg { background: var(--off-white); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-top: 4px solid var(--gold);
  transition: transform .2s;
}

.service-card:hover { transform: translateY(-4px); }

.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: var(--gold-light);
}

.service-card h3 {
  font-size: 20px;
  color: var(--purple-dark);
  margin-bottom: 6px;
}

.service-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* ── Welcome / About Snippet ── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.welcome-text h2 {
  font-size: 32px;
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.welcome-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 16px;
}

.welcome-image {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border-radius: 16px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 80px;
  box-shadow: 0 8px 30px rgba(74,26,138,.2);
}

/* ── About Page ── */
.about-hero {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--white);
  text-align: center;
  padding: 70px 20px 60px;
}

.about-hero h1 { font-size: 42px; margin-bottom: 10px; }
.about-hero p { font-size: 18px; opacity: .85; max-width: 600px; margin: 0 auto; }

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 28px;
  color: var(--purple-dark);
  margin-bottom: 14px;
}

.about-content p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 18px;
}

.pastor-card {
  display: flex;
  gap: 36px;
  align-items: center;
  background: var(--off-white);
  border-radius: 16px;
  padding: 40px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.pastor-photo {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(74,26,138,.2);
}

.pastor-info h3 {
  font-size: 24px;
  color: var(--purple-dark);
  margin-bottom: 4px;
}

.pastor-info .title {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 15px;
}

.pastor-info p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
}

.value-item .icon {
  width: 60px;
  height: 60px;
  background: var(--purple);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
  color: var(--gold-light);
}

.value-item h3 {
  font-size: 18px;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.value-item p {
  color: var(--text-light);
  font-size: 14px;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: var(--purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 16px;
  color: var(--purple-dark);
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  font-size: 15px;
}

.contact-item a:hover { color: var(--purple); }

.contact-form {
  background: var(--off-white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.contact-form h2 {
  font-size: 24px;
  color: var(--purple-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0d8ec;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-light);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.map-container {
  margin-top: 50px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 17px;
  opacity: .85;
  margin-bottom: 24px;
}

/* ── Footer ── */
footer {
  background: #1a0a30;
  color: rgba(255,255,255,.7);
  padding: 50px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  transition: color .2s;
}

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

.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .welcome-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pastor-card {
    flex-direction: column;
    text-align: center;
  }

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

  .hero { padding: 70px 20px 60px; }
}
