/* ─────────────────────────────────────────────────────────
   SHARED.CSS — Common styles across all pages
   Linked before every page-specific CSS file
───────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────
   1. RESET & ROOT VARIABLES
───────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:       #0247C1;
  --blue-dark:  #01338a;
  --blue-light: #e8f0fc;
  --gold:       #C9A84C;
  --gold-light: #f5ecd4;
  --black:      #0D0D0D;
  --grey-dark:  #2a2a2a;
  --grey-mid:   #6b6b6b;
  --grey-light: #F4F4F4;
  --white:      #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}


/* ─────────────────────────────────────────────────────────
   2. UTILITY
───────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.serif {
  font-family: var(--font-serif);
}


/* ─────────────────────────────────────────────────────────
   3. NAVIGATION
───────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(2, 71, 193, 0.08);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 30px;
  width: auto;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ── Active page underline ── */
.nav-links a.nav-active::after {
  width: 100%;
}

/* ── CTA button ── */
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(2, 71, 193, 0.1);
  z-index: 999;
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-dark);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-light);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */

footer {
  background: var(--black);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-network {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-network a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-network a:hover {
  color: var(--white);
}

/*─────────────────────────────────────────────────────────
Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top       { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .footer-bottom      { flex-direction: column; align-items: flex-start; }
}


/* ─────────────────────────────────────────────────────────
   SHELL PAGE STYLES
   Used by: movement.html, church.html,
            find-a-chapter.html, faith-statement.html,
            contact.html
───────────────────────────────────────────────────────── */

.page-hero {
  min-height: 40vh;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 71, 193, 0.2) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.page-hero-graphic {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(2, 71, 193, 0.2);
}

.page-hero-graphic::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 64px 32px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.page-hero-content .section-label {
  margin-bottom: 12px;
}

.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  max-width: 680px;
}

.page-hero-content p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.75;
}

.page-body {
  padding: 100px 0;
  background: var(--white);
}

.page-body-inner {
  max-width: 780px;
}

.page-body-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 20px;
  margin-top: 48px;
}

.page-body-inner h2:first-child {
  margin-top: 0;
}

.page-body-inner p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-mid);
  margin-bottom: 20px;
}

.page-body-inner p:last-child {
  margin-bottom: 0;
}

.content-placeholder {
  width: 100%;
  padding: 48px;
  background: var(--grey-light);
  border: 2px dashed rgba(2, 71, 193, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 32px 0;
}
