/* Kleuren */
:root {
  --pink: #F29CB2;
  --light-pink: #FADBE3;
  --off-white: #fef5ef;
  --text-dark: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Neulis Sans', 'scandia';
  color: var(--text-dark);
}

main {
  background-color: var(--off-white);
}

h5 {
  color: transparent;
}

h6 {
  display: none;
}

.link-unstyled {
  color: inherit;
  text-decoration: none;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--off-white);
  padding: 1rem 2rem;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 36px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
    padding-right: 10%;
  }

  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 2rem;
  position: relative;
  text-align: center;
}

.hero-peer {
  width: 100%;
  height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-content mark {
  background-color: var(--light-pink);
  border-radius: 8px;
  color: #333333;
  padding: 0 1.5%;
}

.hero-content p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

button {
  padding: 0.75rem 1.5rem;
  background-color: var(--light-pink);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 7%;
}

button:hover {
  background-color: var(--accent-pink);
}

/* Project Cards */
.project-cards,
.peer-suport-card,
.over-mij-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3.2rem;
  padding: 2rem;
}

.over-mij-card {
  background-repeat: no-repeat;
  background-size: cover;
  /* Schaal afbeelding zodat het de hele container vult */
  background-position: center;
}

.project-cards {
  max-width: 1200px;
  margin: 4rem auto;
}

@media (min-width: 992px) {
  .project-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  position: relative;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-card h3,
.project-card p {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin: 0;
}

.project-card h3 {
  font-size: 2.5rem;
}

.project-card p {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.95rem;
}

.project-card[style*="card-stilleven-background.jpg"] p {
  color: var(--off-white);
}

/* Over Mij */
.over-mij {
  background-color: #B9D9F5;
  padding: 4rem 2rem;
}

.over-mij .container {
  display: flex;
  align-items: stretch;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.over-mij figure,
.over-mij article {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.over-mij figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.over-mij article {
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.over-mij article::before {
  content: "";
  background: url('../images/card-over-mij-background.jpg') no-repeat center;
  background-size: cover;
  opacity: 0.2;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.over-mij article * {
  position: relative;
  z-index: 1;
}

.over-mij h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

.over-mij p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cv-button {
  background-color: #A8C8E7;
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 8rem;
}

/* Skills */
.skills {
  color: var(--off-white);
  padding: 6rem 2rem;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 6rem;
  padding: 0.5rem;
}

.skills-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url('assets/images/card-skills-background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  padding: 2rem;
  color: var(--text-dark);
  height: 100%;
  min-height: 300px;
}

.skills-intro h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.skills-intro p {
  margin-top: auto;
  font-size: 0.95rem;
}

.skills-card {
  background-color: #D3D655;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  color: var(--text-dark);
  min-height: 100%;
}

.skills-card h3 {
  font-size: 1rem;
  margin: 0;
}

.stars {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars img {
  width: 24px;
  height: 24px;
}

/* Contact */
.contact {
  background-color: #d9b1dd;
  padding: 4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem;
  justify-content: center;
  align-items: stretch;
}

.contact-card {
  background-image: url('assets/images/card-contact-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 4rem 2rem;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-dark);
  max-width: 500px;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-image {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card h2 {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
}

.contact-card p,
.contact-card address {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.contact-card a {
  color: inherit;
  text-decoration: none;
}

.contact-card .btn {
  background-color: #d1a7e0;
  color: #1a1a1a;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  width: fit-content;
  text-transform: lowercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-card .btn:hover {
  background-color: #c089d0;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact {
    flex-direction: column;
    align-items: center;
  }

  .contact-card,
  .contact-image {
    max-width: 100%;
  }

  .contact-image img {
    height: auto;
  }
}

/* Footer */
.site-footer {
  background-color: #fff7f0;
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Inter', sans-serif;
}

.footer-nav {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}

.footer-nav a {
  color: var(--pink);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-text {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.footer-text a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

footer .copyright {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Projecten Cards */
.projecten-project-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem;
}

.projecten-project-card article {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  /* ✅ rechthoekig ipv vierkant */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: var(--off-white);
  /* fallback achtergrondkleur */
  display: flex;
  flex-direction: column;
}

.projecten-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.projecten-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projecten-card-image .overlay {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-dark);
}

.projecten-card-image h3,
.projecten-card-image p {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  width: fit-content;
  margin: 0;
}

.projecten-card-image h3 {
  font-size: 1.5rem;
}

.projecten-card-image p {
  font-size: 1rem;
}

/* ✅ Mobiel: onder elkaar */
@media (max-width: 768px) {
  .projecten-project-card {
    grid-template-columns: 1fr;
  }
}



.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.button-projects {
  display: inline-block;
  background-color: var(--pink);
  color: var(--text-dark);
  padding: 0.5rem 1.5rem;
  margin-bottom: 3%;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 8rem;
  text-align: center;
}

.visually-hidden {
  display: none;
}


.btn-herosection {
  display: inline-block;
  background-color: var(--light-pink);
  color: var(--text-dark);
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 3rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  text-transform: lowercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}








.random-projects-section {
  background-color: var(--pink);
  padding: 4rem 2rem;
}

.random-projects-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.random-project-card {
  flex: 1 1 280px;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-decoration: none;
  transition: transform 0.3s ease;
  color: var(--off-white);
}

.random-project-card:hover {
  transform: scale(1.02);
}

.random-project-card p {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  margin: 1rem;
  font-size: 1rem;
  max-width: 90%;
}

@media (max-width: 480px) {
  .random-project-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .random-project-card p {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}



