:root {
  --brown-980: #170d08;
  --brown-950: #21140e;
  --brown-900: #2f1d14;
  --brown-850: #3d281c;
  --brown-800: #563827;
  --brown-700: #7a563d;
  --beige-50: #fff8ed;
  --beige-100: #f6ead8;
  --beige-200: #ead5b9;
  --beige-300: #d9bc91;
  --gold: #c99a57;
  --line: rgba(234, 213, 185, 0.16);
  --heading-font: 'Cormorant Garamond', Georgia, serif;
  --body-font: 'Jost', "Avant Garde", Arial, sans-serif;
  --shadow: 0 8px 22px rgba(12, 7, 4, 0.14);
  --radius: 0.5rem;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--brown-950);
  color: var(--beige-100);
  font-family: var(--body-font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  font-weight: 500;
  color: var(--beige-50);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--beige-200);
  color: var(--brown-950);
  border-radius: var(--radius);
}

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

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Navigatie */

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--nav-height);
  padding: 0.6rem clamp(1rem, 4vw, 3rem);
  background: rgba(33, 20, 14, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.nav-logo {
  width: 130px;
  height: auto;
  display: block;
}

.nav-menu,
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

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

.nav-menu a {
  position: relative;
  color: var(--beige-200);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.3rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--beige-50);
}

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

.nav-time {
  color: var(--beige-300);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--beige-200);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Knoppen */

.button,
.nav-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.5rem;
  background: var(--beige-200);
  color: var(--brown-950);
  border: 1px solid var(--beige-200);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.button:hover,
.nav-book:hover {
  background: var(--beige-50);
  border-color: var(--beige-50);
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  color: var(--beige-50);
  border-color: rgba(255, 248, 237, 0.55);
}

.button--ghost:hover {
  color: var(--brown-950);
}

.button--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #0b2615;
}

.button--whatsapp:hover {
  background: #4be083;
  border-color: #4be083;
}

.text-link {
  color: var(--beige-300);
  font-size: 0.95rem;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--beige-50);
}

/* Hero */

.hero {
  min-height: min(calc(100svh - var(--nav-height)), 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(23, 13, 8, 0.55), rgba(23, 13, 8, 0.88) 75%),
    linear-gradient(rgba(23, 13, 8, 0.45), rgba(33, 20, 14, 0.9)),
    url("img/thai_massage.jpg") center 30% / cover;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
}

.hero-desc {
  max-width: 640px;
  margin: 1.4rem auto 0;
  color: var(--beige-100);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  margin: 3.5rem 0 0;
  padding: 1.4rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  color: var(--beige-200);
  font-size: 0.92rem;
}

.hero-facts b {
  display: block;
  color: var(--gold);
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

/* Secties */

section {
  scroll-margin-top: var(--nav-height);
  padding: clamp(3.5rem, 8vw, 6rem) max(1rem, calc((100vw - 1180px) / 2));
  text-align: center;
}

.behandelingen,
.locaties,
.contact {
  background: var(--brown-950);
}

.over-ons {
  background: var(--brown-900);
}

.tarieven {
  background: var(--brown-850);
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.subtitle {
  max-width: 680px;
  margin: 1rem auto 2.75rem;
  color: var(--beige-200);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-cta {
  margin-top: 2.25rem;
}

/* Kaarten */

.treatments-row,
.locations-row {
  display: grid;
  gap: 1.5rem;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.treatments-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.locations-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
}

.treatment-card,
.location-card,
.about-feature,
.contact-block,
.booking-form,
.price-table-wrap {
  background: var(--brown-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tarieven .price-table-wrap {
  background: var(--brown-900);
}

.treatment-card,
.location-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.treatment-card:hover,
.location-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 188, 145, 0.4);
}

.tile-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brown-800);
}

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

.treatment-card:hover .tile-media img,
.location-card:hover .tile-media img {
  transform: scale(1.04);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  line-height: 1.15;
}

.card-body p {
  margin: 0;
  color: var(--beige-200);
}

.treatment-info {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.treatment-info span + span::before {
  content: "·";
  margin-right: 1rem;
  color: var(--brown-700);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

/* Prijstabel */

.price-table-wrap {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 0.5rem 1.5rem 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table thead th {
  padding: 1rem 0.5rem 0.9rem;
  color: var(--beige-300);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 154, 87, 0.45);
}

.price-table th[scope="row"],
.price-table thead th:first-child {
  text-align: left;
}

.price-table th[scope="row"] {
  padding: 0.8rem 0.5rem;
  color: var(--beige-50);
  font-weight: 400;
}

.price-table td {
  width: 11%;
  padding: 0.8rem 0.5rem;
  color: var(--beige-200);
  text-align: center;
}

.price-table td.na {
  color: var(--brown-700);
}

.price-table tbody tr:not(.price-group) {
  border-bottom: 1px solid var(--line);
}

.price-table tbody tr:not(.price-group):hover {
  background: rgba(234, 213, 185, 0.05);
}

.price-group th {
  padding: 1.6rem 0.5rem 0.5rem;
  color: var(--gold);
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  text-align: left;
}

/* Over ons */

.story-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  width: min(1080px, 100%);
  margin: 1.5rem auto 0;
  text-align: left;
}

.story-text {
  color: var(--beige-200);
  font-size: 1.08rem;
  line-height: 1.8;
}

.story-text p {
  margin: 0 0 1.1rem;
}

.story-text em {
  color: var(--gold);
  font-family: var(--heading-font);
  font-size: 1.25em;
}

.story-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1180px, 100%);
  margin: 3.5rem auto 0;
}

.about-feature {
  position: relative;
  padding: 2rem 1.35rem 1.7rem;
  overflow: hidden;
}

.about-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-icon {
  margin-bottom: 0.85rem;
  font-size: 2rem;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  line-height: 1;
}

.about-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.about-feature p {
  margin: 0;
  color: var(--beige-200);
  font-size: 0.95rem;
}

/* Contact */

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 1.5rem;
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  color: var(--beige-200);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

a.contact-block:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 188, 145, 0.42);
}

.contact-block.highlight {
  border-color: var(--gold);
}

.contact-block b,
.contact-block span span {
  display: block;
  overflow-wrap: anywhere;
}

.contact-block b {
  color: var(--beige-50);
  font-weight: 500;
}

.contact-time {
  color: var(--gold);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: rgba(217, 188, 145, 0.1);
  border: 1px solid rgba(217, 188, 145, 0.24);
  border-radius: 50%;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.2rem;
}

.booking-form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.booking-form h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.form-note {
  margin: 0.4rem 0 1.4rem;
  color: var(--beige-200);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--beige-300);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.form-wide {
  grid-column: 1 / -1;
}

.optional {
  color: var(--brown-700);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  background: var(--brown-950);
  color: var(--beige-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  color-scheme: dark;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Footer */

footer {
  background: var(--brown-980);
  padding: 3rem 1rem 1.4rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-main {
  width: min(960px, 100%);
  margin: 0 auto;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
  color: rgba(234, 213, 185, 0.84);
  font-size: 0.95rem;
}

.footer-cols b {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--beige-300);
  font-weight: 500;
}

footer a {
  color: var(--beige-300);
  text-decoration: none;
}

footer a:hover {
  color: var(--gold);
}

.copyright {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(234, 213, 185, 0.08);
  color: rgba(245, 234, 215, 0.46);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(12, 7, 4, 0.3);
  transition: transform 0.2s;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

/* Inloop-animatie (alleen als JS draait) */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1000px) {
  .nav-bar {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-links {
    justify-self: end;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: var(--brown-950);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 0.9rem 1rem;
    text-align: center;
    font-size: 1.05rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .treatments-row,
  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treatments-row .treatment-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.75rem);
    justify-self: center;
  }

  .contact-row,
  .story-row {
    grid-template-columns: 1fr;
  }

  .story-img {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 64px;
  }

  .nav-logo {
    width: 104px;
  }

  .nav-time {
    display: none;
  }

  .nav-links {
    gap: 0.6rem;
  }

  .nav-book {
    min-height: 40px;
    padding: 0.5rem 1rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-facts {
    gap: 0.75rem 1.5rem;
  }

  .treatments-row,
  .locations-row,
  .about-features,
  .footer-cols,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .treatments-row .treatment-card:last-child {
    max-width: none;
  }

  .price-table-wrap {
    padding: 0.25rem 1rem 0.75rem;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody tr:not(.price-group) {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0.9rem 0;
  }

  .price-table th[scope="row"] {
    grid-column: 1 / -1;
    padding: 0 0 0.4rem;
  }

  .price-table td {
    width: auto;
    padding: 0.1rem 0;
    font-size: 0.95rem;
  }

  .price-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--beige-300);
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .price-group th {
    padding-top: 1.2rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
}
