/* Dutch Gietvloeren — basisstijl */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f0f0f0;
  --color-text: #292b37;
  --color-text-muted: #8b8c97;
  --color-primary: #333645;
  --color-primary-hover: #292b37;
  --color-accent: #ffaa06;
  --color-accent-hover: #e69805;
  --color-on-accent: #292b37;
  --color-border: #e2e2e6;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --container-width: 1240px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-soft: 0 20px 45px -20px rgba(41, 43, 55, 0.25);
}

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

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

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 18px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: normal; }
p { margin: 0 0 16px; color: var(--color-text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: inline-block;
}
.hero .eyebrow { color: var(--color-accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-dark {
  background: var(--color-primary);
  color: #fff;
}
.btn-dark:hover { background: var(--color-primary-hover); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
  color: var(--color-text);
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--color-bg-alt); }
.main-nav a.active { color: var(--color-primary); box-shadow: inset 0 -2px 0 var(--color-accent); }

.nav-group { position: relative; }
.nav-group .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a { border-radius: 6px; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
  white-space: nowrap;
}

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

/* Hero — full-bleed photo */
.hero-photo {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(41,43,55,.88) 0%, rgba(41,43,55,.45) 40%, rgba(41,43,55,.05) 70%);
}
.hero-photo-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 80px;
  color: #fff;
}
.hero-photo h1 { color: #fff; }
.hero-photo p.lead { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 46ch; }
.hero-photo .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* Rotating hero (multiple slides) */
.hero-rotating { position: relative; min-height: 82vh; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(41,43,55,.88) 0%, rgba(41,43,55,.45) 40%, rgba(41,43,55,.05) 70%);
  z-index: 0;
}
.hero-slide .hero-photo-overlay { z-index: 1; }
.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dot.active { background: var(--color-accent); border-color: var(--color-accent); }

/* Large product-category cards */
.category-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .4s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,19,23,.85) 0%, rgba(20,19,23,.1) 60%, rgba(20,19,23,0) 80%);
  z-index: -1;
}
.category-card h3 { color: #fff; margin-bottom: 8px; }
.category-card p { color: rgba(255,255,255,.82); margin-bottom: 18px; font-size: .93rem; }
.category-card .btn { align-self: flex-start; }

/* Feature row (4 icons) */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature-item { text-align: center; }
.feature-item .feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-item p { font-size: .9rem; margin: 0; }

/* Recent projects (2-col article cards) */
.project-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.project-card { text-decoration: none; display: block; }
.project-card .project-img {
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.project-card .project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-img img { transform: scale(1.04); }
.project-card h3 { margin-bottom: 8px; }
.project-card .project-link { color: var(--color-accent-hover); font-weight: 700; font-size: .9rem; }

/* Kept for subpages that still use a boxed visual */
.hero-visual {
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Stats bar */
.stats-bar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 24px;
}
.stat { text-align: center; }
.stat .value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}
.stat .label { font-size: .9rem; color: var(--color-text-muted); }

/* Sections */
section { padding: 104px 0; }
section.alt { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Card grid */
.grid {
  display: grid;
  gap: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
  text-decoration: none;
  display: block;
}
.card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.card .card-img { aspect-ratio: 4/3; background: var(--color-bg-alt); overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 28px; }
.card .card-body h3 { margin-bottom: 10px; }
.card .card-body p { margin: 0; font-size: .95rem; }

/* USP list */
.usp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.usp-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
}
.usp-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}
.testimonial .stars { color: var(--color-accent); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .author { font-weight: 700; margin-top: 12px; font-size: .9rem; color: var(--color-text); }

/* CTA band */
.cta-band {
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--color-on-accent); }
.cta-band p { color: rgba(41,43,55,.75); }

/* Forms */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  color: var(--color-text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--color-text-muted); margin-top: 10px; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.ok { color: #1a7f4e; }
.form-status.error { color: #b3261e; }

/* Contact info blocks */
.info-block { display: flex; gap: 14px; margin-bottom: 20px; }
.info-block .icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Breadcrumb / page hero (subpages) */
.page-hero {
  background: var(--color-bg-alt);
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb { font-size: .85rem; color: var(--color-text-muted); margin-bottom: 10px; }
.breadcrumb a { text-decoration: none; color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-cards { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .project-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta .header-phone { display: none; }
  .nav-toggle { display: block; }
  .stats-bar .container { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero-photo, .hero-rotating { min-height: 60vh; }
  .hero-photo-overlay { padding-bottom: 48px; }
  .category-cards { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .hero-dots { bottom: 18px; }

  body.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav-group .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 14px;
  }
}
