/*
Theme Name: Dartclub208
Theme URI: https://dartclub208.nl/
Author: OpenAI
Description: Custom production-ready theme for Dartclub208.
Version: 1.1.0
Text Domain: dartclub208
*/

*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #111111;
  --surface: #1c1c1c;
  --surface2: #232323;
  --border: #2a2a2a;
  --red: #cc0000;
  --red-h: #e60000;
  --text: #f0f0f0;
  --muted: #888888;
  --white: #ffffff;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-h); }
img { max-width: 100%; height: auto; display: block; }
.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;
}
.btn-block { width: 100%; text-align: center; display: block; }
.status-msg { padding: 12px 14px; color: var(--muted); font-size: 0.85rem; }
.section-cta-center { text-align: center; }

.site-nav {
  background: #0d0d0d;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.site-branding a {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.site-branding .custom-logo {
  max-height: 48px;
  width: auto;
}
.brand-accent { color: var(--red); }
.menu-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.site-nav .menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .menu a {
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.site-nav .menu a:hover,
.site-nav .current-menu-item > a { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-lang { display: inline-flex; gap: 6px; }
.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}
.lang-btn.active,
.lang-btn:hover { border-color: var(--red); color: var(--red); }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--white);
  display: block;
}

.hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(17,17,17,1) 100%), var(--hero-bg) center/cover no-repeat;
  background-color: #0a0a0a;
  padding: 90px 24px 80px;
  text-align: center;
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204,0,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.hero h1 span { color: var(--red); }
.hero-logo {
  margin: 0 auto 28px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--red);
  box-shadow: 0 0 32px rgba(204,0,0,0.45), 0 0 0 8px rgba(204,0,0,0.1);
  overflow: hidden;
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.15s;
  border: none;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-h); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

section { padding: 72px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.competitions { background: var(--bg); border-bottom: 1px solid var(--border); }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.comp-card:hover { border-color: var(--red); transform: translateY(-3px); }
.comp-card-header {
  background: linear-gradient(135deg, #1a0000 0%, #2a0505 100%);
  border-bottom: 3px solid var(--red);
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.comp-day { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.comp-name { font-size: 1.55rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; }
.comp-icon { font-size: 2.4rem; opacity: 0.8; }
.comp-card-body { padding: 20px 28px 24px; }
.comp-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.comp-meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.comp-meta-item a { color: var(--muted); text-decoration: underline; }
.standings-preview { background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 18px; }
.standings-preview-header { background: var(--red); padding: 8px 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.standings-row { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.standings-row:last-child { border-bottom: none; }
.standings-pos { width: 22px; font-weight: 700; color: var(--muted); text-align: center; font-size: 0.8rem; }
.standings-pos.gold { color: #ffd700; }
.standings-pos.silver { color: #c0c0c0; }
.standings-pos.bronze { color: #cd7f32; }
.standings-name { flex: 1; color: var(--text); font-weight: 500; }
.standings-pts { color: var(--red); font-weight: 700; font-size: 0.85rem; }

.agenda-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tournament-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.tournament-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 18px 22px;
  flex-wrap: wrap;
}
.tournament-date { text-align: center; min-width: 52px; }
.tournament-day { font-size: 1.4rem; font-weight: 900; color: var(--white); line-height: 1; }
.tournament-month { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.tournament-sep { width: 1px; background: var(--border); align-self: stretch; }
.tournament-info { flex: 1; min-width: 160px; }
.tournament-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.tournament-meta { font-size: 0.82rem; color: var(--muted); margin-top: 3px; text-transform: capitalize; }
.schrijf-in-btn {
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  white-space: nowrap;
}
.registration-soon { color: var(--muted); font-size: 0.75rem; }

.news { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.news-card:hover { border-color: var(--red); transform: translateY(-3px); }
.news-card-img { min-height: 160px; background: linear-gradient(135deg, #1a0000 0%, #2d0808 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; border-bottom: 2px solid var(--border); }
.news-card-img img { width: 100%; height: 160px; object-fit: cover; }
.news-card-body { padding: 18px; }
.news-tag { display: inline-block; background: rgba(204,0,0,0.15); color: var(--red); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; margin-bottom: 10px; }
.news-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 0 0 8px; line-height: 1.3; }
.news-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.news-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-date { font-size: 0.75rem; color: var(--muted); }
.read-more { font-size: 0.8rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.05em; }

.social { background: var(--bg); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.social-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.social-card-header { padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.social-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.social-icon.fb { background: #1877f2; }
.social-icon.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-card-header h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin: 0; }
.social-card-header span { font-size: 0.78rem; color: var(--muted); }
.social-placeholder { text-align: center; padding: 28px; color: var(--muted); font-size: 0.85rem; }

.site-footer { background: #0d0d0d; border-top: 3px solid var(--red); padding: 48px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-title { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-brand p { font-size: 0.88rem; color: var(--muted); margin: 12px 0 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--muted); }
.footer-social-btn:hover { border-color: var(--red); background: rgba(204,0,0,0.1); color: var(--red); }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul, .footer-col .menu { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.footer-col li a { color: var(--muted); font-size: 0.88rem; }
.footer-col li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--red); }
.page-content { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.entry-title { color: var(--white); margin-top: 0; }

@media (max-width: 960px) {
  .comp-grid, .social-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .menu-panel.is-open { display: flex; }
  .site-nav .menu { flex-direction: column; gap: 14px; }
  .nav-actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .nav-inner, section, .site-footer { padding-left: 16px; padding-right: 16px; }
  .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .schrijf-in-btn { width: 100%; text-align: center; box-sizing: border-box; padding: 10px; }
  .tournament-sep { display: none; }
}

.footer-grid--simple {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }

  @media (max-width: 600px) {
    .footer-grid--simple {
      flex-direction: column;
    }
  }