/* ================================
   Global Reset and Base Styles
   ================================ */

*,
*::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;
}

/* ================================
   Color Palette
   ================================ */
/* Deep navy, gold, soft neutrals */

:root {
  --color-bg: #050814;
  --color-bg-alt: #0b1224;
  --color-card: #10172f;
  --color-accent: #d4a017;
  --color-accent-soft: rgba(212, 160, 23, 0.15);
  --color-text: #f7f7f7;
  --color-text-muted: #9ca3af;
  --color-border: #1f2937;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* ================================
   Layout Containers
   ================================ */

.site-header,
.site-footer {
  background: linear-gradient(90deg, #050814, #0b1224);
  border-bottom: 1px solid var(--color-border);
}

.header-container,
.footer-container,
.page-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

/* ================================
   Header / Navigation
   ================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 20, 0.9);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo a {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.4);
  background: radial-gradient(
    circle at 0% 0%,
    rgba(212, 160, 23, 0.18),
    transparent
  );
}

.logo a:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.4);
}

/* Navigation */

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

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

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

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

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

/* ================================
   Main Content
   ================================ */

.page-content {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* Hero Section (Home) */

.hero {
  position: relative;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(
    circle at 0% 0%,
    rgba(212, 160, 23, 0.18),
    #050814
  );
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 20%, rgba(212, 160, 23, 0.12), transparent),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(circle at 50% 100%, rgba(15, 23, 42, 0.9), transparent);
  opacity: 0.9;
  z-index: -1;
}

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

.hero p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Intro / Sections */

.intro,
.page-content section {
  margin-top: 2rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-card);
  border: 1px solid rgba(31, 41, 55, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.page-content h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.page-content p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* ================================
   Ministries Page
   ================================ */

.page-content section h2 {
  color: var(--color-accent);
}

.page-content section + section {
  margin-top: 1.25rem;
}

/* ================================
   Sermons Page
   ================================ */

.sermon-list {
  border-left: 3px solid var(--color-accent-soft);
}

.sermon-list h2 {
  margin-bottom: 0.5rem;
}

/* ================================
   Contact Page
   ================================ */

.page-content section h2 {
  font-weight: 600;
}

/* ================================
   Footer
   ================================ */

.site-footer {
  border-top: 1px solid var(--color-border);
  background: radial-gradient(
    circle at 50% 0%,
    rgba(212, 160, 23, 0.12),
    #050814
  );
  margin-top: 2rem;
}

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

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

/* ================================
   Buttons (for future use)
   ================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.6);
  background: linear-gradient(
    135deg,
    rgba(212, 160, 23, 0.9),
    rgba(212, 160, 23, 0.6)
  );
  color: #050814;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 40px rgba(212, 160, 23, 0.45);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero {
    padding: 2.25rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-content {
    padding: 2rem 1.25rem 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .header-container,
  .footer-container {
    padding: 1.25rem 1rem;
  }

  .page-content section {
    padding: 1.4rem 1.25rem;
  }
}
