/* ==========================================================================
   Laney NHS — Buccaneer Chapter
   Shared stylesheet
   ========================================================================== */

:root {
  --navy: #152449;
  --navy-dark: #0F1C38;
  --bronze: #DECE92;
  --bronze-light: #C4AB7C;
  --bronze-muted: #7C6A45;
  --cream: #FBF9F4;
  --ivory: #F7F3E9;
  --card-border: #E7E1D3;
  --section-alt: #F3EFE6;
  --text-dark: #3B3F4C;
  --text-body: #565B6B;
  --text-muted: #5B5F6B;
  --text-faint: #9AA0AE;
  --footer-text: #D9DCE6;
  --footer-text-muted: #AEB4C4;
  --footer-copy: #7C8296;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  color: var(--text-dark);
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--bronze); }

img { max-width: 100%; display: block; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* .container-* : max-width wrappers only. Vertical padding is set
   per-section inline (sections have very different spacing values),
   so these intentionally don't touch padding-top/bottom. */
.container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.container--narrow { max-width: 1000px; }
.container--text { max-width: 820px; }

/* -------------------- Logo -------------------- */

.logo {
  display: block;
  flex: none;
  width: auto;
}

.logo--nav { height: 44px; }
.logo--footer { height: 34px; }

/* -------------------- Header / Nav -------------------- */

.site-header {
  background: var(--navy);
  border-bottom: 1px solid var(--bronze);
  position: relative;
  z-index: 20;
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ivory);
  letter-spacing: 0.2px;
}

.brand__sub {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--bronze);
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links__link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 10px 16px 8px;
  text-decoration: none;
  color: var(--ivory);
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links__link:hover {
  color: var(--bronze);
  border-bottom-color: rgba(222, 206, 146, 0.4);
}

.nav-links__link--active,
.nav-links__link--active:hover {
  color: var(--bronze);
  background: transparent;
  border-bottom-color: var(--bronze);
}

/* -------------------- Buttons -------------------- */

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  border: 1.5px solid transparent;
}

.btn--primary {
  color: var(--navy);
  background: var(--bronze);
}
.btn--primary:hover { color: var(--navy); background: var(--bronze-light); }

.btn--outline {
  color: var(--ivory);
  background: transparent;
  border-color: rgba(247, 243, 233, 0.4);
  padding: 14px 30px;
}
.btn--outline:hover { color: var(--ivory); border-color: var(--bronze-light); }

.btn--dark {
  color: var(--ivory);
  background: var(--navy);
  padding: 15px 32px;
}
.btn--dark:hover { color: var(--ivory); background: var(--navy-dark); }

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  padding: 100px 32px 110px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(21,36,73,0.92) 0%, rgba(15,28,56,0.95) 100%);
  pointer-events: none;
}

.hero__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.15;
  color: var(--ivory);
  margin: 0 0 22px;
}

.hero__lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: #D3D7E2;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------- Page banner (interior pages) -------------------- */

.page-banner {
  background: var(--navy);
  padding: 64px 32px 56px;
  text-align: center;
}

.page-banner__eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bronze-light);
  font-weight: 600;
  margin-bottom: 14px;
}

.page-banner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: var(--ivory);
  margin: 0;
}

/* -------------------- Section headings -------------------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bronze-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head { text-align: center; margin-bottom: 56px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--navy);
  margin: 0;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); }

/* -------------------- Cards / grids -------------------- */

.card {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* -------------------- Image placeholder slots -------------------- */

.img-slot {
  background: #F2F1EF;
  border: 1px dashed #D8D5CC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8B8880;
  width: 100%;
  text-align: center;
  padding: 16px;
}

.img-slot--rounded { border-radius: 4px; }
.img-slot--circle { border-radius: 50%; padding: 8px; }

.img-slot__icon { width: 26px; height: 26px; opacity: 0.55; flex: none; }
.img-slot--circle .img-slot__icon { width: 20px; height: 20px; }

.img-slot__caption {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
}

.img-slot--circle .img-slot__caption { font-size: 11px; }

/* -------------------- Footer -------------------- */

.site-footer {
  background: var(--navy-dark);
  color: var(--footer-text);
  padding: 56px 32px 28px;
}

.site-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.site-footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ivory);
}

.site-footer__blurb {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--footer-text-muted);
  max-width: 340px;
  margin: 0;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
  font-weight: 600;
}

.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a {
  color: var(--footer-text);
  font-family: var(--font-body);
  font-size: 14px;
}
.site-footer__links a:hover { color: var(--bronze-light); }

.site-footer__advisers {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--footer-text);
  margin: 0;
}
.site-footer__advisers span { color: var(--footer-text-muted); }

.site-footer__bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__bottom span {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--footer-copy);
}

/* -------------------- Callout box -------------------- */

.callout {
  background: var(--section-alt);
  border-left: 2px solid var(--bronze);
  padding: 20px 24px;
}

.callout p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.callout strong { color: var(--navy); }

/* -------------------- Section alt background -------------------- */

.section--alt { background: var(--section-alt); }

/* -------------------- Responsive -------------------- */

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .hero__title { font-size: 38px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 56px 20px; }
  .page-banner { padding: 48px 20px 40px; }
  .hero { padding: 64px 20px 72px; }
  .hero__title { font-size: 30px; }
}
