/* Sinterklaas: royal blue, deep red, gold, and paper-like neutrals. */
body[data-theme="sinterklaas"] {
  --ink: #172650;
  --cream: #fff2d5;
  --paper: #fffaf0;
  --coral: #aa2031;
  --pink: #f0cbd0;
  --yellow: #d6a329;
  --blue: #c9d9ee;
  --plum: #203b7a;
  --green: #4e755b;
  --night: #172650;
  --line: rgba(23, 38, 80, 0.18);

  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.86) 0 1px, transparent 1.5px),
    radial-gradient(circle at 81% 27%, rgba(214, 163, 41, 0.19) 0 1px, transparent 1.5px),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(120, 78, 31, 0.025) 30px),
    linear-gradient(125deg, #fffaf0 0%, var(--cream) 52%, #f3dfb7 100%);
}

body[data-theme="sinterklaas"] .site-header {
  background: linear-gradient(105deg, #172650 0%, #294d91 58%, #1d3770 100%);
  border-bottom-color: var(--yellow);
}

body[data-theme="sinterklaas"] nav a:hover {
  color: #ffe28a;
}

body[data-theme="sinterklaas"] .hero {
  background:
    radial-gradient(circle at 74% 26%, rgba(214, 163, 41, 0.16) 0 2px, transparent 2.7px),
    radial-gradient(circle at 80% 53%, rgba(170, 32, 49, 0.1) 0 1px, transparent 1.8px),
    linear-gradient(180deg, rgba(170, 32, 49, 0.08), transparent 35%);
}

/* Give the light page areas a shared, warm Sinterklaas identity while keeping
   the night-blue seasonal section as the strong visual contrast. */
body[data-theme="sinterklaas"] .hero,
body[data-theme="sinterklaas"] .section:not(.sinterklaas-section),
body[data-theme="sinterklaas"] .visit-banner {
  background-color: #fff2d5;
  background-image:
    linear-gradient(rgba(255, 248, 231, 0.72), rgba(255, 242, 213, 0.78)),
    url("/assets/images/sinterklaas/kruidnoten-pattern.webp");
  background-position: center, center top;
  background-repeat: repeat;
  background-size: auto, 520px;
}

body[data-theme="sinterklaas"] .visit-banner {
  border-top: 1px solid rgba(170, 32, 49, 0.16);
  border-bottom: 1px solid rgba(170, 32, 49, 0.16);
}

/* The holiday-hours notice becomes a small Sinterklaas night card, rather
   than the default pink alert box. */
body[data-theme="sinterklaas"] .notice-card--opening-hours {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 40px), 760px);
  min-height: 0;
  margin: 0 auto 34px;
  padding: 28px 32px 30px;
  border: 1px solid rgba(255, 226, 138, 0.78);
  border-top: 5px solid #e0ae31;
  border-radius: 14px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 239, 172, 0.8) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 29%, rgba(255, 239, 172, 0.66) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 85%, rgba(255, 239, 172, 0.48) 0 1px, transparent 1.7px),
    linear-gradient(115deg, #152a5c, #284987);
  box-shadow: 0 13px 26px rgba(23, 38, 80, 0.22);
  text-align: left;
}

body[data-theme="sinterklaas"] .notice-card--opening-hours::after {
  position: absolute;
  right: -19px;
  bottom: -23px;
  width: 96px;
  height: 78px;
  border: 3px solid rgba(255, 226, 138, 0.36);
  border-radius: 5px;
  content: "";
  background: linear-gradient(90deg, transparent 43%, rgba(255, 226, 138, 0.34) 44% 56%, transparent 57%);
  transform: rotate(-10deg);
}

body[data-theme="sinterklaas"] .notice-card--opening-hours h2,
body[data-theme="sinterklaas"] .notice-card__eyebrow,
body[data-theme="sinterklaas"] .notice-card__times {
  position: relative;
  z-index: 1;
}

body[data-theme="sinterklaas"] .notice-card--opening-hours h2 {
  margin: 0 0 19px;
  color: #fffaf0;
  font-family: Fraunces, serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

body[data-theme="sinterklaas"] .notice-card__eyebrow {
  margin: 0 0 7px;
  color: #ffe28a;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body[data-theme="sinterklaas"] .notice-card__times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-theme="sinterklaas"] .notice-card__times li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 16px 10px 0;
  border-top: 1px solid rgba(255, 250, 240, 0.2);
  font-size: 0.86rem;
}

body[data-theme="sinterklaas"] .notice-card__times li:nth-child(odd) {
  padding-right: 22px;
}

body[data-theme="sinterklaas"] .notice-card__times strong { font-size: 0.86rem; }
body[data-theme="sinterklaas"] .notice-card__times span { color: #ffe28a; }

@media (max-width: 560px) {
  body[data-theme="sinterklaas"] .notice-card--opening-hours {
    width: min(calc(100% - 28px), 760px);
    padding: 24px 21px 26px;
  }

  body[data-theme="sinterklaas"] .notice-card__times { grid-template-columns: 1fr; }
  body[data-theme="sinterklaas"] .notice-card__times li,
  body[data-theme="sinterklaas"] .notice-card__times li:nth-child(odd) { padding-right: 0; }
}

.sinterklaas-hero-logo::before,
.sinterklaas-hero-logo::after {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  content: "";
}

.sinterklaas-hero-logo::before {
  top: 22%;
  left: 14%;
}

.sinterklaas-hero-logo::after {
  right: 13%;
  bottom: 19%;
  border-color: var(--coral);
}

.sinterklaas-mark {
  position: absolute;
  right: 9%;
  top: 15%;
  color: var(--yellow);
  font-size: 3.4rem;
  text-shadow: 0 3px 0 rgba(23, 38, 80, 0.12);
}

/* A quiet, night-blue stage lets the seasonal range feel special without
   turning the whole page into a novelty illustration. */
.sinterklaas-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffaf0;
  background:
    radial-gradient(circle at 9% 23%, rgba(255, 243, 196, 0.88) 0 1px, transparent 1.8px),
    radial-gradient(circle at 28% 70%, rgba(255, 243, 196, 0.56) 0 1px, transparent 1.7px),
    radial-gradient(circle at 69% 17%, rgba(255, 227, 140, 0.72) 0 1.2px, transparent 2px),
    radial-gradient(circle at 90% 57%, rgba(255, 243, 196, 0.66) 0 1px, transparent 1.7px),
    linear-gradient(135deg, #132655, #243f7b 58%, #182d61);
}

.sinterklaas-section > .container { position: relative; z-index: 1; }
.sinterklaas-section h2 { color: #fffaf0; }
.sinterklaas-section .eyebrow { color: #ffe28a; }

.sinterklaas-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sinterklaas-star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff3c4;
  box-shadow: 0 0 9px rgba(255, 235, 164, 0.9);
  animation: sinterklaas-twinkle 3.8s ease-in-out infinite alternate;
}

.star-one { top: 16%; left: 15%; }
.star-two { top: 33%; left: 72%; width: 3px; height: 3px; animation-delay: -1.2s; }
.star-three { right: 11%; bottom: 20%; width: 4px; height: 4px; animation-delay: -2.5s; }
.star-four { bottom: 15%; left: 39%; width: 3px; height: 3px; animation-delay: -0.6s; }

.sinterklaas-package {
  position: absolute;
  width: 68px;
  height: 58px;
  border: 3px solid rgba(255, 235, 163, 0.72);
  border-radius: 4px;
  opacity: 0.28;
  background: linear-gradient(90deg, transparent 43%, rgba(255, 235, 163, 0.8) 44% 56%, transparent 57%);
  transform: rotate(-9deg);
}

.sinterklaas-package::before {
  position: absolute;
  top: 19px;
  right: -3px;
  left: -3px;
  height: 5px;
  background: rgba(255, 235, 163, 0.8);
  content: "";
}

.package-one { top: 12%; right: 8%; }
.package-two { bottom: 8%; left: 6%; width: 48px; height: 42px; transform: rotate(11deg); }

.sinterklaas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card--sinterklaas { border-color: rgba(255, 225, 138, 0.68); }
.sinterklaas-visual { background: linear-gradient(145deg, #fffdf5, #ead9ad); }
.sinterklaas-content h3 { color: var(--coral); }
.sinterklaas-section .card-carousel-progress { background: rgba(23, 38, 80, 0.16); }
.sinterklaas-section .card-carousel-progress::after { background: rgba(170, 32, 49, 0.62); }

@keyframes sinterklaas-twinkle {
  from { opacity: 0.28; transform: scale(0.75); }
  to { opacity: 1; transform: scale(1.15); }
}

.sinterklaas-rooftop {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  height: 126px;
  pointer-events: none;
}

.sinterklaas-rooftop::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, #172650, #294d91 45%, #172650);
  box-shadow: 0 -1px 0 rgba(255, 242, 213, 0.7);
  content: "";
}

.chimney {
  position: absolute;
  bottom: 7px;
  left: clamp(18px, 10vw, 160px);
  z-index: 1;
  width: 74px;
  height: 116px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.chimney-stack {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 55px;
  height: 94px;
  border: 3px solid #67212a;
  border-radius: 2px 2px 0 0;
  background:
    linear-gradient(90deg, transparent 47%, rgba(103, 33, 42, 0.55) 48% 52%, transparent 53%),
    repeating-linear-gradient(0deg, #b84445 0 16px, #7e2932 17px 19px);
  box-shadow: inset -7px 0 rgba(103, 33, 42, 0.18), 5px 6px 0 rgba(23, 38, 80, 0.12);
}

.chimney-cap {
  position: absolute;
  right: 1px;
  bottom: 87px;
  width: 69px;
  height: 13px;
  border: 3px solid #67212a;
  border-radius: 3px;
  background: #d55a51;
  box-shadow: 3px 3px 0 rgba(23, 38, 80, 0.12);
}

.chimney:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.chimney:hover .chimney-stack,
.chimney:focus-visible .chimney-stack {
  filter: brightness(1.08);
}

.chimney-puff {
  position: absolute;
  right: 18px;
  bottom: 98px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(242, 245, 244, 0.88);
  box-shadow: -10px 9px 0 -4px rgba(242, 245, 244, 0.78), 10px 12px 0 -5px rgba(242, 245, 244, 0.7);
  pointer-events: none;
  animation: chimney-puff 1.7s ease-out forwards;
}

@keyframes chimney-puff {
  from {
    opacity: 0;
    transform: translate(0, 0) scale(0.35);
  }
  20% { opacity: 0.9; }
  to {
    opacity: 0;
    transform: translate(var(--puff-x), -86px) scale(1.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sinterklaas-star { animation: none; }

  .chimney-puff {
    animation: none;
    opacity: 0.85;
    transform: translate(0, -22px) scale(0.9);
  }
}

body[data-theme="sinterklaas"] .button-primary {
  background: var(--coral);
}

body[data-theme="sinterklaas"] .button-primary:hover {
  background: #841827;
}

/* An original Sinterklaas night scene for the footer. */
body[data-theme="sinterklaas"] .site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  padding-top: 82px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 238, 175, 0.18), transparent 18%),
    linear-gradient(180deg, #1e3975 0%, #172650 62%, #101b3d 100%);
}

body[data-theme="sinterklaas"] .site-footer > .container {
  position: relative;
  z-index: 1;
}

.sinterklaas-footer-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-moon {
  position: absolute;
  top: 38px;
  right: clamp(30px, 12vw, 180px);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ffe9a2;
  box-shadow: 0 0 0 12px rgba(255, 233, 162, 0.08), 0 0 34px rgba(255, 233, 162, 0.25);
}

.footer-star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff7d0;
  box-shadow: 0 0 8px rgba(255, 247, 208, 0.85);
}

.footer-star-one { top: 54px; left: 19%; }
.footer-star-two { top: 96px; left: 57%; width: 3px; height: 3px; }
.footer-star-three { top: 34px; left: 71%; width: 5px; height: 5px; }

.footer-roof {
  position: absolute;
  bottom: 0;
  height: 126px;
  background: #101a37;
  box-shadow: inset 0 5px rgba(255, 255, 255, 0.06);
}

.footer-roof-left {
  left: -5%;
  width: 62%;
  clip-path: polygon(0 42%, 16% 8%, 31% 42%, 48% 0, 66% 42%, 81% 12%, 100% 43%, 100% 100%, 0 100%);
}

.footer-roof-right {
  right: -5%;
  width: 54%;
  clip-path: polygon(0 44%, 19% 9%, 39% 44%, 57% 0, 77% 43%, 100% 15%, 100% 100%, 0 100%);
}

.footer-sint {
  position: absolute;
  right: clamp(98px, 21vw, 280px);
  bottom: 105px;
  width: 43px;
  height: 96px;
  filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, 0.14));
}

.footer-sint-head,
.footer-sint-body,
.footer-sint-staff,
.footer-sint-miter {
  position: absolute;
  display: block;
  background: #0d1630;
}

.footer-sint-head {
  top: 18px;
  left: 12px;
  width: 19px;
  height: 22px;
  border-radius: 46% 46% 42% 42%;
}

.footer-sint-miter {
  top: 0;
  left: 9px;
  width: 25px;
  height: 29px;
  clip-path: polygon(50% 0, 100% 62%, 74% 62%, 74% 100%, 26% 100%, 26% 62%, 0 62%);
}

.footer-sint-body {
  bottom: 0;
  left: 6px;
  width: 32px;
  height: 59px;
  border-radius: 16px 16px 4px 4px;
  transform: skew(-4deg);
}

.footer-sint-staff {
  right: 0;
  bottom: 1px;
  width: 4px;
  height: 83px;
  border-radius: 999px;
  background: #d6a329;
  transform: rotate(8deg);
  transform-origin: bottom;
}

.footer-sint-staff::before {
  position: absolute;
  top: -17px;
  left: -13px;
  width: 20px;
  height: 20px;
  border: 4px solid #d6a329;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
}

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

  body[data-theme="sinterklaas"] .site-footer {
    min-height: 450px;
  }

  .footer-moon {
    top: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
  }

  .footer-sint {
    right: 55px;
  }
}
