:root {
  --primary-purple: #6e52cc;
  --primary-purple-light: #9379d9;
  --background: #121214;
  --text-light: #e8e8e8;
  --text-muted: #bbb;
  --font-main: 'Space Grotesk', sans-serif;
  --border-radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--text-light);
  font-family: var(--font-main);
  min-height: 100vh;
  padding: 1.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-behavior: smooth;
  position: relative;
  z-index: 1;
}

/* Neon achtergrond effect – nu ook op mobiel */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(110, 82, 204, 0.15), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(147, 121, 217, 0.12), transparent 50%),
    linear-gradient(45deg, rgba(110, 82, 204, 0.07) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(147, 121, 217, 0.07) 25%, transparent 25%);
  background-size: 300% 300%;
  animation: pulseBackground 30s ease-in-out infinite;
  filter: blur(10px);
}

@keyframes pulseBackground {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 440px;
  user-select: none;
}

.logo {
  width: 140px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 3px var(--primary-purple));
}

.subtitle {
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto;
  letter-spacing: 0.02em;
  user-select: none;
}

/* Main content */
.main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  max-width: 900px;
  width: 100%;
  margin-bottom: 5rem;
}

/* Asymmetrische tekstsecties */
.asym-text {
  flex: 1 1 320px;
  max-width: 440px;
  position: relative;
  user-select: none;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 4rem;
}

.asym-text:nth-child(odd) {
  transform: translateX(-12%);
  transition: transform 0.3s ease;
}

.asym-text:nth-child(even) {
  transform: translateX(8%);
  transition: transform 0.3s ease;
}

.asym-text:hover {
  transform: translateX(0);
  color: var(--primary-purple-light);
  filter: drop-shadow(0 0 8px var(--primary-purple-light));
}

.asym-text h2 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 6px var(--primary-purple-light);
}

/* Preview grid */
.preview-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.preview-grid img {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(110, 82, 204, 0.15);
}

.preview-grid img:hover {
  filter: grayscale(0);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 0 12px var(--primary-purple-light);
}

/* Subtiele button */
.btn-subtle {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  border-radius: 35px;
  background: var(--primary-purple);
  color: var(--text-light);
  font-weight: 600;
  box-shadow: 0 0 12px var(--primary-purple-light);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  user-select: none;
}

.btn-subtle:hover {
  box-shadow: 0 0 25px var(--primary-purple-light);
}

/* Contactsectie */
.contact {
  max-width: 900px;
  width: 100%;
  text-align: center;
  margin-bottom: 5rem;
  user-select: none;
}

.contact h2 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 6px var(--primary-purple-light);
}

.contact p {
  font-weight: 600;
  margin: 0.4rem 0;
  color: var(--primary-purple-light);
}

.contact a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact a:hover {
  color: var(--primary-purple-light);
  text-shadow: 0 0 8px var(--primary-purple-light);
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: auto;
  margin-bottom: 1rem;
}

/* Over mij met foto */
.about-content {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.photo-container {
  flex-shrink: 0;
  width: 140px;
  height: 180px;
  border-radius: 20px 40px 15px 35px;
  overflow: hidden;
  box-shadow:
    0 0 15px 2px rgba(110, 82, 204, 0.5),
    inset 0 0 10px rgba(110, 82, 204, 0.8);
  transform: rotate(-4deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.3s ease;
}

.photo-container:hover {
  transform: rotate(0deg);
  box-shadow:
    0 0 30px 6px rgba(110, 82, 204, 0.7),
    inset 0 0 15px rgba(110, 82, 204, 1);
}

.photo-container:hover img {
  filter: grayscale(0%);
}

/* Mobiel */
@media (max-width: 600px) {
  .main-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .preview-grid img {
    width: 90px;
    height: 90px;
  }

  .asym-text:nth-child(odd),
  .asym-text:nth-child(even) {
    transform: translateX(0) !important;
  }

  .about-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-container {
    width: 120px;
    height: 160px;
    border-radius: 25px 35px 25px 35px;
    transform: rotate(0deg);
    box-shadow:
      0 0 20px 3px rgba(110, 82, 204, 0.6),
      inset 0 0 12px rgba(110, 82, 204, 0.8);
    margin-top: 1rem;
  }
}

/* Desktop layout verbeteringen */
@media (min-width: 900px) {
  .main-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8rem;
    max-width: 1300px;
    font-size: 1.4rem;
  }

  .asym-text {
    margin-bottom: 5rem;
    font-size: 1.4rem;
  }

  .asym-text:nth-child(odd) {
    transform: translateX(-25%);
  }

  .asym-text:nth-child(even) {
    transform: translateX(15%);
  }

  .asym-text h2 {
    font-size: 2.5rem;
  }

  .preview-grid img {
    width: 180px;
    height: 180px;
  }

  .photo-container {
    width: 220px;
    height: 270px;
  }

  .contact {
    font-size: 1.4rem;
  }

  .contact h2 {
    font-size: 2.5rem;
  }

  .btn-subtle {
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
  }

  .subtitle {
    font-size: 1.4rem;
    max-width: 380px;
  }

  .logo {
    width: 180px;
  }
}
