/* === ABOUT PAGE SPECIFIC STYLES === */

/* === PROFILE SECTION === */
.content-section .bg-dark .about {
    padding: 0px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-section:has(.timeline) {
    padding-top: var(--spacing-xl);
}

.profile-content {
    /* Text flows around the image */
    overflow: auto;
}

.network-content {
    /* Text flows around the image */
    overflow: auto;
}

.profile-image {
    float: right;
    max-width: 400px;
    margin-left: 40px;
    margin-right: 0;
    margin-bottom: 20px;
}

.network-image {
    float: left;
    max-width: 450px;
    margin-right: 40px;
    margin-left: 0;
    margin-bottom: 20px;
}

.profile-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.network-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.profile-text {
    margin-top: 10px;
    /* Text will automatically flow around the floated image */
}

/* === TIMELINE === */
.timeline {
    position: relative;
}

.timeline .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.timeline .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 108px;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 1px;
    background-color: var(--color-border-dark-medium);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1s ease-out;
}

.timeline.line-visible::before {
    transform: scaleY(1);
}

.timeline-entry {
    position: relative;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-xl);
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: 105px;
    top: 0.65rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-secondary-light);
}

.timeline-year {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--color-text-light-muted);
    line-height: var(--line-height-tight);
    text-align: right;
}

.timeline-body {
    padding-top: 0;
}

.timeline-body p {
    margin-bottom: 0;
}

.timeline-image {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-xl);
}

.timeline-image img {
    grid-column: 2;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-md);
    display: block;
}

/* === SKILLS SECTION === */
.skills-section {
    background-color: var(--color-bg-dark-primary);
    padding: 40px;
    border-radius: var(--radius-md);
    margin-bottom: 50px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-category {
    background-color: var(--color-bg-dark-elevated);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    color: var(--color-primary-light);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.skill-category ul {
    padding-left: 20px;
}

.skill-category li {
    margin-bottom: 8px;
}

/* === FLEET CTA SECTION === */
.fleet-cta-content {
    text-align: center;
}

.fleet-cta-actions {
    margin-top: var(--spacing-xl);
    text-align: center;
}

/* === RESPONSIVE DESIGN - ABOUT - small === */
@media (max-width: 768px) {
    .timeline-entry {
        grid-template-columns: 60px 1fr;
        gap: 1.25rem;
        margin-bottom: var(--spacing-lg);
    }

    .timeline::before {
        left: 67px;
    }

    .timeline-entry::before {
        left: 64px;
        top: 0.55rem;
    }

    .timeline-year {
        font-size: 1.2rem;
    }

    .timeline-image {
        grid-template-columns: 60px 1fr;
        gap: 1.25rem;
    }

    .profile-image {
        float: none;
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .network-image {
        float: none;
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* === RESPONSIVE DESIGN - ABOUT - very small === */
@media (max-width: 480px) {
    .profile-image {
        float: none;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .network-image {
        float: none;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: block;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .fleet-cta-actions {
        display: flex;
        justify-content: center;
    }

    .fleet-cta-actions .btn {
        width: 100%;
        white-space: normal;
    }
}