/* 1. Basis instellingen */
* {
    box-sizing: border-box;
}

body {
    font-family:'Geist', 'Arial Narrow', Arial, sans-serif;
    font-weight: 350;
    letter-spacing: none;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #52414e;
    -webkit-font-smoothing: antialiased;
    display: flex; 
}

/* 2. De Sidebar */
header.sidebar {
    width: 320px;
    min-width: 320px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 60px 40px;
    border-right: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 100;
    background-color: white;
}

header h1 {
    font-size: 1.6rem;
    text-transform: none;
    font-weight: 540;
    letter-spacing: -px;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.1;
}
header h2 {
    font-size: 1.2rem;
    text-transform: none;
    font-weight: 300;
    letter-spacing: -px;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.1;
}
.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-bottom: 15px;
}

.nav-links a {
    color: #be51bc;
    text-decoration: none;
    text-transform: None;
    letter-spacing: 0em;
    font-size: 1.6rem;
    font-weight: 540;
}

/* 1. De standaard staat van je links */
.nav-links a {
    color: #be51bc; 
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease; /* Zorgt voor een zachte overgang */
}

/* 2. Het effect als je eroverheen hoovert */
.nav-links a:hover {
    color: #0b7951;    /* De kleur verandert naar zwart als je erover zweeft */
    opacity: 0.7;      /* Maakt het iets transparanter voor een modern effect */

}
.nav-links a.active {
    color: #ff90fd;      /* Verander dit naar zwart (of een andere kleur) */
    font-weight: 600;    /* Maakt het extra duidelijk */
    pointer-events: none; /* Zorgt dat je niet nog een keer op de link kunt klikken */
}

/* 3. De Content Zone */
.content {
    margin-left: 320px; 
    margin-right: 10px;
    width: 100%;
}

#works {
    padding: 60px 5%;
    max-width: 850px; /* Was 900px. Hoe lager dit getal, hoe kleiner de foto's op desktop. */
    margin: 0; 
}

/* Extra stijlen voor de About pagina */
#about-info {
    padding: 60px 5%;
    max-width: 700px; /* Houdt de tekst leesbaar */
}

#about-info h2 {
    font-size: 1.5rem;
    margin: 0px;
    font-weight: 540;
    letter-spacing: -0.05em;
}



.bio p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    margin-top: 2px;
    color: #21002e;
}

.contact-section h3 {
    font-size: 1.1rem;
    text-transform: none;
    margin-top: 1px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-links li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-links a {
    color: #be51bc; /* Je kenmerkende paarse kleur */
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
    transition: color 0.3s ease, opacity 0.3s ease; /* Zorgt voor een zachte overgang */
}

/* 2. Het effect als je eroverheen hoovert */
.contact-links a:hover {
    color: #0b7951;    /* De kleur verandert naar zwart als je erover zweeft */
    opacity: 0.7;      /* Maakt het iets transparanter voor een modern effect */

}

.contact-links a:hover {
    border-bottom: 0px solid #be51bc;
}


/* Mobiele aanpassing voor de About tekst */
@media (max-width: 850px) {
    #about-info {
        padding:  20px;
    }
}

.project {
    padding-bottom: 40px;
}

/* Tekst onder foto's DESKTOP */
.project p {
    text-align: right;
     /* Hierdoor springt alleen de tekst in */
    font-size: 1rem;
    padding-right:  5px;
    margin-top: 5px;
    max-width: 850px;
}

/* 4. De Foto's op desktop */
.project-img {
    width: 100%;          /* De foto vult de 'project' container van 550px */
    max-width: 850px;     /* Extra veiligheid: nooit breder dan dit */
    height: auto;
    display: block;
    margin-bottom: 0px;
}

/* 5. Footer */
footer {
    text-align: left;
    padding: 60px 5%;
    font-size: 0.9rem;
    color: #6a0f9fa5;
}

/* =========================================
   6. MOBIELE AANPASSINGEN
   ========================================= */
@media (max-width: 900px) {
    body {
        flex-direction: column; 
    }

    header.sidebar {
        position: fixed; /* Blijft bovenin staan op mobiel */
        width: 100%;
        min-width: 100%;
        height: auto;
        padding: 20px;
        padding-bottom: 0px;
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        display: block;
    }

    header h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: row;
        gap: 30px;
    }

    .content {
        padding-top: 100px; /* Ruimte voor de fixed header op mobiel */
        margin-left: 0;
    }

    #works {
        padding: 20px;
    }

    /* Tekst onder foto's MOBIEL */
    .project p {
        font-size: 0.9rem;  /* De gevraagde verkleining */
        padding-left: 15px; /* Iets minder inspringing op smal scherm */
        margin-top: 10px;
    }


}