/* =====================================================================
   Sushi House Harlingen – gedeelde stijlen
   Kleuren en lettertypes pas je aan in :root hieronder.
   ===================================================================== */

:root {
  --bg: #101620;          /* donkerblauwe achtergrond */
  --card: #0e1217;        /* bijna zwarte kaarten */
  --gold: #b89a5e;        /* gouden accenten */
  --gold-light: #d6bd86;
  --text: #f2ede5;        /* gebroken wit */
  --muted: #b9b6b0;       /* secundaire tekst */
  --line: rgba(242, 237, 229, 0.12);
  --line-gold: rgba(184, 154, 94, 0.55);

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 84px;
  --radius: 6px;
  --container: 1160px;
  --gutter: 24px;
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.005em;
  font-variant-numeric: lining-nums;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Duidelijke toetsenbordfocus */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: #12161d;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(184, 154, 94, 0.18);
}
.btn-gold:hover {
  background: #c7aa6e;
  box-shadow: 0 8px 26px rgba(184, 154, 94, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { background: rgba(184, 154, 94, 0.12); }

.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-sm { min-height: 40px; padding: 0.55rem 1.3rem; font-size: 0.92rem; }
.btn-wide { width: 100%; max-width: 300px; }
.btn .ext, .btn .arrow { font-size: 1.05em; line-height: 1; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px 20px; }

/* ---------- Logo ---------- */
.logo { display: inline-block; flex: none; }
.logo-img { width: auto; height: 68px; }
.logo--small .logo-img { height: 60px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.page-menu .site-header,
.nav-open .site-header {
  background: rgba(16, 22, 32, 0.96);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled,
  .page-menu .site-header { background: rgba(16, 22, 32, 0.85); backdrop-filter: blur(10px); }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav ul {
  display: flex;
  gap: 36px;
  margin-inline: auto;
}
.site-nav ul a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.site-nav ul a:hover { opacity: 1; }
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { opacity: 1; }

/* Hamburgerknop (alleen mobiel zichtbaar) */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 24px; height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, background-color 0.25s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Algemene secties ---------- */
.section { padding-block: 88px; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.section-head h2,
.teaser h2,
.menu-cta h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.2rem);
}
.section-head h2::after,
.teaser h2::after,
.menu-cta h2::after {
  content: "";
  display: block;
  width: 48px; height: 2px;
  margin: 18px auto 20px;
  background: var(--gold);
}
.section-head p { color: var(--text); opacity: 0.9; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(640px, 100vh);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 40%, #1a2230 0%, var(--bg) 65%);
}
.hero-img {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  max-width: 800px;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero-content { position: relative; }
.hero h1 {
  max-width: 7.6em;
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  margin-bottom: 24px;
}
.hero-text {
  max-width: 400px;
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 36px;
}

/* ---------- Bestellen ---------- */
.order { border-top: 1px solid var(--line); }

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
  margin-inline: auto;
}

.order-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}
.order-card:hover { border-color: rgba(242, 237, 229, 0.22); }
.order-card h3 { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 700; margin-bottom: 10px; }
.order-card p { color: var(--text); opacity: 0.85; max-width: 280px; }
.order-card .btn { margin-top: auto; }
.order-card p:not(.order-sub):not(.order-note) { margin-bottom: 28px; }

.order-sub {
  color: var(--gold) !important;
  opacity: 1 !important;
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.order-card--main {
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, #151a22 0%, var(--card) 100%);
  box-shadow: 0 0 0 1px rgba(184, 154, 94, 0.08), 0 14px 46px rgba(184, 154, 94, 0.14);
}
.order-card--main:hover { border-color: var(--gold-light); transform: translateY(-2px); }

.badge {
  position: absolute;
  top: 16px; left: 22px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #12161d;
  font-size: 0.8rem;
  font-weight: 700;
}

.order-note {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  max-width: none !important;
  font-size: 0.85rem;
  color: var(--muted) !important;
  opacity: 1 !important;
}

/* ---------- Menu teaser ---------- */
.teaser {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  background: #0d1118;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.teaser-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 440px;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 28%);
  mask-image: linear-gradient(to left, transparent 0%, #000 28%);
}
.teaser-content {
  text-align: center;
  padding: 56px var(--gutter);
}
.teaser-content p {
  max-width: 300px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- Contact ---------- */
.contact { padding-block: 72px; }
.contact .section-head { margin-bottom: 36px; }
.contact .section-head h2 { font-size: clamp(2rem, 3.6vw, 2.5rem); }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 0;
}
.contact-row > * { padding-inline: 48px; }
.contact-row > * + * { border-left: 1px solid var(--line); }
.contact-row .btn { margin-inline: 48px; padding-inline: 1.75rem; }
.contact-row > .btn { border-left: 1px solid var(--gold); }

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  line-height: 1.5;
}
.contact-item a { text-decoration: none; font-size: 1.05rem; }
.contact-item a:hover { color: var(--gold-light); text-decoration: underline; }
.icon { width: 30px; height: 30px; flex: none; fill: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  background: #0c1017;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-links { display: flex; flex-wrap: wrap; }
.footer-links li + li { border-left: 1px solid var(--line); }
.footer-links a {
  display: inline-block;
  padding: 4px 18px;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold-light); }
.copyright { font-size: 0.85rem; color: var(--muted); }

/* =====================================================================
   MENUKAART
   ===================================================================== */
.menu-hero {
  padding: calc(var(--header-h) + 64px) 0 40px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #1a2230 0%, var(--bg) 70%);
}
.menu-hero h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 700; }
.menu-hero h1::after {
  content: "";
  display: block;
  width: 48px; height: 2px;
  margin: 18px auto 20px;
  background: var(--gold);
}
.menu-intro { max-width: 520px; margin-inline: auto; font-size: 1.1rem; color: var(--muted); }
.menu-notice {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gold-light);
}

/* Sticky balk met categorieën en zoekveld */
.menu-tools {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(16, 22, 32, 0.96);
  border-block: 1px solid var(--line);
}
.menu-tools-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 12px;
}
.cat-nav { flex: 1; min-width: 0; }
.cat-nav ul {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.cat-nav a:hover { border-color: var(--gold); }
.cat-nav a.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #12161d;
  font-weight: 500;
}

.search { position: relative; flex: 0 0 260px; }
.search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.search input::placeholder { color: var(--muted); opacity: 0.8; }
.search input:hover { border-color: rgba(242, 237, 229, 0.25); }
.search input:focus-visible { outline-offset: 0; border-color: var(--gold); }
.search-icon {
  position: absolute;
  left: 14px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.menu-list { padding-top: 56px; }

.menu-cat { scroll-margin-top: calc(var(--header-h) + 90px); }
.menu-cat + .menu-cat { margin-top: 64px; }
.menu-cat-title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  margin-bottom: 24px;
}
.menu-cat-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line-gold), transparent);
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dish {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.dish:hover { border-color: var(--line-gold); }
.dish-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dish-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.dish-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}
.dish-price {
  flex: none;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}
.dish-desc { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.dish-img {
  flex: none;
  width: 132px;
  height: 108px;
  object-fit: cover;
  border-radius: 4px;
  align-self: center;
}

.menu-empty { text-align: center; color: var(--muted); padding: 40px 0; }

.menu-cta {
  text-align: center;
  border-top: 1px solid var(--line);
  background: #0d1118;
}
.menu-cta p { color: var(--muted); margin-bottom: 28px; }

.floating-order { display: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .site-nav ul { gap: 24px; }
  .contact-row > * { padding-inline: 28px; }
  .contact-row .btn { margin-inline: 28px; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; --gutter: 20px; }

  .logo-img { height: 54px; }

  /* Mobiel menu */
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 16px var(--gutter) 28px;
    background: rgba(16, 22, 32, 0.98);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .site-nav ul li + li { border-top: 1px solid var(--line); }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .site-nav ul a::after { right: auto; width: 32px; bottom: 8px; }
  .site-nav .btn { width: 100%; min-height: 48px; }

  /* Hero: foto boven, tekst eronder */
  .hero {
    display: block;
    min-height: 0;
    padding: var(--header-h) 0 56px;
  }
  .hero-img {
    position: relative;
    width: 100%;
    height: min(62vw, 380px);
    object-position: 40% 55%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 35%);
    mask-image: linear-gradient(to top, transparent 0%, #000 35%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .hero-content { margin-top: -28px; }
  .hero h1 { max-width: none; }

  .section { padding-block: 64px; }

  .order-grid { grid-template-columns: 1fr; max-width: 480px; }
  .order-card { padding: 52px 24px 44px; }

  .teaser { grid-template-columns: 1fr; }
  .teaser-img {
    height: min(58vw, 340px);
    min-height: 0;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 35%);
    mask-image: linear-gradient(to top, transparent 0%, #000 35%);
  }
  .teaser-content { padding-top: 8px; padding-bottom: 56px; }

  .contact-row { flex-direction: column; align-items: stretch; gap: 0; max-width: 360px; margin-inline: auto; }
  .contact-row > * { padding: 18px 0; }
  .contact-row > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .contact-row .btn,
  .contact-row > .btn { margin: 20px 0 0; border: 1px solid var(--gold); padding: 0.75rem 1.75rem; }

  .footer-inner { flex-direction: column; text-align: center; }

  /* Menukaart */
  .menu-tools-inner { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 10px; }
  .search { flex-basis: auto; }
  .cat-nav ul { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .menu-cat { scroll-margin-top: calc(var(--header-h) + 130px); }
  .dish-grid { grid-template-columns: 1fr; gap: 14px; }

  .floating-order {
    display: inline-flex;
    position: fixed;
    left: var(--gutter); right: var(--gutter); bottom: 16px;
    z-index: 45;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
  .page-menu .site-footer { padding-bottom: 100px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-text { font-size: 1.05rem; }
  .dish { padding: 16px; gap: 14px; }
  .dish-top { flex-direction: column; gap: 2px; }
  .dish-name { font-size: 1.3rem; }
  .dish-img { width: 88px; height: 88px; align-self: flex-start; }
  .footer-links a { padding-inline: 12px; }
}

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