/* Chiro Kerkhoven - shared stylesheet */

:root {
  --blue: #0b4da8;
  --blue-dark: #073b82;
  --red: #e2001a;
  --yellow: #f7d046;
  --green: #7ed957;
  --orange: #f5821f;
  --text: #1a1a1a;
  --max-width: 1200px;
  --font: "Poppins", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 56px;
  height: 56px;
}

.brand span {
  font-size: 1.6rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding-bottom: 4px;
}

.main-nav a.active,
.main-nav a:hover {
  font-weight: 700;
  border-bottom: 2px solid #fff;
}

/* ---------- Hero (Startpagina) ---------- */
.hero {
  position: relative;
  min-height: 460px;
  background: linear-gradient(rgba(11, 77, 168, 0.15), rgba(11, 77, 168, 0.15)),
    url("../images/Banner.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0;
}

/* ---------- Generic content sections ---------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.trooper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: flex-start;
  gap: 2rem;
}

.trooper-logo {
  width: 100%;
}

.steps {
  padding-left: 1.25rem;
}

.steps li {
  margin-bottom: 0.5rem;
}

/* ---------- Age group bands (Leiding page) ---------- */
.group-band {
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}

.group-band h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

.group-band p {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.band-speelclubs { background: var(--yellow); }
.band-rakwis { background: var(--green); }
.band-titos { background: var(--red); }
.band-ketiaspis {
  background: linear-gradient(to right, var(--blue) 50%, var(--orange) 50%);
}

.leiders-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 2rem 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.leider-card {
  text-align: center;
}

.leider-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.8rem;
}

.leider-card strong {
  display: block;
}

/* ---------- Uniform image ---------- */
.uniform-img {
  width: 200px;
  margin: 1.5rem auto;
}

/* ---------- Foto's / gallery ---------- */
.gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-frame {
  width: min(90vw, 500px);
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
}

.gallery-counter {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: -1.5rem;
  padding-bottom: 2rem;
}

/* ---------- Contact ---------- */
.contact-info {
  text-align: center;
  padding: 4rem 2rem;
  font-size: 1.1rem;
}

.contact-info p {
  margin: 0.75rem 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.site-footer h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.site-footer .email {
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 2rem;
  }

  .trooper {
    align-items: center;
    text-align: center;
  }
}
