/* about.css */

/* --- General Page Structure --- */
.about-page-content {
    background: #FFFFFF; /* White background for the main content block, matching the reference */
    color: #000000;
    padding: 100px 0;
}

.about-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

/* --- Title Style (Who am I?) --- */
.about-title {
    font-size: 60px;
    margin-bottom: 40px;
}

/* --- Content Layout (Image and Text) --- */
.bio-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start; /* Aligns content to the top */
    flex-direction: row; /* Ensure image is on the left, text on the right */
}

.bio-image-container {
    flex-basis: 45%; 
    max-width: 400px; 
    /* The image container is now the first element in the flex order */
}

.about-illustration {
    width: 100%;
    height: auto;
    display: block;
}

.bio-text {
    flex-basis: 55%; /* Allocate more space for text */
    max-width: 600px;
    padding-top: 20px; /* Slight padding to align with the image top */
    /* This will naturally be on the right due to flex-direction: row */
}

.bio-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-text .current-role {
    font-weight: bold;
    margin-top: 30px;
}

/* --- Skills List Styling --- */
.skills-section {
    margin: 40px 0;
}

.skills-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #555;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-section ul {
    list-style: none;
    padding: 0;
}

.skills-section li {
    font-size: 16px;
    line-height: 2;
    padding-left: 10px;
    border-left: 2px solid var(--primary-color);
    margin-bottom: 5px;
}

/* --- Contact Button --- */
.contact-me-button {
    display: inline-block;
    border: 2px solid #000;
    padding: 15px 40px;
    color: #000;
    font-weight: bold;
    margin-top: 20px;
}

.contact-me-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}


/* --- Footer on About Page --- */
footer {
    background: #000;
    color: #999;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}


/* --- Mobile Adjustments (Max 768px) --- */
@media (max-width: 768px) {
    .about-page-content {
        padding: 50px 20px;
    }
    
    .about-title {
        font-size: 40px;
        margin-bottom: 30px;
        text-align: center;
    }

    .bio-wrapper {
        flex-direction: column; /* Stacks vertically on mobile */
        gap: 40px;
        align-items: center;
    }

    .bio-image-container {
        order: -1; /* Move image to the top on mobile for better flow */
        flex-basis: auto;
        max-width: 80%;
    }

    .bio-text {
        flex-basis: auto;
        max-width: 100%;
        padding-top: 0;
    }

    .skills-section {
        margin: 30px 0;
    }

    .contact-me-button {
        width: 100%;
        text-align: center;
    }
}