/* ===== 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;
  background: linear-gradient(135deg, rgba(5, 5, 15, 0.85) 0%, rgba(15, 15, 35, 0.85) 100%), 
              url('../img/stadium.png') center/cover fixed;
  background-attachment: fixed;
  color: #f0f0f0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== 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.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(157, 125, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.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%;
}

.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%;
}

/* ===== Main content ===== */
main.page {
  max-width: 1100px;
  margin: 100px auto;
  padding: 0 30px;
}
  padding: 0 20px;
}

/* ===== Pagina Titel ===== */
h1 {
  text-align: center;
  font-size: 3.8rem;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
  background: linear-gradient(120deg, #fff, #9d7dff, #5f3cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(157, 125, 255, 0.5);
  filter: drop-shadow(0 0 20px rgba(157, 125, 255, 0.3));
  animation: fadeInTitle 0.8s ease-out;
}

/* ===== Intro tekst ===== */
.intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px auto;
  padding: 30px 40px;
  color: #e0e0e0;
  font-size: 1.15rem;
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 0.4px;
  background: rgba(25, 25, 35, 0.6);
  border: 1px solid rgba(157, 125, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(157, 125, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

/* ===== Teamleden / secties ===== */
.team-section {
  background: rgba(25, 25, 35, 0.92);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid rgba(157, 125, 255, 0.22);
  margin: 0 auto 60px auto;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(157, 125, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.team-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(157, 125, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.team-section:hover {
  transform: translateY(-10px);
  border-color: rgba(157, 125, 255, 0.4);
  box-shadow: 0 35px 90px rgba(157, 125, 255, 0.2), 0 0 60px rgba(157, 125, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.team-section h2 {
  background: linear-gradient(90deg, #9d7dff, #5f3cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 15px;
}
.team-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #9d7dff, #5f3cff);
  border-radius: 2px;
}

.team-section p {
  color: #d0d0d0;
  line-height: 1.8;
  text-align: center;
  margin-top: 15px;
}

/* ===== Teamleden kaarten ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 35px;
}

.team-member {
  background: linear-gradient(135deg, rgba(35, 35, 45, 0.88) 0%, rgba(30, 30, 40, 0.88) 100%);
  border-radius: 18px;
  padding: 35px;
  text-align: center;
  border: 1px solid rgba(157, 125, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(157, 125, 255, 0) 0%, rgba(157, 125, 255, 0.05) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.team-member:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(157, 125, 255, 0.45);
  box-shadow: 0 30px 80px rgba(157, 125, 255, 0.25), 0 0 50px rgba(157, 125, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(50, 40, 70, 0.95) 0%, rgba(40, 35, 60, 0.95) 100%);
}
.team-member:hover::before {
  opacity: 1;
}
.team-member img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid rgba(157, 125, 255, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 12px 40px rgba(157, 125, 255, 0.25);
}
.team-member:hover img {
  border-color: rgba(157, 125, 255, 0.6);
  box-shadow: 0 20px 60px rgba(157, 125, 255, 0.4);
  transform: scale(1.08) rotate(2deg);
}
.team-member h3 {
  margin: 15px 0 8px 0;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.team-member p {
  color: #9d7dff;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 50px 40px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  color: #aaa;
  border-top: 1px solid rgba(157, 125, 255, 0.15);
  backdrop-filter: blur(10px);
}
footer a {
  color: #9d7dff;
  text-decoration: none;
  transition: all 0.3s ease;
}
footer a:hover {
  color: #b9a3ff;
  text-decoration: underline;
  text-shadow: 0 0 15px rgba(157, 125, 255, 0.4);
}

/* ===== 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);
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(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;
  }
}
