/* ============ XO Haarlem — huisstijl (brandguide) ============ */

@font-face {
  font-family: "Sulphur Point";
  src: url("../fonts/SulphurPoint-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sulphur Point";
  src: url("../fonts/SulphurPoint-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acme Gothic Compressed";
  src: url("../fonts/AcmeGothicCompressed.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* exacte brandguide-kleuren */
  --wine:   #551011;   /* Bordeaux MAIN */
  --burnt:  #7b3100;   /* Oranje SUB */
  --blue:   #1e3c64;   /* Blauw MAIN */
  --cream:  #e6e0cb;   /* papier / hoofdgrond */
  --ink:    #250a0b;   /* donker maroon */

  --font-title: "Acme Gothic Compressed", "Sulphur Point", sans-serif; /* Titels */
  --font-body:  "Sulphur Point", system-ui, sans-serif;                /* Kopjes + body */

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- typografie ---- */
h1, h2 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(48px, 8.5vw, 108px); }
h2 { font-size: clamp(36px, 6vw, 74px); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; margin: 0; }

/* ---- knoppen ---- */
.btn {
  display: inline-block;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 19px;
  text-decoration: none;
  padding: 13px 32px;
  border: 2px solid currentColor;
  border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
  cursor: pointer;
}
.btn--solid { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { color: var(--wine); }
.btn--ghost:hover { background: var(--wine); color: var(--cream); }
.btn--ondark { color: var(--cream); }
.btn--ondark:hover { background: var(--cream); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-2px); } }

/* ---- header (beige balk, bordeaux logo) ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(37,10,11,0.14);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.site-header .logo img { height: 58px; width: auto; display: block; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 40px); align-items: center; }
.nav a {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 21px;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--wine); color: var(--wine); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 30px; cursor: pointer; line-height: 1; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(37,10,11,0.14);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav a { width: 100%; padding: 16px var(--pad); border-bottom: 1px solid rgba(37,10,11,0.08); }
  .site-header.open .nav { max-height: 460px; }
}

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: min(90vh, 820px);
  display: grid; align-items: center;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(37,10,11,0.22) 0%, rgba(37,10,11,0.26) 45%, rgba(37,10,11,0.62) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 90px 0; }
.hero h1 { margin-bottom: 14px; text-shadow: 0 2px 30px rgba(37,10,11,0.45); }
.hero p { font-family: var(--font-body); font-size: clamp(19px, 2.6vw, 27px); max-width: 22ch; margin: 0 auto; text-shadow: 0 1px 16px rgba(37,10,11,0.5); }
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: kenburns 22s ease-out forwards; }
  @keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
}

/* ---- secties ---- */
.section { padding: clamp(66px, 10vw, 140px) 0; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--wine { background: var(--wine); color: var(--cream); }

.split {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 92px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 30px; } .split--reverse .split__media { order: 0; } }
.split__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 54px rgba(37,10,11,0.20); }
.split__text h2 { margin-bottom: 22px; }
.split__text p { margin: 0 0 30px; max-width: 46ch; font-size: 19px; }

.center-narrow { max-width: 720px; margin: 0 auto; text-align: center; }
.center-narrow h2 { margin-bottom: 22px; }
.center-narrow p { margin: 0 auto; max-width: 56ch; }

/* ---- foto-carrousel (aaneensluitende filmstrip) ---- */
.reel-section { overflow: hidden; }
.reel-wrap { position: relative; font-size: 0; }
.reel {
  display: flex; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel::-webkit-scrollbar { display: none; }
.reel img {
  flex: 0 0 auto;
  height: clamp(260px, 40vw, 460px); width: auto;
  scroll-snap-align: start;
  display: block;
}
.reel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--wine); border: 2px solid var(--wine);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .2s ease, color .2s ease;
}
.reel-btn:hover { background: var(--wine); color: var(--cream); }
.reel-btn--prev { left: clamp(8px, 2vw, 28px); }
.reel-btn--next { right: clamp(8px, 2vw, 28px); }
@media (max-width: 640px) { .reel-btn { display: none; } }

/* ---- scroll-animaties ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- pagina-header (compacte hero met foto) ---- */
.page-hero {
  position: relative; overflow: hidden;
  min-height: min(46vh, 420px);
  display: grid; align-items: end;
  color: var(--cream);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37,10,11,0.2), rgba(37,10,11,0.72)); }
.page-hero__inner { position: relative; z-index: 1; padding: 0 0 clamp(28px, 5vw, 56px); }
.page-hero h1 { margin: 0; }

/* eenvoudige titelband (zonder foto) */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(8px, 2vw, 20px); text-align: center; }
.page-head p { max-width: 60ch; margin: 18px auto 0; color: var(--ink); opacity: 0.85; }

.lead { font-size: clamp(19px, 2.4vw, 23px); max-width: 62ch; }
.center { text-align: center; }
.stack > * + * { margin-top: 20px; }

/* ---- menukaart-knoppen ---- */
.menu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .menu-cards { grid-template-columns: 1fr; } }
.menu-card {
  display: grid; align-content: end; gap: 6px; min-height: 220px;
  padding: 26px; border-radius: 4px; text-decoration: none;
  color: var(--cream); position: relative; overflow: hidden;
  background: var(--wine);
  transition: transform .2s ease;
}
.menu-card--drinks { background: var(--ink); }
.menu-card:hover { transform: translateY(-3px); }
.menu-card span.k { font-family: var(--font-title); font-size: clamp(34px, 5vw, 52px); line-height: 1; }
.menu-card span.s { font-family: var(--font-body); opacity: 0.85; }

/* ---- gelegenheden / locaties ---- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  font-family: var(--font-title); font-size: 22px;
  padding: 8px 20px; border: 2px solid var(--wine); color: var(--wine);
  border-radius: 999px;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid rgba(37,10,11,0.12); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { margin: 0; font-size: 16px; }

/* ---- formulier ---- */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-body); font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid rgba(37,10,11,0.28); border-radius: 4px;
  background: #fff; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--wine); outline-offset: 1px; border-color: var(--wine); }
.field--check { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.field--check input { width: auto; }
.form__note { font-size: 14px; opacity: 0.7; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid address { font-style: normal; font-size: 19px; line-height: 2; }
.contact-grid a { color: var(--wine); }

/* ---- Xo by Night (aparte club-stijl) ---- */
body.night { background: #0b0608; color: var(--cream); }
body.night .site-header { background: #0b0608; border-bottom-color: rgba(230,224,203,0.14); }
body.night .site-header .logo img { content: none; }
body.night .nav a { color: var(--cream); }
body.night .nav a:hover, body.night .nav a[aria-current="page"] { color: var(--burnt); border-bottom-color: var(--burnt); }
body.night .nav-toggle { color: var(--cream); }
@media (max-width: 860px) { body.night .nav { background: #0b0608; } }
.night-hero { position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center; overflow: hidden; color: var(--cream); }
.night-hero__bg { position: absolute; inset: 0; }
.night-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.night-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(11,6,8,0.25), rgba(11,6,8,0.86)); }
.night-hero__inner { position: relative; z-index: 1; padding: 40px var(--pad); }
.night-hero .logo-bynight { width: min(70vw, 460px); margin: 0 auto 26px; }
.night-hero h1 { font-size: clamp(48px, 9vw, 116px); color: var(--cream); text-shadow: 0 0 40px rgba(123,49,0,0.6); }
.night-hero p { font-family: var(--font-title); font-size: clamp(22px, 3.4vw, 40px); letter-spacing: 0.04em; color: var(--burnt); margin: 12px 0 0; }
.night-strip { background: var(--wine); color: var(--cream); text-align: center; padding: clamp(40px,6vw,72px) var(--pad); }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(52px, 7vw, 88px) 0 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { font-family: var(--font-title); text-transform: uppercase; letter-spacing: 0.05em; font-size: 20px; margin: 0 0 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .foot-logo img { height: 66px; margin-bottom: 16px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer .foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(230,224,203,0.16); font-size: 14px; opacity: 0.72; }


/* Zichtbare toetsenbord-focus (adaptief via currentColor) */
:where(a, button, .btn, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}
