/*
Theme Name:   ProXXy
Theme URI:    https://proxxy.nl
Description:  Volledig nieuw ontworpen, zelfstandig WordPress-thema voor ProXXy — webdesign, hosting en WordPress-beveiliging sinds 2003. Snel, licht en zonder pagebuilder.
Author:       ProXXy
Author URI:   https://proxxy.nl
Version:      1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  proxxy
*/

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  --ink:      #101d2e;   /* diep inkt-blauw: koppen, header, footer */
  --ink-2:    #1a2c42;
  --paper:    #f7f9fc;   /* lichte achtergrond */
  --white:    #ffffff;
  --accent:   #187dc1;   /* logoblauw: actie & nadruk */
  --accent-d: #135f94;
  --ok:       #21c07a;   /* statusgroen: beveiligd/online */
  --muted:    #5b6b7d;
  --line:     #dde5ee;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --radius:   14px;
  --shadow:   0 12px 34px rgba(16, 29, 46, .10);
  --wrap:     1140px;
}

/* ==========================================================================
   BASIS
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: #33445a;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1.2em; }

a { color: var(--accent-d); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin-bottom: 14px;
}

/* Knoppen */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(240, 90, 40, .32);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(24,125,193,.4); }

.btn--ghost {
  background: transparent;
  color: var(--ink) !important;
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px;
  color: var(--ink); text-decoration: none !important;
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }

.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-weight: 600; font-size: 15px; color: var(--ink);
  text-decoration: none !important;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a { border-bottom-color: var(--accent); color: var(--accent-d); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

/* ==========================================================================
   HERO — signatuur: het statuspaneel
   ========================================================================== */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(24,125,193,.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  padding: 90px 0 100px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }

.hero p.lead { font-size: 19px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 20px; }

/* Statuspaneel: knipoog naar hun monitoring-werk */
.status-card {
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 20px;
  color: #cdd9e8;
  font-family: var(--font-mono);
  font-size: 14px;
  transform: rotate(1.2deg);
}
.status-card__bar { display: flex; gap: 7px; margin-bottom: 20px; }
.status-card__bar i { width: 10px; height: 10px; border-radius: 50%; background: #33465e; }
.status-card__bar i:first-child { background: var(--accent); }
.status-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.status-row:last-child { border-bottom: 0; }
.status-ok { color: var(--ok); display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(33,192,122,.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(33,192,122,.45); }
  70%  { box-shadow: 0 0 0 9px rgba(33,192,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(33,192,122,0); }
}

/* ==========================================================================
   SECTIES
   ========================================================================== */
.section { padding: 96px 0; }
.section--tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }

/* Diensten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(24,125,193,.10); color: var(--accent-d);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 16px; }

/* Werkwijze (echte volgorde → nummering is hier betekenisvol) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .1em;
  color: var(--accent-d);
  display: block; margin-bottom: 12px;
}
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Sinds 2003-band */
.band {
  background: var(--ink);
  color: #c9d6e6;
  padding: 84px 0;
}
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.band h2 { color: #fff; }
.band ul { list-style: none; margin: 0; padding: 0; }
.band li {
  padding: 13px 0 13px 34px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.band li:last-child { border-bottom: 0; }
.band li::before {
  content: "";
  position: absolute; left: 0; top: 20px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(33,192,122,.16);
  box-shadow: inset 0 0 0 2px var(--ok);
}
.band li::after {
  content: ""; position: absolute; left: 5px; top: 24px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

/* CTA */
.cta { text-align: center; }
.cta .section-head { margin: 0 auto 34px; }

/* ==========================================================================
   CONTENTPAGINA'S & BLOG — professioneel met een knipoog
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(700px 360px at 90% -20%, rgba(24,125,193,.12), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
/* speels stippenraster in de hoek */
.page-hero::after {
  content: "";
  position: absolute; right: -20px; bottom: -20px;
  width: 220px; height: 140px;
  background-image: radial-gradient(var(--line) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: .8;
  pointer-events: none;
}

/* schuine accentstreep achter het laatste stuk van de titel */
.title-mark { display: inline-block; position: relative; }
.title-mark::after {
  content: "";
  position: absolute; left: -2%; bottom: 4px;
  width: 46%; height: .32em;
  background: rgba(24,125,193,.18);
  transform: skew(-14deg);
  z-index: -1;
  border-radius: 3px;
}

.content { padding: 64px 0 80px; max-width: 760px; }
.content--wide { max-width: var(--wrap); }

/* Rijkere typografie binnen paginacontent */
.entry h2 { margin-top: 1.8em; padding-left: 18px; position: relative; }
.entry h2::before {
  content: "";
  position: absolute; left: 0; top: .18em;
  width: 5px; height: .95em;
  background: var(--accent);
  border-radius: 3px;
  transform: skew(0deg, -8deg);
}
.entry a { text-decoration: underline; text-decoration-color: rgba(24,125,193,.4); text-underline-offset: 3px; }
.entry a:hover { text-decoration-color: var(--accent); }
.entry ul { list-style: none; padding-left: 0; }
.entry ul li { padding: 4px 0 4px 26px; position: relative; }
.entry ul li::before {
  content: "";
  position: absolute; left: 2px; top: 13px;
  width: 12px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  transform: skew(-14deg);
}
.entry blockquote {
  margin: 1.6em 0; padding: 22px 26px;
  background: var(--paper);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.1em; color: var(--ink);
}
.entry img { border-radius: var(--radius); box-shadow: var(--shadow); }
.entry code { font-family: var(--font-mono); font-size: .9em; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.entry table { border-collapse: collapse; width: 100%; margin: 1.4em 0; }
.entry th, .entry td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.entry th { background: var(--paper); font-family: var(--font-display); }

.back-link { margin-top: 48px; font-family: var(--font-mono); font-size: 14px; }

/* Blogoverzicht als kaartenraster */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); border-color: transparent; }
.post-card h2 { font-size: 1.25rem; margin: 8px 0 10px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent-d); }
.post-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.post-card__more {
  margin-top: auto;
  font-family: var(--font-mono); font-size: 13.5px;
  text-decoration: none !important;
}
.post-meta {
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  margin: 0;
}
.pagination { margin-top: 44px; font-family: var(--font-mono); }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; margin-right: 6px; text-decoration: none; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Afsluitende CTA-band op contentpagina's */
.page-cta { background: var(--ink); padding: 58px 0; }
.page-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.page-cta .eyebrow { color: #7cc0ef; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.page-cta h2 { color: #fff; margin: 0; }
.dot--inline { display: inline-block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: #a9b8c9; padding: 64px 0 34px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 46px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: #d7e2ee; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 46px; padding-top: 22px;
  font-family: var(--font-mono); font-size: 13px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* Scroll-reveal (JS zet .is-visible) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero .wrap, .band .wrap { grid-template-columns: 1fr; gap: 44px; }
  .status-card { transform: none; max-width: 460px; }
  .cards, .steps, .post-grid { grid-template-columns: 1fr; }
  .page-cta__inner { justify-content: flex-start; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 30px; }

  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 24px 26px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; font-size: 17px; }
}
