/*
Theme Name: Wing Chun Lelystad Clean
Theme URI: https://wingchun-lelystad.nl/
Author: Wing Chun Lelystad
Description: Clean, dependency-free WordPress theme rebuilt for Wing Chun Lelystad.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: wingchun-lelystad-clean
License: GNU General Public License v2 or later
*/

:root {
  --wc-black: #111214;
  --wc-charcoal: #202226;
  --wc-amber: #e0a240;
  --wc-gold: #fed92e;
  --wc-cream: #f7f3eb;
  --wc-white: #fff;
  --wc-muted: #686b70;
  --wc-line: #dedbd4;
  --wc-shell: min(1180px, calc(100% - 40px));
  --wc-radius: 18px;
  --wc-shadow: 0 18px 50px rgba(17,18,20,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--wc-charcoal);
  background: var(--wc-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img, video { max-width: 100%; height: auto; }
a { color: #8a5b00; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: #523600; }
h1,h2,h3,h4,h5,h6 {
  color: var(--wc-black);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
p, ul, ol { margin: 0 0 1.25em; }
.wc-shell { width: var(--wc-shell); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto !important; width: auto; height: auto; margin: 0; padding: 12px 18px;
  top: 8px; left: 8px; z-index: 99999; background: #fff; color: #000;
}
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(17,18,20,.96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  min-height: 78px; display: flex; align-items: center; gap: 24px;
}
.site-branding { margin-right: auto; min-width: 210px; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { max-height: 58px; width: auto; }
.site-title { margin: 0; font-size: 1.16rem; line-height: 1.05; letter-spacing: .02em; }
.site-title a { color: #fff; text-decoration: none; }
.site-description { margin: 5px 0 0; color: #bbb; font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; }
.primary-nav { display: flex; align-items: center; }
.primary-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.primary-nav li { margin: 0; }
.primary-nav a {
  color: #f2f2f2; text-decoration: none; font-size: .9rem; font-weight: 650;
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--wc-gold); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px;
  border-radius: 999px; color: var(--wc-black); background: var(--wc-gold);
  text-decoration: none; font-size: .86rem; font-weight: 800; white-space: nowrap;
}
.header-cta:hover { color: var(--wc-black); background: #fff0a5; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: white; border-radius: 10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 21px; height: 2px; background: currentColor; margin: 5px auto;
}
.site-main { min-height: 60vh; }
.entry-content > :first-child { margin-top: 0; }
.wc-hero {
  position: relative; min-height: min(760px, 82vh); display: grid; place-items: center;
  color: white; isolation: isolate; overflow: hidden;
  background: #171719 var(--wc-hero-image) center / cover no-repeat;
}
.wc-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,8,9,.88) 0%, rgba(8,8,9,.58) 52%, rgba(8,8,9,.25) 100%),
    linear-gradient(0deg, rgba(8,8,9,.55), transparent 55%);
}
.wc-hero__content { padding-block: 100px; }
.wc-hero h1 { color: #fff; max-width: 900px; margin-bottom: .22em; text-wrap: balance; }
.wc-hero__lead { max-width: 720px; font-size: clamp(1.12rem, 2.4vw, 1.45rem); line-height: 1.55; color: #f1f1f1; }
.wc-kicker {
  color: var(--wc-amber); font-size: .78rem; font-weight: 850; text-transform: uppercase;
  letter-spacing: .18em; margin-bottom: 14px;
}
.wc-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wc-buttons--center { justify-content: center; }
.wc-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; background: var(--wc-gold);
  color: var(--wc-black); font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.wc-button:hover { color: var(--wc-black); background: #fff0a5; transform: translateY(-1px); }
.wc-button--secondary { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); box-shadow: none; }
.wc-button--secondary:hover { color: #fff; background: rgba(255,255,255,.22); }
.wc-section { padding: clamp(70px, 9vw, 120px) 0; }
.wc-section--soft { background: var(--wc-cream); }
.wc-section--dark { background: var(--wc-black); color: #e5e5e5; }
.wc-section--dark h2, .wc-section--dark h3 { color: #fff; }
.wc-section > .wc-shell > h2 { max-width: 820px; }
.wc-lead { max-width: 900px; font-size: clamp(1.18rem, 2.1vw, 1.42rem); line-height: 1.62; color: #3d4044; }
.wc-grid { display: grid; gap: 22px; margin-top: 42px; }
.wc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wc-card {
  background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius);
  padding: 30px; box-shadow: 0 8px 28px rgba(18,20,23,.055);
}
.wc-card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--wc-black); color: var(--wc-gold); font-weight: 850; font-size: 1.15rem; margin-bottom: 20px;
}
.wc-split {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr);
  gap: clamp(36px, 7vw, 90px); align-items: center;
}
.wc-split--reverse .wc-split__content { order: 2; }
.wc-split--reverse .wc-split__media { order: 1; }
.wc-split__media { margin: 0; }
.wc-split__media img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--wc-radius); box-shadow: var(--wc-shadow); }
.wc-info-panel {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px;
  background: var(--wc-line); border: 1px solid var(--wc-line); border-radius: var(--wc-radius); overflow: hidden; margin-top: 36px;
}
.wc-info-panel > div { background: #fff; padding: 28px; }
.wc-info-panel strong, .wc-info-panel span { display: block; }
.wc-info-panel strong { color: var(--wc-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.wc-cta { padding: 64px 0; background: var(--wc-gold); color: var(--wc-black); }
.wc-cta .wc-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wc-cta h2 { margin: 0 0 8px; font-size: clamp(1.8rem,4vw,3rem); }
.wc-cta p { margin: 0; }
.wc-cta .wc-button { background: var(--wc-black); color: #fff; }
.wc-cta .wc-button--secondary { background: transparent; color: var(--wc-black); border-color: var(--wc-black); }
.wc-faq { max-width: 900px; margin-top: 35px; }
.wc-faq details { border-top: 1px solid var(--wc-line); padding: 20px 0; }
.wc-faq details:last-child { border-bottom: 1px solid var(--wc-line); }
.wc-faq summary { cursor: pointer; font-weight: 800; color: var(--wc-black); }
.wc-faq details p { margin: 14px 0 0; }
.wc-price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 40px; align-items: stretch; }
.wc-price-card { border: 1px solid var(--wc-line); border-radius: var(--wc-radius); padding: 32px; background: #fff; }
.wc-price-card--featured { border: 2px solid var(--wc-amber); box-shadow: var(--wc-shadow); }
.wc-price { font-size: 2.25rem; font-weight: 850; color: var(--wc-black); }
.wc-price span { display: block; font-size: .85rem; font-weight: 600; color: var(--wc-muted); }
.wc-price-card li { margin-bottom: 10px; }
.wc-small { font-size: .85rem; color: var(--wc-muted); margin-top: 24px; }
.wc-checklist { padding-left: 0; list-style: none; }
.wc-checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.wc-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #976600; font-weight: 900; }
.wc-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 35px 0; text-align: center; }
.wc-social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.wc-social-links--center { justify-content: center; }
.wc-social-links a { border: 1px solid var(--wc-line); border-radius: 999px; padding: 9px 15px; text-decoration: none; background: #fff; }
.wc-gallery { display: grid; gap: 16px; margin-top: 36px; }
.wc-gallery--four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.wc-gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; }
.wc-gallery--masonry { grid-template-columns: repeat(6,minmax(0,1fr)); }
.wc-gallery--masonry img { height: 200px; }
.wc-book-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 36px; }
.wc-book-card { border: 1px solid var(--wc-line); border-radius: var(--wc-radius); overflow: hidden; background: #fff; }
.wc-book-card img { width: 100%; height: 350px; object-fit: cover; }
.wc-book-card h3, .wc-book-card p { margin-inline: 24px; }
.wc-book-card h3 { margin-top: 24px; }
.wc-book-card p { margin-bottom: 28px; }
.wc-video { width: 100%; max-height: 680px; border-radius: var(--wc-radius); background: #000; box-shadow: var(--wc-shadow); }
.wc-location-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 36px; }
.wc-location-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 20px; border: 1px solid var(--wc-line); border-radius: 12px; text-decoration: none; background: #fff;
}
.wc-location-list a.is-current { background: var(--wc-gold); color: var(--wc-black); border-color: var(--wc-gold); }
.wc-location-list span { color: var(--wc-muted); font-size: .9rem; }
.wc-location-list .is-current span { color: var(--wc-black); }
.wc-table-tools { max-width: 700px; margin: 30px 0 20px; }
.wc-table-tools label { display: block; font-weight: 800; margin-bottom: 8px; }
.wc-table-tools input {
  width: 100%; min-height: 48px; border: 1px solid #bbb; border-radius: 10px; padding: 10px 14px; font: inherit; background: #fff;
}
.wc-table-wrap { overflow: auto; max-height: 78vh; border: 1px solid var(--wc-line); border-radius: 12px; background: #fff; }
.wc-term-table { width: 100%; min-width: 1050px; border-collapse: collapse; font-size: .87rem; line-height: 1.45; }
.wc-term-table th, .wc-term-table td { padding: 11px 12px; border-bottom: 1px solid #e7e5df; text-align: left; vertical-align: top; }
.wc-term-table th { position: sticky; top: 0; z-index: 2; background: var(--wc-black); color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.wc-term-table tr:nth-child(even) td { background: #faf9f6; }
.wc-term-table td:first-child { font-weight: 750; white-space: nowrap; }
.standard-entry { width: min(860px, calc(100% - 40px)); margin: 70px auto; }
.standard-entry__header { margin-bottom: 35px; }
.standard-entry__meta { color: var(--wc-muted); font-size: .88rem; }
.post-list { display: grid; gap: 24px; }
.post-card { border: 1px solid var(--wc-line); padding: 28px; border-radius: var(--wc-radius); }
.pagination { margin-top: 35px; }
.site-footer { background: var(--wc-black); color: #c8c8c8; padding: 66px 0 24px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: #eee; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 45px; padding-top: 22px; font-size: .82rem; color: #999; display:flex; justify-content:space-between; gap:20px; }
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .primary-nav ul { gap: 15px; }
  .primary-nav a { font-size: .82rem; }
  .wc-gallery--masonry { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--wc-black);
    border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px 24px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 10px 0; font-size: 1rem; }
}

@media (max-width: 860px) {
  body.admin-bar .site-header { top: 46px; }
  .wc-grid--3, .wc-grid--4, .wc-price-grid, .wc-contact-grid, .wc-book-grid { grid-template-columns: 1fr; }
  .wc-split { grid-template-columns: 1fr; }
  .wc-split--reverse .wc-split__content, .wc-split--reverse .wc-split__media { order: initial; }
  .wc-info-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wc-gallery--four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wc-gallery--masonry { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  :root { --wc-shell: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .site-header__inner { min-height: 68px; }
  .site-description { display: none; }
  .wc-hero { min-height: 650px; }
  .wc-hero__content { padding-block: 70px; }
  .wc-buttons { flex-direction: column; align-items: stretch; }
  .wc-button { width: 100%; }
  .wc-info-panel { grid-template-columns: 1fr; }
  .wc-cta .wc-shell { align-items: stretch; flex-direction: column; }
  .wc-location-list { grid-template-columns: 1fr; }
  .wc-gallery--masonry { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wc-gallery img, .wc-gallery--masonry img { height: 180px; }
  .site-footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
