/* ═══════════════════════════════════════════════════════════
   Taekwondo Vereniging Almere — site.css
   Design: Clean documentary martial arts — same spirit as MAEDA BJJ Netherlands
   Palette: Deep ink black · Taekwondo red · White · Warm mid-grey
   Type: 'DM Sans' utility + 'DM Serif Display' for hero
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&family=Noto+Sans+KR:wght@300;400;700&display=swap');

/* ── Custom Properties ────────────────────────────────────── */
:root {
  /* Palette */
  --c-ink:       #0d0d0d;
  --c-ink-soft:  #151515;
  --c-ink-mid:   #1e1e1e;
  --c-surface:   #252525;
  --c-border:    #2e2e2e;
  --c-red:       #c8102e;      /* Taekwondo red — Korean flag color */
  --c-red-dim:   #8b0c1f;
  --c-blue:      #003478;      /* Korean Taegukgi blue */
  --c-gold:      #c9a84c;      /* 7th Dan distinction */
  --c-text:      #e8e4de;
  --c-muted:     #7a7570;
  --c-faint:     #3a3632;

  /* Typography */
  --f-display:   'DM Serif Display', Georgia, serif;
  --f-body:      'DM Sans', system-ui, sans-serif;
  --f-korean:    'Noto Sans KR', sans-serif;

  /* Spacing */
  --gap-xs:   0.5rem;
  --gap-sm:   1rem;
  --gap-md:   2rem;
  --gap-lg:   4rem;
  --gap-xl:   7rem;

  /* Layout */
  --max-w:    960px;
  --radius:   2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--c-ink);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Inline tekstlinks — rood onderstreept, zelfde stijl als MAEDA BJJ */
.intro-text a,
.what-text a,
.trainer-bio a,
.contact-intro a {
  color: var(--c-red);
  text-decoration: underline;
  text-decoration-color: var(--c-red);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.intro-text a:hover,
.what-text a:hover,
.trainer-bio a:hover,
.contact-intro a:hover {
  color: var(--c-text);
  text-decoration-color: var(--c-red);
}

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

/* ── Shared Layout ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap-md);
}

/* ── Section Labels ───────────────────────────────────────── */
.section-label {
  font-family: var(--f-korean);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: var(--gap-sm);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: var(--gap-md);
  line-height: 1.15;
}

/* ── Info Rows (reused table style) ──────────────────────── */
.info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--gap-sm);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9rem;
}

.info-row:first-child {
  border-top: 1px solid var(--c-border);
}

.info-label {
  color: var(--c-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.1rem;
}

.info-value {
  color: var(--c-text);
  line-height: 1.5;
}

/* ══ HEADER ═════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--c-border);
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.logo-line {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-text);
  text-transform: uppercase;
  line-height: 0.95;
}

.logo-line--city {
  font-size: 1.05rem;
  color: var(--c-text);
}

/* Hero logo */

.site-nav {
  display: flex;
  gap: var(--gap-md);
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.site-nav a:hover {
  color: var(--c-text);
  text-decoration-color: var(--c-red);
}

/* ══ HERO ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--gap-xl) var(--gap-md) var(--gap-lg);
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--f-korean);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--c-muted);
  margin-bottom: var(--gap-md);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: var(--gap-md);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--c-muted);
  max-width: 480px;
  margin-bottom: var(--gap-lg);
  line-height: 1.5;
  font-weight: 300;
}

.hero-sub em {
  font-style: italic;
  color: var(--c-red);
}

.hero-cta {
  display: inline-block;
  border: 1px solid var(--c-red);
  color: var(--c-red);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s, color 0.2s;
  border-radius: var(--radius);
}

.hero-cta:hover {
  background: var(--c-red);
  color: #fff;
}

/* Belt stripe decoration — 7 stripes for 7th Dan */
.hero-belt {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.belt-stripe {
  flex: 1;
}

.s1, .s3, .s5, .s7 { background: var(--c-ink); border-left: 1px solid var(--c-border); }
.s2 { background: var(--c-red); }
.s4 { background: var(--c-gold); opacity: 0.6; }
.s6 { background: var(--c-red); }

/* Logo watermark in hero background */
.hero::after {
  content: '';
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 62vw, 720px);
  aspect-ratio: 1 / 1;
  background: url('Logo_TVA.png') center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
  z-index: 1;
}

/* ══ INTRO ══════════════════════════════════════════════════ */
.intro {
  padding: var(--gap-lg) 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-ink-soft);
}

.intro-text {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 700px;
  font-weight: 300;
}

.intro-text strong {
  color: var(--c-text);
  font-weight: 500;
}

/* ══ WHAT IS TAEKWONDO ══════════════════════════════════════ */
.what {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.what::before {
  content: '';
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 44vw, 520px);
  aspect-ratio: 1 / 1;
  background: url('Logo_TVA.png') center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.what .container { position: relative; z-index: 1; }

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.what-text p {
  color: var(--c-muted);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.what-text em {
  font-style: italic;
  color: var(--c-text);
}

.what-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pillar {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: 0.8rem var(--gap-sm);
  border-bottom: 1px solid var(--c-border);
  transition: background 0.15s;
}

.pillar:last-child {
  border-bottom: none;
}

.pillar:hover {
  background: var(--c-ink-soft);
}

.pillar-kr {
  font-family: var(--f-korean);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-red);
  min-width: 56px;
  text-align: right;
}

.pillar-nl {
  font-size: 0.8rem;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

/* ══ TRAINER ════════════════════════════════════════════════ */
.trainer {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-ink-soft);
}

.trainer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap-lg);
  align-items: start;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.trainer-rank {
  background: var(--c-ink-mid);
  border-right: 1px solid var(--c-border);
  padding: var(--gap-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 160px;
  text-align: center;
  gap: var(--gap-xs);
}

.dan-number {
  font-family: var(--f-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--c-gold);
  display: block;
}

.dan-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  line-height: 1.4;
}

.trainer-info {
  padding: var(--gap-md);
}

.trainer-name {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: var(--gap-xs);
  line-height: 1.2;
}

.trainer-title-kr {
  font-family: var(--f-korean);
  font-size: 0.8rem;
  color: var(--c-red);
  letter-spacing: 0.1em;
  margin-bottom: var(--gap-sm);
}

.trainer-bio {
  font-size: 0.9rem;
  color: var(--c-muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

/* ══ TRAININGEN ═════════════════════════════════════════════ */
.trainingen {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.trainingen::before {
  content: '';
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 44vw, 520px);
  aspect-ratio: 1 / 1;
  background: url('Logo_TVA.png') center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.trainingen .container { position: relative; z-index: 1; }

.schedule-grid {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.schedule-card {
  flex: 1;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--gap-md);
  background: var(--c-ink-soft);
  text-align: center;
}

.schedule-day {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--gap-xs);
}

.schedule-time {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--c-text);
  line-height: 1.1;
  margin-bottom: var(--gap-xs);
}

.schedule-group {
  font-size: 0.75rem;
  color: var(--c-red);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.schedule-divider {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--c-faint);
  flex-shrink: 0;
}

.training-info-table {
  margin-top: var(--gap-md);
}

/* ══ WHY TAEKWONDO ══════════════════════════════════════════ */
.why {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-ink-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.why-item {
  padding: var(--gap-md);
  border: 1px solid var(--c-border);
  margin: -1px 0 0 -1px;
  transition: background 0.2s;
}

.why-item:hover {
  background: var(--c-ink-mid);
}

.why-text {
  font-size: 0.9rem;
  color: var(--c-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ══ LOCATIE ════════════════════════════════════════════════ */
.locatie {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.locatie::before {
  content: '';
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 44vw, 520px);
  aspect-ratio: 1 / 1;
  background: url('Logo_TVA.png') center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.locatie .container { position: relative; z-index: 1; }

.locatie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.locatie-map {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-ink-soft);
}

.locatie-map iframe {
  display: block;
  filter: grayscale(90%) brightness(0.7) contrast(1.1);
  transition: filter 0.3s;
}

.locatie-map:hover iframe {
  filter: grayscale(30%) brightness(0.9);
}

/* ══ CONTACT ════════════════════════════════════════════════ */
.contact {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-ink-soft);
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--c-muted);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: var(--gap-lg);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-sm);
}

.contact-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--gap-md) var(--gap-sm);
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

a.contact-item:hover {
  border-color: var(--c-red);
  background: rgba(200, 16, 46, 0.05);
}

.contact-type {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
}

.contact-value {
  font-size: 0.85rem;
  color: var(--c-text);
  font-weight: 400;
  word-break: break-all;
}

/* ══ FOOTER ═════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: var(--gap-md) 0;
  background: var(--c-ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-sm);
}

.footer-brand {
  font-family: var(--f-korean);
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--c-muted);
}

.footer-copy a {
  color: var(--c-muted);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer-copy a:hover {
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: var(--c-red);
}

/* ══ LINKS ══════════════════════════════════════════════════ */
.links {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.links::before {
  content: '';
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 44vw, 520px);
  aspect-ratio: 1 / 1;
  background: url('Logo_TVA.png') center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.links .container { position: relative; z-index: 1; }

.links-grid {
  display: flex;
  flex-direction: column;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
  gap: var(--gap-sm);
  transition: color 0.2s;
}

.links-grid .link-item:first-child {
  border-top: 1px solid var(--c-border);
}

.link-item:hover {
  color: var(--c-text);
}

.link-item:hover .link-arrow {
  color: var(--c-red);
  transform: translate(2px, -2px);
}

.link-name {
  font-size: 0.9rem;
  color: var(--c-muted);
  font-weight: 400;
  transition: color 0.2s;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.link-item:hover .link-name {
  color: var(--c-text);
  text-decoration-color: var(--c-red);
}

.link-arrow {
  font-size: 1rem;
  color: var(--c-faint);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

/* ══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 760px) {
  :root {
    --gap-lg: 2.5rem;
    --gap-xl: 4rem;
  }

  .site-nav {
    display: none;
  }

  .logo-img {
    height: 42px;
  }

  .logo-text {
    display: none;
  }

  .hero-title {
    font-size: clamp(3rem, 18vw, 5rem);
  }

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

  .trainer-card {
    grid-template-columns: 1fr;
  }

  .trainer-rank {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    flex-direction: row;
    min-height: auto;
    min-width: auto;
    justify-content: flex-start;
    gap: var(--gap-sm);
    padding: var(--gap-sm) var(--gap-md);
  }

  .dan-number {
    font-size: 2.5rem;
  }

  .schedule-grid {
    flex-direction: column;
  }

  .schedule-divider {
    transform: rotate(90deg);
  }

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

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

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

  .info-row {
    grid-template-columns: 90px 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-belt {
    width: 4px;
  }
}

/* ══ REDUCED MOTION ═════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-cta,
  .pillar,
  .why-item,
  .contact-item,
  .locatie-map iframe {
    transition: none;
  }
}

/* ══ FOCUS STYLES (keyboard nav) ════════════════════════════ */
a:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
  border-radius: var(--radius);
}
