/* WBSA static site
   Theme: dark navy header, white background, clean cards, interactive hero slider hover.
*/

:root {
  --bg: #FFFFFF;
  --text: #0B1220;
  --muted: #5B677A;
  --card: #F6F8FC;
  --border: rgba(10, 43, 89, 0.14);

  --brand: #0A2B59;
  --brand2: #114A9A;
  --accent: #D6B25E;

  --shadow: 0 10px 25px rgba(11, 18, 32, 0.12);
  --shadow-sm: 0 8px 18px rgba(11, 18, 32, 0.10);

  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;

  --focus: 0 0 0 4px rgba(17, 74, 154, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: var(--brand2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  z-index: 9999;
}
.skip-link:focus { left: 12px; outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.site-header {
  background: var(--brand);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.1px;
}
.brand-tag {
  font-size: 12.5px;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle:focus { outline: none; box-shadow: var(--focus); }
.nav-toggle-lines {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav-toggle-lines::before { top: 2px; }
.nav-toggle-lines::after { bottom: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-links a {
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-links a:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.12);
}
.nav-links .btn {
  padding: 10px 12px;
}

.topbar {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.topbar-inner {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
  align-items: center;
}
.topbar-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
}
.topbar-label {
  opacity: 0.9;
}
.topbar a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,0.35); }
.topbar a:hover { border-bottom-style: solid; }
.topbar-address { max-width: 100%; }

.hero {
  background:
    radial-gradient(1100px 700px at 10% 0%, rgba(17,74,154,0.16), transparent 55%),
    radial-gradient(900px 600px at 100% 10%, rgba(214,178,94,0.14), transparent 55%),
    linear-gradient(#FFFFFF, #FFFFFF);
  padding: 38px 0 28px;
}

.page-hero {
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(17,74,154,0.14), transparent 55%),
    radial-gradient(700px 420px at 100% 10%, rgba(214,178,94,0.12), transparent 55%),
    linear-gradient(#FFFFFF, #FFFFFF);
  padding: 32px 0 18px;
}

.page-hero-inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10,43,89,0.08);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--brand);
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
}

.lead {
  margin: 0 0 18px;
  font-size: 16.5px;
  color: rgba(11,18,32,0.86);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.stat {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  box-shadow: 0 6px 16px rgba(11,18,32,0.06);
}
.stat-num {
  font-weight: 900;
  color: var(--brand);
}
.stat-label {
  font-size: 12.8px;
  color: var(--muted);
}

.hero-media {
  display: grid;
  gap: 10px;
}
.slider {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(10,43,89,0.18);
  background: #0A2B59;
  box-shadow: var(--shadow);
}

.slide {
  position: relative;
  height: 360px;
  display: grid;
  place-items: stretch;
}
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 500ms ease;
  will-change: transform;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,43,89,0.10) 0%, rgba(10,43,89,0.74) 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.slide-overlay-inner {
  color: #fff;
}
.slide-title {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.1px;
}
.slide-sub {
  opacity: 0.92;
  font-size: 14px;
}

.slide-shine {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.45), transparent 55%);
  transform: translate(var(--mx, -999px), var(--my, -999px));
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}

.slider-note {
  font-size: 12.5px;
  color: var(--muted);
}

.slide:hover .slide-img {
  transform: scale(1.07);
}

.slide.is-hovered .slide-shine {
  opacity: 1;
}

.section {
  padding: 44px 0;
}
.section-alt {
  background: #F7F9FD;
  border-top: 1px solid rgba(10,43,89,0.08);
  border-bottom: 1px solid rgba(10,43,89,0.08);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 28px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 80ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(11,18,32,0.06);
}
.card h3 {
  margin: 0 0 8px;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(11,18,32,0.88);
}
.muted { color: var(--muted); }
.small { font-size: 12.8px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(11,18,32,0.06);
}

.event-row {
  display: grid;
  gap: 10px;
}
.event {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 8px 20px rgba(11,18,32,0.06);
}
.event-date {
  display: grid;
  place-items: center;
  background: rgba(10,43,89,0.06);
  border: 1px solid rgba(10,43,89,0.14);
  border-radius: 14px;
  padding: 10px 8px;
}
.event-month {
  font-weight: 900;
  color: var(--brand);
  font-size: 13px;
}
.event-day {
  font-weight: 900;
  font-size: 22px;
  color: var(--brand);
}

.donate-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(10,43,89,0.06), rgba(214,178,94,0.10));
  border: 1px solid rgba(10,43,89,0.18);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(11,18,32,0.07);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  align-items: start;
}

.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(11,18,32,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
}

input, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11,18,32,0.18);
  background: #fff;
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus {
  box-shadow: var(--focus);
  border-color: rgba(17,74,154,0.55);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.form-status {
  color: var(--muted);
  font-size: 13px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aside {
  display: grid;
  gap: 12px;
}
.aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(11,18,32,0.06);
}

.form-inline {
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-inline input { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus { outline: none; box-shadow: var(--focus); }

.btn-sm {
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13.5px;
}

.btn-solid {
  background: var(--brand2);
  border-color: rgba(255,255,255,0.0);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17,74,154,0.25);
}
.btn-solid:hover {
  text-decoration: none;
  filter: brightness(1.03);
}

.btn-ghost {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.section .btn-ghost, .section-alt .btn-ghost {
  background: transparent;
  color: var(--brand2);
  border-color: rgba(17,74,154,0.28);
}
.section .btn-ghost:hover, .section-alt .btn-ghost:hover {
  background: rgba(17,74,154,0.06);
  text-decoration: none;
}

.footer {
  background: #061A36;
  color: rgba(255,255,255,0.92);
  padding: 28px 0 18px;
}
.footer a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,0.35); }
.footer a:hover { border-bottom-style: solid; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
}
.footer-title {
  font-weight: 900;
}

.footer-head {
  font-weight: 900;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
}

@media (min-width: 861px) {
  .nav-links {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    z-index: auto !important;
  }
  .nav-links::before {
    display: none !important;
  }
  .nav-links a {
    padding: 10px 10px !important;
    width: auto !important;
    text-align: center !important;
  }
  .nav-links .btn {
    width: auto !important;
    justify-content: center !important;
  }
  body.nav-open {
    overflow: auto !important;
    height: auto !important;
  }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: 88px 1fr; }
  .event a { justify-self: start; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    z-index: 100;
    transition: background-color 200ms ease;
  }
  .nav-links.is-open {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
  }
  .nav-links::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: min(92vw, 420px);
    height: 100vh;
    background: rgba(6, 26, 54, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: -1;
  }
  .nav-links a {
    padding: 14px 18px;
    position: relative;
    z-index: 101;
    width: min(92vw, 420px);
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
    border-radius: 0;
  }
  .nav-links a:first-child {
    padding-top: 20px;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  .nav-links .btn {
    justify-content: flex-start;
    position: relative;
    z-index: 101;
    width: min(92vw, 420px);
    padding: 14px 18px;
  }
  body.nav-open {
    overflow: hidden;
    height: 100vh;
  }
}
