/*
Theme Name: Fritje
Theme URI: https://www.fritjebree.be/
Author: 't Fritje
Description: Snelle, SEO-geoptimaliseerde theme voor frituur 't Fritje in Bree, in de huisstijl van het logo. Zaakgegevens, uren en menukaart beheer je in functions.php.
Version: 1.1.0
Requires at least: 5.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: fritje
*/

/* ==========================================================================
   't Fritje — De Smaak van Bree
   Kleurenpalet rechtstreeks uit het logo:
   bordeaux #6f1228 · rood #e64329 · goud #f5ab04/#fdcf21 · bruin #a56438
   paars #733d90 · crème #e4dac7
   ========================================================================== */

:root {
  --cream: #fdf6e9;
  --paper: #fffdf8;
  --ink: #33141f;
  --ink-soft: #7a5560;
  --burgundy: #6f1228;
  --burgundy-deep: #570e1f;
  --red: #e64329;
  --red-deep: #b83015;
  --gold: #f5ab04;
  --gold-bright: #fdcf21;
  --gold-soft: #fbe4ad;
  --gold-deep: #b07c02;
  --brown: #a56438;
  --purple: #733d90;
  --green: #1d7c3e;
  --line: #eadcc4;
  --shadow: 0 10px 30px -12px rgba(111, 18, 40, 0.28);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--red-deep); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--burgundy);
  color: #fff;
  padding: 10px 18px;
  z-index: 100;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 233, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand img { height: 58px; width: auto; }

.site-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.site-nav a:hover { background: var(--gold-soft); color: var(--burgundy); }

.site-nav a[aria-current="page"] {
  background: var(--burgundy);
  color: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 16px;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-gold { background: var(--gold); color: var(--burgundy); }
.btn-red { background: var(--red); color: #fff; }
.btn-ghost { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }
.btn-lg { padding: 16px 30px; font-size: 18px; }

.header-cta { flex: none; }
.header-cta .btn { padding: 10px 18px; font-size: 15px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 48px 0 40px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--burgundy);
}

h1 .accent { color: var(--red); }

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 26px;
}

.lede strong { color: var(--ink); }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.open-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b5a08f;
  flex: none;
}

.open-badge.is-open { color: var(--green); border-color: #bfe3cb; background: #f0faf3; }
.open-badge.is-open .dot { background: var(--green); animation: pulse 1.6s infinite; }
.open-badge.is-closed { color: var(--red-deep); }
.open-badge.is-closed .dot { background: var(--red); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 124, 62, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(29, 124, 62, 0); }
}

.hero-art img {
  width: min(100%, 430px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 20px 26px rgba(111, 18, 40, 0.22));
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 44px 0; }

.section-head { margin-bottom: 28px; max-width: 60ch; }

h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--burgundy);
}

.section-head p { color: var(--ink-soft); font-size: 17px; }

/* USP cards */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.usp {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.usp .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--gold-soft);
  margin-bottom: 14px;
}

.usp h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.usp p { font-size: 15px; color: var(--ink-soft); }

/* Menu */

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.menu-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 14px -10px rgba(111, 18, 40, 0.22);
}

.menu-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--line);
  color: var(--burgundy);
}

.menu-card h3 .swatch {
  width: 12px;
  height: 24px;
  border-radius: 4px;
  flex: none;
}

.swatch-frietjes { background: var(--gold); }
.swatch-snacks { background: var(--red); }
.swatch-sauzen { background: var(--brown); }
.swatch-dranken { background: var(--purple); }

.menu-list { list-style: none; }

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 16px;
}

.menu-list li:last-child { border-bottom: 0; }

.menu-list .dots {
  flex: 1;
  border-bottom: 2px dotted #dcc59d;
  transform: translateY(-4px);
}

.menu-list .price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px 16px;
}

/* Hours table */

.hours-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 24px;
  max-width: 560px;
}

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
  padding: 12px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 16px;
}

.hours-table tr:last-child td { border-bottom: 0; }

.hours-table .day { font-weight: 700; }

.hours-table .times {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.hours-table td.closed { color: var(--red-deep); font-weight: 700; }

.hours-table tr.today td { color: var(--gold-deep); }
.hours-table tr.today .day::after {
  content: " · vandaag";
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hours-table tr.today .times { color: var(--gold-deep); font-weight: 700; }

/* Split layouts */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

/* CTA band */

.cta-band {
  background: var(--burgundy);
  border-radius: 24px;
  color: var(--cream);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-band h2 { color: #fff; }

.cta-band p { color: #e6cdc0; font-size: 17px; max-width: 50ch; }

.cta-band .btn-gold { font-size: 19px; padding: 16px 28px; }

.cta-note { font-size: 14px; color: #c9a496; margin-top: 10px; }

/* Info / contact blocks */

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.info-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 12px; color: var(--burgundy); }

.info-list { list-style: none; }

.info-list li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  align-items: baseline;
}

.info-list .ico { flex: none; font-size: 18px; }

address { font-style: normal; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

.map-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* Review strip */

.review-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.stars { color: var(--gold); font-size: 22px; letter-spacing: 2px; flex: none; }

.review-strip p { color: var(--ink-soft); flex: 1; min-width: 240px; }

/* Breadcrumb + page headers */

.page-head { padding: 40px 0 8px; }

.breadcrumb {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.breadcrumb a { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 40px;
  background: var(--burgundy);
  color: #e6cdc0;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.site-footer a { color: var(--gold-bright); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-brand { margin-bottom: 14px; }

.footer-brand img { height: 92px; width: auto; }

.footer-list { list-style: none; }
.footer-list li { padding: 4px 0; font-size: 15px; }

.footer-meta {
  padding-top: 22px;
  font-size: 13px;
  color: #c9a496;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobiele bestelbalk (alleen zichtbaar op kleine schermen) */

.mobile-cta-bar { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { width: min(1080px, 100% - 32px); }
  .hero { padding: 34px 0 30px; }
  section { padding: 34px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .site-header { position: static; }
  .header-inner { row-gap: 6px; }
  .header-cta { display: none; }
  .brand img { height: 48px; }
  .site-nav { order: 3; width: 100%; margin: 0 -16px; padding: 0 16px 4px; }
  .site-nav a[href="/"] { display: none; } /* logo linkt al naar home */
  .usp-grid { grid-template-columns: 1fr; }

  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }

  .mobile-cta-bar .btn { flex: 1; padding: 13px 10px; font-size: 16px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .open-badge.is-open .dot { animation: none; }
}
