:root {
  --gold-primary: #d4af37;
  --gold-dark: #b8860b;
  --gold-light: #ffd700;
  --white: #ffffff;
  --off-white: #fafafa;
  --beige: #f5e6d3;
  --brown: #8b6f47;
  --brown-dark: #2c1810;
  --gray-soft: #f8f8f8;
  --gray-border: #e8ddc9;
  --shadow-soft: 0 12px 35px rgba(44, 24, 16, 0.08);
  --shadow-card: 0 10px 25px rgba(44, 24, 16, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--brown-dark);
  background: var(--off-white);
}

h1, h2, h3, h4, h5, .section-title, .brand-title {
  font-family: 'Playfair Display', serif;
}

a { text-decoration: none; }
.section-padding { padding: 5rem 0; }
.bg-soft { background: var(--gray-soft); }
.bg-gold-soft { background: linear-gradient(180deg, #fffaf0 0%, #f9f1df 100%); }
.text-gold { color: var(--gold-primary); }
.text-brown { color: var(--brown); }

.church-navbar {
  background: rgba(44, 24, 16, 0.94);
  backdrop-filter: blur(14px);
}
.brand-logo, .footer-logo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  /*padding: 1px;*/
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.brand-title { color: #fff; font-size: 1rem; }
.brand-subtitle { color: rgba(255,255,255,.75); }
.navbar .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--gold-light); }

.btn-gold, .btn-outline-gold:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #fff;
  border: 0;
  box-shadow: 0 10px 20px rgba(184, 134, 11, .25);
}
.btn-gold:hover { color: #fff; transform: translateY(-2px); }
.btn-outline-gold {
  border: 1px solid var(--gold-primary);
  color: var(--gold-dark);
  background: transparent;
}

.hero-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44,24,16,.86), rgba(44,24,16,.46));
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.badge-soft {
  background: rgba(212, 175, 55, .18);
  color: var(--gold-light);
  border: 1px solid rgba(255, 215, 0, .3);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-heading p { color: var(--brown); }

.feature-card, .info-card, .sermon-card, .gallery-card, .event-card, .schedule-card, .contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, .12);
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.feature-card, .info-card, .schedule-card, .contact-card { padding: 1.75rem; }
.event-card, .sermon-card, .gallery-card { overflow: hidden; }
.event-card img, .gallery-card img, .ministry-card img, .leader-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.ministry-card, .leader-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  height: 100%;
}
.ministry-card .card-body, .leader-card .card-body { padding: 1.5rem; }

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  box-shadow: 0 12px 24px rgba(184,134,11,.22);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
  background: rgba(212, 175, 55, .5);
}
.timeline-item {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.75rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.1rem;
  top: .3rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
}

.footer-section {
  background: #22130d;
}
.footer-links li { margin-bottom: .55rem; color: rgba(255,255,255,.74); }
.footer-links a { color: rgba(255,255,255,.74); }
.footer-links a:hover { color: var(--gold-light); }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: var(--gold-light);
}
.verse-footer { color: rgba(255,255,255,.76); font-style: italic; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all .8s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.calendar-box, .verse-box, .pix-box {
  background: linear-gradient(180deg, #fff, #fdf7ea);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.form-control, .form-select {
  padding: .9rem 1rem;
  border-radius: 14px;
  border-color: #dfd7c9;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 .25rem rgba(212,175,55,.18);
}

.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
}
.masonry-grid .gallery-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding: 5rem 0; }
  .masonry-grid { column-count: 2; }
}

@media (max-width: 575.98px) {
  .section-padding { padding: 4rem 0; }
  .masonry-grid { column-count: 1; }
  .brand-title { font-size: .92rem; }
}
