/*
Theme Name: Eleqtrix
Theme URI: https://eleqtrix.be
Author: Eleqtrix
Description: Custom onepager WordPress-theme voor Eleqtrix — Elektriciteit, Energie & Domotica. Gebaseerd op de Eleqtrix brand guidelines (Noir/Or paletten, Georgia/Arial typografie).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eleqtrix
*/

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

:root {
  --noir: #0D0D0F;
  --ardoise: #1A1A22;
  --or: #C8A96E;
  --or-light: #D9BC88;
  --ivoire: #F5F0E8;
  --craie: #F7F5F0;
  --text-muted: #8A8070;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,15,0.95);
  border-bottom: 0.5px solid rgba(200,169,110,0.15);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-line { width: 2px; height: 32px; background: var(--or); }
.nav-wordmark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--ivoire);
}

.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--or); }

.nav-cta {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  text-decoration: none;
  border: 0.5px solid var(--or);
  padding: 8px 20px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--or); color: var(--noir); }

/* HERO */
.hero-wrap {
  position: relative;
  border-bottom: 0.5px solid rgba(200,169,110,0.12);
  overflow: hidden;
}

.hero-circuit {
  position: absolute;
  top: 0; right: 0;
  width: min(64vw, 900px);
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}
.circuit-line {
  fill: none;
  stroke: rgba(200,169,110,0.22);
  stroke-width: 1;
}
.circuit-node { fill: rgba(200,169,110,0.35); }
.circuit-pulse {
  fill: none;
  stroke: var(--or);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 700;
  animation: pulse-flow 7s linear infinite;
}
.circuit-pulse.delay { animation-delay: 3.5s; opacity: 0.7; }
@keyframes pulse-flow {
  0% { stroke-dashoffset: 700; opacity: 0; }
  5% { opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 1px;
  color: var(--ivoire);
  margin-bottom: 2rem;
}
.hero h1 em { font-style: normal; color: var(--or); }

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.5rem; }
.hero-tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or);
  border: 0.5px solid rgba(200,169,110,0.35);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn-primary {
  background: var(--or);
  color: var(--noir);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--or-light); }

.btn-ghost {
  color: var(--ivoire);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  border: 0.5px solid rgba(245,240,232,0.25);
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--ivoire); }

/* GOLD DIVIDER */
.divider { width: 100%; height: 0.5px; background: rgba(200,169,110,0.2); }

/* SECTION BASE */
section { padding: 6rem 2rem; max-width: 900px; margin: 0 auto; }

.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ivoire);
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* DIENSTEN */
#diensten { max-width: 1160px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: rgba(200,169,110,0.12);
  border: 0.5px solid rgba(200,169,110,0.12);
  margin-top: 3.5rem;
}

.service-item { background: var(--noir); padding: 3rem 2rem; transition: background 0.2s; }
.service-item:hover { background: var(--ardoise); }

.service-number {
  font-family: var(--serif);
  font-size: 44px;
  color: rgba(200,169,110,0.2);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.service-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ivoire);
  margin-bottom: 0.85rem;
}

.service-body { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* PROJECTEN */
#projecten { max-width: 1160px; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200,169,110,0.12);
  border: 0.5px solid rgba(200,169,110,0.12);
  margin-top: 3.5rem;
}
.project-card { background: var(--noir); padding: 2.75rem 2rem; transition: background 0.2s; }
.project-card:hover { background: var(--ardoise); }
.project-icon { margin-bottom: 1.5rem; }
.project-title { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ivoire); margin-bottom: 0.6rem; }
.project-body { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

/* ONDERSCHEIDING */
.distinction { background: var(--ardoise); padding: 6rem 2rem; }
.distinction-inner { max-width: 900px; margin: 0 auto; }

.distinction-quote {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ivoire);
  border-left: 2px solid var(--or);
  padding-left: 2rem;
  margin: 3rem 0;
}

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pillar { padding-top: 1.5rem; border-top: 0.5px solid rgba(200,169,110,0.25); }
.pillar-title { font-size: 13px; font-weight: 500; letter-spacing: 1px; color: var(--or); margin-bottom: 0.5rem; text-transform: uppercase; }
.pillar-body { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* WIE ZIJN WIJ */
#team { max-width: 1160px; }

.team-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(200,169,110,0.12);
  border: 0.5px solid rgba(200,169,110,0.12);
  margin-top: 3.5rem;
}
.team-card-v2 {
  background: var(--noir);
  padding: 3rem 2.5rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.team-card-v2::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at top right, rgba(200,169,110,0.10), transparent 70%);
  pointer-events: none;
}
.team-card-v2:hover { background: var(--ardoise); }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0.5px solid rgba(200,169,110,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--or);
  margin-bottom: 1.75rem;
}
.team-name-v2 { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--ivoire); margin-bottom: 0.4rem; }
.team-role-v2 { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--or); }
.team-divider { width: 32px; height: 0.5px; background: rgba(200,169,110,0.4); margin: 1.5rem 0; }
.team-path { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.team-path strong { color: var(--ivoire); font-weight: 400; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.team-tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or);
  border: 0.5px solid rgba(200,169,110,0.35);
  padding: 6px 12px;
  border-radius: 999px;
}

/* WERKWIJZE */
.steps { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 2rem; padding: 2rem 0; border-bottom: 0.5px solid rgba(200,169,110,0.12); }
.step:first-child { border-top: 0.5px solid rgba(200,169,110,0.12); }
.step-num { font-family: var(--serif); font-size: 13px; color: var(--or); min-width: 24px; padding-top: 2px; }
.step-content h3 { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--ivoire); margin-bottom: 0.4rem; }
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* CONTACT */
.contact-section { background: var(--ardoise); padding: 6rem 2rem; }
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-detail-label { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--or); margin-bottom: 0.25rem; }
.contact-detail-value { font-size: 15px; color: var(--ivoire); }

/* CONTACT FORM 7 — gestyled naar het merk */
.contact-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form-wrap .wpcf7-form p { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-form-wrap .wpcf7-form label { display: none; }
.contact-form-wrap .wpcf7-form-control {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(200,169,110,0.2);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-form-wrap .wpcf7-form-control::placeholder { color: var(--text-muted); }
.contact-form-wrap .wpcf7-form-control:focus { border-color: var(--or); }
.contact-form-wrap textarea.wpcf7-form-control { min-height: 120px; resize: vertical; }

.contact-form-wrap .wpcf7-submit {
  background: var(--or);
  color: var(--noir);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.contact-form-wrap .wpcf7-submit:hover { background: var(--or-light); }
.contact-form-wrap .wpcf7-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-form-wrap .wpcf7-not-valid-tip {
  color: #e0a06e;
  font-size: 12px;
  margin-top: 4px;
}
.contact-form-wrap .wpcf7-response-output {
  font-size: 13px;
  color: var(--or);
  border: 0.5px solid rgba(200,169,110,0.3);
  padding: 10px 14px;
  margin-top: 1rem;
}
.contact-form-wrap .wpcf7-spinner { display: none; }

/* FOOTER */
footer {
  padding: 2.5rem 2rem;
  border-top: 0.5px solid rgba(200,169,110,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-line { width: 1.5px; height: 24px; background: var(--or); }
.footer-wordmark { font-family: var(--serif); font-size: 14px; letter-spacing: 3px; color: var(--ivoire); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.25rem; }
  .distinction { padding: 4rem 1.25rem; }
  .contact-section { padding: 4rem 1.25rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { padding: 2rem 1.25rem; flex-direction: column; align-items: flex-start; }
  .hero-circuit { width: 100vw; opacity: 0.25; }
}
