/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
        overflow-x: hidden;

}

body {
    font-family: "Montserrat", sans-serif;

        max-width: 100vw;
        overflow-x: hidden;

}

.about-content,
.hero-title,
.hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-title {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

header {
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* Make sure it's on top of other elements */
    background-color: white; /* Or your desired background */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Optional for subtle shadow */
    color: #111111;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 40px;
    margin-right: 40px;
}

.logo img {
    width: 50px;
}

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
}

.social-icons {
    display: flex;
    gap: 30px;
    list-style: none;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: background-color 0.3s ease;
    border-bottom: white 2px solid;

}

.social-icons a:hover {
border-bottom: #1d215a 2px solid;
}

.social-icons a img {
    height: 18px;
    width: 18px;
}

.nav-links li a {
    border-bottom: 2px solid transparent; /* voorkomt jumping effect */
    padding: 7px 5px;
}

.nav-links li a:hover {
    border-bottom: 2px solid #1d215a;
}


.nav-links li a,
.social-icons a img {
    text-decoration: none;
    font-size: 12px;
    color: #111;
    height: 18px;
    font-family: "Montserrat", sans-serif;

}
.nav-links li a {

    border: white 2px solid;
    padding: 7px 5px;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger img {
    height: 24px;
}

/* Slider Menu (mobile) */
.slider-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out;
}

.slider-menu.active {
    right: 0;
}

.slider-links {
    list-style: none;
    text-align: center;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.slider-links a {
    font-size: 24px;
    text-decoration: none;
    color: #2E317C; /* ← Nieuwe kleur */
    margin: 10px 0;
    transition: color 0.3s ease;
}



.slider-links .social img {
    height: 24px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    z-index: 1000;
}

.close-btn img {
    height: 30px; /* Pas aan zoals gewenst */
    width: 30px;
    object-fit: contain;
}

/* hero */
.hero {
    padding: 60px 40px;
    background-color: #fff;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 40px auto;
    flex-wrap: wrap;
}

.hero .hero-content {
    text-align: left;
}

    .hero-content {
        flex: 1;
        min-width: 300px;
        text-align: left;  /* ← tekst naar links */
        align-items: flex-start; /* ← optioneel als flex gebruikt wordt */
    }

div.hero-image{
    margin-top: 50px;
}

.subtitle {
    font-size: 12px;
    letter-spacing: 1px;
    font-family: "Montserrat", sans-serif;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: Fraunces , serif;
    font-size: 67px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    text-align: left;
}

.hero-title .highlight {
    color: #444F94;
}

.cta-button {
    padding: 12px 24px;
    background-color: #2E317C;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #444F94;
}


.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 12px;
}


/*cta about
 */
.about {
    padding: 80px 40px;
    background-color: #fff;
}
.about-tag{
    margin-top: 50px;
}
.about-inner {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
#project-portf {
        width: 50%;
    }

#mylogo{
}
.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-content: center;
    justify-content: center;
}

.about-image img {
    width: 50%;
    height: auto;
    border-radius: 12px;
}

.about-content {
    flex: 1;
    min-width: 300px;
    text-align: left; /* ← dit is de verandering */
}


.about-tag {
    background-color: #1E2A46;
    color: #fff;
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Fraunces', serif;
    color: #111;
}

.about-content p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    margin-bottom: 40px;
}

.resume-button {
    margin: 20px 0;
    padding: 12px 24px;
    background-color: #2E317C;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
    font-family: Arial, sans-serif;

}

.resume-button:hover {
    background-color: #444F94;

}


/* what i do*/
.skills {
    background-color: #e4ecff;
    padding: 100px 40px 60px;
    color: #111111;
    text-align: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    background-color: #1e1e1e;
    color: #1d215a;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 24px;
}

.skills-title {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.skills-sub {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    margin-bottom: 40px;
}

.skill-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;

}



.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch; /* zorgt dat alle kinderen even hoog worden */
    max-width: 1000px;
    margin: 0 auto;
}





/* Center the last two cards if only 2 are on second row */
.cards-container > .skill-card:nth-child(4):nth-last-child(2),
.cards-container > .skill-card:nth-child(5):last-child {
    grid-column: span 1;
}

.cards-container > .skill-card:nth-child(4):nth-last-child(2) {
    grid-column-start: 2; /* Centers two cards */
}




.skill-card {
    background-color: #f7f7f7;
    color: #111;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: left;
    width: 280px;
    transition: transform 0.2s ease;
}

.skill-card h3 {
    margin-top: 20px;
    font-weight: 600;
    font-size: 18px;

}

.skill-card p {
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    margin-top: 8px;
    line-height: 1.5;
}

.icon-wrapper {
    background-color: #d4dfff;
    display: inline-flex;
    padding: 14px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.icon-wrapper img {
    height: 30px;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}


/*  Cases Section */


.cases-inner {
    max-width: 900px;
    margin: 0 auto;
}


.project {
    display: flex;
    background-color: #edf3ff;
    color: black;
    border-radius: 16px;
    overflow: hidden;
    margin: 40px auto;
    max-width: 900px;
    height: 350px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 transparent;
    cursor: pointer;
}

.project:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}


#cases-section {
    /* background-color: #727390; */
    padding: 100px 40px;
    color: white;
    text-align: left;
    margin: 50px 0;
}


#cases-section h2 {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    color: #111;
    margin-bottom: 50px;
}


.project-text {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* center vertically */
    gap: 16px;
}


.project-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Montserrat', serif;
    color: #111;
}

.project-description {
    font-size: 14px;
    margin-bottom: 20px;
    color: #111;
    font-family: 'Montserrat', serif;

}

.tools {
    display: flex;
    gap: 10px;
    font-family: 'Montserrat', serif;
    font-size: 12px;


}

.tool-btn {
    border: 2px solid #444F94;
    background: white;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #444F94;

}

.tool-btn:hover {
    background-color: #444F94;
    color: white;
    border-color: #444F94;
}
.project-img {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* voorkom dat het kleiner of groter wordt */
    flex-shrink: 0;
    flex-grow: 0;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/*contact*/

.contact-section {
    background-color: #e4ecff;
    padding: 100px 20px;
    border-radius: 4px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    align-content: center;
}

.contact-left {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.circular-text {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: inline-block;
}

.contact-heading {
    font-family: 'Fraunces', serif;
    font-size: 90px;
    color: #2E317C;
    margin-top: -130px;

}

.contact-right {
    flex: 1;
    min-width: 320px;
    padding: 20px;
}

.contact-box {
    background-color: white;
    padding: 30px 20px;
    box-shadow: 12px 12px 0 #DCE2FF;
    border-radius: 4px;
    max-width: 400px;
    font-family: 'Montserrat', sans-serif;

}

.contact-subtitle {
    font-size: 12px;
    text-align: right;
    margin-bottom: 20px;
    color: #2E317C;

}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    font-size: 14px;
    color: #2E317C;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 2px solid #727390;
    padding: 8px;
    font-family: inherit;
    font-size: 14px;
    background: transparent;
    resize: vertical;
}

.contact-form input:focus,
textarea:focus {
    outline: none;
    border-color: #2E317C; /* of een andere kleur die je gebruikt */
}


.send-button {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #2E317C;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
    border-radius: 4px;
}

.send-button:hover {
    background-color: #1d215a;
}


.circle-text-wrapper {
    width: 200px;
    height: 200px;
    transform: rotate(-30deg); /* Adjust angle as needed */
}

.circle-text {
    width: 100%;
    height: 100%;
}

.footer {
    background-color: #FFF;
    color: #444F94;
    padding: 40px 20px;
    text-align: center;
    font-family: Helvetica, sans-serif;
}

.footer a {
    color: #444F94;
    text-decoration: underline;
}

.footer a:hover {
    color: #1d215a;
}

.footer-content p {
    margin: 6px 0;
    font-size: 14px;
}



/* Zet de cursor op default voor alle tekst-elementen behalve form elementen */
body *:not(input):not(textarea):not(select) {
    cursor: default;
    user-select: none;
}

.go-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #1d215a;
    color: white;
    font-size: 22px;
    padding: 16px 22px;
    border-radius: 100%;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.go-top:hover {
    background-color: #1d215a;
    transform: translateY(-4px);
}

.go-top img {
    width: 20px;
    height: 20px;
}


.tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    border: 2px solid #444F94;
    background: white;
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #444F94;
    min-width: 110px; /* optioneel, voor visuele balans */
    height: 50px; /* zorg dat verticale alignment werkt */
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .cta-button {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links,
    .social-icons {
        display: none;
    }

    .hamburger {
        display: block;
    }
}


@media screen and (max-width: 768px) {
    .about-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        margin-top: 30px;
    }
}


@media screen and (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .skill-card {
        width: 100%;
        max-width: 360px;
    }
}

@media screen and (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards on smaller screens */
    }
}

@media screen and (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr; /* 1 card per row on mobile */
    }
}

@media screen and (max-width: 768px) {
    .hero-image {
        display: none;
    }
    .hero{
        margin-top: 100px;
    }
}

@media screen and (max-width: 900px) {
    .project {
        flex-direction: column;
        height: auto;
    }

    .project-text,
    .project-img {
        width: 100%;
        height: auto;
    }

    .project-img img {
        object-fit: contain; /* Zorgt dat niets afgesneden wordt */
        width: 100%;
        height: auto;
        max-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .cases-inner {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1050px) {
    .hero-title {
        font-size: 46px;
        line-height: 1.2;
    }

    .hero-content p.subtitle {
        font-size: 10px;
    }
}



@media screen and (max-width: 900px) {
    .project {
        flex-direction: column;
        height: auto;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .project-text,
    .project-img {
        width: 100%;
    }

    .project-img {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .project-img img {
        max-width: 80%;
    }

}

@media screen and (max-width: 768px) {
    .skill-card {
        margin: 0 auto; /* Zorgt dat het midden blijft op small screens */
    }
}



@media screen and (max-width: 990px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .contact-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }

    .circle-text-wrapper {
        transform: none;
        margin-bottom: 16px;
    }

    .contact-heading {
        font-size: 50px;
        margin: 0;
    }
}
@media screen and (max-width: 480px) {
    .tools {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .tool-btn {
        flex: 1 1 100px; /* laat ze breken als het nodig is */
        min-width: 90px;
        max-width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }
}

@media screen and (max-width: 920px) {
span.about-tag{
margin-top: 0px}
}
section#skills.skills{
    margin-top: 5px;
    padding-top: 30px;
}


.slider-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.slider-logo img {
    width: 40px;
    height: auto;
}

@media screen and (max-width: 990px) {
    .contact-box {
        width: 90vw;
        max-width: 600px;
        margin: 0 auto;
    }
}
