/* ================================================================
   Karateclub Wado Blits Bierbeek — Main Stylesheet
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* --- Reset & Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* --- Design Tokens ------------------------------------------------------- */
:root {
  --bg:        #FAF9F6;
  --cream:     #F0EBE1;
  --white:     #FFFFFF;
  --ink:       #111418;
  --dark:      #0E1118;
  --red:       #C8102E;
  --red-hover: #A50D25;
  --red-faint: rgba(200,16,46,0.08);
  --muted:     #6B7280;
  --border:    #E0D9CF;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --max-w:   1100px;
  --nav-h:   68px;
  --r:       4px;
  --t:       0.22s ease;
  --shadow:  0 4px 20px rgba(0,0,0,0.08);
}

/* --- Layout Helpers ----------------------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--dark);  color: var(--white); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(250,249,246,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  height: 100%; display: flex;
  align-items: center; justify-content: space-between;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.01em;
}
.nav__brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.nav__brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.nav__brand-sub  { font-family: var(--font-body); font-size: 0.65rem; font-weight: 400; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav__links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav__links a {
  display: block; padding: 7px 15px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; color: var(--muted);
  border-radius: var(--r);
  transition: color var(--t), background var(--t);
}
.nav__links a:hover  { color: var(--ink); background: var(--cream); }
.nav__links a.active { color: var(--red); background: var(--red-faint); }
.nav__links .nav-cta a {
  background: var(--red); color: var(--white); padding: 7px 18px;
}
.nav__links .nav-cta a:hover { background: var(--red-hover); }

/* Hamburger */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; gap: 4px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 10px 14px; }
  .nav__links .nav-cta a { text-align: center; }
  .two-col { grid-template-columns: 1fr; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-block; padding: 12px 26px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; border-radius: var(--r);
  transition: all var(--t); cursor: pointer; border: none;
  letter-spacing: 0.02em; line-height: 1;
}
.btn-red    { background: var(--red);  color: var(--white); }
.btn-red:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,16,46,0.38); }
.btn-outline{ background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.38); }
.btn-outline:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-white  { background: var(--white); color: var(--red); }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-ink    { background: var(--ink);  color: var(--white); }
.btn-ink:hover { background: #1e2228; transform: translateY(-1px); }

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-label {
  display: block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--red); margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.section-title--white { color: var(--white); }
.section-intro {
  font-size: 1.05rem; color: var(--muted);
  max-width: 580px; margin-bottom: 48px; line-height: 1.7;
}
.section-intro--white { color: rgba(255,255,255,0.65); }
.rule { height: 1px; background: var(--border); margin-bottom: 40px; }
.rule--white { background: rgba(255,255,255,0.12); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background-color: var(--dark);
  background-image: url('../assets/images/karate_kimono_fighter_sport_fists_banner_2560x1600-2560x800.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 90px 0 80px; position: relative; overflow: hidden;
  min-height: 480px; display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 75% 50%, rgba(200,16,46,0.22), transparent 70%);
  pointer-events: none;
}
.hero__watermark {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: clamp(70px, 14vw, 170px);
  font-weight: 900; color: rgba(255,255,255,0.03);
  letter-spacing: -4px; line-height: 1; pointer-events: none;
  user-select: none; white-space: nowrap;
}
.hero__inner { position: relative; z-index: 1; }
.hero__label {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); background: rgba(200,16,46,0.15);
  padding: 5px 13px; border-radius: 20px; margin-bottom: 18px;
  border: 1px solid rgba(200,16,46,0.35);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.68);
  max-width: 480px; margin-bottom: 36px; line-height: 1.65;
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge {
  position: absolute; top: 32px; right: 24px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  padding: 8px 16px; border-radius: var(--r);
  text-align: center; line-height: 1.3;
}

/* ================================================================
   SCHEDULE
   ================================================================ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.schedule-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--red); border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow var(--t), transform var(--t);
}
.schedule-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.schedule-card__day {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--red); margin-bottom: 18px;
}
.schedule-slot { margin-bottom: 12px; }
.schedule-slot:last-child { margin-bottom: 0; }
.schedule-slot__time { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.schedule-slot__group { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* ================================================================
   EVENTS LIST
   ================================================================ */
.events-list { border-top: 1px solid var(--border); }
.event-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.event-item--multi { grid-template-columns: 100px 1fr; }
.event-date {
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px;
}
.event-name { font-size: 0.95rem; font-weight: 500; }
.event-name a { color: var(--red); text-decoration: none; font-weight: 600; }
.event-name a:hover { text-decoration: underline; }
.event-group {
  display: inline-block; font-size: 0.7rem; background: var(--red-faint);
  color: var(--red); padding: 2px 8px; border-radius: 20px;
  font-weight: 600; letter-spacing: 0.04em; margin-top: 4px;
}

/* ================================================================
   PROMO BLOCKS
   ================================================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 3px;
}
.promo-card {
  background: var(--ink); color: var(--white);
  padding: 48px 36px; position: relative; overflow: hidden;
}
.promo-card--red { background: var(--red); }
.promo-card__bg {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-display); font-size: 5.5rem;
  font-weight: 900; opacity: 0.06; line-height: 1;
  pointer-events: none; user-select: none;
}
.promo-card__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; }
.promo-card__title { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.promo-card__body  { font-size: 0.88rem; opacity: 0.72; margin-bottom: 24px; line-height: 1.65; }

/* ================================================================
   TEAM CARDS
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 20px 24px; text-align: center;
  transition: box-shadow var(--t), transform var(--t);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-card__avatar {
  width: 68px; height: 68px; margin: 0 auto 16px;
  background: var(--cream); border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--red);
}
.team-card__role { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); font-weight: 600; margin-bottom: 5px; }
.team-card__name { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-card__rank { font-size: 0.82rem; color: var(--muted); }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-info__item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-info__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; font-weight: 600; }
.contact-info__value { font-size: 0.95rem; font-weight: 500; }
.contact-info__value a { color: var(--red); text-decoration: none; }
.contact-info__value a:hover { text-decoration: underline; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  font-family: var(--font-body); font-size: 0.95rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  background: var(--white); color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none; padding: 16px; background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3); border-radius: var(--r);
  color: #166534; font-size: 0.9rem; margin-top: 16px;
}

/* ================================================================
   SPONSORS
   ================================================================ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px; margin-bottom: 60px;
}
.sponsor-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px;
  display: flex; align-items: center; justify-content: center;
  min-height: 90px;
  filter: grayscale(30%); opacity: 0.82;
  transition: filter var(--t), opacity var(--t), transform var(--t), box-shadow var(--t);
  text-decoration: none;
}
.sponsor-card:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow); }
.sponsor-card img { max-height: 58px; width: auto; object-fit: contain; }

/* ================================================================
   WADO RYU
   ================================================================ */
.wado-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 36px; margin-bottom: 24px;
}
.wado-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.wado-card__body { font-size: 0.95rem; color: var(--muted); line-height: 1.78; }
.wado-card__link {
  display: inline-block; margin-top: 16px; color: var(--red);
  font-size: 0.87rem; font-weight: 600; text-decoration: none;
}
.wado-card__link:hover { text-decoration: underline; }
.wado-card__link::after { content: ' →'; }

/* ================================================================
   GRADES GRID
   ================================================================ */
.grades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .grades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 450px) {
  .grades-grid {
    grid-template-columns: 1fr;
  }
}

.grade-card {
  margin: 0;
  padding: 20px;
  border-top: 4px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
}

.belt-indicator {
  width: 32px;
  height: 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.grade-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.grade-description {
  font-size: 0.8rem;
  color: var(--muted);
}

/* White */
.grade-white {
  border-top-color: #cccccc !important;
  background: #f9f9f9 !important;
}

.grade-white .belt-indicator {
  background: #ffffff;
  border: 1px solid #bbb;
}

/* Yellow */
.grade-yellow {
  border-top-color: #fbff00 !important;
  background: #ffffed !important;
}

.grade-yellow .belt-indicator {
  background: #fbff00;
}

/* Orange */
.grade-orange {
  border-top-color: #ff6b00 !important;
  background: #fff5ee !important;
}

.grade-orange .belt-indicator {
  background: #ff6b00;
}

/* Green */
.grade-green {
  border-top-color: #308d33 !important;
  background: #f0faf0 !important;
}

.grade-green .belt-indicator {
  background: #4caf50;
}

/* Blue */
.grade-blue {
  border-top-color: #2196f3 !important;
  background: #eff6ff !important;
}

.grade-blue .belt-indicator {
  background: #2196f3;
}

/* Brown */
.grade-brown {
  border-top-color: #8b0000 !important;
  background: #fdf4f4 !important;
}

.grade-brown .belt-indicator {
  background: #8b0000;
}

/* Black */
.grade-black {
  border-top-color: #111111 !important;
  background: #f2f2f2 !important;
}

.grade-black .belt-indicator {
  background: #111111;
}

/* ================================================================
   BANNER / CTA
   ================================================================ */
.banner { background: var(--red); color: var(--white); padding: 64px 0; text-align: center; }
.banner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.banner p  { opacity: 0.85; margin-bottom: 28px; font-size: 1rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.banner__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   MAP
   ================================================================ */
.map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 300px; border: none; display: block; }

/* ================================================================
   NOTICE
   ================================================================ */
.notice {
  background: var(--red-faint);
  border-left: 3px solid var(--red);
  padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0;
  font-size: 0.9rem; margin-bottom: 32px;
}
.notice strong { color: var(--red); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__logo { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; margin-bottom: 12px; }
.footer__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer__desc { font-size: 0.85rem; line-height: 1.65; }
.footer__head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.35); margin-bottom: 16px; font-weight: 600; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 0.88rem; text-decoration: none; color: rgba(255,255,255,0.6); transition: color var(--t); }
.footer__links a:hover { color: var(--white); }
.footer__contact p { font-size: 0.87rem; margin-bottom: 8px; }
.footer__contact a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--t); }
.footer__contact a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer__copy  { font-size: 0.78rem; }
.footer__wikf  { font-size: 0.78rem; }
.footer__wikf a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer__wikf a:hover { color: var(--white); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem;
  transition: all var(--t);
}
.footer__social a:hover { border-color: var(--red); color: var(--white); background: var(--red-faint); }

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-red   { color: var(--red); }
.text-muted { color: var(--muted); }
.mb-0 { margin-bottom: 0 !important; }
.mt-6 { margin-top: 48px; }
.mt-4 { margin-top: 32px; }

/* Fade-in animation on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .section  { padding: 56px 0; }
  .hero     { padding: 64px 0 56px; }
}

/* ================================================================
   HERO BANNER IMAGE
   ================================================================ */

.hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Dark overlay so text stays readable over the photo */

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left, /* used to be right */
    rgba(14, 17, 24, 0.82) 0%,
    rgba(14, 17, 24, 0.55) 60%,
    rgba(14, 17, 24, 0.25) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Make sure text sits above the overlay */

.hero__watermark { z-index: 1; }
.hero__inner     { z-index: 1; }


