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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #050814;
  color: #f7f7f7;
  line-height: 1.6;
}

/* =========================
   DESIGN TOKENS
========================= */

:root {
  --bg: #050814;
  --bg-alt: #0b1224;
  --card: #10172f;

  --accent: #d4a017;
  --text: #f7f7f7;
  --text-muted: #f7f7f7;
  --border: #1f2937;

  --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);

  --radius-lg: 18px;
  --radius-md: 12px;
}

/* =========================
   GLOBAL LAYOUT
========================= */

.page-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* =========================
   HEADER
========================= */

.nav-bar {
  width: 100%;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.nav-title {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* =========================
   HOME PAGE
========================= */

.welcome-section {
  margin-top: 2rem;
}

.welcome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  background: rgba(16, 23, 47, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);

  padding: 2rem;
}

.welcome-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.welcome-text {
  flex: 1;
}

.welcome-text h1 {
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.welcome-text h2 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}

.welcome-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* WORSHIP SECTION */

.worship-section {
  width: 100%;
  min-height: 320px;

  background-image: url("../images/cross.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);

  margin-top: 2rem;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.worship-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.55);
}

.worship-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}

.worship-overlay h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.worship-overlay p {
  color: var(--text-muted);
}

/* =========================
   ABOUT PAGE (FIXED IMAGE POSITION)
========================= */

.about-page {
  width: 100%;
}

.about-hero {
  width: 100%;
  min-height: calc(100vh - 140px);

  background-image: url("../images/service.png");
  background-size: cover;
  background-repeat: no-repeat;

  /* 🔥 KEY FIX */
  background-position: center 20%;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.55);
}

.about-overlay {
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding: 3rem 1.5rem;
  text-align: center;
}

.about-overlay h1 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-card {
  background: rgba(16, 23, 47, 0.75);
  border: 1px solid rgba(31, 41, 55, 0.7);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.about-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.about-card p {
  color: var(--text);
}

/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
  width: 100%;
  height: 260px;

  background-image: url("../images/contact.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);

  position: relative;
  margin-bottom: 2rem;
}

.contact-overlay {
  position: absolute;
  inset: 0;

  background: rgba(5, 8, 20, 0.55);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 1.5rem;
}

.contact-overlay h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-overlay p {
  color: var(--text-muted);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  width: 100%;
  border-top: 1px solid var(--border);

  background: radial-gradient(
    circle at 50% 0%,
    rgba(212, 160, 23, 0.12),
    #050814
  );

  margin-top: 2rem;
  padding: 1.5rem 0;
}

.footer-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;

  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-container p + p {
  margin-top: 0.25rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .welcome-inner {
    flex-direction: column;
    text-align: center;
  }

  .welcome-image img {
    max-width: 320px;
  }

  .welcome-text h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 600px) {
  .nav-menu ul {
    gap: 0.75rem;
  }

  .nav-title {
    font-size: 0.95rem;
  }
}
