/* ============================================================
   1st Blofield & Brundall Sea Scouts — Brand Styles
   Navy #001F5C | Gold #C8A400 | Black #111
   ============================================================ */

:root {
  --navy:  #001F5C;
  --gold:  #C8A400;
  --black: #111111;
  --light: #F5F5F0;
}

/* ---- Base ---- */
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
}

a { color: var(--navy); }
a:hover { color: var(--gold); }

/* Navy headings on light backgrounds */
h1, h2, h3, h4, h5 { color: var(--navy); font-weight: 700; }

/* White headings on dark backgrounds */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.cta-band h1,
.cta-band h2,
.cta-band h3,
.page-header h1,
.page-header h2 { color: #fff !important; }

/* ---- Navbar ---- */
.navbar-brand img { height: 42px; margin-right: 0.5rem; }

.site-nav {
  background-color: var(--navy);
}
.site-nav .navbar-brand,
.site-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: var(--gold) !important;
}
.site-nav .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}
.site-nav .navbar-toggler-icon {
  filter: invert(1);
}
/* dropdown */
.site-nav .dropdown-menu {
  background-color: #00174a;
  border: none;
  border-top: 3px solid var(--gold);
  border-radius: 0;
}
.site-nav .dropdown-item {
  color: rgba(255,255,255,0.85);
}
.site-nav .dropdown-item:hover {
  background-color: rgba(200,164,0,0.15);
  color: var(--gold);
}

/* ---- Hero ---- */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, #003087 60%, #000d2e 100%);
  color: #fff;
  padding: 4rem 0;
}
.hero-section p,
.hero-section .lead { color: rgba(255,255,255,0.9); }
.hero-section .btn-gold {
  background-color: var(--gold);
  color: var(--black);
  font-weight: 700;
  border: none;
}
.hero-section .btn-gold:hover {
  background-color: #a88b00;
  color: #fff;
}

/* ---- Recruitment banner ---- */
.recruit-banner {
  background-color: var(--gold);
  color: var(--black);
  font-size: 0.95rem;
}
.recruit-label {
  display: inline-block;
  background-color: var(--black);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-right: 0.6rem;
}
.recruit-text { color: var(--black); }

/* ---- Section cards ---- */
.section-card {
  border: none;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,31,92,0.15) !important;
  color: inherit;
  text-decoration: none;
}
.section-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto;
}

/* ---- Why strip ---- */
.why-strip { background: #fff; }
.why-strip .icon { font-size: 2rem; }

/* ---- News cards ---- */
.news-card {
  border: 1px solid rgba(0,31,92,0.1);
  border-radius: 10px;
}
.news-card .date { font-size: 0.8rem; color: #888; }

/* ---- CTA band ---- */
.cta-band {
  background-color: var(--navy);
  color: #fff;
}
.cta-band .btn-gold {
  background-color: var(--gold);
  color: var(--black);
  font-weight: 700;
  border: none;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
}
.cta-band .btn-gold:hover {
  background-color: #a88b00;
  color: #fff;
}
.cta-band p { color: rgba(255,255,255,0.85); }

/* ---- Page content ---- */
.page-header {
  background-color: var(--navy);
  color: #fff;
  padding: 2.5rem 0 2rem;
}
.page-header h1 { color: #fff; margin: 0; }
.page-header p { color: rgba(255,255,255,0.8); margin: 0.5rem 0 0; }
.section-logo { max-height: 160px; max-width: 320px; width: auto; height: auto; display: block; }

.page-content {
  padding: 3rem 0;
}
.page-content h2 { margin-top: 2rem; }
.page-content h2:first-child { margin-top: 0; }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.page-content th {
  background-color: var(--navy);
  color: #fff;
  padding: 0.6rem 0.9rem;
  text-align: left;
}
.page-content td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #e0e0e0;
}
.page-content tr:nth-child(even) td { background: #f8f8f5; }

/* ---- Footer ---- */
.site-footer {
  background-color: var(--black);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 2.5rem 0 1.5rem;
}
.site-footer h5 { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}
.site-footer .gold-accent { color: var(--gold); }
