/* L’Atelier de Peigne — site styles
   Palette: warm clay + complementary slate, cream neutrals
   Colorblind-safer: red/orange vs blue-slate (not green/teal) */

:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --color-clay: #b5412e;
  --color-clay-rgb: 181, 65, 46;
  --color-clay-deep: #8c3122;
  --color-clay-deep-rgb: 140, 49, 34;
  --color-clay-soft: #f2c4b8;
  --color-slate: #3d5a73;
  --color-slate-deep: #2a3f52;
  --color-cream: #f7f1e9;
  --color-cream-rgb: 247, 241, 233;
  --color-stone: #ebe3d8;
  --color-ink: #241f1c;
  --color-ink-rgb: 36, 31, 28;
  --color-muted: #6a6158;
  --color-white: #ffffff;

  --section-pad-x: 5%;
  --section-pad-y: clamp(3.5rem, 7vw, 5.5rem);
  --header-height: 4.5rem;
  --content-max: 1200px;
}

/* ---------- Base ---------- */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

h3 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 3000;
  padding: 0.6rem 1rem;
  background: var(--color-ink);
  color: var(--color-cream);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--color-slate);
  outline-offset: 3px;
}

.hero :focus-visible,
.section--red :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible,
.site-header.is-open .site-nav :focus-visible {
  outline-color: var(--color-cream);
}

.uniform__potty {
  display: none !important;
}

/* Old Tailwind color utilities still used in templates */
.text-red {
  color: var(--color-clay);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--color-slate);
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.9rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--color-slate-deep);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-cream);
  color: var(--color-cream);
}

.btn--ghost:hover {
  background: var(--color-cream);
  color: var(--color-ink);
}

/* ---------- Sections ---------- */

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  scroll-margin-top: var(--header-height);
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__title {
  margin: 0 0 1.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.section__lead {
  max-width: 36rem;
  margin: -0.75rem 0 1.75rem;
  font-size: 1.1rem;
  color: var(--color-muted);
}

.section--red {
  background: var(--color-clay);
  color: var(--color-cream);
}

.section--red a {
  color: var(--color-cream);
}

.section--red .section__title {
  color: var(--color-cream);
}

/* ---------- First screen: hero + header ---------- */

.viewport-first {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--color-clay-deep);
  color: var(--color-cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: relative;
}

/* Lighter overlay: clay tint only where the text sits, so the house shows */
.hero__overlay {
  display: flex;
  align-items: flex-end;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  padding: calc(var(--header-height) + clamp(1rem, 4vh, 2.5rem)) var(--section-pad-x) clamp(3rem, 9vh, 5.5rem);
  background:
    linear-gradient(225deg,
      rgba(var(--color-clay-deep-rgb), 0.9) 0%,
      rgba(var(--color-clay-deep-rgb), 0.65) 32%,
      rgba(var(--color-clay-deep-rgb), 0.2) 58%,
      rgba(var(--color-clay-deep-rgb), 0) 74%),
    linear-gradient(0deg, rgba(var(--color-ink-rgb), 0.7) 0%, rgba(var(--color-ink-rgb), 0.4) 40%, rgba(var(--color-ink-rgb), 0) 70%);
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(44rem, 100%);
  width: 100%;
  text-shadow: 0 1px 12px rgba(var(--color-ink-rgb), 0.25);
}

.hero__content p {
  color: var(--color-cream);
}

/* Welcome line */
.hero__content > p:first-of-type {
  order: 1;
  margin: 0 0 0.65rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* Brand title */
.hero__content h1 {
  order: 2;
  margin: 0 0 1.1rem;
  font-size: clamp(2.4rem, 6.2vw, 4.75rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--color-cream);
  letter-spacing: 0.04em;
}

/* Tagline */
.hero__content > p:last-of-type {
  order: 3;
  margin: 0;
  max-width: 30rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
}

.hero__content em {
  font-style: italic;
  font-family: var(--font-display);
}

.hero__content > p:not(:first-of-type):not(:last-of-type) {
  display: none;
}

.hero__actions {
  order: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
  text-shadow: none;
}

.hero__actions .btn {
  background: var(--color-cream);
  color: var(--color-clay-deep);
}

.hero__actions .btn:hover {
  background: var(--color-white);
  color: var(--color-ink);
}

.hero__actions .btn--ghost {
  background: rgba(var(--color-ink-rgb), 0.15);
  border-color: var(--color-cream);
  color: var(--color-cream);
}

.hero__actions .btn--ghost:hover {
  background: var(--color-cream);
  color: var(--color-ink);
}

/* ---------- Header / navigation ---------- */

/* Sticky at the top, transparent over the hero (negative margin pulls the hero
   underneath). As soon as the page scrolls (.is-scrolled) the cream bar fades in. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: calc(-1 * var(--header-height));
  padding: 0 var(--section-pad-x);
  transition: box-shadow 0.35s ease;
}

/* ::before = cream bar that fades in on scroll */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-header::before {
  background: var(--color-cream);
  opacity: 0;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(var(--color-ink-rgb), 0.08), 0 6px 20px rgba(var(--color-ink-rgb), 0.06);
}

.site-header:not(.is-scrolled) .nav-link:not(.nav-link--cta) {
  color: var(--color-cream);
  text-shadow: 0 1px 6px rgba(var(--color-ink-rgb), 0.35);
}

.site-header:not(.is-scrolled) .nav-link:not(.nav-link--cta):hover,
.site-header:not(.is-scrolled) .nav-link:not(.nav-link--cta).active {
  color: var(--color-white);
}

.site-header:not(.is-scrolled) :focus-visible {
  outline-color: var(--color-cream);
}


.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--content-max);
  height: var(--header-height);
  margin: 0 auto;
}

/* At the top the links sit a little lower; they slide up as the bar turns solid.
   The brand is left out so it only fades. */
.site-nav,
.nav-toggle {
  transition: transform 0.35s ease;
}

.site-header:not(.is-scrolled) .site-nav,
.site-header:not(.is-scrolled) .nav-toggle {
  transform: translateY(var(--nav-drop, 1.75rem));
}

.site-brand {
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-clay);
  text-decoration: none;
  white-space: nowrap;
  /* hidden until the page scrolls */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.site-header.is-scrolled .site-brand {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.6vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.4rem;
  color: var(--color-ink);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.35s ease;
}

.nav-link__icon {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.1rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-slate);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link--cta {
  margin-left: 0.5rem;
  padding: 0.75rem 1.3rem;
  background: var(--color-clay);
  color: var(--color-white);
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover,
.nav-link--cta.active {
  background: var(--color-clay-deep);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
}

@media (max-width: 60em) {
  .site-brand {
    font-size: 1.3rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }
}

/* Mobile: brand + toggle button, fullscreen menu overlay */
@media (max-width: 52em) {
  :root {
    --header-height: 3.75rem;
    --nav-drop: 0.75rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 1200;
    margin: 0 -0.5rem 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-cream);
    cursor: pointer;
    transition: color 0.35s ease, transform 0.35s ease;
  }

  .site-header.is-scrolled .nav-toggle {
    color: var(--color-ink);
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 1.35rem;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, background-color 0.2s ease;
  }

  .nav-toggle__bars {
    position: relative;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }

  .site-header.is-open .nav-toggle {
    background: transparent;
    box-shadow: none;
    color: var(--color-cream);
  }

  .site-header.is-open .nav-toggle__bars {
    background: transparent;
  }

  .site-header.is-open .nav-toggle__bars::before {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle__bars::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: fixed;
    inset: 0;
    transform: none;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 4rem 1.5rem;
    background: var(--color-slate-deep);
    overflow-y: auto;
  }

  .site-header.is-open .nav-link {
    justify-content: center;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
    color: var(--color-cream);
    font-size: 1.5rem;
    font-weight: 400;
  }

  .site-header.is-open .nav-link__icon {
    display: inline-block;
    font-size: 0.85em;
    opacity: 0.6;
  }

  .site-header.is-open .nav-link::after {
    left: 1rem;
    right: 1rem;
  }

  .site-header.is-open .nav-link--cta {
    margin: 1rem 0 0;
    background: var(--color-cream);
    color: var(--color-slate-deep);
    font-weight: 700;
  }

  .site-header.is-open .nav-link--cta .nav-link__icon {
    opacity: 0.8;
  }
}

/* ---------- Voorzieningen ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}

.fact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--color-cream);
}

.fact__icon {
  font-size: 1.45rem;
  color: var(--color-clay);
}

.fact__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fact__text strong {
  font-weight: 700;
}

.fact__text span {
  font-size: 0.92rem;
  color: var(--color-muted);
}

.voorzieningen__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.voorzieningen__text h3 {
  margin: 1.75rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 2px solid var(--color-stone);
}

.voorzieningen__text p {
  max-width: 34rem;
}

.voorzieningen__text ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.voorzieningen__text li {
  margin: 0.2rem 0;
  padding-left: 0.2rem;
}

.voorzieningen__text li::marker {
  color: var(--color-clay);
}

/* Room headings ("Keuken en eetruimte (5mx4m):") with their details below */
.voorzieningen__text li:has(> ul) {
  margin-top: 0.75rem;
  font-weight: 600;
}

.voorzieningen__text li:has(> ul):first-child {
  margin-top: 0;
}

.voorzieningen__text li ul {
  margin: 0.25rem 0 0;
  padding-left: 1rem;
  font-weight: 400;
}

.voorzieningen__text li li {
  list-style-type: '–  ';
  color: var(--color-ink);
}

.voorzieningen__text li li::marker {
  color: var(--color-muted);
}

.columns-2 .column + .column {
  margin-top: 0;
}

.voorzieningen__beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.beat {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  color: var(--color-cream);
  text-decoration: none;
}

.beat::after {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  background: linear-gradient(0deg, rgba(var(--color-ink-rgb), 0.6), rgba(var(--color-ink-rgb), 0));
  pointer-events: none;
}

.beat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.beat:hover img {
  transform: scale(1.04);
}

.beat__label {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

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

  .beat:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .voorzieningen__layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
    align-items: start;
    gap: 3.5rem;
  }

  .voorzieningen__text .columns {
    display: flex;
    gap: 3rem;
  }

  .voorzieningen__text .columns-2 .column {
    flex: 1 1 0;
    min-width: 0;
  }

  .voorzieningen__beats {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    grid-template-columns: 1fr;
  }

  .beat {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- Gallery ---------- */

.section--fotos {
  background: var(--color-stone);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gallery-filter {
  appearance: none;
  border: 1px solid rgba(var(--color-ink-rgb), 0.18);
  background: var(--color-cream);
  color: var(--color-ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-filter:hover {
  border-color: var(--color-slate);
}

.gallery-filter.is-active {
  background: var(--color-slate);
  border-color: var(--color-slate);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-cream);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Locatie ---------- */

.locatie__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.locatie__intro p {
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
}

.travel-list {
  display: grid;
  gap: 0.75rem;
}

.travel {
  padding: 1.1rem 1.25rem;
  background: rgba(var(--color-ink-rgb), 0.12);
}

.travel__mode {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.travel__icon {
  font-size: 1.15rem;
  opacity: 0.85;
}

.travel__body p {
  margin: 0;
}

.travel__body ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.locatie__map {
  min-height: 320px;
  background: var(--color-stone);
}

.locatie__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (min-width: 900px) {
  .locatie__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: stretch;
  }

  .locatie__map,
  .locatie__map iframe {
    min-height: 420px;
  }
}

/* ---------- Reserveren ---------- */

#reserveren {
  background: var(--color-cream);
}

.reserveren__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.reserveren__subtitle {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.price-list {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
}

.price-card__season {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.price-card__period {
  grid-column: 1;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.price-card__amount {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-clay);
  white-space: nowrap;
}

.price-card__amount small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-muted);
}

.reserveren__notes {
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.reserveren__notes em {
  font-style: normal;
}

/* Calendar */
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.calendar-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.swatch {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(var(--color-ink-rgb), 0.15);
}

.swatch--free {
  background: var(--color-white);
}

.swatch--busy,
.calendar .month td.occupied {
  background: repeating-linear-gradient(135deg, #e3b9ad 0 3px, #f3ddd6 3px 7px);
}

.calendar-wrap {
  position: relative;
  overflow: hidden;
}

.calendar-nav {
  position: absolute;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(var(--color-ink-rgb), 0.15);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.calendar-nav:hover:not(:disabled) {
  background: var(--color-slate);
  border-color: var(--color-slate);
  color: var(--color-white);
}

.calendar-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.calendar-prev { left: 0; }
.calendar-next { right: 0; }

.calendar {
  display: flex;
  width: 100%;
  transition: margin-left 0.45s ease;
}

.calendar .month {
  flex: 0 0 50%;
  padding: 0 0.5rem;
}

.calendar .month:first-child {
  padding-left: 0;
}

.calendar table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 3px;
  text-align: center;
  font-size: 0.85rem;
}

.calendar .month th {
  height: 2.25rem;
  padding: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 2.25rem;
  text-align: center;
}

.calendar .month td {
  width: 14.285%;
  padding: 0;
}

.calendar .month .days td {
  padding-bottom: 0.25rem;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-muted);
}

.calendar .month .day,
.calendar .month .today {
  height: 2.4rem;
  background: var(--color-white);
  color: var(--color-ink);
}

.calendar .month td.occupied {
  color: var(--color-clay-deep);
  text-decoration: line-through;
}

.calendar .month td.past {
  background: transparent;
  color: rgba(var(--color-ink-rgb), 0.3);
  text-decoration: none;
}

.calendar .month .today {
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--color-slate);
}

@media (min-width: 960px) {
  .reserveren__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }

  /* line the calendar up with the prices below the section title */
  .reserveren__calendar {
    padding-top: calc(clamp(2rem, 4vw, 2.75rem) * 1.1 + 1.75rem);
  }
}

@media (max-width: 480px) {
  .calendar table {
    border-spacing: 2px;
    font-size: 0.8rem;
  }

  .calendar .month .day,
  .calendar .month .today {
    height: 2.1rem;
  }

  .calendar .month th {
    font-size: 1.1rem;
  }
}

/* ---------- Contact ---------- */

#contact.section--red {
  background: var(--color-slate-deep);
}

.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.contact__lead {
  max-width: 28rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact__address {
  margin: 1.5rem 0 1rem;
}

.contact__address p {
  margin: 0;
}

.contact__lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}

.contact__line a {
  text-decoration: underline;
  text-decoration-color: rgba(var(--color-cream-rgb), 0.4);
  text-underline-offset: 0.2em;
}

.contact__line a:hover {
  text-decoration-color: currentColor;
}

.contact__icon {
  font-size: 0.95rem;
  opacity: 0.75;
}

.contact__who {
  font-size: 0.9rem;
  opacity: 0.65;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-field.required label::after {
  content: ' *';
  color: var(--color-clay-soft);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 2px solid transparent;
  border-radius: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.8;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-clay-soft);
}

.form-field.validation input,
.form-field.validation textarea {
  border-color: var(--color-clay-soft);
}

.validation-error {
  order: 3;
  font-size: 0.9rem;
  color: var(--color-clay-soft);
}

.contact-form .btn {
  justify-self: start;
  background: var(--color-cream);
  color: var(--color-slate-deep);
}

.contact-form .btn:hover {
  background: var(--color-white);
  color: var(--color-ink);
}

.alert {
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--color-clay-soft);
  background: rgba(var(--color-cream-rgb), 0.1);
}

.alert-success {
  border-left-color: var(--color-cream);
}

.contact-form__success {
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .contact-form > :not(.form-field--firstname):not(.form-field--lastname) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .contact__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem var(--section-pad-x) 2rem;
  background: var(--color-ink);
  color: rgba(var(--color-cream-rgb), 0.8);
  font-size: 0.95rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.5rem 3rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.site-footer__name {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-cream);
}

.site-footer__tagline {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(var(--color-cream-rgb), 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-cream);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--color-cream-rgb), 0.12);
  font-size: 0.875rem;
  color: rgba(var(--color-cream-rgb), 0.6);
}

.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .site-footer__links {
    justify-content: flex-end;
  }

  .site-footer__meta {
    grid-column: 1 / -1;
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(var(--color-ink-rgb), 0.94);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__figure {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  margin: 0;
  text-align: center;
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 0.75rem;
  color: var(--color-cream);
  font-size: 0.95rem;
  opacity: 0.85;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--color-cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  appearance: none;
}

.lightbox__close {
  top: 0.75rem;
  right: 1rem;
  font-size: 2.5rem;
}

.lightbox__prev {
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  color: var(--color-white);
}

/* ---------- Small screens ---------- */

@media (max-width: 700px) {
  .hero__overlay {
    padding-bottom: 3rem;
  }

  .hero__content h1 {
    font-size: clamp(2.4rem, 12vw, 3.25rem);
    letter-spacing: 0.02em;
    margin-bottom: 0.85rem;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .hero__actions {
    width: 100%;
    margin-top: 1.75rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.5rem);
    text-align: center;
  }
}

/* ---------- Animations ----------
   Only for visitors who haven't asked for reduced motion. Scroll reveals are
   opt-in via html.js-reveal (set by gallery.js), so content never stays hidden
   without JavaScript. */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoom-in-soft {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero: photo settles, text fades up line by line */
  .hero__bg {
    animation: hero-settle 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero__content > p:first-of-type,
  .hero__content h1,
  .hero__content > p:last-of-type,
  .hero__actions {
    animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero__content > p:first-of-type { animation-delay: 0.2s; }
  .hero__content h1 { animation-delay: 0.35s; }
  .hero__content > p:last-of-type { animation-delay: 0.5s; }
  .hero__actions { animation-delay: 0.65s; }

  .site-header__nav {
    animation: fade-in 0.8s ease 0.5s both;
  }

  /* Scroll reveal */
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
  }

  .js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Gallery: photos fade in when the filter changes */
  .gallery-item.is-entering {
    animation: zoom-in-soft 0.45s ease both;
  }

  /* Lightbox opens softly */
  .lightbox:not([hidden]) {
    animation: fade-in 0.25s ease both;
  }

  .lightbox:not([hidden]) .lightbox__figure {
    animation: zoom-in-soft 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  /* Mobile menu: overlay fades, links follow one by one */
  .site-header.is-open .site-nav {
    animation: fade-in 0.25s ease both;
  }

  .site-header.is-open .site-nav > li {
    animation: fade-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .site-header.is-open .site-nav > li:nth-child(1) { animation-delay: 0.05s; }
  .site-header.is-open .site-nav > li:nth-child(2) { animation-delay: 0.1s; }
  .site-header.is-open .site-nav > li:nth-child(3) { animation-delay: 0.15s; }
  .site-header.is-open .site-nav > li:nth-child(4) { animation-delay: 0.2s; }
  .site-header.is-open .site-nav > li:nth-child(5) { animation-delay: 0.25s; }
  .site-header.is-open .site-nav > li:nth-child(6) { animation-delay: 0.3s; }

  /* Buttons lift a touch on hover */
  .btn,
  .nav-link--cta {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .btn:hover,
  .nav-link--cta:hover {
    transform: translateY(-2px);
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
