/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
     font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
}

p {
    color: rgb(85,85,85);
}

/* Transitions */

a, 
.btn {
    transition: all 0.3s ease;
}

/* Desktop Navigation */

nav, 
.nav-links{
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem; 
}

a {
    color:black;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover {
    color:grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
}

.logo{
    font-size: 2rem;
}

.logo:hover{
 cursor: default;
}

/* Hamburger Menu */

#hamburger-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px; 
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child{
    transform: none;
}

.hamburger-icon span:first-child{
    opacity: 1;
}

.hamburger-icon span:first-child{
    transform: none;
}

/*SECTIONS */

section{
    padding-top: 4vh;
    height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container{
    display: flex;
}

/*projects section*/

#profile{
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.section__pic-container{
   display: flex;
   height: 400px;
   width: 400px;
   margin: auto 0;
}

.section__text{
    align-self: center;
    text-align: center;
}

.section__text P{
    font-weight: 600;
}

.section__text__p1{
    text-align: center;
}

.section__text__p2{
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.title{
    font-size: 3rem;
    text-align: center;
}

#socials-container{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/*icons*/

.icon{
    cursor: pointer;
    height: 2rem;
}

.button-container{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* buttons */

.btn{
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-color-1, 
.btn-color-2{
    border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover{
    cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover{
    background: rgb(53, 53, 53);
    color: white;
}

.btn-color-1:hover{
    background:rgb(0, 0, 0);
}

.btn-color-2{
    background: none;
}

.btn-color-2:hover{
    border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container{
        gap: 1rem;
}

/* About Section */

#about-me {
    position: relative;
}
 
.about-containers{
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
}

.about-pic {
    border-radius: 2rem;
    height: 400px;
    width: 400px;
    object-fit: cover;
}

.arrow{
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
    height: 5rem;
}

.details-container{
   padding: 1.5rem;
   flex: 1;
   background: white;
   border-radius: 2rem;
   border: rgb(53, 53, 53) 0.1rem solid;
   border-color: rgb(163, 163, 163);
   text-align: center;
}

.section-container{
    gap: 4rem;
    height: 80%;
}

.section__pic-cotainer{
    height: 400px;
    width: 400px;
    margin: auto 0;
}

#about-me .details-container .icon {
    height: 4rem;
    width: auto;
}

#about-me .section__pic-container {
    margin: 2rem 0 0;
    align-self: flex-start;
}

/*experience section*/

#experience{
   position: relative;
}

.experience-sub-title {
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color:rgb(85,85,85)
}

.experience-details-container{
    display: flex;
    justify-content: center;
    flex-direction:column;
}

.article-container{
    display: flex;
    text-align: initial;
    flex-wrap:wrap;
    flex-direction:row ;
    gap: 2.5rem;
    justify-content: space-around;
}

.article{
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
}

.article.icon{
    cursor: default;
}

#experience .about-containers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

/* projects section */

#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
    border-radius: 2rem;
    width: 90%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

#projects .experience-details-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

#projects .details-container {
    min-width: 0;
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}

/* Compact Experience cards */
#experience .about-containers {
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#experience .details-container {
    padding: 1rem;
}

#experience .experience-sub-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

#experience .article-container {
    gap: 1rem;
}

#experience .article-container .icon {
    height: 1.5rem;
}

/* Design process */
#about-me {
    height: auto;
    padding-bottom: 8rem;
}

#about-me .section-container {
    height: auto;
}

.design-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.process-step {
    position: relative;
    padding: 1.5rem;
    background: #ffb482;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.2);
    transform: rotate(-3deg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:nth-child(2) {
    background: #f9e779;
    margin-top: 4rem;
    transform: rotate(3deg);
}

.process-step:nth-child(3) {
    background: #c5ee86;
    margin-top: 8rem;
    transform: rotate(-2deg);
}

.process-step:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.process-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
}

.process-heading h3 {
    font-size: 1rem;
}

.process-number {
    font-weight: 600;
    color: #333;
}

.process-step p {
    margin-top: 2rem;
    line-height: 1.5;
    color: #333;
}

/* Navigation logo and name */

.logo {     
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    place-items: center;
    width: 13rem;
    height: 7.75rem;
    padding: 0.375rem 0.75rem;
    box-sizing: border-box;
    position: fixed;
    top: 1.375rem;
    left: 2rem;
    z-index: 1000;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(230, 237, 245, 0.28));
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 8px 28px rgba(30, 45, 65, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-logo-image,
.nav-logo-text {
    grid-area: 1 / 1;
}

.nav-logo-image {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
}

.nav-logo-text {
    visibility: hidden;
    white-space: nowrap;
}

body.name-visible .nav-logo-image {
    visibility: hidden;
}

body.name-visible .nav-logo-text {
    visibility: visible;
}

.logo-cursor {
    position: fixed;
    width: 48px;
    height: 48px;
    object-fit: contain;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none;
}

body.mouse-moving,
body.mouse-moving * {
    cursor: none !important;
}

body.mouse-moving .logo-cursor {
    display: block;
}
/* Software cards beneath core capabilities */
#experience {
    height: auto;
    padding-bottom: 6rem;
}
#experience .software-group {
    margin-top: 3rem;
}
#experience .software-group h4 {
    font-size: 1.17rem;
}
#experience .software-group .details-container {
    min-width: 0;
}
@media screen and (max-width: 800px) {
    #experience .about-containers {
        grid-template-columns: 1fr;
    }
}
/* 2 software cards, followed by a separate courses block */
#experience .software-group .about-containers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 2rem auto;
}
#experience .courses-group {
    margin-top: 3rem;
}
#experience .courses-group > .details-container {
    margin-top: 1rem;
}
#experience .courses-group h3 {
    font-size: 1.17rem;
}
@media screen and (max-width: 800px) {
    #experience .software-group .about-containers {
        grid-template-columns: 1fr;
    }
}
/* Product logos above software names */
#experience .software-group article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 8rem;
    min-width: 0;
}
#experience .software-group .software-logo {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.65rem;
}

.profile-heading {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-heading-text {
    min-width: 0;
}

.profile-heading .section__text__p2 {
    margin-bottom: 0;
}

.profile-symbol {
    position: relative;
    width: clamp(3rem, 8vw, 6rem);
    flex-shrink: 0;
}

.profile-symbol img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    white-space: nowrap;
}

.nav-dropdown:hover > .nav-submenu,
.nav-dropdown:focus-within > .nav-submenu {
    display: block;
}

.capabilities-screen {
    position: relative;
    min-height: 96vh;
    box-sizing: border-box;
    padding-bottom: 5rem;
}

.capabilities-arrow {
    position: absolute;
    right: 0;
    bottom: 2rem;
}

.capabilities-arrow img {
    display: block;
    width: 2rem;
    height: 2rem;
}

html {
    scroll-behavior: smooth;
}

.capabilities-arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.capabilities-arrow img {
    display: block;
    width: auto;
    height: 5rem;
}

.design-profile {
    position: relative;
    padding-right: 0;
}

.design-profile .arrow {
    right: -5rem;
    top: auto;
    bottom: 0;
    transform: none;
    height: 5rem;
}

/* Paper-style workflow notes */
#workflow .process-step {
    min-height: 15rem;
    box-sizing: border-box;
    padding: 3rem 1.5rem 2rem;
    border-radius: 0;
    box-shadow: 2px 8px 8px -5px rgba(0, 0, 0, 0.3);
}

#workflow .process-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.4rem;
    background: rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

/* Workflow sticky-note colours */
#workflow .process-step:nth-child(1) {
    background: #d9def0; /* Soft blue */
}

#workflow .process-step:nth-child(2) {
    background: #a8dce5; /* Blue */
}

#workflow .process-step:nth-child(3) {
    background: #dfcfe7; /* Purple */
}

#workflow .process-step:nth-child(4) {
    background: #ffe38a; /* Yellow */
}

#workflow .process-step:nth-child(5) {
    background: #f6c2b5; /* Soft orange / peach */
}

#workflow .process-step:nth-child(6) {
    background: #efa9bf; /* Pink */
}

#workflow .process-step:nth-child(7) {
    background: #c9df8a; /* Bright green */
}

#workflow .process-step:nth-child(8) {
    background: #dce3ce; /* Soft green */
}

#workflow {
    height: auto;
    padding-bottom: 5rem;
}

#workflow .design-process {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 2rem;
}

#workflow .process-step {
    margin-top: 0;
}
#workflow .process-step:nth-child(9) {
    background: #d9d9d9; /* Grey */
}

/* Workflow note text: 20% smaller */
#workflow .process-heading h3,
#workflow .process-number,
#workflow .process-step p {
    font-size: 0.8rem;
}

/* Equal-width notes with a centered second row */
#workflow .process-step {
    grid-column: span 2;
}

#workflow .process-step:nth-child(6) {
    grid-column: 2 / span 2;
}

/* Equal square Workflow notes */
#workflow .process-step {
    aspect-ratio: 1 / 1;
    min-height: 0;
    min-width: 0;
    height: auto;
    padding: 2rem 1rem 1rem;
    overflow: auto;
}

#workflow .process-step p {
    margin-top: 0.75rem;
}

/* Workflow navigation arrow */
#workflow {
    position: relative;
}

.workflow-arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.workflow-arrow img {
    display: block;
    height: 5rem;
    width: auto;
}
/* Peer reviewer access screen */
html:has(body.reviewer-locked),
body.reviewer-locked { overflow: hidden; }
#reviewer-gate {
    position: fixed;
    inset: 0;
    margin: auto;
    box-sizing: border-box;
    width: min(39rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 4px;
    border: 3px solid;
    border-color: #fff #242424 #242424 #fff;
    border-radius: 0;
    background: #d4d0c8;
    color: #111;
    box-shadow: inset 1px 1px #eee, inset -1px -1px #808080, 6px 6px 0 #0003;
    font-family: Tahoma, Arial, sans-serif;
}
#reviewer-gate::backdrop { background: rgb(0 0 0 / 18%); }
#reviewer-gate .reviewer-titlebar {
    padding: .5rem .65rem;
    background: linear-gradient(90deg, #000080, #5687bc);
    color: white;
    font-size: 1rem;
    font-weight: 700;
}
#reviewer-gate .reviewer-content {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
}
#reviewer-gate .reviewer-warning { width: 4rem; height: 4rem; flex-shrink: 0; }
#reviewer-gate .reviewer-message { min-width: 0; flex: 1; }
#reviewer-gate h2 { font-size: 1.3rem; line-height: 1.3; margin-bottom: .8rem; }
#reviewer-description { color: #111; line-height: 1.5; margin-bottom: 1.4rem; }
#reviewer-form label { display: block; font-size: .9rem; margin-bottom: .5rem; }
#reviewer-form input {
    width: 100%; box-sizing: border-box; padding: .6rem .7rem;
    border: 2px solid; border-color: #808080 #fff #fff #808080;
    border-radius: 0; background: white; color: #111; font: inherit;
    box-shadow: inset 1px 1px #222;
}
#reviewer-error { min-height: 1.5em; margin: .5rem 0; color: #a12222; font-size: .85rem; }
#reviewer-form button {
    display: block; margin: .5rem auto 0; min-width: 10rem;
    padding: .65rem 1.25rem; border: 2px solid;
    border-color: #fff #222 #222 #fff;
    border-radius: 0; background: #d4d0c8; color: #111;
    box-shadow: inset -1px -1px #808080; font: inherit; cursor: pointer;
    transition: none;
}
#reviewer-form button:active { border-color: #222 #fff #fff #222; box-shadow: inset 1px 1px #808080; }
#reviewer-form :focus-visible { outline: 2px dotted #111; outline-offset: 3px; }
body.reviewer-locked .logo-cursor { display: none !important; }
body.reviewer-locked, body.reviewer-locked * { cursor: auto !important; }
body.reviewer-locked #reviewer-form button { cursor: pointer !important; }
@media (max-width: 480px) {
    #reviewer-gate .reviewer-content { gap: .75rem; padding: 1.25rem .75rem; }
    #reviewer-gate .reviewer-warning { width: 2.5rem; height: 2.5rem; }
}

.website-intro {
    max-width: 700px;
    margin: 1.5rem auto 2.5rem;
    line-height: 1.7;
    text-align: center;
}

/* Projectknoppen even breed als de afbeeldingen */
#projects .article-container,
#projects .btn-container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#projects .project-img,
#projects .project-btn {
    width: 100%;
    box-sizing: border-box;
}

#projects .btn-container {
    margin-top: 16px;
}

/* Knoppen 25% smaller dan de afbeeldingen */
#projects .project-btn {
    width: 75%;
}

#desktop-nav > .logo,
#hamburger-nav > .logo {
    transform: scale(0.6);  
    transform-origin: top left;
}