/*
Theme Name: Splinter Theme
Theme URI: https://bouwbedrijfsplinter.nl
Author: Bouwbedrijf Splinter
Author URI: https://bouwbedrijfsplinter.nl
Description: Professionele website voor Bouwbedrijf Splinter uit Bussum. Service SaaS Hybrid stijl.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: splinter-theme
Tags: business, one-page, custom-colors, full-width-template
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
p  { font-size: 1rem; line-height: 1.7; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--alt { background: #f9fafb; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.text-center { text-align: center; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

/* ============================================================
   COLOURS
   ============================================================ */
:root {
  --blue:      #2563eb;
  --blue-dark: #1d4ed8;
  --blue-bg:   #eff6ff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-700:  #374151;
  --gray-900:  #111827;
  --yellow:    #f59e0b;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .9rem; border-radius: .75rem;
  padding: .85rem 1.75rem; transition: all .2s; cursor: pointer;
  border: none; line-height: 1;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline  { background: transparent; border: 1.5px solid var(--gray-200); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo-icon {
  width: 2rem; height: 2rem; background: var(--blue);
  border-radius: .5rem; display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 1rem; height: 1rem; color: #fff; stroke: #fff; }
.nav-logo-text { font-weight: 700; font-size: .9rem; color: var(--gray-900); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--gray-500); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 5rem 0 6rem; background: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue-bg); color: var(--blue);
  font-size: .75rem; font-weight: 600; padding: .4rem 1rem;
  border-radius: 9999px; margin-bottom: 1.5rem;
}
.hero-badge .stars { color: var(--yellow); }
.hero h1 { color: var(--gray-900); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--blue); }
.hero-sub { font-size: 1.125rem; color: var(--gray-500); max-width: 28rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.hero-stat-value { font-size: 1.75rem; font-weight: 800; color: var(--blue); }
.hero-stat-label { font-size: .75rem; color: var(--gray-400); margin-top: .125rem; }
.hero-stat-divider { width: 1px; background: var(--gray-200); align-self: stretch; }
.hero-image { border-radius: 1rem; overflow: hidden; border: 1px solid var(--gray-100); box-shadow: 0 4px 16px rgba(0,0,0,.06); aspect-ratio: 4/3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-image { display: none; }
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .75rem;
}
.section-title { color: var(--gray-900); margin-bottom: 1rem; }
.section-sub { color: var(--gray-500); max-width: 36rem; margin: 0 auto; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--gray-50); border-radius: .75rem;
  border: 1px solid var(--gray-100); padding: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,99,235,.08); }
.card-icon {
  width: 2.5rem; height: 2.5rem; background: var(--blue-bg);
  border-radius: .5rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--blue); fill: none; }
.card h3 { color: var(--gray-900); margin-bottom: .5rem; }
.card p  { color: var(--gray-500); font-size: .9rem; margin-bottom: .75rem; }
.card-cta { color: var(--blue); font-size: .875rem; font-weight: 600; }

/* ============================================================
   BENEFITS BAR
   ============================================================ */
.benefits-bar { background: var(--blue); padding: 3rem 0; }
.benefit-item { color: #fff; }
.benefit-item h3 { font-size: 1rem; margin-bottom: .375rem; }
.benefit-item p  { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.benefit-icon {
  width: 2.5rem; height: 2.5rem; background: rgba(255,255,255,.15);
  border-radius: .5rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.benefit-icon svg { width: 1.25rem; height: 1.25rem; stroke: #fff; fill: none; }

/* ============================================================
   REVIEWS
   ============================================================ */
.review-card {
  background: #fff; border-radius: .75rem;
  border: 1px solid var(--gray-100); padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,99,235,.08); }
.review-stars { color: var(--yellow); font-size: .875rem; margin-bottom: .75rem; }
.review-text { color: var(--gray-600, #4b5563); font-size: .875rem; line-height: 1.65; margin-bottom: 1rem; }
.review-author { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--gray-100); }
.review-avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  background: var(--blue-bg); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.review-name { font-weight: 600; font-size: .875rem; color: var(--gray-900); }
.review-location { font-size: .75rem; color: var(--gray-400); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: #fff; padding: 5rem 0; }
.cta-section h2 { color: var(--gray-900); margin-bottom: 1rem; }
.cta-section p  { color: var(--gray-500); font-size: 1.125rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  background: #fff; border-radius: .75rem;
  border: 1px solid var(--gray-100); padding: 1.5rem;
  text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.contact-card h3 { font-size: 1rem; color: var(--gray-900); margin-bottom: .5rem; }
.contact-card a  { color: var(--blue); font-weight: 600; font-size: 1rem; }
.contact-card p  { color: var(--gray-500); font-size: .875rem; }
.contact-icon {
  width: 3rem; height: 3rem; background: var(--blue-bg);
  border-radius: .75rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.contact-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--blue); fill: none; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  max-width: 36rem; margin: 2.5rem auto 0;
  background: var(--gray-50); border-radius: .75rem;
  border: 1px solid var(--gray-100); padding: 2rem;
}
.contact-form-wrap h3 { font-size: 1.125rem; color: var(--gray-900); margin-bottom: 1.5rem; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; color: var(--gray-700); margin-bottom: .375rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .75rem 1rem;
  border: 1px solid var(--gray-200); border-radius: .5rem;
  font-size: .875rem; font-family: inherit; color: var(--gray-900);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group textarea { resize: vertical; min-height: 6rem; }
.form-submit { width: 100%; margin-top: .5rem; justify-content: center; }
.form-notice { font-size: .8rem; color: var(--gray-400); text-align: center; margin-top: .75rem; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { font-weight: 700; color: #fff; font-size: .9rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: .875rem; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: .75rem; color: #4b5563; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--blue); }
.stat-label { font-size: .75rem; color: var(--gray-400); margin-top: .125rem; }

/* ============================================================
   ABOUT STATS
   ============================================================ */
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.about-stat { background: #fff; border-radius: .75rem; padding: 1rem; text-align: center; border: 1px solid var(--gray-100); box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.about-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.about-stat-label { font-size: .75rem; color: var(--gray-400); margin-top: .25rem; }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
.hide-mobile { }
@media (max-width: 900px) { .hide-mobile { display: none !important; } }
