/* ===================================================
   Bridgeclub Jan Kadodder - Hoofdstijlblad
   Sint-Katelijne-Waver
   =================================================== */

:root {
  --groen: #1a4a2e;
  --groen-licht: #2d6b47;
  --groen-donker: #0f2d1c;
  --goud: #c8a96e;
  --goud-licht: #e8c98e;
  --goud-donker: #a8893e;
  --rood: #8b1a1a;
  --crème: #f8f5f0;
  --wit: #ffffff;
  --tekst: #2c2c2c;
  --tekst-licht: #5a5a5a;
  --schaduw: rgba(0,0,0,0.12);
  --radius: 12px;
  --overgang: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--tekst);
  background: var(--crème);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== WATERMARK ACHTERGROND ===== */
body::before {
  content: '';
  position: fixed;
  bottom: 0;
  right: 0;
  width: 480px;
  height: 480px;
  background-image: url('../images/de-kododders.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVIGATIE ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--groen-donker);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo .suits {
  font-size: 1.4rem;
  color: var(--goud);
  letter-spacing: 2px;
}

.nav-logo span {
  color: var(--wit);
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--overgang);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--goud);
  border-bottom-color: var(--goud);
}

.nav-admin {
  background: var(--goud);
  color: var(--groen-donker) !important;
  padding: 6px 16px !important;
  border-radius: 6px;
  border: none !important;
  font-weight: bold;
}

.nav-admin:hover {
  background: var(--goud-licht) !important;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--wit);
  transition: var(--overgang);
}

/* ===== HERO SECTIE ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--groen-donker) 0%, var(--groen) 50%, var(--groen-licht) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200, 169, 110, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200, 169, 110, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(200, 169, 110, 0.05) 0%, transparent 40%);
}

/* Kerksilhouet hero */
.hero-silhouet {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 420px;
  height: 420px;
  opacity: 0.07;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-suits {
  font-size: 2.5rem;
  color: var(--goud);
  letter-spacing: 12px;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--wit);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: slideUp 0.8s ease;
}

.hero-content h1 em {
  color: var(--goud);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.8rem;
  animation: slideUp 1s ease;
  letter-spacing: 1px;
}

.hero-locatie {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.4);
  color: var(--goud-licht);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  animation: slideUp 1.1s ease;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 1.2s ease;
}

.btn-primary {
  background: var(--goud);
  color: var(--groen-donker);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: var(--overgang);
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.4);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--goud-licht);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--wit);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--overgang);
}

.btn-secondary:hover {
  border-color: var(--goud);
  color: var(--goud);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollBounce 2s infinite;
}

/* ===== SECTIES ALGEMEEN ===== */
section {
  position: relative;
  z-index: 1;
}

.sectie-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sectie-header .kaartpak {
  font-size: 1.8rem;
  color: var(--goud);
  display: block;
  margin-bottom: 0.5rem;
}

.sectie-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--groen);
  margin-bottom: 1rem;
}

.sectie-header p {
  font-size: 1.1rem;
  color: var(--tekst-licht);
  max-width: 600px;
  margin: 0 auto;
}

.lijn-goud {
  width: 60px;
  height: 3px;
  background: var(--goud);
  margin: 1rem auto;
  border-radius: 2px;
}

/* ===== OVER ONS ===== */
#over {
  padding: 6rem 2rem;
  background: var(--wit);
}

.over-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.over-tekst h3 {
  font-size: 1.4rem;
  color: var(--groen);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--goud);
  display: inline-block;
}

.over-tekst p {
  color: var(--tekst-licht);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.kadodder-box {
  background: linear-gradient(135deg, var(--groen-donker), var(--groen));
  color: var(--wit);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--goud);
  margin-top: 2rem;
}

.kadodder-box h4 {
  color: var(--goud);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.kadodder-box p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.8;
}

.over-afbeeldingen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sfeer-foto {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px var(--schaduw);
  position: relative;
}

.sfeer-foto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sfeer-foto:hover img {
  transform: scale(1.05);
}

.sfeer-foto.groot {
  grid-column: 1 / -1;
}

.sfeer-foto.groot img {
  height: 280px;
}

.foto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--wit);
  padding: 1.5rem 1rem 0.8rem;
  font-size: 0.85rem;
  opacity: 0;
  transition: var(--overgang);
}

.sfeer-foto:hover .foto-overlay {
  opacity: 1;
}

/* ===== PRAKTISCH ===== */
#praktisch {
  padding: 6rem 2rem;
  background: var(--crème);
}

.praktisch-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.info-kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-kaart {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--schaduw);
  transition: var(--overgang);
  border-top: 4px solid var(--goud);
}

.info-kaart:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.info-icoon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.info-kaart h3 {
  color: var(--groen);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.info-kaart p, .info-kaart a {
  color: var(--tekst-licht);
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.8;
}

.info-kaart a:hover {
  color: var(--groen);
}

/* ===== RESULTATEN ===== */
#resultaten {
  padding: 6rem 2rem;
  background: var(--wit);
}

.resultaten-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.filter-balk {
  background: var(--crème);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px var(--schaduw);
}

.filter-balk label {
  font-size: 0.85rem;
  color: var(--tekst-licht);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.filter-balk select {
  padding: 8px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--tekst);
  background: var(--wit);
  cursor: pointer;
  transition: var(--overgang);
  font-family: inherit;
}

.filter-balk select:focus {
  outline: none;
  border-color: var(--groen);
}

.filter-reset {
  background: var(--groen);
  color: var(--wit);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--overgang);
  font-family: inherit;
  margin-left: auto;
}

.filter-reset:hover {
  background: var(--groen-licht);
}

.resultaten-lijst {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.resultaat-kaart {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--schaduw);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--overgang);
}

.resultaat-kaart:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.resultaat-header {
  background: linear-gradient(135deg, var(--groen-donker), var(--groen));
  color: var(--wit);
  padding: 1.2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.resultaat-header h3 {
  font-size: 1.05rem;
  color: var(--wit);
}

.resultaat-header .datum-badge {
  background: rgba(200, 169, 110, 0.25);
  border: 1px solid var(--goud);
  color: var(--goud-licht);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.resultaat-toggle {
  color: var(--goud);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.resultaat-kaart.open .resultaat-toggle {
  transform: rotate(180deg);
}

.resultaat-body {
  display: none;
  padding: 1.5rem;
}

.resultaat-kaart.open .resultaat-body {
  display: block;
}

.resultaat-notes {
  background: rgba(200, 169, 110, 0.1);
  border-left: 3px solid var(--goud);
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: var(--tekst-licht);
  font-style: italic;
}

.score-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.score-tabel th {
  background: var(--groen);
  color: var(--wit);
  padding: 10px 14px;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.score-tabel th:first-child { border-radius: 6px 0 0 0; }
.score-tabel th:last-child { border-radius: 0 6px 0 0; }

.score-tabel td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.score-tabel tr:last-child td {
  border-bottom: none;
}

.score-tabel tr:nth-child(even) td {
  background: var(--crème);
}

.score-tabel tr:first-child td {
  font-weight: bold;
  color: var(--groen);
}

.rank-1 { color: #d4a017; font-size: 1.1rem; }
.rank-2 { color: #9e9e9e; font-size: 1rem; }
.rank-3 { color: #b87333; font-size: 1rem; }

.geen-resultaten {
  text-align: center;
  padding: 4rem;
  color: var(--tekst-licht);
}

.geen-resultaten .groot-icoon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

/* ===== LEDEN ===== */
#leden {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--groen-donker), var(--groen));
  position: relative;
  overflow: hidden;
}

#leden::before {
  content: '♠ ♥ ♦ ♣';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15rem;
  color: rgba(255,255,255,0.03);
  letter-spacing: 20px;
  white-space: nowrap;
  pointer-events: none;
}

.leden-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.leden-inner .sectie-header h2 {
  color: var(--wit);
}

.leden-inner .sectie-header p {
  color: rgba(255,255,255,0.7);
}

.leden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.lid-kaart {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--overgang);
}

.lid-kaart:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--goud);
}

.lid-kaart .lid-icoon {
  width: 38px;
  height: 38px;
  background: var(--goud);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--groen-donker);
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.lid-naam {
  color: var(--wit);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* ===== LINKS ===== */
#links {
  padding: 6rem 2rem;
  background: var(--crème);
}

.links-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.link-kaart {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 4px 20px var(--schaduw);
  text-decoration: none;
  color: var(--tekst);
  display: block;
  transition: var(--overgang);
  border-top: 4px solid var(--groen);
  position: relative;
  overflow: hidden;
}

.link-kaart::after {
  content: '→';
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  color: var(--goud);
  font-size: 1.2rem;
  transition: var(--overgang);
}

.link-kaart:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.link-kaart:hover::after {
  right: 1rem;
}

.link-logo {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.link-kaart h3 {
  color: var(--groen);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.link-kaart p {
  color: var(--tekst-licht);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CONTACT ===== */
#contact {
  padding: 6rem 2rem;
  background: var(--wit);
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--groen);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.contact-rij {
  display: flex;
  gap: 12px;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.contact-rij .icoon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-rij div {
  color: var(--tekst-licht);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-rij strong {
  color: var(--tekst);
  display: block;
}

.kaart-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--schaduw);
  height: 320px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kaart-placeholder {
  text-align: center;
  color: var(--tekst-licht);
}

.kaart-placeholder .kaart-icoon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--groen-donker);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .suits {
  font-size: 1.8rem;
  color: var(--goud);
  letter-spacing: 6px;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand h3 {
  color: var(--wit);
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-nav h4 {
  color: var(--goud);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--overgang);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom .suits-klein {
  color: var(--goud);
  letter-spacing: 4px;
}

/* ===== ANIMATIES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.zichtbaar {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .over-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--groen-donker);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero-suits { font-size: 1.5rem; letter-spacing: 6px; }
  .filter-balk { flex-direction: column; align-items: stretch; }
  .filter-reset { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .resultaat-header { flex-direction: column; gap: 0.8rem; align-items: flex-start; }
}
