/* ==========================================================================
   HOUSE OF CUNNINGHAM — SANCTUARY DESIGN SYSTEM (PASTEL LIGHT EDITION)
   Palette: Royal Pastel Lavender, Deep Plum, Pearl Cream & Champagne Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette — Pastel Lavender Light Theme */
  --bg-primary: #faf7fc;
  --bg-secondary: #f3ecf9;
  --bg-card: #ffffff;
  --bg-card-hover: #fdfaff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.92);

  --text-main: #1f142b;
  --text-muted: #5e516d;
  --text-light: #7e708f;
  --text-heading: #2e1065;

  --accent-purple: #7c3aed;
  --accent-lavender: #c084fc;
  --accent-soft-purple: #e9d5ff;
  --accent-light-purple: #f5eeff;
  --accent-gold: #c28822;
  --accent-gold-soft: #fbf0dc;

  --border-subtle: rgba(147, 51, 234, 0.12);
  --border-card: rgba(147, 51, 234, 0.16);
  --border-active: rgba(124, 58, 237, 0.4);

  --shadow-sm: 0 2px 8px rgba(90, 30, 130, 0.04);
  --shadow-md: 0 8px 24px rgba(90, 30, 130, 0.08);
  --shadow-lg: 0 16px 40px rgba(90, 30, 130, 0.12);
  --shadow-purple: 0 10px 30px rgba(124, 58, 237, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, #fdfbfd 0%, #faf5ff 40%, #f4ecfb 100%);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--text-heading);
}

/* Typography Utilities */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  color: var(--text-heading);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.text-gold {
  color: var(--accent-gold);
}

.text-purple {
  color: var(--accent-purple);
}

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

/* Layout Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title .badge-tag {
  margin-bottom: 1rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
  border: 2px solid var(--accent-lavender);
  object-fit: cover;
  background: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-purple);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-purple);
  background: var(--accent-light-purple);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #6d28d9 100%);
  color: #ffffff !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 5rem;
  background: linear-gradient(180deg, rgba(250, 247, 252, 0.35) 0%, rgba(250, 247, 252, 0.9) 70%, #faf7fc 100%),
              url('images/hero_bg.jpg') center center/cover no-repeat;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light-purple);
  color: var(--accent-purple);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--accent-soft-purple);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.badge-tag.gold {
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  border-color: rgba(194, 136, 34, 0.25);
}

.headline {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.subhead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.75;
}

.cta-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #6d28d9 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--accent-purple);
  border: 1.5px solid var(--accent-lavender);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--accent-light-purple);
  color: var(--text-heading);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-purple);
}

/* ==========================================================================
   GRID & CARD COMPONENTS
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.glass-card {
  background: var(--bg-glass-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.glass-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-active);
}

.image-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
}

.image-showcase img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.image-showcase:hover img {
  transform: scale(1.03);
}

.image-overlay-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(147, 51, 234, 0.2);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
}

.image-overlay-card h4 {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.image-overlay-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Commitments Grid */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.commitment-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.commitment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
}

.commitment-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.commitment-card h3 {
  font-size: 1.25rem;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.commitment-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Scripture Banner */
.scripture-card {
  background: linear-gradient(135deg, #fbf7ff 0%, #f4e8ff 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  border: 1.5px solid var(--accent-soft-purple);
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}

.scripture-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-heading);
  max-width: 820px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.scripture-cite {
  font-size: 0.95rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #f4ecfb;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2.5rem;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.founding-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-soft-purple);
  box-shadow: var(--shadow-sm);
}

.founding-badge img {
  height: 28px;
  width: auto;
}

.founding-badge span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--accent-purple);
}

.footer-meta {
  color: var(--text-light);
  font-size: 0.85rem;
  max-width: 600px;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .headline {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .headline {
    font-size: 2.2rem;
  }
  .commitments-grid {
    grid-template-columns: 1fr;
  }
  .glass-card, .scripture-card {
    padding: 2rem;
  }
  .image-showcase img {
    height: 320px;
  }
}
