/* Frituur Madelyn, Borgloon
   Eén stylesheet voor de hele site. Kleuren en lettertypes staan bovenaan. */

/* ---------- lettertypes (lokaal, Barlow onder SIL Open Font License) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
  --red: #b3261e;
  --red-dark: #8f1d17;
  --yellow: #f5b700;
  --ink: #1f1a17;
  --muted: #675e57;
  --line: #e9e2d8;
  --bg: #ffffff;
  --soft: #fbf6ee;
  --photo: #c9a46a;            /* kleur achter een foto die (nog) niet laadt */

  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;

  --wrap: 1140px;
  --radius: 6px;
  --header: 74px;
}

/* ---------- basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h2 { font-size: clamp(34px, 4.2vw, 50px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.soft { background: var(--soft); }
.label {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.lead { font-size: 20px; color: var(--muted); max-width: 60ch; }
.small { font-size: 15px; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; }

/* rood-wit luifelstreepje */
.stripe {
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--red) 0 28px, #fff 28px 56px);
}

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .02em;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--yellow); color: var(--ink); }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.more {
  font-family: var(--head);
  font-weight: 600;
  font-size: 21px;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}
.more:hover { border-color: var(--red); }
.links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header); }
.logo {
  font-family: var(--head);
  font-weight: 700;
  font-size: 30px;
  color: var(--red);
  text-decoration: none;
  margin-right: auto;
  line-height: 1;
}
.logo small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.nav { display: flex; gap: 26px; }
.nav a {
  font-family: var(--head);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--yellow); }
.header-call { padding: 10px 16px; font-size: 19px; white-space: nowrap; }
.call-short { display: none; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--photo);
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 1.8s ease-out both;
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, .78) 0%, rgba(20, 14, 10, .45) 45%, rgba(20, 14, 10, .05) 80%),
    linear-gradient(0deg, rgba(20, 14, 10, .55), transparent 45%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 90px); padding-top: 120px; }
.hero .label { color: var(--yellow); font-size: 15px; max-width: none; }
.hero h1 { font-size: clamp(54px, 8.4vw, 104px); margin-bottom: 16px; }
.hero p { font-size: 21px; max-width: 38ch; color: rgba(255, 255, 255, .92); }
.hero .buttons { margin-top: 26px; }
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 17px;
  color: rgba(255, 255, 255, .9);
}
.hero .status { max-width: none; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #9a9088; flex: none; }
.status.is-open .dot { background: #4cc46d; box-shadow: 0 0 0 4px rgba(76, 196, 109, .25); }

/* ---------- foto's ---------- */
.photo { background: var(--photo); border-radius: var(--radius); overflow: hidden; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo.missing img { visibility: hidden; }
figure { margin: 0; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ---------- welkom ---------- */
.intro { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro .photo { aspect-ratio: 4 / 3; }
.intro .photo img { object-position: 62% 50%; }
.intro p:not(.label) { color: var(--muted); max-width: 54ch; }

/* ---------- favorieten ---------- */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.head-row h2 { margin: 0; }
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dish .photo { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.dish:hover .photo img { transform: scale(1.04); }
.dish h3 { margin-bottom: 4px; }
.dish p { color: var(--muted); margin: 0; }

/* ---------- band met foto (groepen en feestzaal) ---------- */
.party { display: grid; grid-template-columns: minmax(0, 1fr) min(50%, 720px); background: #fff; container-type: inline-size; }
/* de tekst begint op dezelfde lijn als de .wrap van de andere secties */
.party .text { padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 80px) clamp(48px, 7vw, 96px) max(20px, calc(50cqw - var(--wrap) / 2)); align-self: center; }
.party .text p:not(.label) { color: var(--muted); max-width: 54ch; }
.party .photo { position: relative; border-radius: 0; min-height: 460px; }
.party .photo img { position: absolute; inset: 0; object-position: 50% 10%; }

/* ---------- openingsuren & contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; width: 38%; }
.hours tr.today th, .hours tr.today td { color: var(--red); font-weight: 700; }
.hours-note { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.facts { display: grid; gap: 18px; }
.fact { display: flex; gap: 14px; }
.fact svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 4px; }
.fact b { display: block; font-family: var(--head); font-size: 20px; font-weight: 600; }
.fact a, .fact span { color: var(--ink); }
.fact small { color: var(--muted); font-size: 15px; }

/* kaart: laadt pas na een klik, zodat Google niets meekrijgt zolang je niet kijkt */
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); border: 1px solid var(--line); aspect-ratio: 4 / 3.4; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-cover { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px; gap: 14px; }
.map-cover svg { width: 40px; height: 40px; color: var(--red); }
.map-cover p { margin: 0; }
.map-cover .small { max-width: 34ch; }
.contact .map { align-self: stretch; aspect-ratio: auto; min-height: 420px; }

/* ---------- subpagina's: brede foto bovenaan ---------- */
.banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--photo);
  overflow: hidden;
}
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 14, 10, .78), rgba(20, 14, 10, .2)); }
.banner .wrap { position: relative; z-index: 1; padding: 100px 0 38px; }
.banner h1 { font-size: clamp(50px, 7vw, 84px); margin: 0; }
.banner p { margin: 6px 0 0; font-size: 20px; color: rgba(255, 255, 255, .92); }

/* ---------- subpagina's: tekst naast een foto ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.page-head h1 { font-size: clamp(48px, 6.4vw, 82px); margin-bottom: 16px; }
.page-head .lead { margin-bottom: 26px; }
.page-head .photo { aspect-ratio: 4 / 3; }
.page-head .photo.tall { width: 100%; aspect-ratio: 5 / 6; max-height: 560px; }
.page-head .photo.tall img { object-position: 50% 30%; }
.page-head .photo.gevel img { object-position: 50% 45%; }
.page-head.plain .wrap { grid-template-columns: 1fr; padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); }
.page-head.plain + .section { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- menukaart ---------- */
.jump {
  position: sticky;
  top: var(--header);
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.jump .wrap {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  width: 100%;
  padding: 14px max(20px, calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a {
  flex: none;
  font-family: var(--head);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.jump a[aria-current="true"] { border-color: var(--yellow); }
@media (hover: hover) { .jump a:hover { border-color: var(--yellow); } }
.menu-page { padding-bottom: 90px; }
.note { padding: 18px 24px; background: var(--soft); border-left: 4px solid var(--yellow); border-radius: var(--radius); }
.note p { margin: 0; }
.menu-page > .note { margin-top: 40px; }
.price-note { font-size: 20px; }
.price-note strong { font-family: var(--head); font-size: 22px; font-weight: 600; }
.menu-group { padding-top: 52px; scroll-margin-top: 10px; }
.menu-group h2 { font-size: 40px; margin-bottom: 6px; }
.menu-group h3 { font-size: 24px; margin: 30px 0 4px; }
.menu-group > p { color: var(--muted); margin-bottom: 14px; }
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 44px;
}
.menu-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.menu-list small { display: block; color: var(--muted); font-size: 15px; font-weight: 400; }
/* oude gsm-foto: niet groter tonen dan nodig, bijschrift ernaast */
.menu-photo { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 760px) minmax(200px, 1fr); gap: 28px; align-items: end; }
.menu-photo figcaption { margin: 0; max-width: 30ch; }
.menu-photo .photo { aspect-ratio: 16 / 7; }
.also { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 44px; }

/* prijslijst (groepen) en lijnen met prijs */
.items { display: grid; grid-template-columns: 1fr; }
.item { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.item span { font-weight: 500; }
.item small { display: block; color: var(--muted); font-size: 16px; font-weight: 400; }
.item b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices h3 { margin-top: 34px; }
.prices h3:first-child { margin-top: 0; }

/* ---------- feestzaal en groepen ---------- */
.cols { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 80px); }
.cols > div > h2 { margin-top: 56px; }
.cols > div > h2:first-child { margin-top: 0; }
.cols > div > p { color: var(--muted); max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}
.ticks.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.spec { display: grid; grid-template-columns: max-content 1fr; margin: 0 0 1em; }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--head); font-weight: 600; font-size: 20px; padding-right: 28px; line-height: 1.4; }
.spec dd { margin: 0; color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--head); font-size: 28px; line-height: .9; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 14px; }
.callout { background: var(--ink); color: #fff; padding: 34px; border-radius: var(--radius); align-self: start; position: sticky; top: calc(var(--header) + 24px); }
.callout h2 { font-size: 36px; }
.callout p { color: rgba(255, 255, 255, .8); }
.callout a:not(.btn) { color: #fff; }
.callout .buttons { margin: 22px 0 18px; }
.callout ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.callout li { color: rgba(255, 255, 255, .8); }
.callout .btn-red:hover { background: var(--yellow); color: var(--ink); }

/* ---------- contactpagina ---------- */
.contact-page { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.choice { margin-bottom: 22px; }
.choice p { margin: 0; }
.choice strong { font-family: var(--head); font-size: 22px; font-weight: 600; display: block; margin-bottom: 2px; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  min-height: 120px;
}
.form-frame {
  display: block;
  width: 100%;
  border: 0;
  min-height: 640px;
  background: #fff;
  border-radius: var(--radius);
}
.contact-form:has(iframe) { border: 0; padding: 0; }
.form-fallback { padding: 22px 20px; margin: 0; }
.privacy { font-size: 15px; color: var(--muted); margin: 12px 0 0; }
.contact-page h2 { font-size: 36px; }
.contact-info .facts { margin-bottom: 36px; }
.contact-info h3 { font-size: 26px; margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1.3fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.site-footer .logo { color: #fff; font-size: 28px; display: inline-block; margin-bottom: 12px; }
.site-footer p { margin: 0 0 12px; }
.footer-title { font-family: var(--head); font-size: 19px; font-weight: 600; color: #fff; margin: 0 0 10px; letter-spacing: .03em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.legal { border-top: 1px solid rgba(255, 255, 255, .14); }
.legal .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 0; font-size: 14px; }

/* ---------- rustig inschuiven bij scrollen ---------- */
.js .fade { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .fade.in { opacity: 1; transform: none; }

/* ---------- smallere schermen ---------- */
@media (max-width: 1080px) {
  .site-header .wrap { gap: 20px; }
  .nav { gap: 20px; }
}
@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(31, 26, 23, .08);
    padding: 6px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { color: var(--red); border-color: var(--line); }
  .menu-toggle { display: block; }
  .site-header .wrap { gap: 10px; }
}
@media (max-width: 900px) {
  .intro, .contact, .cols, .page-head .wrap, .contact-page { grid-template-columns: 1fr; }
  .dishes { gap: 18px; }
  .party { grid-template-columns: 1fr; }
  .party .text { padding-left: 20px; }
  .party .photo { min-height: 420px; order: -1; }
  .menu-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .callout { position: static; }
  .page-head .photo.tall { aspect-ratio: 4 / 3; max-height: none; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .call-long { display: none; }
  .call-short { display: inline; }
  .header-call { padding: 10px 14px; }
  .logo { font-size: 27px; }
  .dishes { grid-template-columns: 1fr; }
  .hero p { font-size: 19px; }
  /* op een smal scherm loopt de tekst over de volle breedte: overal donkerder */
  .hero::after { background: linear-gradient(0deg, rgba(20, 14, 10, .88) 0%, rgba(20, 14, 10, .74) 50%, rgba(20, 14, 10, .62) 100%); }
  .hero .label { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .also, .ticks.two { grid-template-columns: 1fr; }
  .menu-photo { grid-template-columns: 1fr; gap: 10px; }
  .menu-photo .photo { aspect-ratio: 16 / 10; }
  .map, .contact .map { aspect-ratio: auto; min-height: 0; }
  .map.loaded { aspect-ratio: 4 / 3.6; }
  .map-cover { padding: 20px; gap: 10px; }
  .callout { padding: 28px 22px; }
  .contact-form { padding: 0; border: 0; }
  .form-fallback { border: 1px solid var(--line); border-radius: var(--radius); }
}
@media (max-width: 480px) {
  .menu-list { column-gap: 20px; }
  .menu-list.long { grid-template-columns: 1fr; }
  .menu-list li { font-size: 16px; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
  .spec dd { padding-top: 2px; }
  .btn { font-size: 19px; padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > img { animation: none; }
  .js .fade { opacity: 1; transform: none; transition: none; }
  .photo img, .faq summary::after { transition: none; }
}
