/* ========================================
   POLY TOTAAL — J. Benjamins Bouwservice
   Stijl geïnspireerd op verandatotaal.com
   ======================================== */

:root {
  --primary: #cc0000;
  --primary-dark: #111111;
  --primary-hover: #a30000;
  --primary-light: #fbe9e7;
  --gold: #d8bc7a;
  --gold-soft: rgba(216, 188, 122, 0.35);
  --success: #00b090;
  --dark: #1a1a1a;
  --gray: #666666;
  --gray-light: #8a8a8a;
  --light-gray: #f8f5f5;
  --border: #ece8e8;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-sm: 6px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

.container { max-width: 1200px; margin: 0 auto; }

.font-serif { font-family: var(--font-serif); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold);
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--light-gray);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%) 1;
  border-bottom: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--gray);
  position: sticky;
  top: 0;
  z-index: 200;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 2rem;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-rating { font-weight: 600; color: var(--dark); }
.topbar-divider { color: #d8d3d3; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.74rem; }
.topbar-right a:hover { text-decoration: underline; }

/* ---- HEADER ---- */
.header-white {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 30px;
  z-index: 100;
}
.header-white-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark-img { height: 34px; width: auto; display: block; }
.footer-logo-img { height: 30px; width: auto; display: block; margin-bottom: 12px; }

.nav-white { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav-link {
  position: relative;
  color: #444444;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.18s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: 12px 2rem; background: var(--light-gray); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 8px; align-items: center; font-size: 0.875rem; color: var(--gray); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---- PAGE INTRO ---- */
.page-intro { padding: 56px 2rem 24px; background: white; }
.page-intro h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.page-intro p { color: var(--gray); font-size: 1rem; max-width: 680px; }

/* ---- HERO ---- */
.hero {
  background:
    radial-gradient(circle at 78% 30%, rgba(204,0,0,0.18) 0%, transparent 55%),
    linear-gradient(135deg, rgba(20,16,16,0.55) 0%, rgba(40,10,10,0.38) 55%, rgba(20,16,16,0.52) 100%),
    url('assets/hero-header.jpg');
  background-size: cover;
  background-position: center 65%;
  padding: 110px 2rem 90px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.1rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  max-width: 620px;
  margin: 0 auto 2.2rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-sans);
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--light-gray); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid rgba(216,188,122,0.5); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(216,188,122,0.1); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* ---- SECTIONS ---- */
.section { padding: 64px 2rem; background: white; }
.section-alt { background: var(--light-gray); border-top: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); }
.section-title { margin-bottom: 36px; }
.section-title.center { text-align: center; }
.section-title.center .eyebrow { justify-content: center; }
.section-title.center .eyebrow::before { display: none; }
.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.section-title.center h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}
.section-title p { color: var(--gray); font-size: 1rem; max-width: 640px; }
.section-title.center p { margin: 16px auto 0; }

/* ---- SERVICE / USP CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.info-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.info-card p { font-size: 0.9rem; color: var(--gray); }

/* ---- USP STRIP ---- */
.usp-strip { background: var(--white); padding: 40px 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.usp-strip-grid { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.usp-strip-item { display: flex; align-items: center; gap: 14px; color: var(--dark); }
.usp-strip-icon { font-size: 1.3rem; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--light-gray); border: 1px solid var(--gold-soft); display: flex; align-items: center; justify-content: center; }
.usp-strip-item strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--dark); }
.usp-strip-item span { font-size: 0.78rem; color: var(--gray); }

/* ---- BRAND CARDS (Onze merken) ---- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.brand-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.brand-card-logo {
  height: 140px;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.brand-card-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.brand-card-body { padding: 22px 24px 26px; }
.brand-card-body h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.brand-card-body p { font-size: 0.88rem; color: var(--gray); }

/* ---- TEAM (Over ons) ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.team-card h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.team-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.75; }
.team-card p + p { margin-top: 12px; }

/* ---- GALLERY (Projecten / Kleuren) ---- */
.gallery-grid {
  columns: 4 240px;
  column-gap: 16px;
}
.gallery-grid img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  break-inside: avoid;
  box-shadow: var(--shadow);
}

/* ---- KERALIT MODELS ---- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.model-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.model-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lift); }
.model-card h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.model-card ul { list-style: none; margin-bottom: 12px; }
.model-card ul li { font-size: 0.85rem; color: var(--gray); padding: 3px 0; }
.model-card p { font-size: 0.88rem; color: var(--gray); }

/* ---- STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step-card { background: white; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 28px 20px; text-align: center; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: white;
  box-shadow: 0 0 0 4px var(--gold-soft);
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.step-card p { font-size: 0.85rem; color: var(--gray); }

/* ---- CONTACT FORM ---- */
.contact-section { padding: 72px 2rem; background: white; }
.contact-section h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; }
.contact-form { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  background: var(--light-gray);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); background: white; }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ---- SIMPLE CTA (Deuren) ---- */
.cta-simple { text-align: center; padding: 100px 2rem; }
.cta-simple h1 { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; margin-bottom: 16px; }
.cta-simple p { color: var(--gray); max-width: 520px; margin: 0 auto 28px; }

/* ---- KEURMERK / INFO SPLIT ---- */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.info-text h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; margin-bottom: 14px; color: var(--dark); }
.info-text p { color: var(--gray); margin-bottom: 16px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-list li { font-size: 0.92rem; color: var(--dark); }
.info-visual { display: flex; justify-content: center; align-items: center; background: var(--light-gray); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }

/* ---- FOOTER ---- */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 2rem 24px;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%) 1;
}
.footer-inner { max-width: 1200px; margin: 0 auto; margin-bottom: 32px; }
.footer-brand { max-width: 480px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: var(--primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(216,188,122,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55) !important; }
.footer-bottom-left p { margin: 0; }
.footer-legal-links { margin-top: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-legal-links a { color: rgba(255,255,255,0.4) !important; text-decoration: none; }
.footer-legal-links a:hover { color: var(--gold) !important; }
.footer-legal-links .sep { margin: 0 8px; color: rgba(255,255,255,0.2); }
.footer-pages-inline { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; }
.footer-pages-inline a { color: rgba(255,255,255,0.55) !important; text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-pages-inline a:hover { color: var(--gold) !important; }

/* ---- LEGAL PAGES ---- */
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--dark); margin-bottom: 10px; padding-left: 14px; border-left: 3px solid var(--primary); }
.legal-section p, .legal-section li { color: #444; line-height: 1.75; font-size: 0.9rem; margin-bottom: 8px; }
.legal-section ul { padding-left: 20px; }
.legal-list { list-style: none; padding-left: 0; }
.legal-list li { padding: 4px 0 4px 20px; position: relative; color: #444; font-size: 0.9rem; }
.legal-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--light-gray);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ---- RAL COLOR CALLOUT (Kleuren) ---- */
.kleur-ral-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--light-gray);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 32px;
}
.kleur-ral-strip strong { color: var(--primary); }
.kleur-ral-strip p { font-size: 0.85rem; color: var(--gray); margin: 4px 0 0; }
.kleur-ral-strip .btn { flex-shrink: 0; margin-left: auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .info-split { grid-template-columns: 1fr; gap: 32px; }
  .info-visual { display: none; }
  .usp-strip-grid { gap: 16px; }
  .header-white-inner { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav-white { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .gallery-grid { columns: 2 200px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-pages-inline { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 1.25rem 56px; }
  .hero h1 { font-size: 1.9rem; }
  .gallery-grid { columns: 1; }
}

/* Print */
@media print {
  header, footer, .topbar { display: none; }
}
