/*
Theme Name: Verdelue
Theme URI: https://verdelue.nl
Author: Verdelue
Description: Thema voor Verdelue, verfijnde evenementen met karakter. Eén pagina met over, diensten, werkwijze, portfolio, ervaringen en een aanvraagformulier dat rechtstreeks per e-mail wordt verstuurd.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verdelue
*/

:root {
  --ink: #2B211C;
  --espresso: #3A2C24;
  --champagne: #D2B685;
  --gold: #85673C;
  --taupe: #8A7A6C;
  --sand: #EFE6D8;
  --sand-deep: #E8DCC9;
  --bg: #F7F2EA;
  --surface: #FFFDF9;
  --text: #2B211C;
  --muted: #6B5E54;
  --line: #E4DACB;
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1410;
    --surface: #241C17;
    --text: #F0E8DB;
    --muted: #B3A594;
    --line: #3A2E26;
    --sand: #211915;
    --sand-deep: #241C17;
    --ink: #F0E8DB;
    --gold: #D2B685;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.mx { margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-mark {
  display: block; width: 150px; height: 49px;
  background: var(--ink);
  -webkit-mask: var(--logo-url, url("assets/logo/wordmark-bijgesneden.png")) left center / contain no-repeat;
  mask: var(--logo-url, url("assets/logo/wordmark-bijgesneden.png")) left center / contain no-repeat;
}
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--muted); }
.menu a:hover { color: var(--text); }
.menu .btn { color: var(--bg); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 6px auto; }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg);
  padding: 14px 30px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43, 33, 28, .22); }
.btn-small { padding: 9px 20px; }
.btn-light { background: #fbf6ee; color: #2B211C; }
.btn-outline { background: transparent; color: #fbf6ee; box-shadow: inset 0 0 0 1.5px rgba(251, 246, 238, .7); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px #fbf6ee; }
:focus-visible { outline: 3px solid var(--taupe); outline-offset: 3px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h1 em, h2 em { color: var(--gold); font-style: italic; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); max-width: 20ch; }
h3 { font-size: 1.55rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 600; color: var(--gold); margin: 0 0 16px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 50ch; }

/* Hero */
.hero {
  position: relative; min-height: min(86vh, 760px);
  display: grid; align-items: end;
  background:
    linear-gradient(180deg, rgba(32, 23, 18, .35) 0%, rgba(32, 23, 18, .80) 100%),
    var(--hero-img, url("assets/images/hero-tafels.jpeg")) center / cover no-repeat,
    #3A2C24;
  color: #fbf6ee;
}
.hero-inner { padding: 120px 0 150px; }
.hero .eyebrow { color: #D2B685; }
.hero h1 em { color: #D2B685; }
.hero .lead { color: rgba(251, 246, 238, .88); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Sections */
.section { padding: 100px 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--espresso); color: #F3EBDD; }
.section-dark .eyebrow { color: #D2B685; }
@media (prefers-color-scheme: dark) { .section-dark { background: #2A2019; } }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about-photo { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
blockquote { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; margin: 0 0 24px; font-style: italic; }
.about p { color: var(--muted); }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { background: var(--surface); border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px; font-size: .9rem; }

/* Services */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 44px; }
.cards .card { flex: 0 1 calc((100% - 40px) / 3); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--taupe); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.review { margin: 0; }
.review blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; font-style: italic; }
.review blockquote p { margin: 0 0 .6em; color: var(--text); font-size: inherit; }
.review figcaption { color: var(--gold); font-weight: 600; font-size: .9rem; }
.num { display: inline-block; font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--gold); margin-bottom: 12px; }

/* Process */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid rgba(210, 182, 133, .5); padding-top: 22px; }
.steps li::before { content: "0" counter(step); font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #D2B685; display: block; margin-bottom: 6px; }
.steps p { margin: 0; color: #CDBFAC; font-size: .97rem; }

/* Gallery */
.portfolio-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-block; border: 1.5px solid var(--line); background: transparent; color: var(--text);
  padding: 8px 20px; border-radius: 999px; text-decoration: none;
  font: inherit; font-size: .9rem; font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.collection { margin-top: 64px; }
.collection h3 { margin: 0 0 4px; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.collection > p { margin: 0 0 22px; color: var(--muted); }
.gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery::after { content: ""; flex-grow: 100000; }
.tile {
  position: relative; margin: 0; min-width: 0; overflow: hidden;
  border-radius: 14px; background: var(--sand-deep);
  flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--h, 280px));
}
.collection.is-row { --h: 420px; }
.collection.is-row .gallery { flex-wrap: nowrap; }
.collection.is-row .tile { flex-grow: 0; }
.tile::before { content: ""; display: block; padding-bottom: calc(100% / var(--r)); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.cta { background: var(--sand-deep); }
@media (prefers-color-scheme: dark) { .cta { background: var(--surface); } }
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.direct a { font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; }
.form h3 { margin: 0; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.form input:not([type=checkbox]), .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 11px 14px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--taupe); }
.form [aria-invalid="true"] { border-color: #c95050; }
.form [hidden] { display: none; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 600; font-size: .88rem; padding: 0; margin-bottom: 8px; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; font-size: .95rem !important; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.form-note { margin: 0; min-height: 1.4em; font-size: .92rem; color: var(--muted); }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot a { text-decoration: none; }

/* Mobile */
@media (max-width: 820px) {
  .hero-inner { padding: 96px 0 90px; }
  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 340px; }
  .section { padding: 64px 0; }
  .collection { margin-top: 48px; }
  .gallery { gap: 10px; }
  .tile { flex-basis: calc(var(--r) * 190px); }
  .collection.is-row .gallery { flex-wrap: wrap; }
  .collection.is-row .tile { flex-grow: calc(var(--r) * 100); }
  .cards .card { flex-basis: 100%; }
  .form .row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 4px; }
  .menu .btn { text-align: center; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* WordPress-specific */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.screen-reader-text { position: absolute; left: -9999px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--gold); }

.notice { margin: 0 0 4px; padding: 14px 18px; border-radius: 12px; font-weight: 500; font-size: .95rem; }
.notice-ok { background: #E7EFDF; color: #2F4A22; border: 1px solid #C5D6B4; }
.notice-error { background: #F6E1DC; color: #7A2E22; border: 1px solid #E5B9AF; }
@media (prefers-color-scheme: dark) {
  .notice-ok { background: #23301C; color: #CFE3BE; border-color: #3B4F2E; }
  .notice-error { background: #3A1F1A; color: #F1C7BE; border-color: #5A3129; }
}

.consent a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.foot a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.prose p, .prose li { color: var(--muted); }
.prose a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
