/* ============================================================
   Evenementen Dordrecht - bijberry.nl
   Gedeeld stylesheet v1.0
   ============================================================ */

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

/* === CSS VARIABELEN =========================================== */
:root {
  --color-primary:   #B03A2E;
  --color-secondary: #1E3A2F;
  --color-accent:    #E8A838;
  --color-bg:        #FAF7F2;
  --color-surface:   #FFFFFF;
  --color-text:      #1A1A1A;
  --color-muted:     #6B6B6B;
  --font-display:    'Playfair Display', serif;
  --font-body:       'Source Sans 3', sans-serif;
  --radius:          6px;
  --shadow:          0 2px 12px rgba(0,0,0,0.08);
  --max-width:       1100px;
  --transition:      0.22s ease;
}

/* === RESET ==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }

/* === BASE ===================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* === CONTAINER ================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === TYPOGRAFIE =============================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.75rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--color-accent);
  margin-top: 0.35rem;
  border-radius: 2px;
}

a.inline-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === STICKY HEADER =========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-secondary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

/* Logo */
.site-logo { display: flex; flex-direction: column; line-height: 1.2; }

.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* Hamburger knop */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navigatie - mobiel (verborgen standaard) */
.site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-secondary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 0 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.site-nav.is-open { display: flex; }

.site-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
  background: rgba(255,255,255,0.04);
}

/* Navigatie - desktop */
@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 0.1rem;
  }

  .site-nav a {
    padding: 0.35rem 0.7rem;
    font-size: 0.88rem;
    border-radius: var(--radius);
  }
}

/* === BREADCRUMB =============================================== */
.breadcrumb {
  background: var(--color-surface);
  border-bottom: 1px solid #E9E5DC;
  padding: 0.55rem 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.breadcrumb ol {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '›';
  color: #B0AA9E;
  margin-right: 0.4rem;
}

.breadcrumb a { color: var(--color-primary); }
.breadcrumb [aria-current] { color: var(--color-text); font-weight: 600; }

/* === HERO (homepage) ========================================= */
.hero {
  background: linear-gradient(140deg, #0d2318 0%, var(--color-secondary) 55%, #122a1d 100%);
  position: relative;
  padding: 4.5rem 1.25rem 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(232,168,56,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(176,58,46,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* subtiel water-ornament bovenaan */
.hero::after {
  content: '〜〜〜';
  position: absolute;
  bottom: 0.75rem;
  right: 1.5rem;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.5em;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.hero h1 { color: #fff; margin-bottom: 0.9rem; }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  line-height: 1.5;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.hero-links a {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  transition: background var(--transition), border-color var(--transition);
}

.hero-links a:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.4);
}

/* === PAGE HEADER (subpagina's) =============================== */
.page-header {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0d2318 100%);
  padding: 2.75rem 1.25rem 2.25rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '〜〜〜';
  position: absolute;
  bottom: 0.5rem;
  right: 1.5rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.05);
  letter-spacing: 0.5em;
  pointer-events: none;
}

.page-header h1 { color: #fff; margin-bottom: 0.4rem; }
.page-header p   { color: rgba(255,255,255,0.72); max-width: 600px; font-size: 1.02rem; }

/* === SECTIES ================================================== */
.section { padding: 3rem 1.25rem; }
.section-alt { background: var(--color-surface); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

.intro-text {
  max-width: 720px;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

/* === KAARTENRASTER ============================================ */
.card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

@media (min-width: 500px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card-grid-2 {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 600px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid #EDE9E1;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.11);
}

.card-icon    { font-size: 1.9rem; margin-bottom: 0.65rem; }
.card h3      { color: var(--color-secondary); }
.card p       { color: var(--color-muted); font-size: 0.93rem; flex: 1; margin-top: 0.3rem; }

.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.card-link::after { content: ' →'; }
.card-link:hover  { color: #8a2b20; }

/* === FEATURE KOLOMMEN ======================================== */
.feature-cols {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

@media (min-width: 580px) { .feature-cols { grid-template-columns: repeat(3, 1fr); } }

.feature-col {
  text-align: center;
  padding: 1.6rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #EDE9E1;
}

.feat-icon    { font-size: 2.25rem; margin-bottom: 0.7rem; }
.feature-col h3 { color: var(--color-secondary); margin-bottom: 0.35rem; }
.feature-col p  { color: var(--color-muted); font-size: 0.9rem; }

/* === CHECKLIST =============================================== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1rem;
}

.checklist li {
  padding-left: 2rem;
  position: relative;
  font-size: 0.97rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

.checklist.checkbox li::before {
  content: '☐';
  color: var(--color-muted);
}

.checklist li strong { color: var(--color-secondary); }
.checklist li a      { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* === GENUMMERDE TIPS ========================================= */
.tips-list {
  counter-reset: tips;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.tips-list li {
  counter-increment: tips;
  padding-left: 2.75rem;
  position: relative;
  font-size: 0.97rem;
}

.tips-list li::before {
  content: counter(tips);
  position: absolute;
  left: 0; top: 0.05rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.tips-list li strong { color: var(--color-secondary); }
.tips-list li a      { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* === PRIJSTABEL ============================================== */
.price-table-wrap { overflow-x: auto; margin-top: 1rem; border-radius: var(--radius); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.price-table th {
  background: var(--color-secondary);
  color: #fff;
  text-align: left;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
}

.price-table th:first-child { border-radius: var(--radius) 0 0 0; }
.price-table th:last-child  { border-radius: 0 var(--radius) 0 0; }

.price-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #EDE9E1;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #F5F2EC; }

.price-table tfoot td {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-style: italic;
  padding-top: 0.6rem;
  border: none;
}

/* === ADVERTENTIERUIMTE ======================================= */
/* ADVERTENTIE BANNER BOVEN CONTENT (728x90 leaderboard) */
.ad-banner {
  margin: 1.75rem auto;
  max-width: 728px;
  min-height: 90px;
  background: #EEEAE0;
  border: 2px dashed #C5C0B5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A0998E;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ADVERTENTIE SIDEBAR OF TUSSEN CONTENT (300x250 rectangle) */
.ad-rectangle {
  margin: 1.75rem auto;
  max-width: 300px;
  min-height: 250px;
  background: #EEEAE0;
  border: 2px dashed #C5C0B5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A0998E;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === AGENDA KAARTEN ========================================== */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.event-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-accent);
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  align-items: flex-start;
  border-top: 1px solid #EDE9E1;
  border-right: 1px solid #EDE9E1;
  border-bottom: 1px solid #EDE9E1;
}

.event-date {
  flex-shrink: 0;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
  min-width: 60px;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  display: block;
}

.event-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.88;
  display: block;
}

.event-body h3 { color: var(--color-secondary); font-size: 1.05rem; margin-bottom: 0.2rem; }
.event-body p  { font-size: 0.9rem; color: var(--color-muted); }

.event-tag {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-secondary);
  border: 1px solid #D4CFC4;
  border-radius: 50px;
  padding: 0.1rem 0.6rem;
  font-size: 0.72rem;
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
}

/* === FORMULIER GEBIED ======================================== */
.form-section {
  background: var(--color-secondary);
  color: #fff;
  padding: 2.5rem 1.25rem;
}

.form-section h2 { color: var(--color-accent); }
.form-section p  { color: rgba(255,255,255,0.75); max-width: 580px; }

/* === FOOTER ================================================== */
.site-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.75);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 580px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.footer-col p { font-size: 0.88rem; line-height: 1.65; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--color-accent); }

.footer-ad {
  min-height: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* === HULPKLASSEN ============================================= */
.mt-sm  { margin-top: 0.75rem; }
.mt-md  { margin-top: 1.5rem; }
.mt-lg  { margin-top: 2.5rem; }
.mb-md  { margin-bottom: 1.5rem; }
.text-muted { color: var(--color-muted); font-size: 0.9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
