/* BASIS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse at center, rgba(18, 144, 202, 0.8) 0%, rgba(20, 128, 179, 0.8) 100%);
  color: #f7f7f7;
}

/* HERO / HEADER */
.hero {
  padding: 40px 16px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* .hero::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/concrete-wall-2.png");
  opacity: 0.5;
  z-index: -1;
} */

.hero-inner {
  /* max-width: 720px; */
  margin: 0 auto;
  border: 4px double #f7f7f7;
  padding: 24px 20px;
  background: rgba(10, 58, 80, 0.8);
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.1rem;
}

/* PAGINA-CONTAINER */
.page {
  max-width: 960px;
  margin: 32px auto 40px;
  padding: 32px 20px;
  background: rgba(0, 0, 0, 0.60);
  border-radius: 16px;
}

/* KOPPEN */
h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  border-bottom: 2px solid #f7f7f7;
  padding-bottom: 6px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

/* TOP GRID (OVER MIJ + CONTACT) */
.top-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 24px;
  margin-bottom: 40px;
}

.column p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* CONTACT-ZIJBALK */
.sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px 18px;
}

.contact-list {
  list-style: none;
  margin-bottom: 16px;
}

.contact-list li {
  margin-bottom: 8px;
}

.contact-list span {
  display: inline-block;
  min-width: 80px;
  font-weight: 600;
}

.contact-list a {
  color: #f7f7f7;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  border: 2px solid #f7f7f7;
  color: #0b0b0b;
  background: #f7f7f7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.25s, color 0.25s, transform 0.1s;
  margin-right: 8px;   /* nieuw */
  margin-top: 0.4rem; 
  margin-bottom: 0.4rem; 
}


.btn:hover {
  background: transparent;
  color: #f7f7f7;
  transform: translateY(-1px);
}

/* ALGEMENE SECTIES */
section {
  margin-bottom: 40px;
}

section p {
  line-height: 1.6;
}

/* LIJSTEN */
ul {
  list-style: none;
  padding-left: 0;
}

ul li::before {
  content: "• ";
  color: #f7f7f7;
}

.job ul li {
  margin-left: 0;
  margin-bottom: 6px;
}

/* TAG-achtige skills */
.tags li {
  margin-bottom: 6px;
}

/* THESIS-INDENT */
.thesis {
  margin-top: 6px;
  margin-left: 16px;
  font-size: 0.95rem;
}

/* FOOTER */
.footer {
  text-align: center;
  color: #aaa;
  padding: 16px 0 24px;
  font-size: 0.9rem;
}

/* ALGEMENE TEKSTAFSTANDEN */
p, li {
  line-height: 1.6;        /* meer ruimte tussen regels */
  margin-bottom: 0.4rem;   /* kleine ruimte tussen paragrafen/lijstitems */
}

/* ERVARINGEN */
#experience {
  margin-bottom: 40px;
}

.experience-item {
  margin-bottom: 24px;          /* ruimte tussen verschillende ervaringen */
  padding-left: 18px;           /* ruimte voor de verticale lijn */
  border-left: 3px solid #f7f7f7;  /* duidt het begin van een nieuwe ervaring aan */
}

.experience-header h3 {
  margin-bottom: 4px;
}

.experience-role {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.experience-body {
  margin-left: 4px;             /* lichte extra indent t.o.v. header */
}

.cv-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;            /* verborgen standaard */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cv-modal-content {
  width: min(900px, 90vw);
  height: min(600px, 80vh);
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.cv-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cv-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  color: #f7f7f7;
  font-size: 1.5rem;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .top-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    margin-inline: 8px;
  }

  .page {
    margin-inline: 12px;
    padding-inline: 16px;
  }
}
