/*
Theme Name: Vonnies Kitchen
Theme URI: https://vonnieskitchen.com
Author: Vonnies Kitchen
Description: Een eenvoudig, mobielvriendelijk WordPress-thema voor het weekmenu en bestellingen van Vonnies Kitchen.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: vonnies-kitchen
*/

:root {
  --ink: #291c18;
  --cream: #f7f0df;
  --paper: #fffaf0;
  --wine: #652d2c;
  --wine-dark: #40201f;
  --mustard: #dc9b27;
  --green: #345743;
  --line: rgba(56, 37, 29, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
body.admin-bar .nav-shell { top: 32px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.nav-shell {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 42px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: .06em;
}
.brand strong, .brand small { display: block; }
.brand strong { font: 700 18px/1.2 Georgia, "Times New Roman", serif; }
.brand small {
  margin-top: 2px;
  color: #755e52;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-order {
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  max-width: 1240px;
  min-height: 630px;
  margin: 0 auto;
  padding: 40px 42px 80px;
}
.hero-copy { max-width: 660px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow.light { color: #f2bd62; }
h1, h2, .order-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(58px, 7.1vw, 102px);
  line-height: .93;
}
.hero-intro {
  max-width: 560px;
  margin-bottom: 32px;
  color: #604d42;
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}
.button-primary {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 10px 30px rgba(101, 45, 44, .2);
}
.delivery-note { color: #69574d; font-size: 13px; font-weight: 700; }
.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 42% 42% 18px 18px;
  box-shadow: 0 38px 80px rgba(61, 38, 24, .22);
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.fresh-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 120px;
  padding: 25px 15px;
  transform: rotate(-7deg);
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  color: var(--ink);
  font: 700 16px/1.1 Georgia, "Times New Roman", serif;
  text-align: center;
}

.ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
  padding: 17px 24px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--mustard); }

.menu-section, .how-section { max-width: 1240px; margin: 0 auto; padding: 100px 42px; }
.section-heading, .made-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}
.section-heading h2, .made-heading h2 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}
.section-heading > p { max-width: 360px; margin-bottom: 3px; color: #6d594e; line-height: 1.65; }
.meal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.meal-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(61, 42, 29, .06);
}
.card-topline, .price-row, .stock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-topline { color: #765f53; font-size: 12px; font-weight: 700; }
.day-pill {
  padding: 7px 11px;
  border-radius: 99px;
  background: #eee1c7;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-art { display: grid; place-items: center; height: 175px; margin: 22px -24px 26px; }
.ochre .card-art { background: #d4a437; }
.green .card-art { background: #58725c; }
.clay .card-art { background: #a65d43; }
.mini-plate {
  width: 125px;
  height: 125px;
  border: 11px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 67% 38%, #763b27 0 17%, transparent 18%),
    radial-gradient(circle at 34% 35%, #efd16a 0 23%, transparent 24%),
    radial-gradient(circle at 55% 69%, #35543f 0 25%, transparent 26%),
    #f4e9d4;
  box-shadow: 0 18px 30px rgba(35, 26, 19, .2);
}
.meal-card h3 {
  min-height: 58px;
  margin-bottom: 12px;
  font: 500 25px/1.15 Georgia, "Times New Roman", serif;
}
.meal-card > p { min-height: 72px; margin-bottom: 24px; color: #715d51; font-size: 14px; line-height: 1.7; }
.price-row { margin-bottom: 16px; }
.price-row strong { font: 700 29px/1 Georgia, "Times New Roman", serif; }
.price-row span { color: #806c60; font-size: 12px; }
.stock-row {
  align-items: flex-start;
  min-height: 54px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #755f53;
  font-size: 11px;
  line-height: 1.4;
}
.stock-row span:first-child { color: var(--wine); font-weight: 800; }
.meal-card button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.how-section { padding-top: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.steps article { padding-top: 24px; border-top: 1px solid var(--line); }
.steps article > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--mustard);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.steps h3 { margin-bottom: 10px; font: 500 24px/1.2 Georgia, "Times New Roman", serif; }
.steps p { max-width: 300px; color: #715d51; line-height: 1.65; }

.story-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  max-width: 1160px;
  margin: 0 auto 100px;
  padding: 72px;
  border-radius: 28px;
  background: #173025;
  color: #efe4cc;
}
.story-heading h2 { max-width: 450px; margin: 0; color: #efe4cc; font-size: clamp(44px, 5vw, 68px); line-height: .98; }
.story-copy { padding-top: 4px; }
.story-copy > p { margin-bottom: 20px; color: #d6cbb6; font-size: 17px; line-height: 1.8; }
.story-signoff { display: flex; flex-direction: column; gap: 5px; margin-top: 34px; padding-left: 16px; border-left: 3px solid var(--mustard); }
.story-signoff span { font: 500 22px/1.2 Georgia, "Times New Roman", serif; }
.story-signoff small { color: #a99c85; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.made-section { padding: 90px max(42px, calc(50vw - 580px)); background: #12251b; color: #efe4cc; }
.made-heading h2 { color: #efe4cc; }
.made-heading > p { max-width: 350px; margin: 0; color: #bdb099; line-height: 1.65; }
.made-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 14px; }
.made-grid figure { position: relative; overflow: hidden; margin: 0; border-radius: 18px; background: #0c1b13; }
.made-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.made-photo-main { grid-area: span 2 / span 7; }
.made-logo { grid-area: span 2 / span 5; }
.made-photo-wide { grid-area: span 2 / span 5; }
.made-photo:not(.made-photo-main):not(.made-photo-wide):not(.made-photo-small) { grid-area: span 2 / span 4; }
.made-photo-small { grid-area: span 2 / span 3; }
.made-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 14px;
  border-radius: 99px;
  background: rgba(18, 37, 27, .84);
  color: #efe4cc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}

.order-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  max-width: 1160px;
  margin: 40px auto 100px;
  padding: 70px;
  border-radius: 30px;
  background: var(--wine-dark);
  color: #fff;
}
.order-copy h2 { margin-bottom: 22px; font-size: clamp(46px, 5vw, 68px); line-height: .95; }
.order-copy > p { color: #d9c8b9; line-height: 1.7; }
.selected-meal { display: flex; flex-direction: column; gap: 5px; margin-top: 35px; padding-left: 16px; border-left: 3px solid var(--mustard); }
.selected-meal span { color: #e3cfae; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.selected-meal strong { font: 700 19px/1.3 Georgia, "Times New Roman", serif; }
.order-form { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 20px; background: var(--paper); color: var(--ink); }
.order-form label { display: flex; flex: 1; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 800; }
.order-form input, .order-form select, .order-form output {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid #d7c8b4;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.form-row { display: flex; gap: 14px; }
.button-order { width: 100%; margin-top: 4px; background: #2c774d; color: #fff; }
.order-form > small { color: #725f53; font-size: 11px; line-height: 1.5; text-align: center; }
.vk-honeypot { position: absolute !important; left: -9999px !important; }
.success { margin: 0; padding: 11px; border-radius: 8px; background: #dcedd9; color: #285b37; font-size: 12px; font-weight: 700; text-align: center; }
.form-error { margin: 0; padding: 11px; border-radius: 8px; background: #f7d8d3; color: #7f2822; font-size: 12px; font-weight: 700; text-align: center; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 36px max(42px, calc(50vw - 580px));
  border-top: 1px solid var(--line);
}
footer p, footer a { margin: 0; color: #765f53; font-size: 12px; }
footer a { font-weight: 800; }

@media (hover: hover) {
  .button, .meal-card button, .nav-order { transition: transform .16s, background .16s; }
  .button:hover, .meal-card button:hover, .nav-order:hover { transform: translateY(-2px); }
  .meal-card button:hover { background: var(--wine); }
  .made-grid figure:hover img { transform: scale(1.025); }
}
@media (max-width: 900px) {
  .nav-shell, .hero, .menu-section, .how-section { padding-right: 24px; padding-left: 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-visual { min-height: 440px; margin-top: 45px; }
  .meal-grid { grid-template-columns: 1fr; }
  .order-section { grid-template-columns: 1fr; margin: 20px 24px 80px; padding: 45px; }
  .story-section { grid-template-columns: 1fr; gap: 36px; margin-right: 24px; margin-left: 24px; padding: 50px; }
  .made-section { padding-right: 24px; padding-left: 24px; }
  .made-heading { flex-direction: column; align-items: flex-start; }
  .made-photo-main, .made-logo, .made-photo-wide,
  .made-photo:not(.made-photo-main):not(.made-photo-wide):not(.made-photo-small), .made-photo-small { grid-column: span 6; }
}
@media (max-width: 620px) {
  body.admin-bar .nav-shell { top: 46px; }
  .nav-shell { padding-top: 16px; }
  .nav-order { padding: 9px 12px; font-size: 11px; }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { padding-top: 46px; padding-bottom: 55px; }
  h1 { font-size: 53px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-visual { min-height: 350px; }
  .ticker { justify-content: flex-start; gap: 18px; }
  .menu-section, .how-section { padding-top: 72px; padding-bottom: 72px; }
  .section-heading { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .section-heading h2 { font-size: 43px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps article > span { margin-bottom: 18px; }
  .story-section { margin-right: 14px; margin-bottom: 60px; margin-left: 14px; padding: 38px 22px; }
  .story-heading h2, .made-heading h2 { font-size: 43px; }
  .story-copy > p { font-size: 16px; }
  .made-section { padding-top: 66px; padding-bottom: 66px; }
  .made-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 165px; }
  .made-grid figure, .made-photo-main, .made-logo, .made-photo-wide,
  .made-photo:not(.made-photo-main):not(.made-photo-wide):not(.made-photo-small), .made-photo-small { grid-area: span 1 / span 1; }
  .made-photo-main { grid-area: span 2 / 1 / auto / -1; }
  .made-logo, .made-photo-wide { grid-row: span 2; }
  .order-section { gap: 35px; margin: 0 14px 60px; padding: 30px 18px; border-radius: 22px; }
  .order-copy h2 { font-size: 48px; }
  .order-form { padding: 20px 16px; }
  .form-row { flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
