/*
Theme Name: Verhoog je Dak
Theme URI: https://verhoogjedak.nl
Author: OpenAI voor Verhoog je Dak
Description: Snel en onderhoudsvriendelijk WordPress-thema voor nokverhogingen, dakopbouwen en dakkapellen. Zonder Elementor.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: verhoog-je-dak
*/

:root {
  --vjd-cyan: #00ddea;
  --vjd-cyan-dark: #00b7c4;
  --vjd-ink: #101820;
  --vjd-ink-soft: #26333c;
  --vjd-muted: #66747e;
  --vjd-line: #dfe6e9;
  --vjd-bg: #f4f7f8;
  --vjd-white: #ffffff;
  --vjd-radius: 18px;
  --vjd-shadow: 0 18px 50px rgba(16, 24, 32, .12);
  --vjd-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--vjd-ink);
  background: var(--vjd-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.vjd-container { width: min(calc(100% - 40px), var(--vjd-container)); margin-inline: auto; }
.vjd-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.vjd-section { padding: 88px 0; }
.vjd-section--soft { background: var(--vjd-bg); }
.vjd-section--dark { color: var(--vjd-white); background: var(--vjd-ink); }
.vjd-eyebrow { margin: 0 0 12px; color: var(--vjd-cyan-dark); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vjd-title { max-width: 820px; margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.04em; }
.vjd-subtitle { max-width: 720px; margin: 0; color: var(--vjd-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.vjd-section--dark .vjd-subtitle { color: #c7d1d7; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; margin: 0; padding: 12px 16px; clip: auto; color: var(--vjd-ink); background: var(--vjd-white); border-radius: 8px; box-shadow: var(--vjd-shadow); }

.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(16,24,32,.08); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; min-width: 210px; }
.site-branding img { width: min(260px, 42vw); max-height: 66px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--vjd-cyan-dark); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--vjd-bg); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; margin: auto; background: var(--vjd-ink); content: ""; transition: .2s ease; }
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }

.vjd-button, .wp-block-button__link, input[type="submit"], button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 13px 22px; border: 0; border-radius: 12px;
  color: var(--vjd-ink); background: var(--vjd-cyan); font-weight: 850; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,221,234,.22); transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.vjd-button:hover, .wp-block-button__link:hover, input[type="submit"]:hover, button[type="submit"]:hover { background: #23e5ef; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,221,234,.3); }
.vjd-button--dark { color: var(--vjd-white); background: var(--vjd-ink); box-shadow: none; }
.vjd-button--dark:hover { background: var(--vjd-ink-soft); }
.vjd-button--ghost { color: var(--vjd-white); background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.36); box-shadow: none; }
.vjd-button--ghost:hover { background: rgba(255,255,255,.18); }

.vjd-hero { position: relative; min-height: 720px; display: grid; align-items: center; color: var(--vjd-white); background: var(--vjd-ink); overflow: hidden; }
.vjd-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,14,18,.94) 0%, rgba(7,14,18,.78) 43%, rgba(7,14,18,.25) 74%, rgba(7,14,18,.08) 100%); content: ""; z-index: 1; }
.vjd-hero__media { position: absolute; inset: 0; }
.vjd-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.vjd-hero__content { position: relative; z-index: 2; max-width: 760px; padding: 110px 0; }
.vjd-hero h1 { margin: 0 0 24px; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .94; letter-spacing: -.055em; }
.vjd-hero p { max-width: 660px; margin: 0 0 34px; color: #e2eaee; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.vjd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.vjd-trustbar { position: relative; z-index: 2; margin-top: -42px; }
.vjd-trustbar__grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; color: var(--vjd-white); background: var(--vjd-ink); border: 1px solid rgba(255,255,255,.12); border-radius: var(--vjd-radius); box-shadow: var(--vjd-shadow); }
.vjd-trustbar__item { padding: 26px 30px; border-right: 1px solid rgba(255,255,255,.12); }
.vjd-trustbar__item:last-child { border-right: 0; }
.vjd-trustbar strong { display: block; margin-bottom: 3px; font-size: 1.08rem; }
.vjd-trustbar span { color: #b8c4ca; font-size: .95rem; }

.vjd-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 44px; }
.vjd-service-card { position: relative; min-height: 500px; overflow: hidden; border-radius: var(--vjd-radius); box-shadow: var(--vjd-shadow); }
.vjd-service-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,15,19,.86) 100%); content: ""; }
.vjd-service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vjd-service-card:hover img { transform: scale(1.035); }
.vjd-service-card__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 36px; color: var(--vjd-white); }
.vjd-service-card h3 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.vjd-service-card p { max-width: 560px; margin: 0 0 18px; color: #dde5e9; }
.vjd-text-link { font-weight: 850; text-decoration: none; }
.vjd-text-link::after { content: " →"; }

.vjd-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.vjd-feature { padding: 30px; background: var(--vjd-white); border: 1px solid var(--vjd-line); border-radius: var(--vjd-radius); }
.vjd-feature__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; background: rgba(0,221,234,.14); color: var(--vjd-cyan-dark); font-weight: 900; }
.vjd-feature h3 { margin: 0 0 9px; font-size: 1.25rem; }
.vjd-feature p { margin: 0; color: var(--vjd-muted); }

.vjd-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; margin-top: 42px; }
.vjd-project-card { overflow: hidden; background: var(--vjd-white); border: 1px solid var(--vjd-line); border-radius: var(--vjd-radius); box-shadow: 0 14px 36px rgba(16,24,32,.08); }
.vjd-project-card__image { aspect-ratio: 4/3; overflow: hidden; background: #dfe6e9; }
.vjd-project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vjd-project-card:hover .vjd-project-card__image img { transform: scale(1.04); }
.vjd-project-card__body { padding: 24px; }
.vjd-project-card__meta { margin-bottom: 8px; color: var(--vjd-cyan-dark); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.vjd-project-card h3 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.2; }
.vjd-project-card p { margin: 0 0 16px; color: var(--vjd-muted); }
.vjd-project-card a { text-decoration: none; }

.vjd-process { counter-reset: process; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; margin-top: 42px; }
.vjd-process__step { position: relative; padding: 26px 22px; background: #17222a; border: 1px solid rgba(255,255,255,.10); border-radius: 16px; }
.vjd-process__step::before { counter-increment: process; content: counter(process, decimal-leading-zero); display: block; margin-bottom: 42px; color: var(--vjd-cyan); font-size: .9rem; font-weight: 900; letter-spacing: .08em; }
.vjd-process__step h3 { margin: 0 0 8px; font-size: 1.08rem; }
.vjd-process__step p { margin: 0; color: #b9c5cb; font-size: .94rem; }

.vjd-cta { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; padding: 52px; color: var(--vjd-white); background: linear-gradient(135deg, #0f1b22, #22333d); border-radius: 24px; box-shadow: var(--vjd-shadow); }
.vjd-cta h2 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.vjd-cta p { margin: 0; color: #c8d2d7; }
.vjd-cta__actions { display: flex; justify-content: flex-end; }

.site-main { min-height: 60vh; }
.vjd-page-hero { padding: 100px 0 68px; background: var(--vjd-bg); border-bottom: 1px solid var(--vjd-line); }
.vjd-page-hero h1 { margin: 0 0 15px; font-size: clamp(2.5rem,5vw,4.7rem); line-height: 1; letter-spacing: -.05em; }
.vjd-page-content { padding: 70px 0 96px; }
.vjd-page-content h2, .entry-content h2 { margin-top: 2.2em; font-size: clamp(1.7rem,3vw,2.5rem); line-height: 1.15; }
.vjd-page-content h3, .entry-content h3 { margin-top: 1.8em; font-size: 1.45rem; }
.vjd-page-content p, .entry-content p, .entry-content li { color: var(--vjd-ink-soft); }
.entry-content > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--vjd-container); }
.entry-content > .alignfull { max-width: none; }
.entry-content figure { margin-top: 34px; margin-bottom: 34px; }
.entry-content .wp-block-gallery { max-width: var(--vjd-container); }

.vjd-archive-head { padding: 90px 0 55px; }
.vjd-pagination { margin-top: 46px; }
.vjd-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.vjd-pagination a, .vjd-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; background: var(--vjd-bg); text-decoration: none; font-weight: 800; }
.vjd-pagination .current { background: var(--vjd-cyan); }

.vjd-form { padding: 34px; background: var(--vjd-white); border: 1px solid var(--vjd-line); border-radius: var(--vjd-radius); box-shadow: var(--vjd-shadow); }
.vjd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.vjd-field { display: flex; flex-direction: column; gap: 8px; }
.vjd-field--full { grid-column: 1/-1; }
.vjd-field label { font-weight: 800; }
.vjd-field small { color: var(--vjd-muted); }
.vjd-field input, .vjd-field select, .vjd-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--vjd-ink); background: var(--vjd-white); border: 1px solid #cbd5da; border-radius: 10px; outline: 0; }
.vjd-field textarea { min-height: 160px; resize: vertical; }
.vjd-field input:focus, .vjd-field select:focus, .vjd-field textarea:focus { border-color: var(--vjd-cyan-dark); box-shadow: 0 0 0 4px rgba(0,221,234,.14); }
.vjd-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.vjd-checkbox input { width: 18px; height: 18px; margin-top: 4px; }
.vjd-alert { margin: 0 0 24px; padding: 15px 18px; border-radius: 10px; font-weight: 700; }
.vjd-alert--success { color: #164d36; background: #dff5e9; }
.vjd-alert--error { color: #7b2530; background: #fde5e8; }
.vjd-hp { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 66px 0 24px; color: #d7e0e4; background: #0c1419; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; }
.site-footer__logo { width: min(280px, 80%); margin-bottom: 20px; }
.site-footer h3 { margin: 0 0 16px; color: var(--vjd-white); font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; }
.site-footer p { color: #aebbc2; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #d7e0e4; text-decoration: none; }
.site-footer a:hover { color: var(--vjd-cyan); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; color: #8fa0a9; border-top: 1px solid rgba(255,255,255,.10); font-size: .9rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 86px; right: 0; left: 0; display: none; padding: 18px 20px 26px; background: var(--vjd-white); border-bottom: 1px solid var(--vjd-line); box-shadow: 0 20px 40px rgba(16,24,32,.12); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--vjd-line); }
  .site-nav a { display: block; padding: 14px 4px; }
  .site-nav .vjd-button { margin-top: 14px; }
  .vjd-trustbar__grid, .vjd-grid-3, .vjd-project-grid { grid-template-columns: 1fr 1fr; }
  .vjd-process { grid-template-columns: repeat(2,1fr); }
  .vjd-cta { grid-template-columns: 1fr; }
  .vjd-cta__actions { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .vjd-container, .vjd-narrow { width: min(calc(100% - 28px), var(--vjd-container)); }
  .vjd-section { padding: 64px 0; }
  .site-header__inner { min-height: 74px; }
  .site-nav { top: 74px; }
  .vjd-hero { min-height: 650px; }
  .vjd-hero::before { background: linear-gradient(90deg, rgba(7,14,18,.94), rgba(7,14,18,.62)); }
  .vjd-hero__content { padding: 86px 0 105px; }
  .vjd-hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .vjd-trustbar { margin-top: -28px; }
  .vjd-trustbar__grid, .vjd-service-grid, .vjd-grid-3, .vjd-project-grid, .vjd-process, .site-footer__grid, .vjd-form-grid { grid-template-columns: 1fr; }
  .vjd-trustbar__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .vjd-trustbar__item:last-child { border-bottom: 0; }
  .vjd-service-card { min-height: 430px; }
  .vjd-service-card__content { padding: 26px; }
  .vjd-cta { padding: 34px 26px; }
  .vjd-field--full { grid-column: auto; }
  .vjd-form { padding: 22px; }
  .site-footer__bottom { flex-direction: column; }
}
.site-nav .menu-item:last-child > a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; color: var(--vjd-ink); background: var(--vjd-cyan); border-radius: 10px; box-shadow: 0 8px 20px rgba(0,221,234,.2); }
.site-nav .menu-item:last-child > a:hover { color: var(--vjd-ink); background: #23e5ef; }
@media (max-width: 980px) { .site-nav .menu-item:last-child > a { margin-top: 10px; justify-content: center; } }
