/* ============================================================
   Site background & depth — Woningontruiming Groene Huis
   Soft sage page colour, topographic contour pattern, and
   slightly stronger cards so the layout is less stark white.

   Loaded on every public page, including contact.html (same
   banner and contour background). Do not move these rules into
   main.css or site-polish.css.
   ============================================================ */

:root {
  --ghc-bg: #e6efe2;
  --ghc-section: #f3f7f0;
  --ghc-section-alt: #e3efdb;
  --ghc-contour: url("../img/bg-contour.svg");
  --ghc-contour-size: 820px 820px;
}

/* Atmosphere: soft green washes + repeating contour lines.
   `html body` beats later `body { background: ... }` in page style
   tags (quote.html, personeel.php.html) without editing those files. */
html {
  background-color: var(--ghc-bg);
}

html body {
  background-color: var(--ghc-bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(33, 207, 10, 0.08), transparent 58%),
    radial-gradient(ellipse 75% 50% at 100% 100%, rgba(20, 143, 4, 0.07), transparent 55%),
    var(--ghc-contour);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, var(--ghc-contour-size);
  background-position: 0 0, 100% 100%, 0 0;
}

/* Patterned fill for content bands. Photo banners (.page-title) and
   the dark footer are intentionally not selected here. */
body section.section:not(.dark-background):not(.page-title),
body .section:not(.dark-background):not(.page-title),
body section.modern-werkgebied,
body section.quote-section,
body section.blog-cards,
body section.contact-modern {
  background-color: var(--ghc-section);
  background-image:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(33, 207, 10, 0.05), transparent 58%),
    radial-gradient(ellipse 75% 50% at 100% 100%, rgba(20, 143, 4, 0.05), transparent 55%),
    var(--ghc-contour);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, var(--ghc-contour-size);
  background-position: 0 0, 100% 100%, 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* Alternating / already-tinted bands: a slightly deeper sage */
body section.section.light-background,
body .section.light-background,
body section.light-background {
  background-color: var(--ghc-section-alt);
}

/* ---- Cards and blocks: more contour / depth ---- */

body .service-item {
  background: #ffffff;
  border: 1px solid rgba(20, 143, 4, 0.14);
  box-shadow: 0 12px 32px rgba(16, 40, 16, 0.08);
}

body .service-item:hover {
  border-color: rgba(20, 143, 4, 0.28);
  box-shadow: 0 20px 48px rgba(16, 40, 16, 0.13);
}

body .service-item.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f2faee 100%);
  border-color: rgba(20, 143, 4, 0.30);
}

body .werkgebied-card {
  border: 1px solid rgba(20, 143, 4, 0.16);
  box-shadow: 0 10px 28px rgba(16, 40, 16, 0.07);
}

body .werkgebied-card:hover {
  box-shadow: 0 20px 48px rgba(16, 40, 16, 0.12);
}

body .quote-form,
body .card-q {
  border: 1px solid rgba(20, 143, 4, 0.12);
  box-shadow: 0 18px 48px rgba(16, 40, 16, 0.10);
}

body .contact-info-card,
body .contact-form-card {
  border: 1px solid rgba(20, 143, 4, 0.14);
  box-shadow: 0 12px 32px rgba(16, 40, 16, 0.08);
}

body .blog-card,
body .certification-item,
body .testimonial-content,
body .team-member {
  background-color: #ffffff;
  border: 1px solid rgba(20, 143, 4, 0.10);
  box-shadow: 0 10px 28px rgba(16, 40, 16, 0.07);
  border-radius: 16px;
}

body .main-image img,
body .image-section .main-image img {
  box-shadow: 0 16px 40px rgba(16, 40, 16, 0.14);
}

/* Soft lift under the first content band after the photo banner */
body .page-title + section,
body .page-title + .section,
body #hero + #about {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 -10px 28px rgba(16, 40, 16, 0.05);
}

@media (max-width: 767px) {
  html body,
  body section.section:not(.dark-background):not(.page-title),
  body .section:not(.dark-background):not(.page-title),
  body section.modern-werkgebied,
  body section.quote-section,
  body section.blog-cards,
  body section.contact-modern {
    background-size: auto, auto, 560px 560px;
  }
}
