/*
Theme Name: TDK Teus de Kruyf
Theme URI: https://teusdekruyf.nl
Author: Teus de Kruyf
Description: Persoonlijke, responsive one-page website voor Teus de Kruyf — bokser, trainer en eigenaar van Boksschool Teus de Kruyf en het Teus de Kruyf Institute. Zelfde stijl en opbouw als beide bedrijfswebsites, in zwart/goud.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tdk-boks
*/

/* =========================================================
   0. TOKENS
   ========================================================= */
:root{
  --ink: #121212;
  --charcoal: #1e1e1e;
  --canvas: #f5f5f2;
  --red: #c9a227;
  --red-dark: #a3831c;
  --gold: #c9a227;
  --white: #ffffff;
  --slate: #4a4a4a;
  --slate-light: #7a7a7a;

  --font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --font-label: "Barlow Condensed", "Segoe UI", Arial, sans-serif;

  --header-h: 100px;
  --header-h-scrolled: 76px;
  --container: 1180px;
}

/* =========================================================
   1. RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
/* Note: no blanket ul{list-style:none} reset here on purpose — that would
   strip bullet points from ordinary page/post content (e.g. "Over ons",
   Privacyverklaring). UI lists that need no bullets get list-style:none
   explicitly, scoped to their own class below. */
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.05;
  margin: 0 0 .5em;
}
p{ margin:0 0 1em; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior:auto !important; }
}

.eyebrow{
  font-family: var(--font-label);
  font-weight:600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  font-size: .85rem;
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 28px; height: 3px;
  background: var(--gold);
  display:inline-block;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-label);
  font-weight:700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: .9rem;
  padding: 14px 30px;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  border-radius: 2px;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover{ background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn.btn-outline{
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn.btn-outline:hover{ background: var(--white); color: var(--ink); }
.btn.btn-gold{ background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.btn-gold:hover{ background:#b18e1f; border-color:#b18e1f; }

/* =========================================================
   2. HEADER
   ========================================================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 999;
  height: var(--header-h);
  background: rgba(18,18,18,.98);
  display:flex;
  align-items:center;
  transition: height .25s ease, box-shadow .25s ease;
  border-bottom: 3px solid var(--red);
}
.site-header.is-scrolled{
  height: var(--header-h-scrolled);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}
.site-branding{ display:flex; align-items:center; gap:12px; }
.site-branding img{ max-height: 84px; width:auto; height:auto; object-fit: contain; transition: max-height .25s ease; }
.site-header.is-scrolled .site-branding img{ max-height: 62px; }
.site-branding .site-title{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin:0;
}
.site-branding .site-title a{ color:var(--white); }

.main-nav ul{ display:flex; gap: 6px; align-items:center; list-style:none; margin:0; padding:0; }
.main-nav a{
  font-family: var(--font-label);
  font-weight:600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: .88rem;
  color: var(--white);
  padding: 10px 14px;
  display:block;
  position:relative;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:14px; right:14px; bottom:4px;
  height:2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus::after{ transform: scaleX(1); }
.main-nav .menu-crosslink a{ color: var(--gold); }
.main-nav .menu-crosslink a::after{ background: var(--gold); }

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  cursor:pointer;
  padding:8px;
}
.menu-toggle span{ width:26px; height:3px; background:var(--white); display:block; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px){
  .menu-toggle{ display:flex; }
  .main-nav{
    position:fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y:auto;
    z-index: 1000;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{ flex-direction:column; padding: 30px 24px; gap:2px; }
  .main-nav a{ padding: 16px 8px; font-size:1.05rem; border-bottom:1px solid rgba(255,255,255,.08); }
}

/* =========================================================
   3. TOP SLIDER (homepage, geen overlay-tekst — de tekst staat
      in de "Welkom" sectie direct eronder)
   ========================================================= */
.top-slider{
  position:relative;
  min-height: 58vh;
  overflow:hidden;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  scroll-margin-top: var(--header-h);
}
.hero-slides{ position:absolute; inset:0; }
.hero-slide{
  position:absolute; inset:0;
  opacity:0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active{ opacity:1; }
.hero-slide img{
  width:100%; height:100%; object-fit:cover; object-position: center 25%;
}
.hero-dots{
  position:absolute; z-index:2; right: 24px; bottom: 24px;
  display:flex; flex-direction:column; gap:10px;
}
.hero-dots button{
  width:10px; height:10px; border-radius:50%;
  border: 2px solid var(--white); background:transparent;
  padding:0; cursor:pointer;
}
.hero-dots button.is-active{ background: var(--red); border-color: var(--red); }
@media (max-width:880px){
  .hero-dots{ right:12px; bottom:16px; }
  .top-slider{ min-height: 42vh; }
}

/* =========================================================
   3b. WELKOM (tekst direct onder de slider)
   ========================================================= */
.welcome-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:8px; }
.btn.btn-outline-dark{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.btn-outline-dark:hover{ background: var(--ink); color: var(--white); }

/* =========================================================
   4. SECTIONS (general)
   ========================================================= */
.section{ padding: 100px 0; position:relative; scroll-margin-top: var(--header-h); }
.section-dark{ background: var(--ink); color:#cfcfcf; }
.section-dark h2, .section-dark h3{ color: var(--white); }
.section-alt{ background: var(--white); }
.section-head{ max-width: 680px; margin-bottom: 50px; }
.section-head h2{ font-size: clamp(1.9rem, 4vw, 2.8rem); }

.round-tag{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px;
  border-radius:50%;
  border:2px solid var(--red);
  color:var(--red);
  font-family: var(--font-label);
  font-weight:700;
  margin-bottom: 18px;
}

.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* =========================================================
   5. OVER ONS
   ========================================================= */
.about-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items:start;
}
.about-grid-full{
  grid-template-columns: 1fr;
  max-width: 820px;
}
.about-grid-full .about-content{ max-width:none; }
.about-content :is(h2,h3,p){ }
.about-content blockquote{
  border-left: 4px solid var(--red);
  padding-left: 20px;
  margin: 24px 0;
  font-family: var(--font-label);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}
@media (max-width: 880px){
  .about-grid{ grid-template-columns:1fr; }
}
@media (max-width: 520px){
  .trainers-grid{ grid-template-columns: 1fr; }
}

/* Trainers */
.trainers-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, var(--trainer-w, 230px));
  justify-content: center;
  gap: 28px;
  margin-top: 50px;
}
.trainer-card{
  background: var(--ink);
  color: var(--white);
  position:relative;
  overflow:hidden;
}
.trainer-photo{ aspect-ratio: 3/4; overflow:hidden; }
.trainer-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.trainer-card:hover .trainer-photo img{ transform: scale(1.06); }
.trainer-info{ padding: 18px 20px 22px; border-top: 3px solid var(--red); }
.trainer-info h3{ font-size: 1.15rem; color:var(--white); margin-bottom:.15em; }
.trainer-role{
  font-family: var(--font-label);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing:1px;
  font-size:.85rem;
  margin-bottom:8px;
  display:block;
}
.trainer-bio{ font-size:.92rem; color:#c9c9c9; margin:0; }

/* =========================================================
   5b. TIJDLIJN
   ========================================================= */
.tijdlijn{ position:relative; max-width:760px; margin:40px auto 0; }
.tijdlijn::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:3px; background:var(--gold); }
.tijdlijn-item{ position:relative; padding-left:44px; padding-bottom:36px; }
.tijdlijn-item:last-child{ padding-bottom:0; }
.tijdlijn-marker{
  position:absolute; left:0; top:2px;
  width:20px; height:20px; border-radius:50%;
  background: var(--ink); border:3px solid var(--gold);
}
.tijdlijn-year{
  display:inline-block;
  font-family: var(--font-label);
  font-weight:700; letter-spacing:1px; text-transform:uppercase;
  color: var(--gold); font-size:.85rem; margin-bottom:4px;
}
.tijdlijn-content h3{ margin-bottom:.3em; font-size:1.15rem; }
.tijdlijn-content p{ margin:0; color: var(--slate); }
.tdk-empty-note{
  padding: 30px; text-align:center; color: var(--slate-light);
  border: 2px dashed #ccc;
}

/* =========================================================
   5c. WAT WE DOEN (twee klikbare logo-kaarten)
   ========================================================= */
.watwedoen-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
  max-width: 880px;
  margin-left:auto; margin-right:auto;
}
.watwedoen-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 36px 28px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
  border-top: 4px solid var(--gold);
}
.watwedoen-card:hover{ transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,.14); }
.watwedoen-logo{
  height: 90px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
  background: var(--ink);
  width:100%;
  padding: 12px;
}
.watwedoen-logo img{ max-height:70px; max-width:100%; width:auto; object-fit:contain; }
.watwedoen-logo-placeholder{ color: var(--gold); font-family: var(--font-label); font-size:.85rem; text-transform:uppercase; letter-spacing:1px; }
.watwedoen-card h3{ font-size:1.25rem; margin-bottom:.4em; }
.watwedoen-card p{ color: var(--slate); font-size:.95rem; margin-bottom:16px; }
.watwedoen-cta{
  font-family: var(--font-label);
  font-weight:700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--red-dark);
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition: gap .15s ease;
}
.watwedoen-card:hover .watwedoen-cta{ gap:10px; }

/* =========================================================
   6. LESROOSTER
   ========================================================= */
.schedule{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 24px;
  margin-top: 40px;
}
.schedule-day{
  background: var(--white);
  border-radius: 4px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.schedule-day h3{
  background: var(--ink);
  color: var(--white);
  margin:0;
  padding: 16px 22px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border-bottom: 4px solid var(--red);
}
.schedule-day ul{ padding: 8px 0; margin:0; list-style:none; }
.schedule-day li{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 14px 22px;
  font-family: var(--font-label);
  transition: background .15s ease;
}
.schedule-day li:not(:last-child){ border-bottom: 1px solid #ececec; }
.schedule-day li:hover{ background: var(--canvas); }
.schedule-time{
  flex-shrink:0;
  font-weight:700;
  font-size:.82rem;
  letter-spacing:.5px;
  color: var(--red);
  background: rgba(200,29,37,.08);
  border-radius: 3px;
  padding: 5px 10px;
  white-space:nowrap;
}
.schedule-name{ color: var(--ink); font-weight:600; font-size:1.02rem; }
.schedule-empty{
  padding: 30px; text-align:center; color: var(--slate-light);
  border: 2px dashed #ccc;
}

/* =========================================================
   7. ROUTE
   ========================================================= */
.route-grid{
  display:grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 40px;
  align-items:stretch;
}
.route-details{
  background: var(--ink);
  color: var(--white);
  padding: 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.route-details h3{ color:var(--white); }
.route-details address{ font-style:normal; line-height:1.8; margin-bottom: 20px; }
.route-details a.route-link{ color: var(--gold); font-weight:600; }
.route-map{ min-height: 340px; border: 6px solid var(--ink); }
.route-map iframe{ width:100%; height:100%; min-height: 340px; border:0; display:block; }
@media (max-width: 880px){
  .route-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   8. CONTACT
   ========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
}
.contact-info h3{ color:var(--white); }
.contact-info ul{ margin-top:20px; margin-left:0; padding:0; list-style:none; }
.contact-info li{ margin-bottom: 14px; font-family: var(--font-label); }
.contact-info a{ color: var(--gold); }
.social-links{ display:flex; gap:14px; margin-top: 26px; flex-wrap:wrap; }
.social-links li{ list-style:none; }
.social-links a{
  width: var(--social-icon-size, 42px);
  height: var(--social-icon-size, 42px);
  border:2px solid var(--white);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--white);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-links a svg{ width:46%; height:46%; }
.social-links a:hover{ background: var(--red); border-color:var(--red); color:#fff; }

.contact-form{ background: var(--white); padding: 40px; }
.contact-form .form-row{ margin-bottom: 20px; }
.contact-form label{
  display:block;
  font-family: var(--font-label);
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  font-size:.8rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea{
  width:100%;
  padding: 13px 14px;
  border: 2px solid #ddd;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--canvas);
}
.contact-form input:focus,
.contact-form textarea:focus{ border-color: var(--red); outline:none; background:var(--white); }
.contact-form textarea{ min-height: 140px; resize:vertical; }
.form-honeypot{ position:absolute; left:-9999px; }
.form-notice{ padding: 14px 18px; margin-bottom: 20px; font-family: var(--font-label); }
.form-notice.success{ background:#e4f4e4; color:#1e5e1e; border-left:4px solid #1e5e1e; }
.form-notice.error{ background:#fbe6e6; color:var(--red-dark); border-left:4px solid var(--red); }

@media (max-width: 880px){ .contact-grid{ grid-template-columns:1fr; } .contact-form{ padding:26px; } }

/* =========================================================
   9. FOOTER
   ========================================================= */
.site-footer{
  background: #0b0b0b;
  color: #999;
  padding: 50px 0 26px;
  font-size:.92rem;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer-col-title{
  color:#eee;
  font-family: var(--font-label);
  font-size:.85rem;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin:0 0 16px;
}
.footer-col-brand{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:20px; }
.footer-brand{ display:flex; align-items:center; justify-content:center; gap:12px; }
.footer-brand img{
  max-height: var(--footer-logo-h, 70px);
  width:auto;
  height:auto;
  object-fit: contain;
}
.footer-partners{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}
.footer-partners li{ list-style:none; line-height:0; }
.footer-partners a{
  display:flex;
  align-items:center;
  justify-content:center;
  height: var(--partner-logo-h, 60px);
  width: var(--partner-logo-h, 60px);
}
.footer-partners img{
  max-height:100%;
  max-width:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  transition: transform .2s ease;
}
.footer-partners a:hover img{ transform: scale(1.06); }

.footer-col-address address{ line-height:1.9; }
.footer-col-address a{ color:#bbb; }
.footer-col-address a:hover{ color: var(--gold); }
.footer-col-social{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.footer-col-social .social-links{ margin-top:0; justify-content:center; }

.footer-copy{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-copy a{ color:#999; }
.footer-copy a:hover{ color: var(--gold); }

@media (max-width: 880px){
  .footer-grid{ grid-template-columns: 1fr; gap:32px; }
}

/* =========================================================
   10. UTIL
   ========================================================= */
.skip-link{
  position:absolute; left:-9999px; top:auto;
  background: var(--red); color:#fff; padding: 12px 20px; z-index:9999;
}
.skip-link:focus{ left: 12px; top: 12px; }

img[loading="lazy"]{ background: #e5e5e2; }
