/*
===========
OVER ONS PAGE
===========
*/

/* Breadcrumb */
.over-ons-breadcrumb-section {
    padding-top: var(--breadcrumb-padding-top);
}

.breadcrumb {
    font-family: var(--font-family);
    font-size: var(--breadcrumb-size);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-dark);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .current {
    font-weight: 700;
    color: var(--heading-color);
}

/* Container */
.over-ons-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Secties */
.over-ons-section {
    padding: 4rem 0;
}

/* Rij layout */
.over-ons-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.over-ons-row-reverse {
    flex-direction: row-reverse;
}

/* Tekst kolom */
.over-ons-text {
    flex: 1 1 50%;
    min-width: 300px;
}

.over-ons-text h1 {
    font-size: var(--h1-size-desktop);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.over-ons-text h2 {
    font-size: var(--h2-size-desktop);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.over-ons-text p {
    font-size: var(--p-size);
    color: var(--text-dark);
    line-height: 1.8;
}

/* Afbeelding kolom */
.over-ons-image {
    flex: 1 1 50%;
    min-width: 300px;
}

.over-ons-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    display: block;
}

/*
===========
HISTORY / LERAREN ACHTERGROND SECTION
===========
*/
.history-section {
    background-color: var(--white);
    padding: 60px 20px;
    position: relative;
}

.history-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.history-text {
    flex: 1;
}

.history-text h2 {
    font-size: var(--h2-size-desktop);
    font-weight: 700;
    line-height: 1.4;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.history-text h2 span {
    color: var(--primary-color);
}

.history-text p {
    font-size: var(--p-xs);
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 16px;
}

.history-cards {
    flex: 1.5;
    display: flex;
    gap: 24px;
    position: relative;
}

.history-card {
    background-color: var(--hero-bg-color);
    border-radius: 16px;
    padding: 120px 24px 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.history-image-wrapper {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
}

.history-image-wrapper img {
    width: 100%;
    height: auto;
}

.history-card h3 {
    font-size: var(--h4-size-mobile);
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 16px;
    margin-bottom: 12px;
}

.history-card p {
    font-size: var(--p-xs);
    color: var(--text-dark);
}

.history-blur-background {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(205, 38, 83, 0.6) 0%, transparent 70%);
    border-radius: 16px;
    z-index: 0;
}

/*
===========
STUDENT WORDEN SECTION
===========
*/
.student-worden-section {
    width: 100%;
    background-color: var(--white);
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.student-worden-container {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.student-worden-section h2 {
    font-size: var(--h2-size-desktop);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.student-worden-section .italic {
    font-style: italic;
}

.student-worden-section p {
    font-size: var(--p-size);
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
}

.student-worden-gallery {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.student-worden-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .over-ons-breadcrumb-section {
        padding-top: var(--breadcrumb-padding-top-mobile);
    }

    .over-ons-section {
        padding: 2rem 0;
    }

    .over-ons-row,
    .over-ons-row-reverse {
        flex-direction: column;
    }

    .over-ons-text h1 {
        font-size: var(--h1-size-mobile);
    }

    .over-ons-text h2 {
        font-size: var(--h2-size-mobile);
    }

    .over-ons-container {
        padding: var(--container-padding-mobile);
    }

    /* History section responsive */
    .history-container {
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto;
    }

    .history-text {
        text-align: center;
        margin-bottom: 48px;
    }

    .history-text h2 span {
        display: block;
    }

    .history-cards {
        flex-direction: column;
        gap: 0;
    }

    .history-card {
        padding: 110px 24px 36px;
        margin-bottom: 96px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .history-card h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .history-card p {
        font-size: var(--p-xs);
        color: var(--text-light);
        line-height: 1.6;
    }

    .history-blur-background {
        bottom: 160px;
        left: 80%;
        transform: translateX(-50%);
        border-radius: 24px;
    }

    /* Student worden responsive */
    .student-worden-section {
        padding: 4rem 1.5rem 2rem;
    }

    .student-worden-section h2 {
        font-size: var(--h2-size-mobile);
    }

    .student-worden-gallery {
        grid-template-columns: 1fr;
        padding: 0;
    }
}
