/* Algemene stijlen voor de hele website.
   Kleuren en lettertypes volgen de huisstijlkaart (docs/huisstijl/samenvatting.md). */

/* Lettertypes: staan zelf op de site (map fonts/), dus niet bij Google geladen. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Huisstijlkleuren */
  --kleur-koper: #c07350;          /* accent; op crème alleen voor grote koppen */
  --kleur-koper-donker: #a35b3c;   /* voor knoppen met witte tekst (beter leesbaar) */
  --kleur-teal: #287381;           /* hoofdkleur */
  --kleur-teal-donker: #205b65;    /* tekst en footer */
  --kleur-koperlicht: #d9a58d;     /* alleen decoratief, niet voor tekst op licht */
  --kleur-creme: #f7f4ee;          /* achtergrond */
  --kleur-wit: #fcfbf8;            /* gebroken wit */

  /* Toepassing */
  --kleur-tekst: var(--kleur-teal-donker);
  --kleur-achtergrond: var(--kleur-creme);
  --kleur-link: var(--kleur-teal);

  /* Lettertypes */
  --font-kop: "Playfair Display", Georgia, serif;
  --font-tekst: "Montserrat", system-ui, "Segoe UI", sans-serif;

  --max-breedte: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-tekst);
  line-height: 1.6;
  color: var(--kleur-tekst);
  background: var(--kleur-achtergrond);
}

/* Koppen */
h1,
h2,
h3 {
  font-family: var(--font-kop);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--kleur-koper);
}

h2,
h3 {
  color: var(--kleur-teal-donker);
}

a {
  color: var(--kleur-link);
}

a:hover {
  color: var(--kleur-teal-donker);
}

img {
  max-width: 100%;
  height: auto;
}

/* Kop van de pagina */
.site-kop {
  background: var(--kleur-wit);
  border-bottom: 1px solid #e6dfd3;
}

.site-kop-inhoud {
  max-width: var(--max-breedte);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo in de kop */
.merk {
  display: block;
  line-height: 0;
}

.merk img {
  display: block;
  width: auto;
  height: 56px;
}

@media (max-width: 480px) {
  .merk img {
    height: 42px;
  }
}

nav a {
  font-weight: 600;
  text-decoration: none;
  color: var(--kleur-teal-donker);
}

nav a:hover {
  color: var(--kleur-teal);
  text-decoration: underline;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-breedte);
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Voet van de pagina */
footer {
  background: var(--kleur-teal-donker);
  color: var(--kleur-wit);
}

.site-voet-inhoud {
  max-width: var(--max-breedte);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--kleur-wit);
}

/* Knoppen volgens de huisstijl (klaar voor later gebruik) */
.knop {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-tekst);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.knop-koper {
  background: var(--kleur-koper-donker);
  color: #fff;
}

.knop-koper:hover {
  background: var(--kleur-teal-donker);
  color: #fff;
}

.knop-teal {
  background: var(--kleur-teal);
  color: #fff;
}

.knop-teal:hover {
  background: var(--kleur-teal-donker);
  color: #fff;
}

.knop-omlijnd {
  background: transparent;
  border-color: var(--kleur-teal);
  color: var(--kleur-teal);
}

.knop-omlijnd:hover {
  background: var(--kleur-teal);
  color: #fff;
}

/* Zichtbare focus voor wie met het toetsenbord navigeert */
a:focus-visible,
.knop:focus-visible {
  outline: 3px solid var(--kleur-koper);
  outline-offset: 3px;
}
