/*
Theme Name: Guus Bouwservice
Theme URI: https://guusbouwservice.nl
Author: Vincent ICT
Author URI: https://vincent-ict.nl
Description: Custom single-page theme voor Guus Bouwservice — Vakmanschap met een glimlach. Warm, modern en responsief ontwerp met DM Serif Display titels en Outfit body tekst.
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: guusbouwservice
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ──── CSS VARIABLES ──── */
:root {
  --bg: #F7F6F3;
  --bg-alt: #EFEEE9;
  --dark: #1A1A1A;
  --dark-soft: #2D2D2D;
  --accent: #B87333;
  --accent-hover: #A06228;
  --accent-light: #D4956A;
  --text: #3A3A3A;
  --text-light: #7A7A7A;
  --white: #FFFFFF;
  --border: #E0DDD6;
  --green: #5B7A5E;
}

/* ──── RESET & BASE ──── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ──── NAV ──── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2.5rem; height: 72px;
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.4s;
}
.site-nav.scrolled {
  background: rgba(247,246,243,0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-menu { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
.nav-menu a {
  text-decoration: none; color: var(--text-light);
  font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.02em; transition: color 0.3s;
}
.nav-menu a:hover { color: var(--dark); }
.nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 0.6rem 1.4rem !important; border-radius: 100px !important;
  font-weight: 600 !important; transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--dark) !important; }
.mobile-toggle {
  display: none; background: none; border: none;
  width: 28px; height: 20px; position: relative; cursor: pointer;
}
.mobile-toggle span {
  position: absolute; left: 0; width: 100%;
  height: 2px; background: var(--dark); transition: 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

/* ──── HERO ──── */
.hero {
  height: 100vh; min-height: 620px;
  position: relative; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(44,30,15,0.75) 0%, rgba(44,30,15,0.45) 55%, rgba(184,115,51,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; width: 100%;
}
.hero-pills { display: flex; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-pill {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.13);
  padding: 0.45rem 1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 0.5rem;
}
.pill-dot { width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%; }
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  color: var(--white); line-height: 1.1;
  margin-bottom: 1.5rem; max-width: 700px;
  letter-spacing: -0.02em;
}
.hero h1 .hl { position: relative; display: inline; }
.hero h1 .hl::after {
  content: ''; position: absolute;
  bottom: 4px; left: -3px; right: -3px; height: 12px;
  background: rgba(184,115,51,0.35); z-index: -1; border-radius: 2px;
}
.hero-desc {
  font-size: 1.15rem; line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem; max-width: 520px; font-weight: 400;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: var(--accent); color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border-radius: 100px; transition: all 0.3s;
  border: 2px solid var(--accent);
}
.btn-hero:hover {
  background: var(--white); color: var(--dark);
  border-color: var(--white); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: transparent; color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border-radius: 100px; border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.3s;
}
.btn-hero-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ──── SHARED SECTION ──── */
section { padding: 6rem 2.5rem; }
.label {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent); margin-bottom: 0.6rem;
}
.s-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--dark); margin-bottom: 0.6rem;
  letter-spacing: -0.02em; line-height: 1.15;
}
.s-sub {
  color: var(--text-light); font-size: 1.05rem;
  line-height: 1.65; max-width: 560px;
}

/* ──── DIENSTEN ──── */
.diensten { background: var(--white); }
.diensten-top {
  max-width: 1200px; margin: 0 auto 3rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
}
.diensten-top .s-sub { max-width: 380px; }
.diensten-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.d-card {
  position: relative; border-radius: 14px; overflow: hidden;
  height: 290px; cursor: default;
}
.d-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.d-card:hover img { transform: scale(1.07); }
.d-info {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.78) 0%, transparent 55%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.5rem;
  transition: background 0.4s;
}
.d-card:hover .d-info {
  background: linear-gradient(to top, rgba(184,115,51,0.82) 0%, rgba(26,26,26,0.15) 60%);
}
.d-num {
  font-size: 0.68rem; font-weight: 700; color: var(--accent-light);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.3rem;
  opacity: 0; transform: translateY(6px); transition: all 0.3s;
}
.d-card:hover .d-num { opacity: 1; transform: translateY(0); }
.d-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--white); }
.d-card p {
  color: rgba(255,255,255,0.8); font-size: 0.85rem; line-height: 1.5;
  margin-top: 0.3rem; max-height: 0; overflow: hidden;
  opacity: 0; transition: all 0.4s;
}
.d-card:hover p { max-height: 60px; opacity: 1; }

/* ──── OVER ONS ──── */
.over-section {
  background: var(--dark); color: var(--white);
  position: relative; overflow: hidden;
}

.over-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4.5rem; align-items: center;
}
.over-left .label { color: var(--accent-light); }
.over-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem; letter-spacing: -0.02em; line-height: 1.15;
}
.over-left p { color: rgba(255,255,255,0.6); line-height: 1.8; font-size: 1rem; margin-bottom: 1rem; }
.over-usps { list-style: none; margin-top: 1.5rem; }
.over-usps li {
  padding: 0.5rem 0; display: flex; align-items: center;
  gap: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.85); font-size: 0.95rem;
}
.usp-dot {
  width: 22px; height: 22px; background: var(--green); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0;
}
.over-img { border-radius: 16px; overflow: hidden; height: 440px; position: relative; background: var(--dark-soft); }
.over-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.over-img-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--accent); color: var(--white);
  padding: 1rem 1.5rem; border-radius: 12px; text-align: center;
}
.over-img-badge .n { font-family: 'DM Serif Display', serif; font-size: 2.2rem; line-height: 1; }
.over-img-badge .l { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; opacity: 0.8; }

/* ──── WERKWIJZE ──── */
.werkwijze { background: var(--white); }
.werkwijze-center { max-width: 800px; margin: 0 auto; text-align: center; }
.werkwijze-center .s-sub { margin: 0 auto 3.5rem; }
.timeline { text-align: left; position: relative; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-step { position: relative; padding-bottom: 2.5rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -3rem; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border);
  transform: translateX(-8px); transition: all 0.3s;
}
.tl-step:hover .tl-dot {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(184,115,51,0.12);
}
.tl-num { font-size: 0.7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.25rem; }
.tl-step h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; }
.tl-step p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; max-width: 500px; }

/* ──── BANNER ──── */
.banner { height: 320px; position: relative; overflow: hidden; }
.banner-bg {
  position: absolute; inset: -40px 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat; background-attachment: fixed;
}
.banner-ov {
  position: absolute; inset: 0;
  background: rgba(44,30,15,0.6);
  display: flex; align-items: center; justify-content: center;
}
.banner-text { text-align: center; color: var(--white); padding: 0 2rem; }
.banner-text h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }
.banner-text p { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto; font-size: 1rem; }

/* ──── CONTACT ──── */
.contact-section { border-top: 1px solid var(--border); }
.contact-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem;
}
.contact-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--dark); margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.contact-left > p { color: var(--text-light); line-height: 1.6; margin-bottom: 2rem; font-size: 0.95rem; }
.c-link {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: var(--text); padding: 0.75rem 0;
  border-bottom: 1px solid var(--border); transition: color 0.3s; font-weight: 500;
}
.c-link:hover { color: var(--accent); }
.c-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt); display: flex;
  align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; transition: all 0.3s;
}
.c-link:hover .c-icon { background: var(--accent); color: var(--white); }

/* ──── CONTACT FORM ──── */
.c-form { display: flex; flex-direction: column; gap: 1rem; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.c-form input, .c-form textarea {
  width: 100%; padding: 0.9rem 1.1rem;
  border: 1px solid var(--border); border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: 0.92rem;
  color: var(--text); background: var(--bg-alt);
  outline: none; transition: all 0.3s;
}
.c-form input:focus, .c-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,115,51,0.08); }
.c-form textarea { resize: vertical; min-height: 115px; }
.c-submit {
  padding: 0.9rem 2rem; background: var(--accent); color: var(--white);
  border: none; border-radius: 100px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s; align-self: flex-start;
}
.c-submit:hover { background: var(--dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,26,26,0.15); }

/* CF7 overrides */
.wpcf7-form .c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%; padding: 0.9rem 1.1rem;
  border: 1px solid var(--border); border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: 0.92rem;
  color: var(--text); background: var(--bg-alt);
  outline: none; transition: all 0.3s;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,115,51,0.08); }
.wpcf7-form textarea { resize: vertical; min-height: 115px; }
.wpcf7-form input[type="submit"] {
  padding: 0.9rem 2rem; background: var(--accent); color: var(--white);
  border: none; border-radius: 100px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--dark); transform: translateY(-2px); }
.wpcf7-form .wpcf7-response-output { border-radius: 8px; margin-top: 1rem; }

/* ──── FOOTER ──── */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.5);
  padding: 2.5rem; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 1rem;
}
.site-footer .motto {
  font-family: 'DM Serif Display', serif;
  font-size: 0.95rem; color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ──── ANIMATIONS ──── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ──── RESPONSIVE ──── */
@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 1.5rem; gap: 1rem; align-items: flex-start;
  }
  section { padding: 4.5rem 1.5rem; }
  .diensten-grid { grid-template-columns: 1fr 1fr; }
  .diensten-top { flex-direction: column; align-items: flex-start; }
  .over-grid { grid-template-columns: 1fr; gap: 3rem; }
  .over-img { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .c-row, .wpcf7-form .c-row { grid-template-columns: 1fr; }
  .banner-bg { background-attachment: scroll; }
  .site-footer { padding: 2rem 1.5rem; }
}
@media (max-width: 600px) {
  .diensten-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
}
