/* ===== Meer Parket — huisstijl ===== */

:root {
  --wood-dark: #33241a;
  --wood: #5c3d29;
  --wood-mid: #8a5f3e;
  --wood-light: #c99a68;
  --cream: #f8f3ea;
  --cream-2: #efe4d2;
  --ink: #2a2119;
  --ink-soft: #5b5044;
  --accent: #4b5d40;
  --accent-dark: #394730;
  --white: #ffffff;
  --shadow: 0 10px 30px -12px rgba(51, 36, 26, 0.25);
  --radius: 14px;
  --max-width: 1180px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--wood-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--wood);
  color: var(--wood-dark);
}
.btn-outline:hover { background: var(--wood-dark); border-color: var(--wood-dark); color: var(--white); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--wood-dark);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(51, 36, 26, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .btn { padding: 11px 20px; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--wood-dark);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1220px) {
  .header-actions .btn-outline-hide { display: none; }
}

@media (max-width: 1080px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); background: var(--cream); transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 24px; }
  .main-nav li { border-bottom: 1px solid rgba(51,36,26,0.08); }
  .main-nav a { display: block; padding: 16px 4px; }
  .nav-toggle { display: block; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 480px) {
  .brand-text span { display: none; }
  .header-actions .btn-cta-hide { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(29, 20, 14, 0.86) 0%, rgba(29, 20, 14, 0.66) 45%, rgba(29, 20, 14, 0.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 80px 0; }
.hero .eyebrow { color: var(--wood-light); }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.88); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.8em; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  margin-top: 3rem;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .hero-stats { gap: 22px; }
}
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--white); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* small page hero (subpages) */
.page-hero {
  padding: 64px 0 40px;
  text-align: center;
}
.page-hero .lead { margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin: 0 0 3rem; text-align: left; }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.card .icon svg { width: 26px; height: 26px; }

/* Photo + text split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media,
  .split.reverse .split-text { order: initial; }
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3.2;
}
.media-stack { position: relative; }
.media-stack .accent-block {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 55%; height: 55%;
  border: 6px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

/* Timeline (about page) */
.timeline { border-left: 2px solid var(--cream-2); padding-left: 28px; margin-left: 6px; }
.timeline .item { position: relative; padding-bottom: 32px; }
.timeline .item:last-child { padding-bottom: 0; }
.timeline .item::before {
  content: "";
  position: absolute;
  left: -35px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline .year { font-family: var(--font-head); color: var(--wood); font-weight: 600; margin-bottom: 2px; display: block; }

/* Photo strip (sfeerbeelden) */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.photo-strip a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-strip a:nth-child(2) { margin-top: 44px; }
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.35s ease; }
.photo-strip a:hover img { transform: scale(1.05); }
@media (max-width: 780px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip a:nth-child(2) { margin-top: 0; }
  .photo-strip a:nth-child(3) { grid-column: 1 / 3; }
  .photo-strip a:nth-child(3) img { aspect-ratio: 16/9; }
}

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial .quote-mark {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: var(--cream-2);
  line-height: 0;
  position: absolute;
  top: 28px; right: 28px;
}
.testimonial p { font-size: 1.05rem; color: var(--ink); font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream-2); color: var(--wood);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600;
}
.testimonial .name { font-weight: 700; color: var(--wood-dark); font-size: 0.95rem; }
.testimonial .loc { font-size: 0.82rem; color: var(--ink-soft); }

/* CTA band */
.cta-band {
  background: var(--wood-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { color: rgba(255,255,255,0.78); margin: 0; }

/* Project gallery */
.project-block { padding: 56px 0; border-bottom: 1px solid rgba(51,36,26,0.08); }
.project-block:last-child { border-bottom: none; }
.project-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.project-header .tag {
  display: inline-block;
  background: var(--cream-2);
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.project-gallery a { border-radius: var(--radius); overflow: hidden; display: block; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.project-gallery a:hover img { transform: scale(1.05); }

.project-gallery-feature { display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.project-gallery-feature img { width: 100%; aspect-ratio: 21/8; object-fit: cover; transition: transform 0.35s ease; }
.project-gallery-feature:hover img { transform: scale(1.03); }

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.project-gallery-grid a img { aspect-ratio: 1/1; }

@media (max-width: 780px) {
  .project-gallery-feature img { aspect-ratio: 16/10; }
  .project-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(20, 14, 10, 0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  color: var(--white); font-size: 2rem; background: none; border: none; cursor: pointer;
  line-height: 1;
}

/* Services list (wat-we-doen) */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(51,36,26,0.08);
}
.service-row:last-child { border-bottom: none; }
.service-photo { margin: 8px 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: block; }
.service-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.35s ease; }
.service-photo:hover img { transform: scale(1.03); }
.service-row .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--wood-light);
  font-weight: 600;
}
@media (max-width: 600px) {
  .service-row { grid-template-columns: 1fr; gap: 8px; }
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--wood-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .row .icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.contact-info-card a { text-decoration: underline; text-underline-offset: 3px; }
.contact-info-card .social { display: flex; gap: 12px; margin-top: 28px; }
.contact-info-card .social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.contact-info-card .social a:hover { background: var(--accent); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--wood-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #ddd0bb;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

.robot-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: var(--cream);
  border: 1.5px solid #ddd0bb;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wood-dark);
}
.robot-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-banner {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-banner.success { background: #e4ecdf; color: var(--accent-dark); border: 1.5px solid var(--accent); }
.form-banner.error { background: #f6e4e0; color: #8a3b2a; border: 1.5px solid #c15a41; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wood-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 50px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--accent); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--wood-dark); color: #fff; padding: 12px 18px; z-index: 1001;
}
.skip-link:focus { left: 12px; top: 12px; }
