/* ============================================================
   ABOUT.CSS — Stijlen voor de 'Over mij' pagina
   ============================================================ */

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f7f6fd;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    flex: 1;
}

/* Paginatitel */
.page-title {
    margin-top: calc(var(--navbar-height) + 2.5rem);
    text-align: center;
    margin-bottom: 32px;
}

.page-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    display: inline-block;
}

.page-title h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-green-btn);
    border-radius: 2px;
    margin: 8px auto 0;
}

/* About-box: tekst links, foto rechts */
.about-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 820px;
    padding: 40px;
    border-radius: 12px;
    background-color: var(--color-purple-mid);
    margin: 0 auto 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(206, 201, 240, 0.6);
    gap: 28px;
    transition: background-color var(--transition-smooth),
                box-shadow var(--transition-smooth);
}

.about-box:hover {
    background-color: #cfc7e7;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Tekst-gedeelte */
.about-text {
    flex: 1;
    min-width: 240px;
    text-align: left;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
}

/* Foto-gedeelte */
.about-photo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-photo img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .about-box {
        flex-direction: column;
        align-items: center;
        padding: 28px 20px;
        margin: 0 0 32px;
    }

    .about-text {
        text-align: left;
    }

    .about-photo img {
        width: 180px;
        height: 230px;
    }

    .page-title {
        margin-top: calc(var(--navbar-height) + 1.5rem);
    }

    .page-title h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .about-photo img {
        width: 150px;
        height: 190px;
    }
}
