/* ========================================================= */
/* ABOUT PAGE */
/* Datei: /assets/css/pages/about.css */
/* ========================================================= */

.about-section {
    margin-bottom: 60px;
}

.about-section:last-child {
    margin-bottom: 0;
}

/* ========================================================= */
/* ABOUT PAGE LAYOUT */
/* ========================================================= */

.form-container {

    max-width: var(--website-width);

    padding: 50px;

    border-radius: 24px;

    background: var(--background-primary);

    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.04);
}


/* ========================================================= */
/* HEADINGS */
/* ========================================================= */

.about-section h1 {

    margin-bottom: 24px;

    font-weight: 700;

    letter-spacing: -0.03em;

    line-height: 1.2;

    color: var(--text-primary);
}


.about-section h2 {

    margin-top: 10px;

    margin-bottom: 20px;

    font-weight: 600;

    letter-spacing: -0.02em;

    color: var(--text-primary);

    position: relative;

    padding-bottom: 10px;
}


.about-section h2::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 60px;

    height: 3px;

    border-radius: 999px;

    background: var(--accent-color);
}


.certificate-card h3 {

    margin-bottom: 12px;

    font-weight: 600;

    color: var(--text-primary);
}


/* ========================================================= */
/* TEXT */
/* ========================================================= */

.about-section p {

    margin-bottom: 18px;

    line-height: 1.9;

    color: var(--text-secondary);

    max-width: 100%;
}


.certificate-card p {

    margin: 0;

    color: var(--text-secondary);

    opacity: 0.9;
}


/* ========================================================= */
/* LIST */
/* ========================================================= */

.about-list {

    padding-left: 22px;
}


.about-list li {

    margin-bottom: 14px;

    line-height: 1.7;

    color: var(--text-secondary);
}


/* ========================================================= */
/* CERTIFICATES */
/* ========================================================= */

.certificate-container {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 24px;
}


.certificate-card {

    padding: 28px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.03),
            rgba(255,255,255,0.015)
        );

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(8px);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.certificate-card:hover {

    transform: translateY(-4px);

    border-color: rgba(255,255,255,0.16);

    box-shadow:
        0 12px 24px rgba(0,0,0,0.12),
        0 4px 12px rgba(0,0,0,0.06);
}


/* ========================================================= */
/* SKILLS */
/* ========================================================= */

.skills-container {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


.skill-badge {

    padding: 12px 18px;

    border-radius: 999px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.04),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(255,255,255,0.08);

    font-weight: 500;

    color: var(--text-primary);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.skill-badge:hover {

    transform: translateY(-2px);

    border-color: rgba(255,255,255,0.16);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.03)
        );
}


/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 768px) {

    .form-container {

        padding: 30px 22px;

        border-radius: 18px;
    }

    .about-section {

        margin-bottom: 45px;
    }

    .certificate-container {

        grid-template-columns: 1fr;
    }

    .certificate-card {

        width: 100%;
    }

    .skills-container {

        gap: 10px;
    }

    .skill-badge {

        padding: 10px 14px;
    }
}


/* ========================================================= */
/* CERTIFICATE IMAGES */
/* ========================================================= */

.certificate-image {

    width: 100%;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.08);

    user-select: none;

    -webkit-user-drag: none;

    pointer-events: none;

    display: block;

    margin-bottom: 18px;
}


/* ========================================================= */
/* DISABLE RIGHT CLICK
/* ========================================================= */

.certificate-card {

    position: relative;

    overflow: hidden;
}


.certificate-card::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 5;
}