/* ============================================================
   Villa San Martino - demo
   Donker-elegante Italiaanse huisstijl: near-black basis, warm
   crème, terracotta accent (baksteen van de villa) + salie-groen
   (de luifel/tuin). Cormorant Garamond display + Inter body.
   ============================================================ */

/* ---- Self-hosted fonts ---- */
@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* woordmerk-script, echoot hun handgeschreven logo */
  font-family: "Allura";
  src: url("assets/fonts/allura-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink: #12100d;          /* warm near-black */
  --ink-2: #1b1813;        /* iets lichter paneel */
  --ink-3: #241f19;        /* kaart */
  --cream: #f3ece0;        /* hoofdtekst */
  --cream-dim: #cdc3b3;    /* secundaire tekst */
  --muted: #9a8f7d;        /* labels */
  --terra: #c0623a;        /* terracotta accent */
  --terra-soft: #d98b64;
  --sage: #8a9a6f;         /* salie-groen */
  --it-green: #159b57;     /* tricolore groen */
  --it-white: #f7f3ea;     /* tricolore wit (warm) */
  --it-red: #e02b35;       /* tricolore rood */
  --vanilla: #f3ecdb;      /* warme vanille sectie-achtergrond */
  --arch: rgba(243, 236, 224, 0.25); /* villa-boog lijn (donker thema) */
  --line: rgba(243, 236, 224, 0.14);
  --maxw: 1200px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --r: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2 {
  font-family: "Cormorant", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
}

.eyebrow {
  font-family: "Allura", "Cormorant", cursive;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--terra-soft);
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--terra); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0; }

/* ---- Tricolore-accent naast het logo (Italiaanse vlag, verticaal) ---- */
:root {
  --tri-grad: linear-gradient(
    to bottom,
    var(--it-green) 0 33.34%,
    var(--it-white) 33.34% 66.67%,
    var(--it-red) 66.67% 100%
  );
}
.brand { position: relative; padding-left: 15px; }
.brand::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 6px;
  border-radius: 2px; background: var(--tri-grad); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--solid { background: var(--terra); color: #fff; }
.btn--solid:hover { background: var(--terra-soft); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--terra-soft); color: var(--terra-soft); transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2.6rem; font-size: 0.95rem; }

/* ---- Header / nav ---- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck {
  background: rgba(18, 16, 13, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.15rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand__sub {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.05rem;
}
.brand__name {
  font-family: "Allura", "Cormorant", cursive; font-weight: 400;
  font-size: 2.1rem; line-height: 0.9; color: var(--cream); letter-spacing: 0.01em;
}
.nav__links {
  list-style: none; display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0;
}
.nav__links a {
  text-decoration: none; font-size: 0.88rem; letter-spacing: 0.04em;
  color: var(--cream-dim); transition: color 0.25s;
}
.nav__links a:hover { color: var(--cream); }
.nav__cta {
  color: var(--terra-soft) !important; border: 1px solid var(--line);
  padding: 0.5rem 1.1rem; border-radius: var(--r); transition: border-color 0.25s, color 0.25s;
}
.nav__cta:hover { border-color: var(--terra-soft); }
.nav__toggle { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(2.5rem, 6vh, 5rem);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18,16,13,0.94) 4%, rgba(18,16,13,0.5) 42%, rgba(18,16,13,0.35) 100%),
    linear-gradient(to right, rgba(18,16,13,0.55), rgba(18,16,13,0.05));
}
.hero__inner { max-width: 760px; }
.hero__title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--cream); margin: 0.2rem 0 1.4rem;
}
.hero__lede {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: var(--cream-dim); max-width: 46ch; margin: 0 0 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

/* ---- Reviews strip ---- */
.strip {
  background: var(--ink-2); border-block: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding: 2rem var(--pad);
}
.strip__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.2rem; }
.strip__stars { color: var(--terra); letter-spacing: 0.15em; font-size: 0.95rem; }
.strip__num { font-family: "Cormorant", serif; font-size: 1.5rem; color: var(--cream); }
.strip__sub { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.strip__rule { width: 1px; height: 42px; background: var(--line); }

/* ---- Section base ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 11vh, 9rem) var(--pad); }
.section__head { max-width: 620px; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section__head h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.section__lede { color: var(--cream-dim); margin: 1.2rem 0 0; }

/* ---- Vanille-secties (licht ritme tussen de donkere in) ---- */
.tone-vanilla {
  background: var(--vanilla);
  color: var(--ink);
  /* palet lokaal omkeren zodat alle componenten meekleuren */
  --cream: #221d15;                    /* hoofdtekst donker */
  --cream-dim: #574e3f;                /* secundaire tekst */
  --muted: #6b5e44;                    /* labels (AA-contrast op vanille) */
  --line: rgba(18, 16, 13, 0.14);      /* hairlines donker-op-licht */
  --terra-soft: #a94f2b;               /* diepere terracotta voor eyebrows op licht */
  --ink-2: var(--vanilla);             /* interne panelen mee licht */
  --ink-3: #ece0c9;                    /* iets diepere vanille voor kaartjes */
  --arch: rgba(18, 16, 13, 0.2);       /* villa-boog lijn op licht */
}

/* ---- Keuken / dishes ---- */
.dishes {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}
.dish {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--ink-3);
}
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dish:hover img { transform: scale(1.04); }
.dish--tall img { aspect-ratio: 3 / 4; }
.dish--wide img { aspect-ratio: 4 / 3; }
.dish figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  background: linear-gradient(to top, rgba(18,16,13,0.9), rgba(18,16,13,0));
}
.dish__name { font-family: "Cormorant", serif; font-size: 1.5rem; color: var(--cream); }
.dish__desc { font-size: 0.9rem; color: var(--cream-dim); }
.keuken__note {
  text-align: center; color: var(--muted); font-style: italic;
  font-family: "Cormorant", serif; font-size: 1.35rem; margin: clamp(2.5rem, 6vh, 4rem) auto 0; max-width: 40ch;
}

/* ---- De villa ---- */
.villa { background: var(--ink-2); max-width: none; }
.villa__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.villa__media { position: relative; border-radius: var(--r); overflow: hidden; }
.villa__media::after {
  /* boog-motief dat de villaramen echoot */
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--arch);
  border-radius: 180px 180px var(--r) var(--r);
  margin: 12px; pointer-events: none;
}
.villa__media img { width: 100%; aspect-ratio: 3 / 2.2; object-fit: cover; }
.villa__text h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.4rem; }
.villa__text p:not(.eyebrow) { color: var(--cream-dim); margin: 0 0 1.1rem; }
.villa__facts { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.villa__facts li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1.1rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--cream);
}
.villa__facts span::before { content: "· "; color: var(--sage); }

/* ---- Praktisch ---- */
.praktisch__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
}
.praktisch h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 1.6rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--cream-dim); }
.hours td { text-align: right; color: var(--cream); font-variant-numeric: tabular-nums; }
.contact { font-style: normal; margin: 0 0 1.8rem; }
.contact p { margin: 0 0 0.7rem; }
.contact a { text-decoration: none; color: var(--cream); transition: color 0.25s; }
.contact a:hover { color: var(--terra-soft); }
.map { margin-top: 1.8rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05) brightness(0.85); }

/* ---- CTA band ---- */
.cta-band {
  text-align: center; padding: clamp(4rem, 10vh, 7rem) var(--pad);
  background:
    linear-gradient(rgba(18,16,13,0.82), rgba(18,16,13,0.88)),
    url("assets/dish-gamba.webp") center/cover no-repeat;
  border-block: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; margin: 0 auto 2rem; }
.cta-band__sub { margin-top: 1.4rem; color: var(--cream-dim); font-size: 0.95rem; }
.cta-band__sub a { color: var(--terra-soft); text-decoration: none; }

/* ---- Footer ---- */
.site-foot { padding: clamp(3rem, 7vh, 5rem) var(--pad) 2.5rem; max-width: var(--maxw); margin: 0 auto; }
.foot__grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.foot__addr { color: var(--muted); font-size: 0.9rem; margin: 0.6rem 0 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.foot__links a { text-decoration: none; color: var(--cream-dim); font-size: 0.9rem; transition: color 0.25s; }
.foot__links a:hover { color: var(--terra-soft); }
.foot__disclaimer { color: var(--muted); font-size: 0.78rem; margin: 1.8rem 0 0; max-width: 70ch; }

/* ---- Reveal (progressive enhancement) ---- */
.js .reveal { opacity: 0; transform: translateY(24px); }

/* ---- Mobiel ---- */
@media (max-width: 860px) {
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 60;
  }
  .nav__toggle span { width: 26px; height: 2px; background: var(--cream); transition: transform 0.3s, opacity 0.3s; }
  .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); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2.2rem;
    background: rgba(18,16,13,0.97); backdrop-filter: blur(8px);
    transform: translateX(100%); transition: transform 0.45s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.2rem; }

  .dishes { grid-template-columns: 1fr; }
  .dish--tall img { aspect-ratio: 4 / 3; }
  .villa__grid { grid-template-columns: 1fr; }
  .praktisch__grid { grid-template-columns: 1fr; }
  .cta-band { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .dish img, .btn { transition: none; }
}
