/* External stylesheet: styles.css */
/* Basisreset */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root{
  --bg: #0f1724;
  --card: #0f1724ff;
  --accent: #7c3aed;
  --muted: #94a3b8;
  --glass: rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.02);
  --radius: 14px;
  --maxw: 1100px;
  --line: 1.45;
}

body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg,#071021 0%, #071a2a 60%);
  color: #e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height: var(--line);
  padding: 24px;
}

/* Container */
.container{ max-width: var(--maxw); margin: 0 auto; padding: 24px; }

/* Hero */
.hero{ margin-bottom: 28px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  backdrop-filter: blur(6px);
}

/* Left hero */
.hero-left .name{
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.highlight{ color: var(--accent); }

.role{ margin: 10px 0 14px; font-weight: 600; color: var(--muted); display:flex; gap:10px; align-items:center;}
.role-static{ color: #9fb0d1; font-weight:500; }
.role-rotator{ font-weight:700; font-size:18px; padding:4px 8px; border-radius:8px; background: linear-gradient(90deg, rgba(124,58,237,0.08), transparent); }

/* Summary */
.summary{ color: #cfe6ff; margin-bottom: 14px; max-width: 70%; }

/* Buttons */
.btn{
  display:inline-block; text-decoration:none; padding:10px 14px; border-radius:12px; font-weight:600;
  background: linear-gradient(90deg,var(--accent), #4f46e5); color:white;
  box-shadow: 0 6px 18px rgba(124,58,237,0.18), inset 0 -2px 0 rgba(0,0,0,0.08);
}
.btn-ghost{ background:transparent; border:1px solid rgba(255,255,255,0.06); color: #cfe6ff; margin-left:8px; }

/* Contact & skills */
.contact-list{ list-style:none; display:grid; gap:10px; color:var(--muted); }
.contact-list a{ color: #cfe6ff; text-decoration:none; }
.skills{ margin-top:14px; color:var(--muted); }
.skills ul{ list-style: inside; margin-top:6px; }

/* Sections */
.section{ margin: 26px 0; }
.section h2{ margin-bottom:12px; color:#dbeafe; font-size:20px; }

/* Jobs */
.job{ margin-bottom: 16px; padding:14px; border-radius:12px; background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005)); }
.job h3{ font-size:16px; margin-bottom:6px; color:#e6eef8; }
.job-meta{ color:var(--muted); font-size:13px; margin-bottom:8px; }

/* Two column */
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }

/* Footer */
.footer{ margin:40px 0 20px; color:var(--muted); text-align:center; }

/* Responsive */
@media (max-width: 880px){
  .hero-grid{ grid-template-columns: 1fr; }
  .summary{ max-width: 100%; }
  .two-col{ grid-template-columns: 1fr; }
}

/* Soft animation for role rotator */
.fade {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 600ms cubic-bezier(.2,.9,.3,1), transform 600ms cubic-bezier(.2,.9,.3,1);
}
.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* Betere leesbaarheid voor links */
a {
  color: #93c5fd; /* lichte blauw-tint, goed leesbaar op donker */
  text-decoration: none;
}

a:hover {
  color: #bfdbfe; /* nog lichter bij hover */
  text-decoration: underline;
}

/* Accessibility focus styles */
a:focus, button:focus { outline: 3px dashed rgba(124,58,237,0.35); outline-offset:3px; }

#contact a {
  color: #cfe6ff;
}

#contact a:hover {
  color: #ffffff;
}

/* Small decorative gradient line */
.hero::after{
  content: ""; display:block; height:6px; margin-top:14px; border-radius:6px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.35), transparent);
  opacity:0.9;
}
