/* ==========================================================================
   Rus Multi Bouw — stylesheet
   ========================================================================== */

:root {
  --color-bg: #f7f5f2;
  --color-bg-alt: #f0ece7;
  --color-surface: #ffffff;
  --color-surface-2: #faf7f3;
  --color-border: #e3ddd2;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-text-soft: #8f887d;
  --color-gold: #c9a96e;
  --color-gold-dark: #a3814f;
  --color-gold-light: #ccba78;
  --color-dark: #1a1a1a;
  --color-dark-alt: #2d2d2d;
  --color-white: #ffffff;

  --font-heading: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1180px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-md: 0 10px 30px rgba(26, 22, 14, 0.1);
  --shadow-lg: 0 20px 50px rgba(26, 22, 14, 0.25);
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; color: var(--color-text-muted); }
button { font-family: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-gold);
  color: var(--color-dark);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--color-gold-dark);
  outline-offset: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
}
.btn-primary:hover { background: var(--color-gold-light); }
.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}
.btn-outline:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); }
.btn-ghost {
  color: var(--color-text);
  padding: 8px 10px;
  font-size: 0.85rem;
}
.btn-ghost:hover { color: var(--color-gold-dark); }
.btn-whatsapp {
  background: #25d366;
  color: #0c1210;
  padding: 8px 12px;
  font-size: 0.85rem;
}
.btn-whatsapp:hover { background: #46e37f; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-border);
  background: rgba(247, 245, 242, 0.97);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-family: var(--font-heading); font-size: 1rem; letter-spacing: 0.03em; color: var(--color-text); }
.logo-text small { color: var(--color-text-muted); font-size: 0.68rem; letter-spacing: 0.04em; }

.main-nav ul { display: flex; gap: 14px; }
.main-nav a {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-text); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone svg { color: var(--color-gold-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 17, 12, 0.82) 0%, rgba(20, 17, 12, 0.55) 45%, rgba(20, 17, 12, 0.3) 100%),
              linear-gradient(0deg, rgba(20, 17, 12, 0.55) 0%, rgba(20, 17, 12, 0.15) 40%, rgba(20, 17, 12, 0.1) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding-top: 60px; padding-bottom: 60px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--color-white); }
.hero-sub { font-size: 1.05rem; max-width: 560px; color: #d8d3ca; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* ---- USP bar ---- */
.usp-bar { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 50px 0; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.usp-card { text-align: left; }
.usp-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 169, 110, 0.16);
  border-radius: 12px;
  color: var(--color-gold-dark);
  margin-bottom: 14px;
}
.usp-icon svg { width: 24px; height: 24px; }
.usp-card h3 { font-size: 1.05rem; color: var(--color-text); }
.usp-card p { font-size: 0.92rem; margin: 0; }

/* ---- Sections ---- */
.section { padding: 90px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--color-text); }
.section-intro { font-size: 1.02rem; }

/* ---- Diensten ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--color-gold); box-shadow: var(--shadow-md); }
.service-featured {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.16), var(--color-surface) 60%);
  border-color: var(--color-gold);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.service-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 169, 110, 0.18);
  border-radius: 12px;
  color: var(--color-gold-dark);
  margin-bottom: 16px;
}
.service-featured .service-icon { margin-bottom: 0; }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { color: var(--color-text); font-size: 1.15rem; }
.service-card p { margin: 0; font-size: 0.95rem; }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '\1F50D';
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 22, 14, 0.35);
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 1.4rem;
}
.gallery-item:hover::after { opacity: 1; }

.before-after { margin-top: 60px; }
.before-after h3 { color: var(--color-text); font-size: 1.4rem; }
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.before-after-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-md); background: var(--color-dark); }
.before-after-grid img { aspect-ratio: 3/4; object-fit: contain; width: 100%; }
.before-after-grid figcaption {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-gold);
  color: var(--color-dark);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 9, 7, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 75vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-caption { color: var(--color-white); margin-top: 16px; text-align: center; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: transparent; border: none;
  color: var(--color-white); font-size: 2.4rem; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.lightbox-nav:hover { background: var(--color-gold); color: var(--color-dark); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---- Werkwijze ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { color: var(--color-text); font-size: 1.1rem; }
.step p { margin: 0; font-size: 0.93rem; }

/* ---- Prijzen ---- */
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 640px;
  box-shadow: var(--shadow-md);
}
.price-table th, .price-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.price-table th {
  background: var(--color-surface-2);
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-table td { color: var(--color-text); font-size: 0.98rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-note { margin-top: 16px; font-size: 0.88rem; font-style: italic; }

/* ---- Video ---- */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}
.video-wrap video { width: 100%; display: block; max-height: 560px; }

/* ---- Over ons ---- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.about-content h2 { color: var(--color-text); }
.about-content p:last-of-type { margin-bottom: 0; }
.about-badges {
  display: flex;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.about-badge {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--color-border);
}
.about-badge + .about-badge { padding-left: 24px; }
.about-badge:last-child { border-right: none; }
.about-badge strong { font-family: var(--font-heading); font-size: 2.2rem; color: var(--color-gold-dark); line-height: 1; }
.about-badge span { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--color-text-muted); }

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.review-stars { color: var(--color-gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-style: italic; color: var(--color-text); font-size: 0.98rem; }
.review-author { margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--color-text-muted); }

.review-form-wrap {
  max-width: 640px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.review-form-wrap h3 { color: var(--color-text); font-size: 1.3rem; margin-bottom: 20px; }
.review-form { display: flex; flex-direction: column; gap: 18px; }

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.star-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating label {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-border);
  cursor: pointer;
  transition: color var(--transition);
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--color-gold);
}
.star-rating input:focus-visible + label { outline: 2px solid var(--color-gold-dark); outline-offset: 2px; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 14px;
}
.faq-item summary {
  padding: 18px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-gold-dark);
  transition: transform var(--transition);
  margin-left: 12px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; margin: 0; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-info h2 { color: var(--color-text); }
.contact-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { width: 20px; height: 20px; color: var(--color-gold-dark); flex-shrink: 0; }
.contact-list a:hover { color: var(--color-gold-dark); }

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.9rem; font-weight: 600; color: var(--color-text); }
.form-row input, .form-row textarea {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--color-gold); }
.form-row input.invalid, .form-row textarea.invalid { border-color: #c0392b; }
.form-error { font-size: 0.8rem; color: #c0392b; min-height: 1em; }
.form-submit { align-self: flex-start; margin-top: 6px; }
.form-success {
  background: rgba(201, 169, 110, 0.16);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
}

/* ---- Footer ---- */
.site-footer { background: var(--color-dark); border-top: 1px solid var(--color-dark-alt); padding: 50px 0 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 36px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; max-width: 280px; }
.footer-brand img { border-radius: 8px; }
.footer-brand strong { font-family: var(--font-heading); color: var(--color-white); }
.footer-brand p { margin: 4px 0 0; font-size: 0.85rem; color: #a8a29e; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { font-size: 0.9rem; color: #a8a29e; }
.footer-nav a:hover { color: var(--color-gold-light); }
.footer-contact { text-align: right; font-size: 0.9rem; color: #a8a29e; }
.footer-contact p { margin: 0 0 6px; }
.footer-contact a:hover { color: var(--color-gold-light); }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-top: 4px;
  color: var(--color-white);
}
.footer-social:hover { background: var(--color-gold); color: var(--color-dark); }
.footer-bottom {
  border-top: 1px solid var(--color-dark-alt);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #7a746a;
}
.footer-bottom p { margin: 0; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-featured { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1200px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .main-nav.is-open li { border-bottom: 1px solid var(--color-border); }
  .main-nav.is-open a { display: block; padding: 14px 0; font-size: 0.94rem; }
}

@media (max-width: 768px) {
  .header-phone span { display: none; }
  .header-phone svg { margin: 0; }

  .hero { min-height: auto; padding-top: 20px; }
  .hero-content { padding: 60px 0 50px; }

  .usp-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-featured { grid-column: span 1; flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .before-after-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-form-wrap { padding: 24px; }
  .section { padding: 60px 0; }

  .footer-contact { text-align: left; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .contact-form { padding: 22px; }
  .price-table th, .price-table td { padding: 14px 16px; font-size: 0.88rem; }

  /* prevent header overflow: logo + phone + whatsapp + hamburger don't fit at this width */
  .header-inner { gap: 10px; }
  .logo img { width: 36px; height: 36px; }
  .header-phone,
  .btn-whatsapp { padding: 8px; }
  .btn-whatsapp span { display: none; }
}
