/* Basis reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f0f0f0; /* lichtgrijs */
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

/* Container (wit vlak in midden) */
.container {
  max-width: 1100px;
  margin: 30px auto;
  background: #fff;
  padding: 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
  position: relative;
  margin-bottom: 20px;
}

header h1 {
  font-size: 32px;
  color: #0a2a66; /* Real Madrid blauw */
  margin-bottom: 10px;
}

/* Logo rechtsboven */
.logo {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: auto;
}

/* Navigatie */
.nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.nav a {
  text-decoration: none;
  color: #0a2a66;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
  background: #0a2a66;
  color: #fff;
}

/* Afbeeldingen grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  margin-top: 25px;
  text-align: center;
  color: #666;
  font-size: 14px;
}



.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid #0a2a66; /* blauw accent */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  border-color: gold; /* goud bij hover */
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card .text {
  padding: 15px;
}

.card h3 {
  margin-bottom: 10px;
  color: #0a2a66;
  font-size: 20px;
}

.card p {
  color: #444;
  font-size: 15px;
  line-height: 1.4;
}
.stadium-section {
  text-align: center;
  padding: 20px;
}

.stadium-gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.stadium-gallery img {
  width: 30%;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.stadium-gallery img:hover {
  transform: scale(1.05);
}

.stadium-info {
  background: #f8f9fc;
  border-radius: 15px;
  padding: 20px;
  margin: 25px auto;
  width: 70%;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stadium-info h2 {
  color: #003399;
}

.stadium-video iframe {
  border-radius: 15px;
  margin-top: 15px;
}











.trophy-history {
  text-align: center;
  margin: 30px auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trophy-history h2 {
  color: #003399;
  margin-bottom: 10px;
}

.trophy-history p {
  color: #333;
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto 20px;
}

.history-trophy-img {
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.history-trophy-img:hover {
  transform: scale(1.03);
}












body {
  margin: 0;
  font-family: Arial, sans-serif;
  text-align: center;
}

h1 {
  padding: 15px;
  margin: 0;
}

img {
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  margin-top: 15px;
}

p {
  width: 90%;
  max-width: 700px;
  margin: 10px auto 25px;
  padding: 10px;
  border-radius: 6px;
}

button {
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
  font-weight: 600;
}


body.light-mode {
  background-color: #f1f5f9;
  color: black;
}

body.light-mode h1 {
  background-color: #e2e8f0;
  color: black;
}

body.light-mode p {
  background-color: white;
  color: black;
}

body.light-mode button {
  background-color: #e2e8f0;
  color: black;
}

body.dark-mode {
  background-color: #0f172a;
  color: white;
}

body.dark-mode h1 {
  background-color: #1f2937;
  color: white;
}

body.dark-mode p {
  background-color: #1e293b;
  color: white;
}

body.dark-mode button {
  background-color: #334155;
  color: white;
}











.subtitle { color:#444; margin-top:-8px; }

.summary, .timeline, .legends, .speak-cards {
  background:#ffffff; border-radius:16px; padding:18px 20px; margin:18px 0;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}

.stat-cards {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:14px; margin:20px 0;
}
.stat-card {
  background:linear-gradient(180deg,#f8fbff,#eef3ff);
  border:1px solid #e2e8ff; border-radius:16px; padding:16px; text-align:center;
}
.stat-number { display:block; font-size:36px; font-weight:800; color:#002f86; }
.stat-label  { display:block; font-size:13px; color:#375; color:#334; }

.timeline ul { list-style: none; padding-left:0; }
.timeline li { padding:8px 10px; border-left:4px solid #003399; margin:8px 0 8px 6px; background:#f6f8ff; border-radius:8px; }
.timeline li strong { color:#001e60; }

.era-grid {
  display:grid; gap:16px; margin:18px 0;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.era-card {
  background:#fff; border-radius:16px; padding:16px;
  box-shadow:0 6px 14px rgba(0,0,0,.07);
  border:1px solid #eee; transition:transform .2s ease;
}
.era-card:hover { transform: translateY(-3px); }
.era-card h3 { color:#003399; margin-bottom:8px; }
.era-card ul { padding-left:18px; }

.legend-tags { display:flex; flex-wrap:wrap; gap:8px; }
.legend-tags span {
  background:#003399; color:#fff; padding:6px 10px; border-radius:999px; font-size:13px;
}

.speak-cards ol { padding-left:18px; }
.speak-cards li { margin:8px 0; }