:root {
  --bg: #023b4c;       /* teal, from the logo background */
  --accent: #fcc32e;   /* yellow-gold, from the logo */
  --text: #ffffff;     /* white, like "Maison" in the logo */
  --bg-dark: #012c3a;  /* darker teal for photo placeholders and footer */
}

body {
  margin: 0;
  min-height: 100vh;                  /* page at least as tall as the screen */
  display: flex;
  flex-direction: column;             /* footer is pushed to the bottom */
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3 {
  color: var(--accent);
}

/* Menu bar: links left | logo center | language switch right */
.menu {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 32px;
  background: var(--bg);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* The links next to each other */
.menu-links {
  display: flex;
  flex-wrap: wrap;                    /* wrap instead of overflowing */
  align-items: center;
  gap: 8px;
}

.menu-links a {
  padding: 14px 16px;                 /* button height: change the first value */
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.menu-links a:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Clickable logo */
.logo-link {
  display: block;
  line-height: 0;
}

.logo {
  height: 120px;
  width: auto;
  display: block;
}

/* Language switch (right side) */
.lang-switch {
  justify-self: end;
  display: flex;
  gap: 8px;
}

.lang-switch button {
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button:hover,
.lang-switch button.active {
  background: var(--accent);
  color: var(--bg);
}

/* Page content */
main {
  flex: 1;                            /* takes the free space, footer goes down */
  width: 100%;
  box-sizing: border-box;
  max-width: 1100px;                  /* keeps lines readable on wide screens */
  margin: 0 auto;
  padding: 24px 32px;
  line-height: 1.6;
}

/* Intro line under a page title */
.lead {
  font-size: 1.25em;
  font-weight: 600;
}

/* Slogan / highlighted line */
.slogan {
  margin: 32px 0;
  font-size: 1.3em;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
}

/* Three audience blocks on the home page */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.audience-card {
  display: block;
  box-sizing: border-box;
  padding: 20px;
  background: var(--bg-dark);
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}

.audience-card h3 {
  margin-top: 0;
}

.audience-card p {
  margin-bottom: 0;
}

/* The clickable block: arrow + hover effect */
.audience-card.clickable {
  transition: background 0.2s, color 0.2s;
}

.audience-card.clickable h3::after {
  content: " →";
}

.audience-card.clickable:hover {
  background: var(--accent);
  color: var(--bg);
}

.audience-card.clickable:hover h3 {
  color: var(--bg);
}

main ul {
  padding-left: 22px;
}

main li {
  margin-bottom: 8px;
}

main li::marker {
  color: var(--accent);
}

main li strong {
  color: var(--accent);               /* bold label in front of each list item */
}

/* Call-to-action buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* Same buttons, underneath each other (contact page) */
.cta-row.stacked {
  flex-direction: column;
  max-width: 360px;                   /* all buttons same width */
  margin-bottom: 24px;
}

.cta {
  display: inline-flex;               /* icon and text next to each other */
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 24px;
  font-weight: 600;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.cta-row .cta {
  margin-top: 0;                      /* spacing comes from the row */
}

.cta:hover {
  background: transparent;
  color: var(--accent);
}

/* Icon in front of a button (e.g. WhatsApp) */
.cta-icon {
  height: 24px;
  width: auto;
  display: block;
}

.services-title {
  margin-top: 40px;
}

/* One service block: heading, text, before/after photos */
.service {
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.service h3 {
  margin-top: 0;
}

/* Carousel: one before/after pair per slide, swipe or use arrows */
.carousel {
  position: relative;
  margin-top: 16px;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;              /* hide scrollbar */
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin-top: 0;
  box-sizing: border-box;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

.carousel-btn.prev { left: -12px; }
.carousel-btn.next { right: -12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--accent);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;     /* before | after */
  gap: 16px;
  margin-top: 16px;
}

.before-after figure {
  margin: 0;
}

.before-after img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;                /* all photos same shape */
  object-fit: cover;                  /* crops instead of stretching */
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--bg-dark);
}

.before-after figcaption {
  margin-top: 6px;
  text-align: center;
  font-weight: 600;
  color: var(--accent);
}

/* Footer */
.footer {
  margin-top: 24px;
  padding: 20px 32px;
  background: var(--bg-dark);
  border-top: 2px solid var(--accent);
  text-align: center;
  font-size: 14px;
}

.footer p {
  margin: 4px 0;
}

/* About page: text left, photo right */
.about-layout {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 32px;
  align-items: center;                /* photo centred top to bottom next to the text */
}

.about-text > :first-child {
  margin-top: 0;
}

.about-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Contact page: buttons left, big logo right */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 32px;
  align-items: center;
}

.contact-logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  justify-self: center;
  border-radius: 12px;
}

/* Contact page: work area text + map underneath */
.contact-region {
  max-width: 900px;
  margin: 56px auto;                  /* same space above (logo) and below (map) */
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.contact-map {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

/* ---------- Tablet, phone and small laptop windows (under 1280 px) ---------- */
@media (max-width: 1280px) {
  .menu {
    grid-template-columns: 1fr;       /* one column: stacked */
    justify-items: center;
    gap: 8px;
    padding: 8px 16px;
    position: static;                 /* no sticky: a stacked menu is too tall */
  }

  .logo-link {
    order: -1;                        /* logo first, on top */
  }

  .logo {
    height: 90px;
  }

  .menu-links {
    justify-content: center;
  }

  .menu-links a {
    padding: 12px 18px;
  }

  .lang-switch {
    justify-self: center;
  }

  main {
    padding: 16px;
  }

  .footer {
    padding: 16px;
  }
}

/* ---------- Tablet and phone (under 900 px) ---------- */
@media (max-width: 900px) {
  .audience {
    grid-template-columns: 1fr;       /* the three blocks underneath each other */
  }

  .contact-layout {
    grid-template-columns: 1fr;       /* logo below the buttons */
  }

  .about-layout {
    grid-template-columns: 1fr;       /* photo below the text */
  }

  .about-photo {
    max-width: 360px;
    justify-self: center;
  }
}

/* ---------- Small phones (under 600 px) ---------- */
@media (max-width: 600px) {
  .before-after {
    grid-template-columns: 1fr;       /* before above after */
  }

  .service {
    padding: 16px;
  }

  .cta-row {
    flex-direction: column;           /* buttons stacked, full width */
  }

  .cta-row.stacked {
    max-width: none;                  /* full width on phones */
  }

  .cta {
    text-align: center;
  }
}

/* ---------- Algemene voorwaarden / Terms and conditions ---------- */

/* Show only the block that matches the chosen language */
html:not([lang="en"]) .legal [lang="en"] {
  display: none;
}

html[lang="en"] .legal [lang="nl"] {
  display: none;
}

.legal h1 {
  margin-top: 0;
}

.legal h2 {
  margin: 28px 0 8px;
  font-size: 1.15em;
}

.legal p {
  margin: 0 0 12px;
}

.legal a {
  color: var(--accent);
}

.legal-meta {
  padding: 16px 20px;
  background: var(--bg-dark);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
}

.legal-note {
  margin-top: 28px;
  font-size: 0.95em;
  font-style: italic;
}

.legal-annex {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--accent);
}

/* Link in the footer */
.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
