/* assets/css/about.css */

/* Variables */
:root {
    --content-width: 1200px;
    --spacing-base: 2rem;
    --text-color: #333;
    --text-light: #515151;
    --line-height: 1.6;
}

/* Container */
.about__container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--spacing-base);
}

.about__content {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 2fr;
    gap: calc(var(--spacing-base) * 2);
}

/* Image */
.about__image-container {
    position: sticky;
    top: var(--spacing-base);
    align-self: start;
}

.about__figure {
    margin: 0;
}

.about__image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.about__caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Text Content */
.about__text {
    font-size: 1.1rem;
    line-height: var(--line-height);
    color: var(--text-color);
}

.about__header {
    margin-bottom: calc(var(--spacing-base) * 1.5);
}

.about__title {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0 0 1rem;
}

.about__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0;
}

.about__content-text {
    margin-bottom: var(--spacing-base);
}

.about__content-text p {
    margin-bottom: 1.2rem;
}

/* Social Links */
.social {
    margin-top: calc(var(--spacing-base) * 2);
    padding-top: var(--spacing-base);
    border-top: 1px solid #eee;
}

.social__title {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.social__links {
    display: flex;
    gap: 1rem;
}

.social__link {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social__link:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .about__content {
        grid-template-columns: 1fr;
    }

    .about__image-container {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .about__container {
        padding: var(--spacing-base) 1rem;
    }

    .about__title {
        font-size: 2rem;
    }
}