/* Verbeterde sectie-progress-container */
/* De navigatiebalk zelf */
/* Voorkom horizontale scroll van de hele pagina */

/* ========================================================= */
/*                 DREAMY APPLE AESTHETIC CSS                */
/* ========================================================= */

/* ---------------------- VARIABLES ------------------------ */
:root {
  --accent: #8EBC8E;
  --accent-soft: rgba(142, 188, 142, 0.15);

  --text-main: #111;
  --text-muted: #555;

  --radius-lg: 28px;
  --shadow-soft: 0 28px 60px rgba(0,0,0,0.14);
  --shadow-small: 0 12px 24px rgba(0,0,0,0.12);
}

/* ========================================================= */
/*                      GLOBAL RESET                        */
/* ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========================================================= */
/*                 DREAMY BACKGROUND EFFECTS                 */
/* ========================================================= */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text-main);

  /* dreamy apple glass gradient */
  background: radial-gradient(
      circle at 20% 20%,
      #f4fdf8 0%,
      #e8f6ff 35%,
      #eef6ef 100%
  ) fixed;

  overflow-x: hidden;
  position: relative;
}

/* subtle grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.13;
  pointer-events: none;
  z-index: 20;
}

/* floating pastel blob */
body::before {
  content: "";
  position: fixed;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(150, 220, 170, 0.28), transparent 70%);
  top: -240px;
  left: -240px;
  filter: blur(90px);
  opacity: 0.8;
  animation: floatBlob 14s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes floatBlob {
  0% { transform: translate(0px, 0px); }
  100% { transform: translate(70px, 45px); }
}

html, body {
  overflow-x: hidden;
  font-family: "Georgia", serif;
}

/* Alleen de projecten-container mag horizontaal scrollen */
.projects-container {
  overflow-x: auto;  /* al aanwezig */
}


body {
  padding-top: 160px; /* meer ruimte onder de nav */
}

/* ===== NAV ALTIJD BOVEN, MET BLUR ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/*     NAV-CONTAINER (de witte brede balk)     */
.nav ul {
  display: flex;
  align-items: center;
  gap: 200px;
  list-style: none;
  padding: 15px 60px;
  margin: 0;
  background-color: #ffffff;
  border-radius: 20px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== GROENE LIJN DIRECT TEGEN DE NAV ===== */
.nav-scroll-line {
  position: fixed;
  top: 107px;   /* ← DIRECT ONDER DE NAV */
  left: 0;
  height: 13px;
  width: 100%;
  background: linear-gradient(90deg, #D4AF37, #F2D16B); /* Goud → Lichter goud */
  z-index: 9998;
  border-radius: 5px;
}




/* Icoon */
.nav img {
  height: 40px;
  width: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* De links binnen de rechthoek */
.nav li a {
  color: #2e2e2e; /* donkergrijs voor goed contrast op wit */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}

/* Hover-effect */
.nav li a:hover {
  color: #4caf50; /* zachte groene tint bij hover */
  transform: scale(1.05);
}




@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}




.section-progress-container {
  position: fixed;
  top: 0;
  right: 20px;
  width: 12px; /* iets breder voor betere zichtbaarheid */
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05); /* subtielere achtergrond */
  border-radius: 6px;
  z-index: 999;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.2); /* lichte diepte */
}

/* Balk die groeit */
.section-progress-bar {
  width: 100%;
  height: 0%;
  background: #8EBC8E; /* frisse groen tint */
  border-radius: 6px;
  transition: height 0.3s ease;
  box-shadow: 0 0 6px rgba(142, 188, 142, 0.6); /* licht gloed effect */
}

/* Sectiemarkers */
.section-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; /* iets groter voor modernere look */
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  border: 3px solid #8EBC8E; /* frisse groene rand */
  transition: transform 0.3s, background 0.3s;
}

/* Marker labels */
.section-marker::after {
  content: attr(data-section);
  position: absolute;
  right: 120%; /* labels verder van de balk */
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  font-size: 14px;
  font-weight: bold;
  background-color: #8EBC8E;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  opacity: 0.9;
}

/* ===== ABOUT CARD ===== */
.about {
  display: flex;
  justify-content: center;
  margin: 80px 0;
}

.about-card {
  width: 75%;
  background: #ffffffdd;
  backdrop-filter: blur(10px);
  padding: 50px;
  display: flex;
  gap: 50px;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.14);
  position: relative;
  cursor: pointer;
}

/* LEFT COLUMN */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== FIXED SLIDE-UP SYSTEM ===== */

.profile-image-container {
  width: 240px;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Foto */
.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tekstballon — groter + gecentreerd */
.peek-message {
  position: absolute;
  bottom: -90px;                   /* goed boven/onder gecentreerd */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  background: #ffffffee;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  font-size: 1.05rem;
  line-height: 1.4;
  opacity: 0;
  transition: opacity .5s ease, bottom .5s ease;
  font-weight: 600;
  color: #2f3d31;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== EFFECT ===== */

.about-card:hover .profile-pic {
  transform: translateY(-85%); /* Foto volledig omhoog */
}

.about-card:hover .peek-message {
  bottom: 20px;   /* mooi in het midden */
  opacity: 1;
}

/* ===== AUTO RESET NA 5 SEC ===== */

.about-card:hover .profile-pic {
  animation: slideBack 5s forwards;
}

.about-card:hover .peek-message {
  animation: hideMsg 5s forwards;
}

@keyframes slideBack {
  0% { transform: translateY(-85%); }
  80% { transform: translateY(-85%); }
  100% { transform: translateY(0); }
}

@keyframes hideMsg {
  0% { opacity: 1; bottom: 20px; }
  80% { opacity: 1; bottom: 20px; }
  100% { opacity: 0; bottom: -90px; }
}


/* Soft skills card */
.softskills-card {
  width: 240px;
  background: #ffffffdd;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  text-align: center;
}

.softskills-card h3 {
  font-size: 1.5rem;
  color: #3d5243;
  margin-bottom: 10px;
}

.softskills-card p {
  color: #5a6b5e;
  line-height: 1.5;
}

/* RIGHT COLUMN (TEXT + BUTTON + SOCIALS) */
.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #344434;
}

/* Connect button */
.connect-btn {
  background-color: #8EBC8E;
  padding: 15px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  width: fit-content;
  text-decoration: none;
}

.connect-btn:hover {
  background-color: #76a66e;
  transform: scale(1.04);
}

/* Socials */
.socials {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.socials a {
  font-size: 26px;
  color: #3d5243;
  transition: 0.3s ease;
}

.socials a:hover {
  color: #8EBC8E;
  transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .right-column {
    align-items: center;
  }
}



.about-text {
  flex: 2;
  font-size: 15px;
  line-height: 1.7;
  color: #2e3d33;
}


.connect-btn {
  background-color: #a5d9a5; /* fris groen */
  color: black;
  border: none;
  padding: 14px 32px; /* iets groter */
  border-radius: 10px;
  font-size: 1.2rem; /* iets grotere tekst */
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.connect-btn:hover {
  background-color: #218838; /* iets donkerder bij hover */
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.explore-btn{
  text-decoration: none;
}





.socials {
  margin-top: 20px;
}

.socials i {
  margin-right: 15px;
  font-size: 22px;
  color: #3d5243;
  cursor: pointer;
}

/* ============================= */
/*        INFO (SKILLS)          */
/* ============================= */

/* Lijn de hele sectie uit met ABOUT */
.info {
  width: 75%;               /* zelfde breedte als .about */
  max-width: 1100px;        /* optionele max width voor mooie centrering */
  margin: 50px auto;        /* centreren + extra ruimte boven */
  padding: 20px 0;          /* niet te breed, clean */
  color: #000;
  display: flex;
  flex-direction: column;   /* Titel bovenaan, skills eronder */
  align-items: center;      /* center content */
  gap: 20px;                /* subtiele ruimte tussen titel en grid */
}

/* Titel zelf */
.info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2e3d33;
  margin-bottom: 10px;
  align-self: flex-start;  /* titel mooi links, zoals About */
}

/* ============================= */
/*         SKILLS GRID           */
/* ============================= */

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;  /* mooi centreren */
  width: 100%;
}

/* Skill item */
.skill-item {
  width: 120px;
  height: 140px;
  background: rgb(222,222,222);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skill-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  color: #218838;
}

.skill-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  
}

.skill-bar {
  width: 80%;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.skill-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8EBC8E, #a5d9a5);
  border-radius: 5px;
  transition: width 1.2s ease-out;
}

.skill-percentage {
  position: absolute;
  bottom: 15px;
  font-weight: bold;
  font-size: 1rem;
  color: #2e3d33;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover: toon percentage */
.skill-item:hover .skill-percentage {
  opacity: 1;
}


.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background-color: #f4f7f4;
  border-radius: 20px;
  width: 80%;
  margin: 60px auto;
  padding: 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.projects h2 {
  text-align: center;
  color: #3d5243;
  margin-bottom: 30px;
}

/* Horizontale scroll wrapper */
.projects-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  width: 100%;
}

.projects-container::-webkit-scrollbar {
  height: 8px;
}

.projects-container::-webkit-scrollbar-thumb {
  background-color: #8EBC8E;
  border-radius: 4px;
}

/* Project item */
.project {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ⭐ STERKE POP FOTO EFFECT (WERKT NU WEL) */
.project:hover img {
  transform: scale(1.18) translateY(-20px);
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.45));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.project::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-30deg);
  transition: 0.6s;
}

.project:hover::after {
  left: 150%;
}

.project img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

/* Overlay */
.project .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.project:hover .overlay {
  transform: translateY(0);
}

.project .overlay h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
}

.project .overlay p {
  margin: 0 0 15px 0;
  font-size: 14px;
}

.project .explore-btn {
  padding: 12px 24px;
  background-color: #8EBC8E;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.project .explore-btn:hover {
  background-color: #76a66e;
}

/* Contact */
.contact {
  background-color: black;
  color: #fff;
  padding: 40px 120px;
  text-align: center;
  border-radius: 20px;
}   
.contact h2 {
  margin-bottom: 20px;
  color: #8EBC8E;;
}
.contact p {
  margin-bottom: 30px;
  font-size: 16px;
  color: #555;
}
.contact a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #8EBC8E;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}
.contact a:hover {
  background-color: #76a66e;
}
/* Contactformulier */
.contact form {
  display: flex;
  flex-direction: column; /* Zet alles onder elkaar */
  align-items: center; /* Centreer horizontaal */
  gap: 15px; /* Ruimte tussen velden */
  max-width: 400px;
  margin: 0 auto 30px auto; /* Centreert het formulier */
}

.contact label {
  align-self: flex-start; /* Label links uitlijnen */
  color: #8EBC8E; /* Groen accentkleur */
  font-weight: bold;
  margin-bottom: 5px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3d5243; /* Donkergroen randje */
  border-radius: 10px;
  background-color: #111; /* Donkere achtergrond */
  color: #fff; /* Witte tekst */
  font-size: 14px;
  resize: none; /* Geen formaat aanpassen bij textarea */
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #8EBC8E; /* Groen randje bij focus */
  box-shadow: 0 0 5px #8EBC8E;
}

.contact button {
  padding: 12px 24px;
  background-color: #8EBC8E;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #76a66e;
}

/* Footer */
footer {    
  background-color: #3d5243;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  margin-top: 20px;
}/* ===== Sticky NAV ===== */






/* ========================================= */
/*    MOBIEL FIXES – PROJECT PAGINA (600px) */
/* ========================================= */

@media (max-width: 600px) {

    /* GLOBAL BOX SIZING */
    * ,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    /* NAV */
    .nav {
        padding: 0;
        margin: 0 0 10px 0; /* ruimte onder nav */
    }

    .nav ul {
        width: 100%;
        max-width: 95%;
        padding: 10px 10px;
        gap: 10px; 
        display: flex;
        flex-wrap: wrap; /* zorgt dat items niet uit elkaar lopen */
        justify-content: center;
        margin: 0 auto;
    }

    .nav li a {
        font-size: 0.75rem; /* kleinere tekst voor smalle schermen */
    }

    .nav img {
        width: 28px;
        height: 28px;
    }

    /* ABOUT */
    .about {
        width: 100%;
        max-width: 95%;
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        margin: 0 auto 15px auto; /* marge onder About voor spacing */
    }

    .profile-container {
        width: 100px;
        height: 100px;
    }

    .about-text {
        font-size: 12px;
        text-align: center;
    }

    .connect-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
        text-decoration: none;
    }

    /* SKILLS */
    .info {
        width: 100%;
        max-width: 95%;
        padding: 15px;
        margin: 0 auto 15px auto;
    }

    .skills {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
.skill-item {
        width: 70px;          /* iets smaller voor mobiel */
        height: auto;         /* hoogte automatisch zodat tekst en bar passen */
        display: flex;
        flex-direction: column; /* stapel percentage en bar onder elkaar */
        align-items: center;
        gap: 5px;             /* ruimte tussen icon, percentage en bar */
    }

    .skill-icon {
        margin-bottom: 5px;
    }

    .skill-percentage {
        font-size: 12px;      /* kleinere tekst voor mobiel */
        line-height: 1.2;
    }

    .skill-bar {
        width: 100%;          /* volledige breedte van de skill-item */
        height: 6px;          /* kleinere hoogte voor mobiel */
        border-radius: 4px;
        background-color: #ddd;
        margin-top: 2px;
    }

    .skill-bar-fill {
        height: 100%;
        border-radius: 4px;
    }
    
    /* PROJECTS */
    .projects {
        width: 100%;
        max-width: 95%;
        padding: 15px;
        margin: 0 auto 15px auto;
    }

    .projects-container {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 5px;
    }

    .project {
        flex: 0 0 auto;
        width: 150px;
    }

    .project .overlay h3 {
        font-size: 13px;
    }

    .explore-btn {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* CONTACT */
    .contact {
        width: 100%;
        max-width: 95%;
        padding: 15px;
        border-radius: 12px;
        margin: 0 auto 15px auto;
    }

    .contact form {
        width: 100%;
    }

    .contact input,
    .contact textarea {
        font-size: 13px;
    }

    .contact button,
    .contact a {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* ============================= */
/*       TABLET (max 1024px)     */
/* ============================= */

@media (max-width: 1024px) {

  /* NAV */
  .nav ul {
    gap: 80px;
    width: 90%;
  }

  /* ABOUT */
  .about {
    width: 85%;
    padding: 40px;
  }

  .about-text {
    font-size: 15px;
  }

  /* SKILLS */
  .info {
    padding: 40px 60px;
  }

  /* PROJECTS */
  .projects {
    width: 85%;
    padding: 40px;
  }

  .project {
    width: 260px;
  }

  /* CONTACT */
  .contact {
    padding: 40px 60px;
  }


}
