.jaro {
  font-family: "Jaro", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}
.libertinus {
  font-family: "Libertinus Serif Display", system-ui;
  font-weight: 400;
  font-style: normal;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #607744;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #34623f;
    color: #ffffff;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}
nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    flex-wrap: wrap;
}
nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: #607744;
    width: 180px;
    height: 40px;
    text-decoration: none;
    margin: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
nav a:hover {
    text-decoration: underline;
    transform: scale(1.1);
    transition: transform 0.3s;
}
footer {
    text-align: center;
    padding: 15px 10px;
    background-color: #34623f;
    color: #ffffff;
    position: fixed;
    width: 100%;
    bottom: 0;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}
main.homepage {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: calc(100vh - 140px);
}
section#about{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 40%;
    border-radius: 10px;
    text-align: center;
    border: 5px solid #34623f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
section.homeContainer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}
aside {
    overflow: hidden;
    width: 50%;
    border-radius: 10px;
    border: 5px solid #34623f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
}
aside img {
    transition: transform 0.3s ease;
    width: 100%;
    display: block;
}
aside img:hover {
    transform: scale(1.1);
}
section.homeContainer article {
    margin-left: 45px;
}

main.about {
    display: flex;
    height: fit-content;
    justify-content: space-evenly;
    color: white;
    padding: 45px 20px;
}
main.about section {
    width: 400px;
    height: fit-content;
    padding: 20px;
    border-radius: 10px;
    border: 5px solid #34623f;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
section.vaardigheden article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    border: 5px solid #34623f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #4a6c3b;
    text-align: center;
}
.beheersing {
    background-color: white;
    width: fit-content;
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
    margin: 0 auto;
}
.Basis {
    color: red;
}
.Gemiddeld {
    color: orange;
}
.Goed {
    color: green;
}
.Uitstekend {
    color: blue;
}
main.projects {
    display: flex;
    justify-content: center;
}
section.projecten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0 100px 0;
    padding: 20px;
    width: 80%;
    color: white;
    border: 5px solid #34623f;
    border-radius: 10px;
}
section.projecten div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
section.projecten article {
    background-color: #4a6c3b;
    color: white;
    width: 300px;
    height: 350px;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

main.contact {
    display: flex;
    justify-content: center;
    padding: 45px 20px;
    min-height: calc(100vh - 140px);
}

section.contact-container {
    width: 80%;
    max-width: 1200px;
    padding: 30px;
    background-color: transparent;
    color: white;
    border: 5px solid #34623f;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
}

.contact-info {
    flex: 1;
    text-align: left;
    padding: 20px;
    background-color: #4a6c3b;
    border-radius: 10px;
    border: 5px solid #34623f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-details {
    margin-top: 30px;
}

.detail-item {
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(52, 98, 63, 0.3);
    border-radius: 8px;
}

.detail-item h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #ffffff;
}

.detail-item p {
    margin: 0;
    color: #e0e0e0;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #4a6c3b;
    border-radius: 10px;
    border: 5px solid #34623f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #34623f;
    border-radius: 5px;
    font-family: "Libertinus Serif Display", system-ui;
    font-size: 16px;
    background-color: #ffffff;
    color: #333;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #607744;
    box-shadow: 0 0 5px rgba(96, 119, 68, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    padding: 15px 30px;
    background-color: #34623f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form button:hover {
    background-color: #607744;
    transform: scale(1.05);
}

.message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.message.success {
    background-color: #4caf50;
    border: 2px solid #45a049;
}

.message.error {
    background-color: #f44336;
    border: 2px solid #da190b;
}

.message p {
    margin: 0;
    color: white;
    font-weight: bold;
}

.vaardigheid {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.vaardigheid:hover {
    background-color: #5a7b49;
}

.vaardigheid-titel {
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.vaardigheid-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    text-align: center;
}

.vaardigheid-content.open {
    max-height: 500px;
    opacity: 1;
    margin-top: 0.5rem;
    text-align: center;
}

.arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.vaardigheid-content.open ~ .vaardigheid-titel .arrow,
.vaardigheid-titel.open .arrow {
    transform: rotate(180deg);
}

.hobbies-list {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Tablets and smaller (max-width: 768px) */
@media (max-width: 768px) {
    /* Header adjustments */
    header {
        flex-direction: column;
        padding: 15px 10px;
    }
    
    header img {
        width: 80px;
        margin-bottom: 10px;
    }
    
    nav {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    nav a {
        width: 90%;
        max-width: 300px;
        margin: 5px 0;
    }
    
    /* Homepage adjustments */
    section#about {
        width: 90%;
        padding: 15px;
    }
    
    section.homeContainer {
        flex-direction: column;
        padding: 10px;
    }
    
    aside {
        width: 100%;
        margin-bottom: 20px;
    }
    
    section.homeContainer article {
        margin-left: 0;
        width: 100%;
    }
    
    /* About page adjustments */
    main.about {
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
        padding-bottom: 100px;
    }
    
    main.about section {
        width: 90%;
        margin-bottom: 20px;
    }
    
    main.about > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Projects page adjustments */
    section.projecten {
        width: 90%;
        padding: 15px;
        margin-bottom: 120px;
    }
    
    section.projecten article {
        width: 90%;
        height: auto;
        min-height: 350px;
        margin: 10px 0;
    }
    
    /* Contact page adjustments */
    .contact-content {
        flex-direction: column;
        gap: 20px;
    }
    
    section.contact-container {
        width: 95%;
        padding: 20px 15px;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    /* Footer adjustments */
    footer {
        padding: 15px 5px;
        font-size: 14px;
    }
    
    footer p {
        margin: 5px;
    }
}

/* Small phones (max-width: 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    header img {
        width: 70px;
    }
    
    nav a {
        width: 95%;
        font-size: 14px;
        height: 35px;
    }
    
    section#about {
        width: 95%;
        padding: 10px;
    }
    
    section.homeContainer {
        padding: 5px;
    }
    
    main.about {
        padding: 15px 5px;
        padding-bottom: 100px;
    }
    
    main.about section {
        width: 95%;
        padding: 15px;
    }
    
    section.vaardigheden article {
        padding: 10px;
    }
    
    .vaardigheid-titel {
        font-size: 1.1rem;
    }
    
    section.projecten {
        width: 95%;
        padding: 10px;
    }
    
    section.projecten article {
        width: 95%;
        padding: 12px;
        margin: 8px 0;
    }
    
    section.contact-container {
        width: 95%;
        padding: 15px 10px;
    }
    
    .contact-form button {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    footer {
        font-size: 12px;
        padding: 12px 5px;
    }
}

/* Very small phones (max-width: 360px) */
@media (max-width: 360px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    header img {
        width: 60px;
    }
    
    nav a {
        font-size: 13px;
        padding: 8px;
    }
    
    main.about section {
        width: 98%;
    }
    
    section.projecten article {
        width: 98%;
    }
}