/* Section default */
:root {
  --kleur-achtergrond: #fdf9ec;
  --kleur-tekst: #181818;
  --kleur-primaire: #4b9a2a;
  --kleur-secundaire: #2e5c1b;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px, basis */
  --font-size-lg: 1.25rem;   /* 20px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-xxl: 2rem;     /* 32px */

  --line-height-xs: 1.2;
  --line-height-sm: 1.3;
  --line-height-md: 1.5;
  --line-height-lg: 1.6;
  --line-height-xl: 1.75;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body {
  background-color: var(--kleur-achtergrond);
  color: var(--kleur-tekst);
  font-family: 'Segoe UI', sans-serif;
  padding-top: 50px;
}

/* Section header */
.navbar {
  background-color: var(--kleur-tekst); /* #181818 */
}

.navbar a,
#mobileMenu a {
  color: var(--kleur-achtergrond); /* #fdf9ec */
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover,
#mobileMenu a:hover {
  color: var(--kleur-primaire); /* #4b9a2a */
}

#mobileMenu a {
  background-color: white;
  border-bottom: 1px solid #ddd;
  display: block;
  text-decoration: none;
}

#mobileMenu {
  position: absolute;
  top: 65px;         /* hoogte onder de navbar */
  right: 15px;       /* afstand vanaf rechterrand */
  min-width: 150px;
  display: none;
  z-index: 1050;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Section footer */
footer {
  background-color: var(--kleur-tekst);        /* #181818 */
  color: var(--kleur-achtergrond);             /* #fdf9ec */
  padding: 1rem 0;                              /* minder hoog */
  font-size: 0.9rem;
}

footer a.text-reset:hover {
  color: var(--kleur-primaire) !important;
  text-decoration: none;
}

/* Section general */
.section-divider {
  border: none;
  border-top: 2px solid var(--kleur-primaire);
  margin: 3rem 0;
  width: 60px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2px;
}

.text-xs {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
  color: var(--kleur-tekst);
}

.text-sm {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--kleur-tekst);
}

.text-md {
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  color: var(--kleur-tekst);
}

.text-lg {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
  color: var(--kleur-tekst);
}

.text-xl {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  color: var(--kleur-tekst);
}

.text-xxl {
  font-size: var(--font-size-xxl);
  line-height: var(--line-height-xl);
  color: var(--kleur-tekst);
}

.h1-custom {
  font-size: var(--font-size-xxl);
  line-height: var(--line-height-xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--kleur-tekst);
}

.h2-custom {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--kleur-tekst);
}

/* Paragraaf */
.p-custom {
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--kleur-tekst);
}


/* Section homepage */
.round-img-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--kleur-primaire);
  padding: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .round-img-wrapper {
    width: 120px;
    height: 120px;
    border-width: 3px; /* dunner randje voor kleinere afbeelding */
    padding: 4px;
  }
}

.round-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.direct-links .card {
  border: 4px solid #f3e99f; /* zachte geeltint */
  border-radius: 1rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.direct-links .card:hover {
  box-shadow: 0 8px 20px rgba(243, 233, 159, 0.6);
  transform: translateY(-5px);
}
/* Blog slider container */
.blog-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Blog item (kaart) */
.blog-item {
  flex: 0 0 auto;               /* niet uitrekken, vaste breedte */
  width: 260px;                 /* vaste breedte zodat items naast elkaar passen */
  border-radius: 1rem;
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  color: var(--kleur-tekst);
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: left;             /* tekst links uitlijnen */
  overflow: hidden;             /* voorkom overflow van tekst */
}

/* Hover-effect voor blog items */
.blog-item:hover {
  background-color: var(--kleur-primaire);
  color: #fff;
}

/* Titel in blog item */
.blog-text h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
  font-size: 1.1rem;
}

/* Tekst in blog item */
.blog-text p {
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--kleur-secundaire);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}


.newsletter-signup {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-signup form {
  max-width: 400px;
  width: 100%;
  display: flex;
  gap: 0.5rem;
}

.newsletter-signup input[type="email"] {
  flex-grow: 1;
  min-width: 0;
}

.newsletter-signup button {
  flex-shrink: 0;
}
