/* a-propos.css - Styles pour la page À propos du site de Nicolas TARIELLO */

/* Polices et couleurs cohérentes avec header et footer */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Styles généraux de la page */
.about {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-bottom: 4rem;
}

/* Section d'introduction */
.about__intro {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
}

.about__title {
    color: #0a4c81;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.about__title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #40c8ff;
}

.about__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.about__image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    margin-top: 0.5rem; /* Ajout d'une marge en haut pour aligner avec le début du texte */
}

.about__img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(10, 76, 129, 0.2);
}

.about__text {
    flex: 2;
    min-width: 300px;
    padding-top: 0; /* Suppression du padding en haut si présent */
}

.about__paragraph {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.about__download {
    margin-top: 2rem;
}

.about__download-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: #3e6bba;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(10, 76, 129, 0.2);
}

.about__download-button:hover {
    background-color: #090844;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(10, 76, 129, 0.3);
}

/* Section parcours académique */
.about__education {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
}

.about__section-title {
    color: #0a4c81;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
}

.about__section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #40c8ff;
}

.about__timeline {
    margin-top: 3rem;
    position: relative;
}

.about__timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #0a4c81, #2f87c8);
}

.about__timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.about__timeline-date {
    flex: 0 0 160px;
    color: #1a67a3;
    font-weight: 600;
    padding-right: 2rem;
    text-align: right;
}

.about__timeline-content {
    flex: 1;
    padding-left: 2rem;
    position: relative;
}

.about__timeline-content:before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #40c8ff;
    box-shadow: 0 0 0 4px rgba(64, 200, 255, 0.2);
}

.about__timeline-title {
    color: #0a4c81;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about__timeline-subtitle {
    color: #1a67a3;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.about__timeline-text {
    color: #666;
    margin-bottom: 0.3rem;
}

/* Section expérience professionnelle */
.about__experience {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about__experience-item {
    margin-top: 2rem;
}

.about__experience-header {
    margin-bottom: 1rem;
}

.about__experience-title {
    color: #0a4c81;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.about__experience-company {
    color: #1a67a3;
    font-weight: 500;
    font-size: 1rem;
}

.about__experience-period {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.3rem;
}

.about__experience-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #666;
}

.about__experience-content li {
    margin-bottom: 0.5rem;
}

/* Section centres d'intérêt */
.about__interests {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
}

.about__interests-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.about__interest-item {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__interest-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 76, 129, 0.1);
}

.about__interest-title {
    color: #1a67a3;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about__interest-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #40c8ff;
}

.about__interest-text {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Section enquêtes métiers */
.about__enquetes {
    max-width: 1200px;
    width: 90%;
    margin: 4rem auto;
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about__enquete-item {
    margin-bottom: 2.5rem;
}

.about__enquete-title {
    color: #0a4c81;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about__enquete-content {
    color: #666;
}

.about__enquete-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.about__enquete-content li {
    margin-bottom: 0.5rem;
}

/* Media queries pour responsive */
@media (max-width: 768px) {
    .about__content {
        flex-direction: column;
        align-items: center;
    }

    .about__image {
        margin-bottom: 2rem;
        max-width: 300px;
        order: 1; /* Place l'image en premier en version mobile */
    }

    .about__timeline-item {
        flex-direction: column;
    }

    .about__timeline-date {
        flex: none;
        text-align: left;
        padding-left: 2rem;
        margin-bottom: 0.5rem;
    }

    .about__timeline:before {
        left: 10px;
    }

    .about__timeline-content:before {
        left: -15px;
    }

    .about__interests-container {
        flex-direction: column;
    }

    .about__text {
        order: 2; /* Place le texte après l'image en version mobile */
    }
}

@media (max-width: 480px) {
    .about__title,
    .about__section-title {
        font-size: 1.5rem;
    }

    .about__timeline-title {
        font-size: 1.1rem;
    }

    .about__experience,
    .about__enquetes {
        padding: 1.5rem;
    }
}