/* ===== Algemene stijl ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  /* inherit the global background from css/style.css for a consistent stadium look */
  color: #f0f0f0;
  overflow-x: hidden;
}

/* ===== Header ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.glass {
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.logo span {
  background: linear-gradient(90deg, #9d7dff, #5f3cff);
  -webkit-background-clip: text;
  color: transparent;
}

nav a {
  margin: 0 20px;
  color: #bbb;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}
nav a:hover {
  color: #fff;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #9d7dff;
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

.lang {
  color: #aaa;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #bbb;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #9d7dff;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* ===== Hoofdsectie ===== */
main.page {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

h1 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #9d7dff, #5f3cff);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
}

.intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
  color: #ccc;
  font-size: 1.1rem;
}

/* ===== Secties ===== */
section {
  background: rgba(20,20,30,0.85);
  padding: 28px;
  border-radius: 18px;
  border: 2px solid rgba(157,125,255,0.18);
  margin: 0 auto 34px auto;
  width: 85%;
  max-width: 1000px;
  box-shadow: 0 15px 40px rgba(8,8,12,0.6);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

section:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(157,125,255,0.18);
  border-color: rgba(157,125,255,0.28);
}

section h2 {
  color: #9d7dff;
  margin-bottom: 15px;
}

section p {
  line-height: 1.6;
  color: #ccc;
}

.gear-list,
.tips-list {
  margin: 18px 0;
  padding-left: 22px;
  color: rgba(255,255,255,0.9);
}
.gear-list li,
.tips-list li { margin-bottom: 10px; }

/* New gear grid and card styles */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.gear-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  border: 2px solid rgba(157,125,255,0.12);
  box-shadow: 0 8px 30px rgba(8,8,12,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gear-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 55px rgba(95,60,255,0.08);
  border-color: rgba(157,125,255,0.22);
}

.gear-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 26px;
  background: radial-gradient(circle at 30% 20%, rgba(157,125,255,0.18), rgba(95,60,255,0.06));
  color: #fff;
}

.gear-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}

.gear-card p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.gear-card .btn-primary {
  margin-top: 8px;
  align-self: stretch;
}

/* Modal styles */
.no-scroll { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  transition: opacity 260ms ease;
  opacity: 0.0;
}
.modal[aria-hidden="false"] .modal-backdrop { opacity: 1; }

.modal-panel {
  position: relative;
  max-width: 720px;
  width: calc(100% - 48px);
  background: linear-gradient(180deg, rgba(18,18,24,0.95), rgba(12,12,18,0.92));
  border-radius: 14px;
  padding: 18px 20px;
  border: 2px solid rgba(157,125,255,0.16);
  box-shadow: 0 30px 80px rgba(8,8,12,0.7);
  transform: translateY(8px) scale(0.985);
  opacity: 0;
  transition: transform 320ms cubic-bezier(.2,.9,.25,1), opacity 260ms ease;
}
.modal[aria-hidden="false"] .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  cursor: pointer;
}

/* small UI polish */
.gear-card { will-change: transform, box-shadow; }
.gear-card .btn-primary { transition: transform 180ms ease, box-shadow 180ms ease; }
.gear-card .btn-primary:active { transform: translateY(1px) scale(0.997); }

@media (max-width: 520px) {
  .gear-grid { gap: 12px; }
  .gear-card { padding: 14px; }
  .gear-icon { width: 48px; height: 48px; font-size: 22px; }
}

/* ===== Afbeeldingen ===== */
.gear-img {
  width: 100%;
  border-radius: 12px;
  margin-top: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gear-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(157, 125, 255, 0.4);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 40px;
  font-size: 0.9rem;
  background: #080808;
  color: #777;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer a {
  color: #9d7dff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* ===== Fade-in animatie ===== */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsief ===== */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    padding: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  main.page {
    margin: 40px auto;
  }
}
