
/* ===============================
   Basis
=============================== */

:root {
  --accent: #253b8f; /* diep ultramarijnblauw */
  --light-blue: #d6e8f2;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.75;
  color: #111;
  background: #fff;
  cursor: url("../icons/cursor-ultramarine.svg") 4 2, auto;
  overflow-x: hidden;
}

a,
button,
[role="button"] {
  cursor: url("../icons/cursor-ultramarine.svg") 4 2, pointer;
}

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


/* ===============================
   Header & navigatie
=============================== */

header {
  background: var(--light-blue);
  border-bottom: 1px solid #bfd9e6;
}

header > div {
  max-width: 1200px;
  margin: auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  column-gap: 56px;
  align-items: center;
  position: relative;
}

.brand {
  grid-column: 1;
  margin-left: 10px;
}

.main-nav {
  grid-column: 2;
  transform: translateX(-20px);
}

.logo img {
  height: 52px;
  width: auto;
}


/* ===============================
   Navigatie (menu) – verfijnd & professioneel
=============================== */

nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

nav a {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.06em;
  color: #111;
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
}

nav a:hover {
  color: var(--accent);
}

nav a[aria-current="page"] {
  color: var(--accent);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}


/* ===============================
   Language switch (SVG flags)
=============================== */

.language-switch {
  display: flex;
  gap: 12px;
  align-items: center;
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
}

.language-switch a {
  display: inline-flex;
  width: 30px;
  height: 20px;
}

.main-nav .header-home-link {
  width: 28px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #111;
  padding: 0;
}

.main-nav .header-home-link::after {
  display: none;
}

.home-line-icon {
  display: block;
  position: relative;
  width: 24px;
  height: 24px;
}

.home-line-icon__roof {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.home-line-icon__base {
  position: absolute;
  left: 5px;
  bottom: 2px;
  width: 14px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-top: 0;
  box-sizing: border-box;
}

.home-line-icon__base::after {
  display: none;
}

.header-home-link:hover,
.header-home-link:focus-visible {
  color: var(--accent);
}

.language-switch img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.language-switch a:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
}


/* ===============================
   Main content – verrijkt & rustiger
=============================== */

main {
  max-width: 900px;
  margin: auto;
  padding: 40px 24px;
}

main p:first-of-type {
  font-size: 18px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 32px;
}

main p {
  max-width: 760px;
}

h1 {
  font-size: 38px;
  line-height: 1.3;
  margin: 0 0 32px;
  position: relative;
}

h2 {
  font-size: 29px;
  line-height: 1.4;
  margin: 56px 0 16px;
  position: relative;
}

h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin-top: 16px;
}

h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #ddd;
  margin-top: 10px;
}

p {
  margin: 0 0 16px;
}


/* ===============================
   Articles (books / blogs)
=============================== */

article {
  margin-bottom: 56px;
}

article h2 {
  margin-top: 0;
}

article p {
  max-width: 720px;
}

article:not(:last-child)::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  background: #eee;
  margin-top: 40px;
}


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

footer {
  margin-top: 80px;
  pointer-events: auto;
}

.footer-bottom {
  max-width: 1200px;
  margin: auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--light-blue);
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: #111;
  text-decoration: none;
}

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

.footer-bottom > div:first-child a {
  font-style: italic;
}

/* De footer volgt dezelfde linker- en rechterlijn als de homepage-inhoud. */
.footer-bottom > div:first-child {
  transform: translateX(10px);
}


/* ===============================
   Social icons
=============================== */

.socials {
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-24px);
}

.socials a {
  margin-left: 0;
  display: inline-flex;
  pointer-events: auto;
}

/* Het WhatsApp-teken vult zijn eigen vlak optisch meer; dit maakt de ruimte gelijk. */
.socials a:last-child {
  margin-left: 2px;
}

.socials img {
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mail-app-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  background: transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mail-app-icon__envelope {
  position: absolute;
  inset: 3px 1px;
  border: 1.7px solid #1686df;
  border-radius: 3px;
  background: transparent;
  box-sizing: border-box;
}

.mail-app-icon__envelope::before,
.mail-app-icon__envelope::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 9.5px;
  height: 1.7px;
  border-radius: 999px;
  background: #1686df;
}

.mail-app-icon__envelope::before {
  left: 0;
  transform: rotate(34deg);
  transform-origin: left center;
}

.mail-app-icon__envelope::after {
  right: 0;
  transform: rotate(-34deg);
  transform-origin: right center;
}

.socials a:hover .mail-app-icon {
  transform: translateY(-2px) scale(1.16);
  filter: brightness(1.05);
}

.socials a:hover img {
  transform: translateY(-2px) scale(1.22);
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.22));
}


/* ===============================
   Content hero – full width
=============================== */

.content-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 48px;
}

.content-hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}


/* ===============================
   Homepage hero slider
=============================== */

#hero-slider {
  position: relative;
  width: 100vw;
  height: 400px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Article content moet zich gedragen als block-html */
#page-payload .article {
  max-width: 720px;           /* zelfde als text blocks */
  margin-left: auto;
  margin-right: auto;
}

/* spacing zoals blocks */
#page-payload .article p {
  margin-bottom: 1.2em;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.hero-slide h1 {
  position: absolute;
  bottom: 40px;
  left: 24px;
  margin: 0;
  color: #fff;
  font-size: 40px;
  white-space: nowrap;
  opacity: 0;
}


/* ===============================
   ✅ Animatie: snel naar rechts en blijven staan
=============================== */

@keyframes heroTextSlide {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  40% {
    transform: translateX(75vw); /* binnen ±2s volledig rechts */
    opacity: 1;
  }

  100% {
    transform: translateX(75vw); /* blijft rechts staan */
    opacity: 1;
  }
}

.hero-slide.active h1 {
  animation: heroTextSlide 5s linear forwards;
}


/* ===============================
   ✅ Klikbare hero-tekst
=============================== */

.hero-slide h1 a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.hero-slide h1 a:hover {
  text-decoration: underline;
}


/* ===============================
   Homepage-specific tweaks
=============================== */

body[data-page="homepage"] .content-hero {
  display: none;
}

body[data-page="homepage"] #hero-slider {
  margin-bottom: 48px;
}

/* Homepage: portret links, introductie rechts */
body[data-page="homepage"] .hero-wrap {
  display: none;
}

body[data-page="homepage"] main {
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

body[data-page="homepage"] #page-payload {
  padding-top: 0;
  width: 100%;
}

body[data-page="homepage"] #site-footer {
  display: flow-root;
  background: var(--light-blue);
}

body[data-page="homepage"] .content-block {
  max-width: 1180px;
  padding-top: 0;
}

body[data-page="homepage"] footer {
  margin-top: 0;
}

body[data-page="homepage"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body[data-page="homepage"] .block-inner.align-left {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas: "image text";
  gap: 56px;
}

body[data-page="homepage"] .block-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
  justify-self: start;
  animation: photo-land 1.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes photo-land {
  from {
    opacity: 0;
    transform: translateX(-18px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

body[data-page="homepage"] .block-html {
  width: 100%;
  max-width: 620px;
  margin: 0;
  transform: translateX(-20px);
  animation: text-arrive 1.25s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes text-arrive {
  from {
    opacity: 0;
    transform: translate(-8px, 8px);
  }

  to {
    opacity: 1;
    transform: translate(-20px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="homepage"] .block-image,
  body[data-page="homepage"] .block-html {
    animation: none;
  }
}

/* ===============================
   Laatste uitlijning header en agenda
=============================== */

@media (min-width: 901px) {
  .main-nav {
    justify-content: flex-end;
    gap: 38px;
    padding-right: 78px;
    transform: none;
  }
}

body[data-page="contact"] main {
  padding-top: 24px;
}

body[data-page="contact"] #page-payload {
  padding-top: 0;
}

body[data-page="contact"] .booking-section {
  padding-top: 0;
  border-top: 0;
}

.booking-calendar-column {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

.booking-times {
  margin: 0 0 28px;
}

.booking-times h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: normal;
}

.booking-time-slots {
  display: grid;
  gap: 10px;
}

.booking-time-slots button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #bfd9e6;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font: 18px/1.3 "Times New Roman", Times, serif;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.booking-time-range {
  color: #111;
  font-variant-numeric: tabular-nums;
}

.booking-time-duration {
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf6fa;
  color: #526975;
  font-size: 14px;
}

.booking-time-price {
  min-width: 48px;
  color: var(--accent);
  font-size: 17px;
  text-align: right;
}

.booking-time-slots button:hover:not(:disabled),
.booking-time-slots button.is-selected {
  border-color: var(--accent);
  background: var(--light-blue);
  color: var(--accent);
}

.booking-time-slots button:disabled {
  cursor: not-allowed;
  border-color: #d9e2e6;
  background: #f4f6f7;
  color: #89949a;
  opacity: 0.75;
}

.booking-time-slots button:disabled .booking-time-range,
.booking-time-slots button:disabled .booking-time-duration {
  color: inherit;
}

.icloud-calendar-link {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 18px;
  padding: 11px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 16px;
  text-align: center;
  text-decoration: none;
}

.icloud-calendar-link:hover {
  background: var(--light-blue);
}

.icloud-calendar-note {
  margin: 10px auto 0 !important;
  color: #666 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-align: center;
}

@media (max-width: 720px) {
  body[data-page="contact"] main {
    padding-top: 18px;
  }

  .booking-time-slots button {
    min-height: 50px;
  }
}

/* ===============================
   Contact en boekingskalender
=============================== */

body[data-page="contact"] main {
  max-width: none;
  padding-top: 24px;
}

body[data-page="contact"] #page-payload {
  padding-top: 20px;
}

body[data-page="contact"] .block-html {
  width: 100%;
  max-width: none;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 34px;
}

.contact-options .contact-option {
  box-sizing: border-box;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid #8eb9d2;
  border-radius: 8px;
  background: #d6e8f2;
  color: #1f357f;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 8px 20px rgba(37, 59, 143, 0.06);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.contact-options .contact-option::after {
  display: none;
}

.contact-options .contact-option:hover {
  border-color: var(--accent);
  background: #c5dfed;
  color: var(--accent);
  transform: translateY(-1px);
}

.contact-options .contact-option.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 59, 143, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  transform: translateY(2px);
}

.home-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
  margin: 20px 0 16px;
}

body[data-page="homepage"] .home-actions .contact-option {
  min-height: 46px;
  padding: 10px 14px;
  font-size: 16px;
}

.home-welcome {
  margin-top: 0;
}

.contact-intro {
  max-width: 720px;
  margin-bottom: 64px;
}

.contact-intro h1 {
  margin-bottom: 24px;
}

.contact-intro p:first-of-type {
  margin-bottom: 12px;
}

.booking-section {
  padding-top: 48px;
  border-top: 1px solid #bfd9e6;
}

.booking-section__intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.booking-eyebrow {
  margin-bottom: 4px !important;
  color: var(--accent) !important;
  font-size: 15px !important;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-section__intro h2 {
  margin: 0 0 16px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: start;
}

.booking-calendar {
  padding: 24px;
  border: 1px solid #bfd9e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(37, 59, 143, 0.08);
}

.booking-calendar__header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.booking-calendar__header h3 {
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: normal;
  text-align: center;
  text-transform: capitalize;
}

.booking-calendar__header button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #bfd9e6;
  border-radius: 50%;
  background: #f7fbfd;
  color: var(--accent);
  font: 28px/1 "Times New Roman", Times, serif;
}

.booking-calendar__header button:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--light-blue);
}

.booking-calendar__header button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.booking-calendar__weekdays,
.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(36px, 1fr));
  gap: 6px;
}

.booking-calendar__weekdays {
  margin-bottom: 6px;
}

.booking-calendar__weekdays span {
  color: #666;
  font-size: 14px !important;
  text-align: center;
}

.booking-calendar__grid button,
.booking-calendar__grid .calendar-spacer {
  aspect-ratio: 1;
}

.booking-calendar__grid button {
  min-width: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #222;
  font: 17px/1 "Times New Roman", Times, serif;
}

.booking-calendar__grid button:hover:not(:disabled) {
  border-color: #bfd9e6;
  background: #f1f8fb;
  color: var(--accent);
}

.booking-calendar__grid button.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.booking-calendar__grid button:disabled {
  color: #aaa;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.booking-request {
  padding: 2px 0;
}

.booking-selection {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 62px;
  margin-bottom: 22px !important;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: #f7fbfd;
}

.booking-selection span {
  color: #666;
  font-size: 14px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-selection strong {
  color: #111;
  font-size: 18px !important;
  font-weight: normal;
}

.booking-periods {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.booking-periods legend {
  margin-bottom: 10px;
  font-size: 17px;
}

.booking-periods button {
  margin: 0 8px 8px 0;
  padding: 8px 13px;
  border: 1px solid #bfd9e6;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font: 16px/1.2 "Times New Roman", Times, serif;
}

.booking-periods button:hover,
.booking-periods button.is-selected {
  border-color: var(--accent);
  background: var(--light-blue);
  color: var(--accent);
}

.booking-periods:disabled {
  opacity: 0.45;
}

.booking-form {
  display: grid;
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 6px;
  color: #222;
  font-size: 16px;
}

.booking-form label span {
  color: #666;
  font-size: 14px !important;
}

.booking-form input,
.booking-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b7cbd5;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: 17px/1.4 "Times New Roman", Times, serif;
}

.booking-form textarea {
  resize: vertical;
}

.booking-submit {
  justify-self: start;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 16px/1.3 "Times New Roman", Times, serif;
  letter-spacing: 0.03em;
}

.booking-submit:hover {
  background: #1c2f75;
}

.booking-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.booking-form__note,
.booking-form__status {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.booking-form__note {
  color: #666 !important;
}

.booking-form__status {
  min-height: 1.5em;
  color: #7b2929 !important;
}

.booking-form__status[data-state="loading"] {
  color: #526975 !important;
}

.booking-form__status[data-state="success"] {
  color: #25643b !important;
  font-weight: bold;
}

@media (max-width: 860px) {
  .contact-options {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .booking-request {
    max-width: 620px;
  }
}

body[data-page="services"] main {
  padding-top: 42px;
}

body[data-page="services"] .service-list {
  max-width: 720px;
}

body[data-page="services"] .service-list > ul {
  display: grid;
  gap: 6px;
}

body[data-page="services"] .service-list li {
  margin-bottom: 8px;
}

body[data-page="services"] .service-list li > ul {
  margin: 12px 0 4px;
  padding-left: 10px;
}

body[data-page="services"] .service-list li > ul li {
  color: #3d4651;
}

body[data-page="services"] .service-list li > ul li::before {
  width: 8px;
  height: 8px;
  top: 0.52em;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}

body[data-page="services"] .service-list li > ul li::after {
  display: none;
}

body[data-page="services"] .service-list > ul > li::before {
  content: "✦";
  top: -0.12em;
  width: auto;
  height: auto;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

body[data-page="services"] .service-list > ul > li::after {
  display: none;
}

@media (max-width: 480px) {
  body[data-page="contact"] main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-intro {
    margin-bottom: 48px;
  }

  .booking-section {
    padding-top: 36px;
  }

  .booking-calendar {
    padding: 16px 10px;
  }

  .booking-calendar__weekdays,
  .booking-calendar__grid {
    gap: 3px;
  }

  .booking-calendar__grid button {
    min-width: 34px;
    font-size: 16px;
  }
}

body[data-page="homepage"] .book-announcement > p:first-of-type {
  margin-top: 4px;
}

body[data-page="homepage"] #page-payload .book-announcement > p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 13px;
}

body[data-page="homepage"] .block-html h2 {
  font-size: 27px;
  line-height: 1.18;
  font-style: italic;
  font-weight: normal;
  margin-bottom: 1px;
}

body[data-page="homepage"] #page-payload .book-announcement > em {
  font-size: 17px;
}

body[data-page="homepage"] #page-payload .home-welcome em {
  font-size: 16px;
}

/* ===============================
   Oeuvre – Poëzie en Proza tabs
=============================== */

body[data-page="books"] main {
  max-width: 1200px;
  padding-top: 48px;
}

.oeuvre-browser {
  max-width: 980px;
  margin: 0 auto;
}

.oeuvre-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 0 auto 44px;
}

.oeuvre-tab {
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid #a9c6d5;
  border-radius: 7px;
  background: #d9e8f0;
  color: var(--accent);
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  font-style: italic;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(37, 59, 143, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.oeuvre-tab:hover {
  background: #c8dfea;
  transform: translateY(-1px);
}

.oeuvre-tab[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 9px 22px rgba(37, 59, 143, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  transform: translateY(2px);
}

.oeuvre-panel[hidden] {
  display: none;
}

.poetry-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 700px;
  margin: 0 auto;
}

.poetry-card {
  max-width: 330px;
  margin: 0 auto;
  text-align: center;
}

.poetry-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  font-style: italic;
  font-weight: normal;
}

.poetry-card h2::after {
  display: none;
}

.poetry-card__image {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 0 auto 18px;
  border-radius: 4px;
}

html[lang="nl"] .oeuvre-label-en,
html[lang="en"] .oeuvre-label-nl {
  display: none;
}

body[data-page="books"] #page-payload .content-block {
  max-width: none;
  padding: 0;
}

body[data-page="books"] #page-payload .content-block + .content-block {
  margin-top: 48px;
}

body[data-page="books"] #page-payload .block-inner.align-left {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
}

body[data-page="books"] #page-payload .block-image {
  width: 150px;
  max-width: 100%;
}

body[data-page="books"] #page-payload .block-html {
  max-width: none;
}

body[data-page="homepage"] .block-html h2::after {
  display: none;
}

@media (max-width: 800px) {
  body[data-page="homepage"] main {
    justify-content: flex-start;
  }

  body[data-page="homepage"] .content-block {
    padding-top: 28px;
  }

  body[data-page="homepage"] .block-inner.align-left {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text";
    gap: 32px;
  }

  body[data-page="homepage"] .block-html {
    max-width: 100%;
  }
}

/* Zorg dat overlay geen klikken blokkeert */
.hero-slide::before {
  pointer-events: none;
}

/* Zorg dat tekst boven de overlay ligt */
.hero-slide h1 {
 ;  position: absolute;
}


/* Make full slide clickable */
.hero-slide {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ===============================
   ✅ DEFINITIEVE SLIDER-NAVIGATIE
   Gedraagt zich 1-op-1 als menu
=============================== */

/* De slide IS de link */
.hero-slide {
  pointer-events: auto !important;
  cursor: pointer;
}

/* NIETS binnen de slide mag clicks pakken */
.hero-slide * {
  pointer-events: none !important;
}

/* Overlay mag ook niks blokkeren */
.hero-slide::before {
  pointer-events: none !important;
}

/* ====================================================
   FIX: slider text in front + correct slide clickable
   (override only, do NOT remove existing rules)
==================================================== */

.hero-slide {
  pointer-events: none !important;
}

.hero-slide.active {
  pointer-events: auto !important;
}

/* Text must be visible but never clickable */
.hero-slide h1 {
  z-index: 2;
  pointer-events: none !important;
}

/* Overlay must never intercept clicks */
.hero-slide::before {
  pointer-events: none !important;
}

/* =========================================
   ✅ TEXT FADE-IN (NO SLIDE)
   Override existing hero animation
========================================= */

/* Lock text position to the right */
.hero-slide h1 {
  transform: translateX(75vw); /* fixed position */
}

/* Override animation with fade only */
@keyframes heroTextFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Use fade animation instead of slide */
.hero-slide.active h1 {
  animation: heroTextFade 2.5s ease-out forwards;
}

/* ==================================================
   BRAND (LOGO + NAAM + TAGLINE)
================================================== */

.brand {
  display: flex;
  align-items: center;
}

/* De hele brand is één horizontale rij */
.brand-link {
  display: flex;
  align-items: center;
  gap: 11px;               /* ruimte tussen logo en tekst */
  text-decoration: none;
  color: inherit;
}

/* Logo links */
.brand-logo {
  height: 62px;
  width: auto;
  flex-shrink: 0;
  transition: filter 0.25s ease;
}

/* Tekst rechts */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: "Times New Roman", Times, serif;
}

/* Bedrijfsnaam */
.brand-name {
  font-size: 32px;         /* groter */
  font-weight: normal;
  font-style: italic;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s ease;
}

.brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

/* Tagline */
.brand-tagline {
  font-size: 18px;
  font-style: italic;
  color: #444;
  margin-top: 2px;
  position: relative;
  transition: color 0.25s ease;
}

.brand-tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.brand-link:hover .brand-name,
.brand-link:hover .brand-tagline {
  color: var(--accent);
}

.brand-link:hover .brand-logo {
  filter: invert(23%) sepia(24%) saturate(2546%) hue-rotate(205deg) brightness(87%) contrast(93%);
}

.brand-link:hover .brand-name::after,
.brand-link:hover .brand-tagline::after {
  width: 100%;
}

.main-nav a {
  font-style: italic;
}


/* ✅ FIX: hero rotatie zichtbaar (NIETS bestaands wijzigen) */
.hero-rotator {
  position: relative;
  width: 100vw;
  height: 300px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  margin-bottom: 48px;
}

.hero-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-rotator img.active {
  opacity: 1;
}

.hero-rotator h1 {
  position: absolute;
  left: 24px;
  bottom: 32px;
  margin: 0;
  color: #fff;
  font-size: 40px;
  z-index: 2;
}

/* Zorg dat hero-slider strak onder header zit */
main > #hero-slider {
  margin-top: -40px;
}



/* === BLOCKS: image + html layout === */

/* 1. Block container */
.block-inner {
  display: grid;
  gap: 32px;
  align-items: start;
}

/* 2. Image links naast tekst */
.block-inner.align-left {
  grid-template-columns: auto 1fr;
  grid-template-areas: "image text";
}

/* 3. Image rechts naast tekst */
.block-inner.align-right {
  grid-template-columns: 1fr auto;
  grid-template-areas: "text image";
}

/* 4. Image boven tekst */
.block-inner.align-top {
  grid-template-columns: 1fr;
  grid-template-areas:
    "image"
    "text";
}

/* 5. Image onder tekst */
.block-inner.align-bottom {
  grid-template-columns: 1fr;
  grid-template-areas:
    "text"
    "image";
}

/* 6. Koppel elementen */
.block-image {
  grid-area: image;
  max-width: 320px;
}

.block-html {
  grid-area: text;
  max-width: 760px;
}

/* 7. Tekst-uitlijning (html.align) */
.block-html.text-left   { text-align: left; }
.block-html.text-center { text-align: center; }
.block-html.text-right  { text-align: right; }
.block-html.text-justify{ text-align: justify; }


#hero-slider {
  margin-bottom: 48px;
}


#page-payload {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.content-block {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.content-block + .content-block {
  margin-top: 56px;
}

.block-html h2 {
  margin-top: 0;
}

footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--light-blue);
  border-top: 1px solid var(--light-blue);
}

@media (max-width: 900px) {
  header > div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 22px;
    overflow-x: auto;
  }

  .language-switch {
    position: static;
    transform: none;
  }
}


.checkbox-style ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 24px;
}

.checkbox-style li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

/* Open square */
.checkbox-style li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border: 1.5px solid #7b5f3c;
  box-sizing: border-box;
}

/* Checkmark */
.checkbox-style li::after {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0.05em;
  font-size: 14px;
  color: #7b5f3c;
}


.book-cover {
  display: block;
  height: auto;
}

/* Kleine versie */
.book-cover--small {
  width: 160px;      /* pas aan: 140–180px werkt goed */
}

/* Medium variant (optioneel) */
.book-cover--medium {
  width: 240px;
}



/* ===============================
   ✅ FILTER (editorial / professional)
=============================== */

.hidden {
  display: none;
}

/* Volledige breedte, content netjes gecentreerd */
.page-filter {
  width: 100vw;
  margin-left: calc(-50vw + 50%);

  margin-top: 32px;              /* ✅ ruimte onder hero */
  border-bottom: 1px solid #e8e8e8;
}

/* ===============================
   FILTER LAYOUT — SEARCH LEFT
=============================== */

.page-filter .filter-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;

  padding: 36px 24px 22px;

  display: flex;
  align-items: center;
  justify-content: flex-start;   /* ✅ niet space-between */
  gap: 48px;                     /* ✅ duidelijke scheiding */
}


/* ===============================
   RIGHT — ALL + LETTERS
=============================== */

.filter-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* “Alles / All” — duidelijk gescheiden */
.filter-left .filter-all {
  font-weight: 600;
  margin-right: 22px;
}


/* ✅ Filter letters & ALL — klikbaar maar editorial */

.filter-left button {
  background: transparent;
  border: none;

  padding: 4px 8px;
  border-radius: 6px;

  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #333;
  cursor: pointer;

  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

/* ✅ Hover = duidelijk klikbaar */
.filter-left button:hover {
  background-color: #f0ede8;
  color: var(--accent);
}

/* ✅ Optioneel: actieve filter */
.filter-left button.is-active {
  background-color: #e7e2d9;
  color: var(--accent);
}

/* ===============================
   LEFT — SEARCH (EERST)
=============================== */

.filter-search {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;                /* ✅ mag niet inschuiven */
}

.filter-search input {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;

  background: transparent;
  border: none;
  border-bottom: 1px solid #999;

  padding: 4px 2px;
  min-width: 200px;

  color: #111;
  outline: none;
}

.filter-search input::placeholder {
  font-size: 22px;      /* ✅ leesbaar voor ouderen */
  color: #777;
  font-style: italic;
}
.filter-search button {
  /* ✅ HARD browser reset */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-color: #f3f1ee; /* subtiele warme tint */

  border: 1px solid #bbb;
  border-radius: 999px;          /* ✅ pill / editorial */

  padding: 5px 14px;             /* ✅ luchtiger */

  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #333;
  cursor: pointer;

  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background-color 0.15s ease;
}

.filter-search button:hover,
.filter-search button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(0, 0, 0, 0.02); /* ✅ héél subtiel */
}

.filter-search button:active {
  background-color: rgba(0, 0, 0, 0.04);
}

/* ===============================
   NO RESULT SET — volgt block-layout
=============================== */

.no-result-set .block-html {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-style: italic;
  opacity: 0.7;
}

.load-error {
  color: #6d2525;
  font-style: italic;
}

/* ===============================
   MOBILE
=============================== */

@media (max-width: 720px) {
  .page-filter .filter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .filter-search input {
    min-width: 100%;
  }
}


/* ✅ Ruimte tussen filter (of hero) en eerste block */
#page-payload {
  padding-top: 40px;
}


/* ✅ Forceer fontgrootte voor ALLE tekst in blocks */
.block-html,
.block-html p,
.block-html em,
.block-html strong,
.block-html span,
.block-html li {
  font-size: 18px;
  line-height: 1.8;
}


/* ✅ Forceer 22px voor ALLE tekst in content blocks */
#page-payload .block-html,
#page-payload .block-html p,
#page-payload .block-html em,
#page-payload .block-html strong,
#page-payload .block-html span,
#page-payload .block-html li {
  font-size: 18px;
  line-height: 1.8;
}

#page-payload .book-announcement > em {
  font-size: 18px;
  line-height: 1.5;
}

/* ==================================================
   HERO WRAP – anker voor breadcrumb + hero
================================================== */

.hero-wrap {
  position: relative;      /* cruciaal voor absolute breadcrumb */
}


/* ==================================================
   BREADCRUMB – over hero, onderaan
================================================== */

.page-breadcrumb {
  position: absolute;
  bottom: 16px;            /* 👈 onderaan de hero */
  left: 0;
  width: 100%;
  z-index: 5;              /* boven hero, onder menu */
  pointer-events: auto;
}


/* ==================================================
   BREADCRUMB INHOUD
================================================== */

.page-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 14px;

  /* Typografie */
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;                             /* ✅ wit */

  /* Leesbaarheid over beeld */
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  border-radius: 4px;

  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);

  display: inline-block;                  /* compacte breadcrumb */
}


/* ==================================================
   LINKS IN BREADCRUMB
================================================== */

.page-breadcrumb a {
  color: #fff;                             /* ✅ wit */
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}


/* ==================================================
   SCHEIDINGSTEKEN (›)
================================================== */

.page-breadcrumb span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.85);
}


/* ==================================================
   ZEKERHEID T.O.V. MENU (indien menu fixed/sticky is)
================================================== */

header {
  position: relative;
  z-index: 10;    /* menu ALTIJD boven breadcrumb */
}

/* ===============================
   Responsive afwerking
=============================== */

@media (max-width: 900px) {
  .main-nav {
    transform: none;
    padding-bottom: 4px;
  }
}

@media (max-width: 720px) {
  body {
    line-height: 1.65;
  }

  header > div {
    padding: 20px 18px;
  }

  .brand {
    margin-left: 0;
  }

  .brand-logo {
    height: 52px;
  }

  .brand-name {
    font-size: 27px;
  }

  .brand-tagline {
    font-size: 16px;
  }

  .main-nav {
    gap: 20px;
  }

  nav a {
    font-size: 19px;
    white-space: nowrap;
  }

  main {
    padding: 28px 18px;
  }

  #hero-slider {
    height: 260px;
    margin-bottom: 32px;
  }

  .page-breadcrumb {
    bottom: 12px;
  }

  .page-breadcrumb-inner {
    margin: 0 12px;
    font-size: 14px;
  }

  .block-inner.align-left,
  .block-inner.align-right {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "image"
      "text";
  }

  .block-image {
    width: min(100%, 320px);
    justify-self: start;
  }

  body[data-page="homepage"] .block-html {
    animation: none;
    transform: none;
  }

  .footer-bottom {
    gap: 20px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
  }

  .footer-bottom > div:first-child,
  .socials {
    transform: none;
  }

  .socials {
    justify-content: flex-end;
  }

  .oeuvre-tabs {
    gap: 10px;
    margin-bottom: 34px;
  }

  .oeuvre-tab {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 18px;
  }

  .poetry-gallery {
    gap: 20px;
  }

  .poetry-card h2 {
    font-size: 19px;
  }

  .page-filter .filter-inner {
    padding: 28px 18px 20px;
  }

  .filter-search {
    width: 100%;
    flex-wrap: wrap;
  }

  .filter-search input {
    min-width: 0;
    flex: 1 1 180px;
  }
}

@media (max-width: 480px) {
  .brand-link {
    gap: 8px;
  }

  .brand-logo {
    height: 46px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-tagline {
    font-size: 15px;
  }

  .footer-bottom {
    align-items: flex-end;
  }

  .poetry-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .poetry-card {
    max-width: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
