
:root {
  --green: #173d32;
  --green-dark: #102a23;
  --green-light: #a9c7b5;
  --white: #ffffff;
  --black: #17231f;
  --gray: #68756e;
  --background: #f5f7f5;
  --border: #dfe7e1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 3000;
  padding: 12px;
  background: white;
  color: var(--green);
}

.skip-link:focus {
  left: 10px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 82px;
  padding: 16px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(16, 42, 35, .98);
  color: white;
  box-shadow: 0 5px 22px rgba(0,0,0,.08);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

.logo span {
  color: var(--green-light);
}

.logo small {
  margin-left: 3px;
  color: rgba(255,255,255,.7);
  font-size: 9px;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: .2s;
}

.nav a:hover {
  color: var(--green-light);
}

.nav .nav-cta {
  padding: 12px 17px;
  border: 1px solid var(--green-light);
  border-radius: 5px;
  color: white;
}

.nav .nav-cta:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

/* MOBILE MENU */

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: white;
}

/* HERO */

.hero {
  min-height: 640px;
  padding: 100px 8%;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(
      90deg,
      rgba(16,42,35,.97),
      rgba(16,42,35,.85) 55%,
      rgba(16,42,35,.35)
    ),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85")
    center/cover;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-light);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2.8px;
}

.eyebrow-dark {
  color: #547a65;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.07;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--green-light);
}

.hero-text {
  max-width: 590px;
  color: rgba(255,255,255,.83);
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid var(--green-light);
  border-radius: 5px;
  background: var(--green-light);
  color: var(--green-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: .2s;
}

.button:hover {
  transform: translateY(-2px);
  background: #c7d9ce;
}

.button-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.6);
}

.button-outline:hover {
  background: white;
  color: var(--green);
}

.hero-note {
  margin-top: 34px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 1.7;
}

/* INTRO */

.intro-section {
  max-width: 920px;
  margin: auto;
  padding: 88px 24px 70px;
  text-align: center;
}

section h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.16;
  letter-spacing: -1px;
}

.section-lead {
  max-width: 720px;
  margin: auto;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.85;
}

/* SERVICES */

.services-section,
.gallery-section {
  padding: 82px 8%;
  background: var(--background);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}

.section-heading > p {
  max-width: 370px;
  color: var(--gray);
  line-height: 1.75;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 27px 23px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
  color: var(--black);
  text-decoration: none;
  transition: .25s;
}

.service:hover {
  transform: translateY(-5px);
  border-color: var(--green-light);
  box-shadow: 0 18px 50px rgba(16,42,35,.09);
}

.service-number {
  margin-bottom: 30px;
  color: #648875;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.8px;
}

.service h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 20px;
}

.service p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

.service-more {
  margin-top: auto;
  padding-top: 23px;
  color: var(--green);
  font-size: 12px;
  font-weight: bold;
}

/* OVER ONS */

.why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  padding: 95px 10%;
  background: var(--green);
  color: white;
}

.why-section h2 {
  color: white;
}

.why-copy > p:not(.eyebrow) {
  color: rgba(255,255,255,.76);
  line-height: 1.9;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-light);
  text-decoration: none;
  font-weight: bold;
}

.why-points {
  display: grid;
  align-content: center;
  gap: 24px;
}

.why-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.why-point > span {
  color: var(--green-light);
  font-size: 13px;
  font-weight: bold;
}

.why-point h3 {
  margin: 0 0 7px;
  color: white;
}

.why-point p {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.6;
}

/* GALLERY */

.gallery-section {
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 18px 20px 20px;
}

.gallery-caption span {
  color: #648875;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1.8px;
}

.gallery-caption h3 {
  margin: 7px 0 0;
  color: var(--green);
  font-size: 17px;
}

/* CONTACT */

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 75px 8%;
  background: var(--green-dark);
  color: white;
}

.contact-copy {
  max-width: 650px;
}

.contact-copy h2 {
  color: white;
}

.contact-copy p:last-child {
  color: rgba(255,255,255,.74);
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.button-light {
  background: white;
  border-color: white;
  color: var(--green);
}

.button-light:hover {
  background: var(--green-light);
}

.contact-email {
  color: var(--green-light);
  text-decoration: none;
}

/* FOOTER */

.site-footer {
  padding: 38px 8%;
  background: #0b211b;
  color: rgba(255,255,255,.68);
  text-align: center;
}

.logo-footer {
  justify-content: center;
  margin-bottom: 12px;
}

.site-footer p {
  font-size: 13px;
}

.copyright {
  color: rgba(255,255,255,.48);
  font-size: 11px !important;
}

/* WHATSAPP */

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  padding: 13px 17px;
  border-radius: 30px;
  background: #1f8f59;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .services {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .nav {
    gap: 17px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    padding: 13px 5%;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 5% 18px;
    background: var(--green-dark);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 4px;
  }

  .nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 590px;
    padding: 80px 7%;
  }

  .section-heading {
    display: block;
  }

  .why-section {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 75px 7%;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 65px 7%;
  }
}

@media (max-width: 520px) {
  .logo {
    font-size: 20px;
  }

  .hero {
    min-height: 570px;
    padding: 68px 6%;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .intro-section {
    padding: 65px 7% 55px;
  }

  .services-section,
  .gallery-section {
    padding: 65px 6%;
  }

  .services,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 220px;
  }

  .gallery-card img {
    height: 235px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Bestaande calculator-pagina's: behoud basisstijl en kleuren */

.calculator-header {
  background: var(--green-dark);
  padding: 22px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.calculator-logo {
  color: white;
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
}

.calculator-logo span {
  color: var(--green-light);
}

.back-link {
  color: var(--green);
  text-decoration: none;
}

.calculator-header .back-link {
  color: white;
}

.calculator-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 24px;
}

.calculator-box,
.calculator-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 35px rgba(18,37,54,.06);
}

.calculator-intro h1 {
  color: var(--green);
}

.form-group,
.calculator-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.form-group input,
.form-group select,
.calculator-field input,
.calculator-field select {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd2d9;
  border-radius: 7px;
  font-size: 16px;
}

.calculate-button,
.calculator-form button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.price-result {
  margin-top: 20px;
  padding: 20px;
  background: var(--background);
  border-left: 4px solid var(--green-light);
  line-height: 1.8;
}

@media (max-width: 600px) {
  .calculator-header {
    padding: 18px;
  }

  .calculator-main {
    padding: 20px 16px;
  }

  .calculator-box,
  .calculator-form {
    padding: 20px;
  }
}

/* =====================================
   BOUWPRO - LUXURY CHARCOAL & BLUE
===================================== */

:root {
  --primary: #263238;
  --primary-dark: #172329;
  --accent: #42A5F5;
  --accent-hover: #1E88E5;
  --white: #FFFFFF;
  --light: #F5F7FA;
  --gray: #9CA3AF;
  --black: #111827;
  --text: #263238;
}

/* GENERAL */

body {
  background: var(--white);
  color: var(--text);
}

/* HEADER */

header,
.header,
.navbar {
  background-color: var(--primary) !important;
}

.nav a,
header a,
.navbar a {
  color: var(--white);
}

.nav a:hover,
header a:hover,
.navbar a:hover {
  color: var(--accent);
}

/* LOGO */

.logo,
.logo span {
  color: var(--white);
}

.logo span {
  color: var(--accent);
}

/* HERO */

.hero {
  color: var(--white);
  background-image:
    linear-gradient(
      90deg,
      rgba(38, 50, 56, 0.78) 0%,
      rgba(38, 50, 56, 0.42) 50%,
      rgba(38, 50, 56, 0.15) 100%
    ),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
}

.hero h1,
.hero p {
  color: var(--white);
}

/* BUTTONS */

button,
.btn,
.button,
.primary-btn {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transition: 0.3s ease;
}

button:hover,
.btn:hover,
.button:hover,
.primary-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* SECTIONS */

section {
  background-color: var(--white);
}

.services,
.projects,
.gallery,
#diensten,
#projecten {
  background-color: var(--light);
}

/* CARDS */

.card,
.service-card,
.project-card {
  background: var(--white);
  border-color: #E5E7EB;
}

.card h3,
.service-card h3,
.project-card h3 {
  color: var(--primary);
}

.card:hover,
.service-card:hover,
.project-card:hover {
  border-color: var(--accent);
}

/* TITLES */

h1, h2, h3, h4 {
  color: var(--primary);
}

.hero h1 {
  color: var(--white);
}

/* LINKS */

a {
  transition: 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* CONTACT */

.contact,
#contact {
  background: var(--light);
}

input,
textarea,
select {
  border-color: #D1D5DB;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  outline-color: var(--accent);
}

/* WHATSAPP */

.whatsapp,
.whatsapp-btn {
  background: #25D366;
  color: white;
}

/* FOOTER */

footer {
  background: var(--primary-dark);
  color: var(--white);
}

footer h3,
footer h4 {
  color: var(--accent);
}

footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--accent);
}

/* MOBILE MENU */

@media (max-width: 768px) {
  .nav,
  .nav.open {
    background: var(--primary) !important;
  }

  .nav a {
    color: var(--white);
  }
}
/* Contact section text */

.contact-section {
    background: #F5F7FA;
}

.contact-copy h2 {
    color: #111827 !important;
}

.contact-copy p {
    color: #263238 !important;
}

.contact-copy .eyebrow {
    color: #42A5F5 !important;
}

.contact-email {
    color: #263238 !important;
}




/* LUXURY PHOTO GALLERY */

.gallery-card img {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 18, 25, 0.96);
    align-items: center;
    justify-content: center;
    padding: 50px 70px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 15px 60px rgba(0,0,0,.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: none;
    background: #263238;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 25px;
}

.lightbox-close {
    top: 20px;
    right: 25px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox button:hover {
    background: #42A5F5;
}

@media(max-width:600px) {
    .lightbox {
        padding: 20px;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 75vh;
    }
}
