/* ===== BEN LANGHOFER — SHARED STYLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0f1729;
  --navy-light: #1a2744;
  --navy-dark: #080e1a;
  --gold: #c8973c;
  --gold-light: #ddb561;
  --gold-hover: #e0c06e;
  --cream: #f8f5f0;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #555566;
  --text-muted: #8888a0;
  --border: #e5e5ea;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

img { max-width: 100%; height: auto; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* ===== NAVIGATION ===== */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 23, 41, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 151, 60, 0.15);
  height: 72px;
}
.topnav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.8rem;
  text-decoration: none;
}
.nav-logo img {
  height: 42px; width: auto; border-radius: 4px;
}
.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}
.nav-links {
  display: flex; align-items: center; gap: 0.3rem;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem; font-weight: 500;
  border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Dropdown */
.dropdown-trigger { cursor: pointer; }
.dropdown-trigger::after {
  content: '▾'; margin-left: 4px; font-size: 0.7rem;
}
.dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0;
  background: var(--navy); border: 1px solid rgba(200,151,60,0.2);
  border-radius: 8px; padding: 0.5rem 0; min-width: 180px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.dropdown-menu a {
  padding: 0.6rem 1.2rem; border-radius: 0;
}
li:hover > .dropdown-menu { display: block; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle svg { width: 28px; height: 28px; stroke: var(--white); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; padding: 1rem;
    border-bottom: 1px solid rgba(200,151,60,0.2);
  }
  .nav-links.open { display: flex; }
  .dropdown-menu {
    position: static; box-shadow: none; border: none;
    padding-left: 1rem; background: transparent;
  }
  li:hover > .dropdown-menu { display: none; }
  li.dropdown-open > .dropdown-menu { display: block; }
}

/* ===== HERO (Home) ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 10rem 2rem 6rem;
  overflow: hidden;
  min-height: 600px;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/hero_bg.png') center/cover no-repeat;
  opacity: 0.2;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-text h1 {
  font-size: 3.2rem; color: var(--white);
  margin-bottom: 1.2rem;
}
.hero-text h1 span { color: var(--gold); }
.hero-text p {
  font-size: 1.15rem; color: rgba(255,255,255,0.75);
  margin-bottom: 2rem; max-width: 500px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  border-radius: 6px; font-size: 0.95rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s;
}
.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 16px rgba(200, 151, 60, 0.3);
}
.btn-gold:hover {
  background: var(--gold-light); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200, 151, 60, 0.4);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white); color: var(--white);
}
.btn-navy {
  background: var(--navy); color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light); color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold); color: var(--white);
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.section-cream { background: var(--cream); }
.section-center { text-align: center; }

.section-title {
  font-size: 2.4rem; margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem; color: var(--text-light);
  max-width: 600px; margin: 0 auto 3rem;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ===== PILLARS GRID ===== */
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 2rem;
}
.pillar-card {
  background: var(--white); border-radius: 12px;
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem;
}
.pillar-icon-mission { background: #dbeafe; color: #2563eb; }
.pillar-icon-vision { background: #dcfce7; color: #16a34a; }
.pillar-icon-values { background: #fce7f3; color: #db2777; }
.pillar-icon-conduct { background: #fef3c7; color: #d97706; }
.pillar-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pillar-card p { font-size: 0.9rem; color: var(--text-light); }

/* ===== FEATURE SECTIONS ===== */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-media { order: 1; }
.feature-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.feature-text p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 1.5rem; }
.feature-media img { border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center; color: var(--white);
}
.cta-section h2 { font-size: 2.4rem; margin-bottom: 0.8rem; }
.cta-section p {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white); border-radius: 12px;
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: var(--text-light); }

/* ===== ABOUT BIO ===== */
.bio-section {
  max-width: 800px; margin: 0 auto;
}
.bio-section p { margin-bottom: 1.3rem; font-size: 1.05rem; color: var(--text-light); }
.bio-highlight {
  background: var(--cream); border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem; border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.bio-highlight p { color: var(--text); margin-bottom: 0; font-style: italic; }

/* ===== STEP LIST ===== */
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1rem;
  width: 2.2rem; height: 2.2rem;
  background: var(--gold); color: var(--white);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.steps li strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.steps li span { font-size: 0.95rem; color: var(--text-light); }

/* ===== BOOK CARDS ===== */
.book-card {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 2rem; align-items: start;
  background: var(--white); border-radius: 12px;
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
}
.book-card img { border-radius: 8px; width: 100%; }
.book-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.book-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 1rem; }

/* ===== RESOURCE GRID ===== */
.resource-card {
  background: var(--white); border-radius: 12px;
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.resource-tag {
  display: inline-block; padding: 0.2rem 0.8rem;
  background: var(--cream); border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gold); margin-bottom: 0.8rem;
}
.resource-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.resource-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.2rem; }

/* ===== ARTICLE CARDS ===== */
.article-card {
  background: var(--white); border-radius: 12px;
  padding: 2rem; border: 1px solid var(--border);
}
.article-tag {
  display: inline-block; padding: 0.2rem 0.8rem;
  background: var(--navy); border-radius: 20px;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--white); margin-bottom: 0.8rem;
}
.article-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.article-card .coming-soon {
  font-size: 0.85rem; color: var(--text-muted); font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,0.6);
  padding: 3.5rem 2rem;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: start; gap: 2rem; flex-wrap: wrap;
}
.footer-brand h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white); font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-connect h4 {
  color: var(--gold); font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.footer-connect p { font-size: 0.9rem; }
.footer-connect a { color: var(--gold-light); }
.footer-bottom {
  text-align: center; padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
}

/* ===== HERO TAGLINE ===== */
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

/* ===== MISSION STRIP ===== */
.mission-strip {
  background: var(--gold);
  padding: 2.5rem 2rem;
}
.mission-strip-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.mission-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 1px;
}
.mission-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.6;
}
.mission-text strong {
  color: var(--white);
}

@media (max-width: 600px) {
  .mission-strip-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .mission-number { font-size: 2.4rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero { padding: 8rem 1.5rem 4rem; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-text p { max-width: none; }
  .hero-actions { justify-content: center; }
  .hero-photos { display: none; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-media { order: 2; }
  .book-card { grid-template-columns: 140px 1fr; }
  .section-title { font-size: 1.8rem; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 1fr; text-align: center; }
  .book-card img { max-width: 180px; margin: 0 auto; }
}
