/* =========================
   Base + Palette
   ========================= */
:root {
  --deep-navy: #070037;
  --charcoal: #14141A;
  --nav-gray-blue: #4A5268;
  --mid-gray: #B8BBC4;
  --light-gray: #ECECF2;
  --white: #FFFFFF;
  --accent-gold: #A38F2D;
  --soft-charcoal: #2A2F3A;  
  --soft-academic: #F4F6FA;


  /* New content surfaces */
  --surface-1: #F4F6FA; /* primary content background */
  --surface-2: #E9ECF2; /* section breaks */
  --surface-3: #DDE2EB; /* cards, subtle blocks */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--surface-1);
  color: var(--deep-navy);
}

/* =========================
   Hero
   ========================= */
.hero {
  background-color: var(--deep-navy);
  color: var(--white);
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 10px;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.logo-wrap {
  width: 200px;
  height: 200px;
  margin: auto;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

.scf-logo-wrap {
  width: 50%;
  height: auto;
  margin: auto;
}

.scf-logo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Site Title (H1) — Academic, elegant */
.site-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  margin: 0 0 5px;
}

.site-subtitle {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mid-gray);
  margin: 20px 0 20px;
}

.hero-nav {
  display: inline-flex;
  gap: 15px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid var(--white);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-nav a:hover {
  background-color: var(--white);
  color: var(--deep-navy);
  border-color: var(--white);
}

/* =========================
   Sections
   ========================= */
.section {
  padding: 40px 20px;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 800px;
}

.section-dark {
  background-color: var(--soft-charcoal);
  color: var(--white);
}

.section-light {
  background-color: var(--soft-academic);
  color: var(--deep-navy);
}

.section-white {
  background-color: var(--white);
  color: var(--deep-navy);
}

.section-black {
  background-color: var(--deep-navy);
  color: var(--white);
}

/* Section Headers (H2) — Inter for clarity */
.section h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0 0 20px;
}

.section p {
  line-height: 1.6;
  font-size: 0.98rem;
}

/* =========================
   Columns / Cards
   ========================= */
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--surface-3);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 15px;
}

.section-light .card {
  background-color: var(--surface-2);
}

/* Card Titles (H3) — Inter for consistency */
.card h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0 0 10px;
}

/* Card layout for resources */
.card.resource-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: var(--surface-3); /* your soft mid-light tone */
  border-radius: 8px;
  margin-bottom: 25px;
  align-items: flex-start;
}

/* Book cover */
.resource-cover {
  width: 80px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* Text block */
.resource-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Title hierarchy */
.resource-title {
  margin: 0 0 5px;
  line-height: 1.3;
}

.title-main {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-navy);
}

.title-sub {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

/* Author */
.resource-author {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.75;
  color: var(--deep-navy);
}

.resource-links {
  margin-top: 12px;
  display: flex;
  gap: 16px;
}

.resource-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-gray-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.resource-links a:hover {
  color: var(--deep-navy);
  border-color: var(--deep-navy);
}

/* =========================
   Projects Grid
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 15px;
  background-color: var(--surface-3);
}

/* Project Titles (H3) — Inter, slightly larger */
.project h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0 0 10px;
}

.project li {  
  display: list-item;
  margin-top: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deep-navy);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.project a {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deep-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--deep-navy);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.project a:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* =========================
   Philosophy / Contact
   ========================= */
/* Identity Line — Inter, light and centered */
.identity-line {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.identity-line .order {
  font-style: italic;
  font-weight: 300;
  opacity: 0.85;
}

.identity-line .chaos {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-line a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--white);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-line a:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* =========================
   Footer
   ========================= */
.footer {
  background-color: var(--deep-navy);
  color: var(--white);
  padding: 16px 20px;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 800px) {
  .columns,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-nav a {
    margin-bottom: 6px;
  }

  .site-title {
    font-size: 2.2rem;
  }
}

/* =========================
   Slide Deck Layout
   ========================= */

/* Reset inherited layout */
.slide-body {
  margin: 0;
  padding: 30px;
  min-height: 100vh;
  background-color: var(--deep-navy);
  color: var(--white);

  /* Override any site-level grid/flex */
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Shared max-width for header, content, footer */
.slide-header,
.slide-content,
.slide-footer {
  width: 100%;
  max-width: 1000px;
}

/* Header */
.slide-header {
  text-align: center;
  margin-bottom: 20px;
}

/* Slide Title — Bebas Neue stays for display moments */
.slide-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.slide-subtitle {
  font-size: 1rem;
  color: var(--mid-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Splash Title — Bebas Neue for big, bold identity */
.splash-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding-bottom: 10px;
}

.splash-subtitle {
  font-size: 1.5rem;
  color: var(--mid-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 6px;
}

/* Slide Content Container */
.slide-content {
  background-color: var(--charcoal);
  padding: 30px 30px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);

  /* widescreen presence */
  min-height: 50vh;
}

/* Typography inside slides */
/* Slide Section Headers — Bebas Neue for slide deck identity */
.slide-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
}

.slide-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.slide-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.slide-content li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* Links */
.slide-content a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--white);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.slide-content a:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* Navigation */
.slide-footer {
  text-align: center;
  margin-top: 20px;
}

.slide-nav {
  display: inline-flex;
  gap: 20px;
  margin-top: 20px;
  text-align: center;
}

.slide-nav-link {
  color: var(--white);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.slide-nav-link:hover {
  background-color: var(--white);
  color: var(--deep-navy);
  border-color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .slide-content {
    padding: 30px 25px;
  }

  .slide-title {
    font-size: 2.2rem;
  }

  .slide-content h2 {
    font-size: 1.6rem;
  }
}

.video-wrapper {
  width: 85%;
  max-width: 1000px;
  margin: 30px auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: block; /* ensures it behaves like a block-level container */
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ← the correct choice for responsive video */
  display: block;
  background: #000; /* fills the letterbox space */
}

.scripture-block {
  background: var(--secondary-b); /* your warm cream */
  padding: 2px 2px;
  border-radius: 8px;
  line-height: 1.5;
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto 5px auto;
  color: var(--primary); /* deep green text for strong contrast */
}

.scripture-block p {
  margin: 0 0 0 0;
}

.scripture-block strong {
  color: var(--accent);
  font-weight: 600;
  margin-right: 4px;
}

.jesus-words {
  color: #b94a48; /* soft, warm red */
  font-weight: 600;
}

.reflection-block {
  background: var(--secondary-b);
  padding: 24px 28px;
  border-radius: 8px;
  max-width: 900px;
  margin: 20px auto 30px auto;
  font-size: 1.15rem; /* slightly larger */
  line-height: 1.7;
  color: var(--primary);
}

.reflection-block ul {
  padding-left: 24px;
  margin: 0;
}

.reflection-block li {
  margin-bottom: 16px;
  font-size: 1.2rem; /* larger bullets */
}

.inline-reflection {
  margin: 20px 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--secondary-b);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary);
  opacity: 0.9;
}

.inline-reflection ul {
  margin: 0;
  padding-left: 18px;
  list-style-type: disc;
}

.inline-reflection li {
  margin: 4px 0;
  font-weight: 400;
}

.scripture-attribution {
  font-size: 0.75rem;
  color: var(--mid-gray);
  text-align: center;
  margin-top: 6px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.site-copyright {
  font-size: 0.75rem;
  color: var(--white);
  text-align: center;
  margin-top: 20px;
}

.audio-wrapper {
  width: 75%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: var(--charcoal);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.audio-wrapper audio {
  width: 100%;
  display: block;
}

.media-attribution {
  font-size: 0.75rem;
  color: var(--mid-gray);
  text-align: center;
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.media-attribution a {
  color: var(--mid-gray);
  text-decoration: underline;
}