/* ---------- Base ---------- */
:root{
  --bg: #e27047;       /* terracotta */
  --edge: 28px;        /* marge rondom afbeelding*/
  --bg-alt: hsl(348, 81%, 21%);  /* onder blok (over)*/
  --text: #610a1c;
  --muted: #ffffff; /* ondertext*/
  --line: hsla(348, 81%, 21%, 0.439);
  --card: #ffffff; /* witte blokken*/
  --shadow: 0 18px 45px rgba(0,0,0,.06);


  --max: 1120px;
  --pad: 24px;

  --radius: 18px;
  --radius-lg: 24px;

  --h1: clamp(34px, 4.6vw, 56px);
  --h2: 22px;
  
  --p: 16px;
  --lead: 17px;
}
  #vaardigheden h3 {
  color: #ffffff;
}

html{
  scroll-behavior: smooth;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

img{
  max-width: 100%;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

.container{
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
  display: flex;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;          /* naast elkaar */
  align-items: center;  
  gap: 10px;              /* ruimte tussen logo en tekst */
}

.brand-text {
  display: flex;
  flex-direction: column; /* naam boven rol */           /* ruimte tussen naam en rol */
}

.anna-logo {
  width: 60px;
  height: auto;
}

.brand__role{
  font-size: 13px;
  color: var(--muted);
}

.nav{
  display: flex;
  gap: 35px;
  align-items: center;
  font-size: 16px;
  color: var(--muted);
}
.nav a:hover{ color: var(--text); }

.nav__cta{
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--card) 92%, transparent);
}

/* ---------- Hero ---------- */
.hero{
  padding-top: 250px;
}

#hero-home{
  background-image: url("images/Banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero-hortus{
  background-image: url("images/BannerHortus.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero-maatschappelijk{
  background-image: url("images/BannerMaatschappelijk.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero-surface{
  background-image: url("images/BannerSurface.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 30px 0 20px 0;
}

.hero-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
}


/* .Anna-logo{
  width: 500px;
  height: auto;
  margin-top: 0px;
  margin-left: -140px;
}
.Anna-logo:hover{
  transform: scale(1.05);
  transition: transform 0.35s ease;
} */
/* 
.surface-logo{
  width: 100px;
  height: auto;
  margin-bottom: 40px;
}
.surface-logo:hover{
  transform: scale(1.05);
  transition: transform 0.35s ease;
}
.plant-logo{
  width: 300px;
  height: auto;
  margin-bottom: 40px;
}
.plant-logo:hover{
  transform: scale(1.05);
  transition: transform 0.35s ease;
}  */

/* ---------- Buttons ---------- */
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--text);
  color: #ffffff;
  font-size: 14px;
  letter-spacing: -0.01em;

}
.button:hover{
  transform: translateY(-4px);
  transition: ease-in-out 0.1s;
}

.button--ghost{
  background: transparent;
  color: var(--text);
}

.button--small{
  padding: 10px 12px;
  font-size: 13px;
  color: #ffffff;
}

/* ---------- Sections ---------- */
.section{
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.section--alt{
  background: var(--bg-alt);
}

.section-head{
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.section-head h2{
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.section-head p{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: var(--p);
}

/* ---------- Portfolio gallery ---------- */
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.card{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.card__link{
  display: block;
  position: relative;
  text-decoration: none;
}

.card__media{
  position: relative;
}

.card__media img{
  display: block;
  width: 100%;
  height: auto; /* behoudt eigen grootte/verhouding */
  border-radius: 10px;
}

/* Tekst-overlay */
.card__meta{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* verticaal centreren */
  align-items: center;       /* horizontaal centreren */
  gap: 3px; /* ruimte tussen h3 en p */
  text-align: center;
  padding: 5px;
  background: rgba(0, 0, 0, 0.572);
  color: white;

  opacity: 0;
  transition: opacity 0,3s ease;
}

.card__meta h3{
    margin: 0;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: white;
}

.card__meta p{
    margin: 0;

  font-size: 20px;
  color: rgba(255,255,255,0.9);
}

/* Hover */
.card:hover .card__meta{
  opacity: 1;
}

/* Kleine zoom op afbeelding */
.card__media img{
  transition: transform 0.35s ease;
}

.card:hover .card__media img{
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 900px){
  .grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .grid{
    grid-template-columns: 1fr;
  }
}

/* ---------- Over mij ---------- */

#vaardigheden {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bg-alt);
}

.two-col{
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
  align-items: start;
}

.lead{
  font-size: var(--lead);
  color: var(--muted);
  margin-top: 10px;
}

.list{
  padding-left: 18px;
  margin: 16px 0 0;
  color: var(--muted);
}


.about-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-card__inner{
  padding: 18px;
}


/* ---------- Contact ---------- */
.contact-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 60px;
}
.contact-row2{
  gap: 20px;
  margin-top: 30px;
}

.contact-pill{
  background: color-mix(in oklab, var(--card) 92%, transparent);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 14px;
    color: hsl(348, 81%, 21%);  /* ← dit verandert de tekstkleur */

}
.contact-pill:hover{
  background: hsl(348, 81%, 21%);
  color: #ffffff;
  transition-duration: 200ms;

}

.footer{
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.footer-text{
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .card{ grid-column: span 12; }
  .two-col{ grid-template-columns: 1fr; }
  .nav{ gap: 12px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}


/* About pagina */

.about-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative; /* dit is de basis */
}
.about-decor{
  position: absolute;
  bottom: -60px;
  right: 270px;

  width: 400px; /* pas aan */
  height: auto;

  opacity: 0.9; /* optioneel subtiel */
  pointer-events: none; /* voorkomt dat hij klikbaar is */
}
.about-image {
  width: 25%;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 20px;
}
.about-text {
  width: 75%;
}

.about__text h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.about__text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Knop naar boven */
.back-to-top{
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 45px;
  height: 45px;
  border-radius: 50%;

  background: #fff;
  color: #000;
  text-align: center;
  line-height: 45px;
  font-size: 20px;
  text-decoration: none;

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.back-to-top:hover{
  transform: translateY(-2px);
}

.back-to-top{
  opacity: 0;
  pointer-events: none;
}