/*
Theme Name: Anjo de Jong
Theme URI: https://anjodejong.nl
Author: Anjo de Jong
Author URI: https://anjodejong.nl
Description: Warm en persoonlijk WordPress-thema voor het persoonlijk merk van Anjo de Jong — Growth Marketing Team Lead. Thought leadership over growth marketing, search, AI, automatisering en persoonlijke groei.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anjo-de-jong
*/

/* ============================================================
   Design tokens — warme, persoonlijke sfeer
   ============================================================ */
:root {
  --cream:        #FBF7F1;
  --sand:         #F1E5D8;
  --sand-deep:    #E7D3BF;
  --terracotta:   #C76B4A;
  --terracotta-d: #A8542F;
  --ink:          #3A2E28;
  --ink-soft:     #6B5C52;
  --white:        #FFFFFF;
  --shadow:       0 18px 40px -24px rgba(58, 46, 40, 0.45);
  --radius:       18px;
  --radius-lg:    28px;
  --maxw:         1140px;
  --font-head:    "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-d); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.2em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--terracotta-d);
  margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--terracotta-d); border-color: var(--terracotta-d); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--terracotta-d); }
.btn--ghost:hover { background: var(--terracotta); color: var(--white); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-deep);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--ink); line-height: 1; display: inline-flex; align-items: center; }
.brand span { color: var(--terracotta); }
.brand .custom-logo-link { display: inline-flex; align-items: center; }
.brand img, .custom-logo { max-height: 48px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 1rem; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--terracotta-d); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(160deg, var(--sand) 0%, var(--cream) 60%);
  padding: 96px 0 80px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero__title { margin-bottom: .3em; }
.hero__title em { font-style: italic; color: var(--terracotta-d); }
.hero__media {
  background: var(--sand-deep);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-style: italic;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ============================================================
   Cards & grids
   ============================================================ */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--sand-deep);
}
.card h3 { margin-bottom: .4em; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* Topic pills */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 500;
  color: var(--ink);
}

/* ============================================================
   Story / alternating blocks
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--alt { background: var(--sand); }
.note {
  background: var(--sand);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 26px;
  font-style: italic;
  color: var(--ink-soft);
}

/* ============================================================
   Blog
   ============================================================ */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--sand-deep);
  display: flex; flex-direction: column;
}
.post-card__thumb { aspect-ratio: 16/9; background: var(--sand-deep); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; }
.post-card__meta { font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.post-card__title { font-size: 1.35rem; margin-bottom: .4em; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--terracotta-d); }

.single-content { max-width: 760px; margin: 0 auto; }
.single-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-meta { color: var(--ink-soft); font-size: .95rem; margin-bottom: 2rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact-form { display: grid; gap: 18px; }
.contact-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.contact-form textarea { min-height: 160px; resize: vertical; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--cream); }
.cta-band .btn { background: var(--terracotta); border-color: var(--terracotta); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--sand);
  border-top: 1px solid var(--sand-deep);
  padding: 56px 0 32px;
  margin-top: 0;
}
.site-footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.site-footer h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--ink-soft); }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--sand-deep); font-size: .9rem; color: var(--ink-soft); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .hero__grid, .split, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4/5; order: -1; width: 100%; max-width: 320px; margin: 0 auto 8px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--sand-deep); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 18px 24px; gap: 16px; }
  .nav-toggle { display: block; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 60px 0; }
}

/* ============================================================
   Algemene formulier-styling (ook voor formulier-plugins/-blokken)
   ============================================================ */
.site-main input[type="text"],
.site-main input[type="email"],
.site-main input[type="url"],
.site-main input[type="tel"],
.site-main input[type="search"],
.site-main input[type="number"],
.site-main input:not([type]),
.site-main textarea,
.site-main select {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1px solid var(--sand-deep) !important;
  border-radius: 12px !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  background: var(--white) !important;
  color: var(--ink) !important;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-main textarea { min-height: 160px !important; resize: vertical; }
.site-main input:focus,
.site-main textarea:focus,
.site-main select:focus {
  outline: none;
  border-color: var(--terracotta) !important;
  box-shadow: 0 0 0 3px rgba(199, 107, 74, 0.15) !important;
}
.site-main label { font-weight: 600; color: var(--ink); }

/* Verzendknop (button, submit en knop-blok) themen */
.site-main button[type="submit"],
.site-main input[type="submit"],
.site-main button.wp-block-button__link,
.site-main .wp-block-button__link,
.site-main form button {
  display: inline-block !important;
  width: auto !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  border: 2px solid var(--terracotta) !important;
  background: var(--terracotta) !important;
  color: var(--white) !important;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-main button[type="submit"]:hover,
.site-main input[type="submit"]:hover,
.site-main .wp-block-button__link:hover,
.site-main form button:hover {
  background: var(--terracotta-d) !important;
  border-color: var(--terracotta-d) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
