/* ==========================================================================
   Wereldzorg – soft palette, calm typography
   ========================================================================== */

:root {
  --color-cream: #f5f0e8;
  --color-sage: #b8a99a;
  --color-sage-light: #d9cfc4;
  --color-sage-dark: #8b7d6f;
  --color-blush: #e8dfd4;
  --color-blush-dark: #d4c8b8;
  --color-text: #3d3935;
  --color-text-muted: #6b645c;
  --color-white: #fff;
  --font-sans: "SN Pro", system-ui, -apple-system, sans-serif;
  --font-serif: "SN Pro", Georgia, serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 0.5rem;
  --shadow-soft: 0 4px 20px rgba(61, 57, 53, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-cream);
}

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

a {
  color: var(--color-sage-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-sage-dark);
}

/* Nav toggle (hamburger) – visible only on small screens */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle:hover {
  background: var(--color-sage-light);
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  color: var(--color-text);
}

.nav a:hover {
  background: var(--color-sage-light);
  color: var(--color-text);
  text-decoration: none;
}

/* Responsive nav: hamburger + collapsible menu */
@media (max-width: 48rem) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header__inner {
    flex-wrap: nowrap;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    padding: var(--space-sm);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header.is-open .nav {
    max-height: 20rem;
    opacity: 1;
    visibility: visible;
  }

  .nav li {
    border-bottom: 1px solid var(--color-sage-light);
  }

  .nav li:last-child {
    border-bottom: none;
  }

  .nav a {
    display: block;
    padding: var(--space-sm) var(--space-md);
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.section--hero {
  max-width: none;
  width: 100%;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  text-align: center;
  background: linear-gradient(180deg, var(--color-blush) 0%, var(--color-cream) 100%);
}

.hero__inner {
  max-width: 960px;
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section--alt {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.section__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-sage-dark);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-sage-light);
}

.section__intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
  max-width: 42em;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-sage-dark);
  margin: 0 0 var(--space-sm);
}

.hero__tagline {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ==========================================================================
   Services (cards)
   ========================================================================== */

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (max-width: 640px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: var(--space-lg);
  border: 1px solid var(--color-sage-light);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-sage-dark);
  margin: 0 0 var(--space-sm);
}

.service-card__text {
  margin: 0;
  color: var(--color-text);
}

/* ==========================================================================
   About / Missie / Visie – text blocks
   ========================================================================== */

.block-text {
  margin-bottom: var(--space-lg);
}

.block-text:last-child {
  margin-bottom: 0;
}

.block-text__title {
  font-size: 1.125rem;
  color: var(--color-sage-dark);
  margin: 0 0 var(--space-xs);
}

.block-text__body {
  margin: 0;
  color: var(--color-text);
}

/* ==========================================================================
   Contact & form
   ========================================================================== */

.contact-info {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--color-sage-light);
  border-radius: var(--radius);
}

.contact-info p {
  margin: 0 0 var(--space-xs);
}

.contact-info a {
  color: var(--color-sage-dark);
  font-weight: 500;
}

.form {
  max-width: 32rem;
}

.form__row {
  margin-bottom: var(--space-md);
}

.form label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form input,
.form textarea {
  width: 100%;
  padding: var(--space-sm);
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-blush-dark);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(156, 173, 154, 0.2);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  padding: var(--space-sm) var(--space-lg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-sage-dark);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.form__submit:hover {
  background: var(--color-sage);
}

.form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form__message {
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius);
  display: none;
}

.form__message--success {
  background: var(--color-sage-light);
  color: var(--color-sage-dark);
  display: block;
}

.form__message--error {
  background: #f5d4d4;
  color: #8b3a3a;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-sage-dark);
  color: var(--color-cream);
  padding: var(--space-lg);
  text-align: center;
}

.site-footer__inner {
  max-width: 960px;
  margin: 0 auto;
}

.site-footer a {
  color: var(--color-sage-light);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* ==========================================================================
   Cookie consent bar
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-sage-dark);
  color: var(--color-cream);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.95rem;
  max-width: 36em;
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: var(--space-xs) var(--space-md);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.cookie-consent__btn--accept {
  background: var(--color-cream);
  color: var(--color-sage-dark);
}

.cookie-consent__btn--accept:hover {
  background: var(--color-white);
}

.cookie-consent__btn--decline {
  background: transparent;
  color: var(--color-cream);
  border: 2px solid var(--color-cream);
}

.cookie-consent__btn--decline:hover {
  background: rgba(255, 255, 255, 0.1);
}
