/* ================================
   DUC – Dendermondse Ultimate Club
   style.css
================================ */

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

:root {
  --green: #1a3a6b;
  --green-dark: #0f2347;
  --green-light: #4a7fd4;
  --accent: #7eb8f7;
  --white: #ffffff;
  --off-white: #f4f7fc;
  --dark: #1a1a1a;
  --gray: #4a4a4a;
  --light-gray: #e0e8f5;
  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.btn {
  display: inline-block; padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s ease; letter-spacing: 0.02em;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-white:hover { background: var(--accent); border-color: var(--accent); }
.btn-dark { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.btn-dark:hover { background: #0f2b20; border-color: #0f2b20; }

.section-label {
  display: block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 8px;
}

/* ---- NAVBAR ---- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s, box-shadow 0.3s; }
.navbar.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 2px 16px rgba(0,0,0,0.1); }
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 24px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 36px; display: block; }
.logo-text-fallback {
  font-size: 1.4rem; font-weight: 900; color: var(--white) !important;
  letter-spacing: 0.05em; text-decoration: none;
}
.navbar.scrolled .logo-text-fallback { color: var(--green-dark) !important; }
.nav-logo { text-decoration: none; }

.nav-links { list-style: none; display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--white); transition: color 0.2s; }
.navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--accent); }
.navbar.scrolled .nav-links a:hover { color: var(--green); }

.nav-social { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.nav-social a { color: var(--white); transition: color 0.3s, opacity 0.2s; display: flex; text-decoration: none; opacity: 0.9; }
.nav-social a:hover { opacity: 1; }
.navbar.scrolled .nav-social a { color: var(--dark); }
.nav-social svg { fill: currentColor; transition: fill 0.3s; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: url('ducs-banner.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,67,50,0.72), rgba(0,0,0,0.5)); }
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 0 20px; }
.hero-sub { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.hero-content h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 900; line-height: 1.05; margin-bottom: 12px; }
.hero-tagline { font-size: 1.2rem; opacity: 0.85; margin-bottom: 36px; }

/* ---- SECTIONS ---- */
.section { padding: 96px 0; }
.section-light { background: var(--off-white); }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark .section-label { color: var(--accent); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }
.section-dark a:not(.btn) { color: var(--accent); }
.section-accent { background: var(--green); color: var(--white); }
.section-accent .section-label { color: var(--accent); }
.section-accent h2 { color: var(--white); }
.section-accent p { color: rgba(255,255,255,0.9); }
.section-accent a:not(.btn) { color: var(--accent); }
.section-free { background: var(--white); }

h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 20px; color: var(--green-dark); line-height: 1.2; }
p { margin-bottom: 16px; font-size: 1.05rem; }
.intro-text { font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }

/* ---- TWO-COL ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.text-block h2 { margin-top: 8px; }
.text-block p { color: var(--gray); }
.section-dark .text-block p { color: rgba(255,255,255,0.85); }
.text-block .btn { margin-top: 8px; }
.image-block img { width: 100%; border-radius: 16px; object-fit: cover; max-height: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }

/* ---- PARTNERS ---- */
.partners-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.partner-card { background: var(--white); border-radius: 12px; padding: 24px 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; min-width: 180px; min-height: 100px; }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.partner-card img { max-height: 60px; max-width: 160px; object-fit: contain; }

/* ---- FREE TRIAL ---- */
.free-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.free-card {
  background: var(--off-white); border-radius: 16px; padding: 32px 24px;
  text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.free-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.free-icon { font-size: 2.4rem; margin-bottom: 16px; }
.free-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.free-card p { font-size: 0.95rem; color: var(--gray); margin: 0; }

/* ---- TRAINING ---- */
.schedule-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin: 32px 0; }
.schedule-card { background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); border-radius: 16px; padding: 28px 48px; min-width: 200px; }
.schedule-day { font-size: 1.2rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.schedule-time { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.location-text { font-size: 1rem; margin: 8px 0 32px; }
.location-text a { color: var(--accent); font-weight: 600; }
.youth-block { background: rgba(255,255,255,0.12); border-radius: 16px; padding: 32px 40px; max-width: 620px; margin: 0 auto 36px; text-align: left; }
.youth-block h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--white); }
.youth-block a { color: var(--accent); }

/* ---- CONTACT ---- */
.contact-info { margin: 24px 0 32px; }
.map-link { color: var(--green); font-weight: 600; text-decoration: none; font-size: 1rem; }
.map-link:hover { text-decoration: underline; }
.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 18px; border: 2px solid var(--light-gray); border-radius: 10px; font-family: var(--font); font-size: 1rem; color: var(--dark); background: var(--white); transition: border-color 0.2s; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: 0.82rem; color: var(--gray); margin-top: 4px; }

/* ---- FOOTER ---- */
.footer { background: var(--green-dark); color: rgba(255,255,255,0.75); padding: 60px 24px; text-align: center; }
.footer-logo { height: 48px; margin-bottom: 16px; filter: brightness(10); }
.footer p { margin-bottom: 6px; font-size: 0.95rem; }
.footer strong { color: var(--white); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin: 20px 0 8px; }
.footer-social a { color: rgba(255,255,255,0.6) !important; transition: color 0.2s; display: flex; text-decoration: none; }
.footer-social a:hover { color: var(--white) !important; }
.footer-social svg { fill: currentColor; }
.footer-small { margin-top: 16px; font-size: 0.8rem; opacity: 0.6; }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse { direction: ltr; }
  .image-block { order: -1; }
  .free-cards { grid-template-columns: 1fr; }

  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--dark) !important; padding: 16px 24px; border-bottom: 1px solid var(--light-gray); }
  .nav-toggle { display: flex; }
  .nav-social { gap: 10px; }
  .nav-social svg { width: 18px; height: 18px; }

  .hero { background-attachment: scroll; }
  .form-row { grid-template-columns: 1fr; }
  .youth-block { padding: 24px; }
  .schedule-card { min-width: 160px; padding: 20px 32px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .free-cards { grid-template-columns: 1fr 1fr; }
}
