/* HZ&PC Heerenveen huisstijl: rood, wit en blauw; Antic Slab voor koppen, PT Sans voor tekst */
:root {
  --hz-red: #f70404;
  --hz-red-dark: #c80303;
  --hz-blue: #1e73be;
  --hz-blue-dark: #155a96;
  --hz-sand: #f7f4ee;

  --bs-primary: var(--hz-red);
  --bs-primary-rgb: 247, 4, 4;
  --bs-link-color: var(--hz-blue);
  --bs-link-color-rgb: 30, 115, 190;
  --bs-link-hover-color: var(--hz-blue-dark);
  --bs-link-hover-color-rgb: 21, 90, 150;
  --bs-body-font-family: "PT Sans", Arial, Helvetica, sans-serif;
  --bs-body-color: #333;
}

html {
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

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

h1, h2, h3, h4, h5, .display-4, .display-5, .display-6, .navbar-brand {
  font-family: "Antic Slab", Georgia, serif;
  font-weight: 400;
}

h1, .h1, h2, .h2, h3, .h3 {
  color: var(--hz-red);
}

/* Knoppen */
.btn-primary {
  --bs-btn-bg: var(--hz-red);
  --bs-btn-border-color: var(--hz-red);
  --bs-btn-hover-bg: var(--hz-red-dark);
  --bs-btn-hover-border-color: var(--hz-red-dark);
  --bs-btn-active-bg: var(--hz-red-dark);
  --bs-btn-active-border-color: var(--hz-red-dark);
  --bs-btn-disabled-bg: var(--hz-red);
  --bs-btn-disabled-border-color: var(--hz-red);
  --bs-btn-focus-shadow-rgb: 247, 4, 4;
}

.btn-outline-primary {
  --bs-btn-color: var(--hz-blue);
  --bs-btn-border-color: var(--hz-blue);
  --bs-btn-hover-bg: var(--hz-blue);
  --bs-btn-hover-border-color: var(--hz-blue);
  --bs-btn-active-bg: var(--hz-blue-dark);
  --bs-btn-active-border-color: var(--hz-blue-dark);
  --bs-btn-focus-shadow-rgb: 30, 115, 190;
}

.btn-light-outline {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .8);
  --bs-btn-hover-color: var(--hz-blue-dark);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

.btn:focus-visible, .form-control:focus, .form-check-input:focus {
  border-color: rgba(247, 4, 4, .5);
  box-shadow: 0 0 0 .2rem rgba(247, 4, 4, .18);
}

/* Menubalk */
.site-header {
  background: #fff;
  border-top: 5px solid var(--hz-red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--hz-red);
  font-size: 1.2rem;
  line-height: 1.15;
}

.site-header .navbar-brand img {
  width: 48px;
  height: 48px;
}

.site-header .navbar-brand small {
  display: block;
  font-family: var(--bs-body-font-family);
  font-size: .78rem;
  color: #666;
  letter-spacing: .02em;
}

.site-header .nav-link {
  color: #333;
  font-weight: 700;
}

.site-header .nav-link:hover, .site-header .nav-link:focus {
  color: var(--hz-red);
}

/* Hero op de startpagina */
.hero {
  position: relative;
  color: #fff;
  background: var(--hz-blue-dark) url("../img/kamp-zwembad.jpg") center 55% / cover no-repeat;
  margin-top: -1.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 45, 85, .85) 0%, rgba(10, 45, 85, .55) 55%, rgba(10, 45, 85, .15) 100%);
}

.hero .container {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.hero .lead {
  max-width: 36rem;
}

.hero-badge {
  display: inline-block;
  background: var(--hz-red);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

/* Golfrand onder de hero */
.wave {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: -39px;
  position: relative;
}

/* Stappen en foto's */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--hz-red);
  color: #fff;
  font-weight: 700;
  margin-bottom: .75rem;
}

.photo-card {
  border: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.photo-card img {
  height: 210px;
  object-fit: cover;
}
.price-band {
  background: var(--hz-sand);
  border-left: 5px solid var(--hz-red);
}

/* KPI's */
.kpi-card {
  border: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.kpi-label {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #666;
}

.kpi-value {
  font-family: "Antic Slab", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1.2;
  margin: .25rem 0;
}

.kpi-note {
  font-size: .9rem;
}

/* Donkerder rood dan --hz-red zodat de kleine witte tekst WCAG AA-contrast haalt (min. 6:1) */
.kpi-highlight {
  color: #fff;
  background: linear-gradient(135deg, var(--hz-red-dark) 0%, #a00202 100%);
}

.kpi-highlight .kpi-label {
  color: #fff;
}

/* FAQ */
.faq {
  --bs-accordion-active-bg: #fff5f5;
  --bs-accordion-active-color: var(--hz-red-dark);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(247, 4, 4, .18);
}

.faq .accordion-button {
  font-family: "Antic Slab", Georgia, serif;
  font-size: 1.1rem;
}

.mail-template {
  white-space: pre-wrap;
  background: var(--hz-sand);
  border-left: 5px solid var(--hz-blue);
  border-radius: .375rem;
  padding: 1rem 1.25rem;
  font-size: .95rem;
}

.size-card {
  border: 2px solid #e7e7e7;
}

/* Dubbele class zodat de latere .card-regel de rode rand niet overschrijft */
.size-card.size-card-highlight {
  border-color: var(--hz-red);
  box-shadow: 0 4px 16px rgba(247, 4, 4, .15);
}

.size-name {
  font-family: "Antic Slab", Georgia, serif;
  font-size: 1.3rem;
  color: var(--hz-red-dark);
}

/* Vaste hoogte (grootste voorbeeld is 60px) zodat de prijzen op één lijn staan */
.size-preview-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  margin: .5rem 0;
}

.size-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--hz-blue);
  border-radius: .25rem;
  color: var(--hz-blue);
  font-size: .75rem;
}

.size-price {
  font-family: "Antic Slab", Georgia, serif;
  font-size: 1.6rem;
}

.size-pitch {
  font-weight: 700;
  margin-bottom: .25rem;
}

/* Formulieren en kaarten */
.card {
  border-color: #e7e7e7;
}

.card-header {
  background: #fff;
  border-bottom: 3px solid var(--hz-red);
  font-family: "Antic Slab", Georgia, serif;
  font-size: 1.1rem;
}

.auth-card {
  border: 0;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}

.auth-photo {
  /* Groepsfoto: uitsnede op de zwemmers rechtsonder in beeld */
  background: var(--hz-blue) url("../img/kamp-groep.jpg") 62% 78% / cover no-repeat;
  min-height: 220px;
}

.table thead th {
  color: var(--hz-blue-dark);
  border-bottom: 2px solid var(--hz-blue);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--hz-blue);
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
}

.site-footer a {
  color: #fff;
}
