/* ============================================================
   SYNVOLUTION SOFTWARE – Main Stylesheet
   WP: enqueue via functions.php → wp_enqueue_style()
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --blue:          #006fb9;
  --blue-dark:     #005a96;
  --blue-darker:   #004578;
  --blue-light:    #e8f3fb;
  --gray:          #7f7e82;
  --dark:          #0b1829;
  --dark-2:        #102036;
  --text:          #1e2432;
  --text-mid:      #4b5563;
  --text-light:    #9ca3af;
  --bg:            #ffffff;
  --bg-soft:       #f7f9fc;
  --border:        #e5e7eb;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --transition:    0.3s var(--ease);
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.16);
  --container:     1140px;
  --gutter:        clamp(1.25rem, 4vw, 2rem);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Section base ───────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--dark {
  background: var(--dark);
  color: white;
}

/* ── Typography helpers ─────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.section-eyebrow--light { color: rgba(255,255,255,.55); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
}
.section-title--light { color: white; }

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-mid);
  max-width: 54ch;
}
.section-desc--light { color: rgba(255,255,255,.7); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 111, 185, .3);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 111, 185, .4);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ── Reveal animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.25rem;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  padding-block: .875rem;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 32px; width: auto; }

.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  display: block;
  padding: .5rem .875rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: var(--transition);
}
.site-header.scrolled .nav-link { color: var(--text-mid); }

.nav-link:hover { color: white; background: rgba(255,255,255,.1); }
.site-header.scrolled .nav-link:hover { color: var(--blue); background: var(--blue-light); }

.nav-link--cta {
  background: var(--blue) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(0,111,185,.35);
}
.nav-link--cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,111,185,.45) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--dark);
  overflow: hidden;
}

/* Dot grid background */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 111, 185, .18) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  animation: dotsDrift 25s linear infinite;
}
@keyframes dotsDrift {
  from { background-position: 0 0; }
  to   { background-position: 36px 36px; }
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(0, 111, 185, .15) 0%, transparent 65%);
  border-radius: 50%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 4rem;
  position: relative;
  z-index: 1;
}

.hero__content { max-width: 560px; }

.hero__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
  padding: .35rem .85rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: white;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #4db8ff 0%, var(--blue) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 46ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero visual */
.hero__visual { display: flex; justify-content: center; align-items: center; }

.hero__mark-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 320px;
}

.hero__dna {
  width: 200px;
  height: 240px;
  position: relative;
  z-index: 2;
  animation: markFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(0,111,185,.4));
}
@keyframes markFloat {
  0%, 100% { transform: rotate(15deg) translateY(0); }
  50%       { transform: rotate(15deg) translateY(-12px); }
}

.hero__mark-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 111, 185, .45);
  box-shadow: 0 0 10px rgba(0, 111, 185, .12);
}
.hero__mark-ring--1 {
  width: 270px; height: 270px;
  animation: ringPulse 4s ease-in-out infinite;
}
.hero__mark-ring--2 {
  width: 330px; height: 330px;
  animation: ringPulse 4s ease-in-out infinite .8s;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .65; }
  50%       { transform: scale(1.05); opacity: .15; }
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%       { transform: translateY(10px); opacity: .8; }
}

/* ============================================================
   AANPAK / PILLARS
   ============================================================ */
.aanpak { background: var(--bg); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pillar:hover {
  border-color: rgba(0, 111, 185, .3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
}
.pillar__icon svg { width: 100%; height: 100%; }

.pillar h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .625rem;
  color: var(--text);
}
.pillar p {
  font-size: .9375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   PROJECTEN
   ============================================================ */
.projecten { background: var(--dark); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #4db8ff);
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(0, 111, 185, .35);
  transform: translateY(-5px);
}
.project-card:hover::before { opacity: 1; }

.project-card__image {
  margin: -2rem -2rem 1.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.project-card:hover .project-card__image img {
  transform: scale(1.04);
}

.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.project-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 111, 185, .15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.project-card__icon svg { width: 22px; height: 22px; }

.project-card__tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  padding: .25rem .7rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1);
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.project-card__desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.project-card__features {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.project-card__features li {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  padding-left: 1rem;
  position: relative;
}
.project-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  opacity: .7;
}

/* ============================================================
   WHY SYNVOLUTION
   ============================================================ */
.why { background: var(--bg-soft); }

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.why__text .section-title { margin-block: .75rem 1.25rem; }
.why__text > p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2rem;
}
.why__list li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--text);
  font-weight: 500;
}
.why__list svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

/* Stats grid */
.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.usp-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.usp-card:hover {
  border-color: rgba(0, 111, 185, .3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.usp-card__icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
}
.usp-card__icon svg { width: 20px; height: 20px; }

.usp-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.usp-card p {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--dark-2); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact__text .section-title { margin-block: .75rem 1rem; }

.contact__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact__email {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--transition);
}
.contact__email svg { width: 18px; height: 18px; }
.contact__email:hover { color: #4db8ff; }

.contact__address {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-top: 1rem;
  font-style: normal;
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
}
.contact__address svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); }

/* Contact form */
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: .5rem; }

.form-group label {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .75rem 1rem;
  font: inherit;
  font-size: .9375rem;
  color: white;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(0, 111, 185, .08);
}

.form-success {
  display: none;
  text-align: center;
  font-size: .9rem;
  color: #4ade80;
  padding: .75rem;
  background: rgba(74, 222, 128, .1);
  border-radius: 8px;
}
.form-success.is-visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: 2.5rem 1.75rem;
}

.footer__inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer__brand img { margin-bottom: .875rem; }
.footer__brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}

.footer__legal {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
  line-height: 1.8;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  justify-content: flex-end;
}
.footer__nav a {
  padding: .4rem .75rem;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.footer__nav a:hover {
  color: white;
  background: rgba(255,255,255,.06);
}

.footer__bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.25);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero__visual {
    order: -1;
    justify-content: center;
  }
  .hero__mark-wrap {
    width: 180px;
    height: 200px;
  }
  .hero__dna { width: 120px; height: 144px; }
  .hero__mark-ring--1 { width: 155px; height: 155px; }
  .hero__mark-ring--2 { width: 185px; height: 185px; }
  .hero__content { max-width: 100%; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__eyebrow { margin: 0 auto 1.25rem; }
  .hero__desc { margin-inline: auto; }

  .pillars { grid-template-columns: 1fr; gap: 1rem; }

  .projects-grid { grid-template-columns: 1fr; }

  .why__inner { grid-template-columns: 1fr; gap: 3rem; }

  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer__inner { flex-direction: column; }
  .footer__nav ul { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(11, 24, 41, .98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 99;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }
  .nav-link {
    font-size: 1.375rem;
    font-weight: 700;
    padding: .75rem 1.5rem;
    color: white !important;
  }
  .nav-link:hover { background: rgba(255,255,255,.08) !important; }

  .nav-toggle { display: flex; z-index: 100; }

  .why__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .why__stats { grid-template-columns: 1fr; }
}
