:root {
  --bg: #0f1724;
  --card: #0f1724;
  --muted: #9aa4b2;
  --accent: #6c9ef8;
  --accent-darker: #15329b;
  --accent-2: #8be3c9;
  --white: #f8fafc;
  --glass: rgba(255, 255, 255, 0.04);
  --max-w: 1100px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Helvetica Neue",
    Arial;
  color-scheme: light;

  /* For the animated text */
  --b1: #0b5ef3; /* darker */
  --b2: #3c7ef5;
  --b3: #6c9ef8; /* regular */
  --b4: #9dbefa; /* lighter */
}

a {
  color: var(--accent);
  font-weight: bold;
}

a:hover {
  color: var(--accent-darker)
}

/* Reset-ish */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  color: #0b1220;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 0;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand h1 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}
.tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.35rem 0.5rem;
}
.nav a:hover {
  color: #0b1220;
  font-weight: bold;
  color: #6c9ef8;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: white, solid, 1px;
}

.btn:hover {
  background-color: var(--accent-darker);
  color: white;
  border: 1px solid rgba(108, 158, 248, 0.2);
}
.btn-gray {
  background-color: gray;
}
.btn-gray:hover {
  background-color: #0b1220;
  color: white;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(11, 18, 32, 0.08);
  color: var(--muted);
  font-weight: bold;
}

.btn-outline:hover {
  background-color: white;
  color: #0b1220;
  font-weight: bold;
  color: #6c9ef8;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px dashed rgba(108, 158, 248, 0.2);
}
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* Animated color text */
.animated-text{
  /* gradient met meerdere stops */
  background: linear-gradient(90deg,
    var(--b1) 0%,
    var(--b2) 25%,
    var(--b3) 50%,
    var(--b4) 75%,
    var(--b1) 100%);
  background-size: 200% 200%; /* vergroot zodat bewegen zichtbaar is */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;                /* voor Firefox en moderne browsers */
  -webkit-text-fill-color: transparent; /* voor WebKit (Chrome/Safari) */
  animation: slideGradient 8s linear infinite;
  will-change: background-position;
}

/* animatie: schuif de gradient */
@keyframes slideGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* fallback: als browser background-clip:text niet ondersteunt */
.no-bgclip .animated-text {
  color: var(--b3);
}

/* Custom (Aaron) */
.blue {
  color: #6c9ef8;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.25rem;
}

/* Hero */
.hero {
  padding: 3rem 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
}
.hero-text h2 {
  margin: 0 0 0.6rem 0;
  font-size: 1.9rem;
}
.hero-text p {
  margin: 0 0 1rem 0;
  color: var(--muted);
}
.hero-text .accent {
  color: var(--accent);
  font-weight: 700;
}
.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(11, 18, 32, 0.06);
}

/* Sections */
.section {
  padding: 2.5rem 0;
}
.section-alt {
  background: #fbfdff;
  border-top: 1px solid rgba(11, 18, 32, 0.03);
  border-bottom: 1px solid rgba(11, 18, 32, 0.03);
}
h3 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: #0b1220;
}
p.muted {
  color: var(--muted);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.skill {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.04);
}
.skill h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr; /* <-- één kolom */
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
  display: flex;
  flex-direction: column;
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.project-content {
  padding: 0.5rem 1rem;
  padding-bottom: 1rem; /* display:flex; flex-direction:column; gap:0.6rem;  flex:1; */
}
.project-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

/* Timeline */
.timeline {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0 0;
  display: grid;
  gap: 1rem;
}
.timeline li {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.04);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}
.contact-form label {
  display: block;
  margin-bottom: 0.75rem;
}
.contact-orm input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 1rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 18, 32, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 100;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  width: 90%;
  max-width: 720px;
  position: relative;
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.2);
}
.modal-close {
  position: absolute;
  right: 0.5rem;
  top: 0.4rem;
  background: transparent;
  border: 0;
  font-size: 1.1rem;
}

/* Small utility */
.small {
  font-size: 0.9rem;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 64px;
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(11, 18, 32, 0.08);
  }
  .nav-toggle {
    display: block;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    padding: 0.5rem 0;
  }
}

/* small buttons */
.btn-small {
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
}
