/*--------------TEAM / OVER ONS--------------------*/

/* Team overview */
.team-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 50px 60px;
}

.team-intro {
    text-align: center;
    margin-bottom: 60px;
}

.team-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #001F5C;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.team-intro p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.15rem;
    color: #495057;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


.team-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 31, 92, 0.08);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-family: inherit;
    box-shadow: 0 8px 30px rgba(0, 31, 92, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover,
.team-card:focus-visible {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 31, 92, 0.15);
    border-color: rgba(0, 31, 92, 0.15);
    outline: none;
}

.team-card-image {
    aspect-ratio: 4 / 3.5;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-info {
    padding: 20px 16px 24px;
}

.team-card-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    color: #001F5C;
    margin: 0 0 6px;
    font-weight: 600;
    line-height: 1.2;
}

.team-role {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    color: #6495ED;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.team-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    color: #001F5C;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.team-modal-gallery--single .team-modal-main-photo {
    aspect-ratio: 4 / 3.5;
}

.team-card:hover .team-card-cta {
    gap: 12px;
}

.team-card-cta i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.team-card:hover .team-card-cta i {
    transform: translateX(3px);
}

/* Team modal */
body.team-modal-open {
    overflow: hidden;
}

.team-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 15, 45, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.team-modal-overlay[hidden] {
    display: none;
}

.team-modal {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 31, 92, 0.3);
}

.team-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #001F5C;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 31, 92, 0.15);
    transition: all 0.25s ease;
}

.team-modal-close:hover {
    background: #001F5C;
    color: #ffffff;
    transform: rotate(90deg);
}

.team-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.team-modal-content[hidden] {
    display: none;
}

.team-modal-gallery {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-modal-main-photo {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 12px 35px rgba(0, 31, 92, 0.12);
}

.team-modal-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-modal-thumbnails {
    display: flex;
    gap: 10px;
}

.team-thumbnail {
    flex: 1;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    aspect-ratio: 1;
    opacity: 0.65;
    transition: all 0.25s ease;
}

.team-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-thumbnail:hover,
.team-thumbnail.active {
    opacity: 1;
    border-color: #001F5C;
}

.team-modal-text {
    padding: 48px 40px 48px 32px;
    overflow-y: auto;
}

.team-modal-role {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    color: #6495ED;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.team-modal-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #001F5C;
    margin: 0 0 24px;
    font-weight: 600;
    line-height: 1.2;
}

.team-modal-bio p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #495057;
    margin: 0 0 18px;
}

.team-modal-bio p:last-child {
    margin-bottom: 0;
}

.team-cta-section {
    text-align: center;
    padding: 70px 50px 90px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #001F5C;
}

.team-cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.team-cta-section p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* General styling */
.hero_about_me {
    background: linear-gradient(135deg, rgba(0, 31, 92, 0.4) 0%, rgba(0, 0, 139, 0.35) 100%), url('../images/hero_mariakerke_2.jpg') center center / cover no-repeat;
    padding: 50px;
    text-align: center;
    color: white;
    height: 40vh;
    font-family: 'Work Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-button_about_me {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #001F5C;
    padding: 16px 40px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button_about_me:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero_about_me-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero_about_me-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero_about_me-content p {
    font-size: 1.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    line-height: 1.6;
}

.profile-image {
    width: 400px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 31, 92, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.profile-image:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 31, 92, 0.2);
}

.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 31, 92, 0.08);
    max-width: 1200px;
    margin: 60px auto;
    color: #00008B;
    gap: 60px;
    border: 1px solid rgba(0, 31, 92, 0.05);
}

.about-content {
    padding: 0;
    max-width: 500px;
    font-family: "Work Sans", sans-serif;
    color: #00008B;
}

.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #001F5C;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* Paragraaf styling */
.about-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #495057;
    margin-bottom: 25px;
    text-align: left;
}

/* Call-to-action knop */
.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #001F5C 0%, #00008B 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 31, 92, 0.25);
    letter-spacing: 0.5px;
}

/* Hover effect voor de knop */
.cta-button:hover {
    background: linear-gradient(135deg, #00008B 0%, #6495ED 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 31, 92, 0.35);
}

.about-container {
    max-width: 500px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    font-family: 'Work Sans', sans-serif;
}

.about-image img {
    width: 200px;
    border-radius: 50%;
}

.about-text {
    max-width: 600px;
}

.skills-section {
    text-align: center;
    padding: 80px 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #00008B;
    font-family: 'Work Sans', sans-serif;
}

.skills-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #001F5C;
    margin-bottom: 50px;
    font-weight: 600;
    letter-spacing: -0.3px;
    padding-bottom: 0;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px 25px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: calc((100% - 60px) / 4);
    max-width: 250px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 31, 92, 0.08);
    border: 1px solid rgba(0, 31, 92, 0.05);
    gap: 20px;
    flex: 1;
}

.skill-item i {
    font-size: 3rem;
    color: #001F5C;
    transition: all 0.3s ease;
}

.skill-item h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #001F5C;
    margin: 0;
    letter-spacing: 0.3px;
}

.skill-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 31, 92, 0.15);
    border-color: rgba(0, 31, 92, 0.1);
}

.skill-item:hover i {
    color: #6495ED;
    transform: scale(1.1);
}

.testimonials h2{
    text-align: center;
    padding: 40px;
    color: #00008B;
    font-family: 'Work Sans', sans-serif;
}

/* Testimonials styling */
.testimonials {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 0px;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    color: #00008B;
}

.carousel {
    position: relative;
    max-width: 600px; /* Maak de carousel breder als je meer ruimte wilt */
    margin: 0 auto;
    padding: 40px;
    padding-top: 10px;
    overflow: hidden;
    text-align: center; /* Zorg ervoor dat de inhoud gecentreerd wordt */
}

.testimonial {
    font-size: 1.2rem;
    display: none; /* Verberg de testimonials standaard */
    transition: opacity 0.5s ease;
    margin: 0 auto; /* Centreer de testimonial in de carousel */
    max-width: 80%; /* Zorg dat de testimonial niet te breed wordt */
}

.testimonial.active {
    display: block;
    opacity: 1;
    margin: 0 auto; /* Centreer de actieve testimonial */
    max-width: 80%; /* Pas de breedte van de testimonial aan om hem gecentreerd te houden */
}

.carousel button {
    background-color: #00008B;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel button.prev {
    left: 0px; /* Verplaats de knop verder naar links */
}

.carousel button.next {
    right: 0px; /* Verplaats de knop verder naar rechts */
}

.carousel button:hover {
    background-color: #6495ED;
}

.reviewer{
    color: #6495ED;
}

/*--------------RESPONSIVE FOR PHONE--------------------*/
/*--------------TEAM / OVER ONS--------------------*/

/* Tablet landscape (iPad Pro, etc.) */
@media (max-width: 1100px) {
    .team-section {
        padding: 60px 28px 50px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .team-modal-content {
        grid-template-columns: 1fr;
    }

    .team-modal-gallery {
        padding: 28px 28px 16px;
    }

    .team-modal-text {
        padding: 28px 32px 40px;
    }

    .team-intro h2 {
        font-size: 2.5rem;
    }
}

/* Tablet portrait (iPad, etc.) */
@media (max-width: 768px) {
    .team-section {
        padding: 44px 16px 36px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .team-card-info {
        padding: 14px 12px 18px;
    }

    .team-card-info h3 {
        font-size: 1.15rem;
    }

    .team-role {
        font-size: 0.68rem;
        margin-bottom: 10px;
    }

    .team-card-cta {
        font-size: 0.75rem;
        gap: 4px;
    }

    .team-intro {
        margin-bottom: 36px;
    }

    .team-intro h2 {
        font-size: 2rem;
    }

    .team-intro p {
        font-size: 1rem;
    }

    /* Modal slides up from bottom on mobile */
    .team-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .team-modal {
        border-radius: 24px 24px 0 0;
        max-height: 94vh;
        overflow-y: auto;
    }

    .team-modal-gallery {
        padding: 20px 20px 12px;
    }

    .team-modal-main-photo {
        aspect-ratio: 4 / 3;
    }

    .team-modal-text {
        padding: 20px 22px 32px;
    }

    .team-modal-text h2 {
        font-size: 1.9rem;
    }

    .team-modal-bio p {
        font-size: 0.93rem;
        line-height: 1.75;
    }

    .team-cta-section {
        padding: 50px 20px 70px;
    }

    .team-cta-section h2 {
        font-size: 2rem;
    }
}

/* Phone */
@media (max-width: 480px) {
    .team-section {
        padding: 36px 12px 28px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .team-card-image {
        aspect-ratio: 3 / 3.5;
    }

    .team-card-info {
        padding: 12px 10px 14px;
    }

    .team-card-info h3 {
        font-size: 1rem;
    }

    .team-role {
        font-size: 0.62rem;
    }

    .team-card-cta {
        display: none;
    }

    .team-intro h2 {
        font-size: 1.75rem;
    }

    .team-modal-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .team-modal-thumbnails {
        gap: 6px;
    }

    .team-modal-text h2 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .team-modal-bio p {
        font-size: 0.9rem;
    }
}

/* Verbetering voor de hero sectie op mobiele apparaten vanaf 1024px */
@media (max-width: 1024px) {
    .hero_about_me {
        height: 35vh;
        padding: 40px 30px;
    }

    .hero_about_me-content h1 {
        font-size: 2.5rem;
    }

    .hero_about_me-content p {
        font-size: 1.2rem;
    }

    .cta-button_about_me {
        font-size: 1.1rem;
        padding: 14px 32px;
    }
}

@media (max-width: 768px) {
    .hero_about_me {
        height: 30vh;
        padding: 30px 20px;
    }

    .hero_about_me-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero_about_me-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-button_about_me {
        font-size: 1rem;
        padding: 12px 28px;
    }
}

/* Responsive aanpassing voor de introductiesectie vanaf 1024px */
@media (max-width: 1024px) {
    .about-section {
        flex-direction: column;
        padding: 60px 30px;
        gap: 40px;
        margin: 40px 20px;
    }

    .profile-image {
        width: 300px;
        margin-bottom: 0;
    }

    .about-content {
        padding: 0;
        max-width: 100%;
        text-align: center;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1rem;
        text-align: left;
    }

    .cta-button {
        font-size: 1rem;
        padding: 14px 32px;
    }
}

/* Responsive aanpassing voor de specialisatiesectie vanaf 1024px */
@media (max-width: 1024px) {
    .skills-section {
        padding: 60px 30px;
    }
    
    .skills-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .skills-container {
        gap: 25px;
        flex-wrap: wrap;
    }

    .skill-item {
        width: calc(50% - 12.5px);
        min-width: 200px;
        padding: 35px 25px;
        flex: 0 1 calc(50% - 12.5px);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 50px 20px;
        gap: 30px;
        margin: 30px 15px;
    }
    
    .profile-image {
        width: 250px;
    }
    
    .about-content h2 {
        font-size: 1.75rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
    }
    
    .skills-section {
        padding: 50px 20px;
    }
    
    .skills-section h2 {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .skills-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .skill-item {
        width: 100%;
        padding: 30px 20px;
        min-height: 180px;
    }
    
    .skill-item i {
        font-size: 2.5rem;
    }
}

/* Responsive aanpassing voor de testimonials sectie vanaf 1024px */
@media (max-width: 1024px) {
    .carousel {
        max-width: 100%; /* Laat de carousel de volledige breedte gebruiken */
        padding: 20px; /* Minder padding */
    }

    .testimonial {
        font-size: 1rem; /* Kleiner lettertype voor de testimonials */
        max-width: 90%; /* Zorg ervoor dat de testimonials smaller zijn */
    }

    .carousel button {
        padding: 8px 15px; /* Verklein de knoppen */
        font-size: 1.2rem; /* Verklein de lettergrootte in de knoppen */
    }
}

/* Responsive aanpassing voor de footer vanaf 1024px */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-item {
        margin-bottom: 20px;
    }

    .footer-item h3 {
        font-size: 1.2rem;
    }

    .footer-item p {
        font-size: 1rem;
    }

    .social-media a {
        font-size: 1.25rem;
    }
}

