:root {
  --navy: #0a0a0a;
  --navy-light: #222222;
  --gold: #14c9a8;
  --gold-dark: #0ea98d;
  --cream: #f4f6f6;
  --text-dark: #1a1a1a;
  --text-gray: #5a5a5a;
  --white: #ffffff;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
i { line-height: 1; }
button { font-family: inherit; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* Top bar */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-left i { color: var(--gold); margin-right: 4px; }
.topbar-right a:hover { color: var(--gold); }

/* Header */
.header {
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  padding-bottom: 4px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex-shrink: 0;
}
.logo-img {
  height: 180px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #e0e2e2;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover, .nav a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.btn-order { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  color: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 80%, rgba(20,201,168,0.18), transparent 55%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.hero-logo-img {
  height: 130px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
}
.hero-divider {
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 24px auto;
}
.hero p {
  font-size: 1.2rem;
  color: #ddd;
  font-style: italic;
  margin-bottom: 30px;
}
.hero-times {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-time {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-time i { color: var(--gold); }
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Section heading */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.section-heading.light .eyebrow { color: var(--gold); }
.section-heading.light h2 { color: var(--white); }
.eyebrow {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.section-heading h2 {
  font-size: 2.1rem;
  font-weight: 900;
  margin-top: 10px;
  color: var(--navy);
}
.heading-divider {
  margin-top: 14px;
  color: var(--gold);
}
.heading-divider.small {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin-top: 12px;
  margin-bottom: 20px;
}
.heading-divider.small.center { margin-left: auto; margin-right: auto; }

/* Welcome */
.welcome {
  background: var(--white);
  padding: 90px 0;
}
.welcome-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}
.welcome-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.welcome-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.welcome-content h2 { font-size: 1.9rem; font-weight: 900; color: var(--navy); margin-top: 4px; }
.welcome-content p { color: var(--text-gray); margin-bottom: 16px; font-size: 0.95rem; }
.welcome-signature {
  font-style: italic;
  color: var(--navy) !important;
  font-weight: 600;
  margin-bottom: 24px !important;
}

/* Weekly Services */
.services {
  background: var(--navy);
  padding: 90px 0;
}
.services-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.services-flyer img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  display: block;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  color: var(--white);
}
.service-card i { font-size: 2.4rem; color: var(--gold); margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 12px; }
.service-when { color: #b3b8b8; font-size: 0.85rem; margin-bottom: 4px; }
.service-time { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-bottom: 22px; }

/* New Here */
.new-here {
  background: var(--cream);
  padding: 90px 0;
}
.new-here-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}
.new-here-content h2 { font-size: 2rem; font-weight: 900; color: var(--navy); margin-top: 4px; }
.new-here-content p { color: var(--text-gray); margin-bottom: 20px; font-size: 0.95rem; }
.new-here-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.new-here-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.new-here-list i { color: var(--gold-dark); }
.new-here-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.new-here-art img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  border: 1px solid rgba(0,0,0,0.08);
  display: block;
}

/* Sermon */
.sermon {
  background: var(--white);
  padding: 90px 0;
}
.sermon-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.sermon-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.sermon-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid #e2e2e2;
  color: var(--text-gray);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  padding: 9px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.sermon-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  display: inline-block;
  animation: live-pulse 1.4s infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.sermon-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-light), #000000);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  cursor: pointer;
}
.sermon-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.sermon-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sermon-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: background 0.2s ease;
}
.sermon-video:hover::after { background: rgba(0,0,0,0.5); }
.sermon-play {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.sermon-play:hover { transform: scale(1.08); }
.sermon-info h2 { font-size: 1.7rem; font-weight: 900; color: var(--navy); margin-top: 4px; margin-bottom: 14px; }
.sermon-speaker, .sermon-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.sermon-speaker i, .sermon-date i { color: var(--gold-dark); }
.sermon-info .btn { margin-top: 20px; }

/* Ministries */
.ministries {
  background: var(--cream);
  padding: 90px 0;
}
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ministry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}
.ministry-card i { font-size: 2rem; color: var(--navy); margin-bottom: 14px; }
.ministry-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); font-family: 'Poppins', sans-serif; }

/* Gallery */
.gallery {
  background: var(--white);
  padding: 90px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item-wide img {
  object-position: center 22%;
  transform: scale(1.08);
  transform-origin: 46% 28%;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-wide:hover img { transform: scale(1.14); }

/* Events */
.events {
  background: var(--navy);
  padding: 90px 0;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}
.event-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  color: var(--white);
}
.event-date {
  background: var(--gold);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 90px;
  text-align: center;
}
.event-day { font-size: 1.5rem; font-weight: 900; }
.event-month { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }
.event-body { padding: 20px; }
.event-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.event-body p { font-size: 0.85rem; color: #b3b8b8; }
.events-cta { text-align: center; }

/* Prayer */
.prayer {
  background: var(--white);
  padding: 90px 0;
}
.prayer-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 0.95rem;
}
.prayer-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.prayer-form input,
.prayer-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  resize: vertical;
}
.prayer-form input:focus,
.prayer-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.prayer-form textarea { margin-bottom: 22px; }
.prayer-form-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Give */
.give {
  background: var(--cream);
  padding: 90px 0;
  text-align: center;
}
.give h2 { font-size: 2.1rem; font-weight: 900; color: var(--navy); margin-top: 10px; }
.give > .container > p {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--text-gray);
  font-size: 0.95rem;
}
.give-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}
.give-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.give-card i { font-size: 2.2rem; color: var(--gold-dark); margin-bottom: 16px; }
.give-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.give-card p { font-size: 0.85rem; color: var(--text-gray); }
.give-btn { padding: 16px 40px; font-size: 0.95rem; }

/* Visit */
.visit {
  background: var(--white);
  padding: 90px 0;
}
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: stretch;
}
.visit-list {
  margin-bottom: 28px;
}
.visit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.visit-list i { color: var(--gold-dark); width: 20px; }
.visit-info h2 { font-size: 1.9rem; font-weight: 900; color: var(--navy); margin-top: 4px; }
.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  min-height: 320px;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #b3b8b8;
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 60px 24px 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #b3b8b8;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-logo { margin-bottom: 14px; }
.footer-logo-img { height: 64px; width: auto; }
.footer-tagline { font-size: 0.8rem; color: var(--gold); margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-times { font-size: 0.82rem; color: #b3b8b8; line-height: 1.9; }
.footer-times i { color: var(--gold); width: 16px; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }

.footer-bottom {
  text-align: center;
  padding: 18px 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #8a8f8f;
}

.back-to-top {
  position: absolute;
  right: 30px;
  top: -26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-3px); }

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.4rem; }
  .welcome-inner { grid-template-columns: 1fr; }
  .new-here-inner { grid-template-columns: 1fr; }
  .new-here-art { margin-top: 30px; }
  .new-here-art img { max-width: 260px; margin: 0 auto; }
  .sermon-inner { grid-template-columns: 1fr; }
  .ministry-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-auto-rows: 180px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-flyer { max-width: 280px; margin: 0 auto; }
  .event-grid { grid-template-columns: 1fr; }
  .give-grid { grid-template-columns: 1fr; }
  .visit-inner { grid-template-columns: 1fr; }
  .visit-map { min-height: 280px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-location { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 24px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    color: var(--navy);
  }
  .nav a:hover, .nav a.active { color: var(--gold-dark); }
  .hamburger { display: flex; }
  .btn-order { display: none; }
  .hero h1 { font-size: 1.9rem; }
  .services-grid { grid-template-columns: 1fr; }
  .ministry-grid { grid-template-columns: 1fr; }
  .new-here-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item-tall { grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .hero-btns, .prayer-form-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
