@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 🌟 SECTION GLOBALE 🌟 */
.about-section {
    background: hsl(0, 0%, 83%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

/* 🌟 CONTAINER PRINCIPAL 🌟 */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    width: 85%;
    max-width: 1400px; /* Augmente la largeur maximale du conteneur */
}

/* 🌟 IMAGE AVEC LARGEUR AUGMENTÉE 🌟 */
.about-image {
    width: 550px;  /* Largeur augmentée 📏 */
    height: 400px; /* Hauteur ajustée */
    border-radius: 15px;
    border: 1px solid white;
    overflow: hidden;
    box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.about-image:hover {
    transform: scale(1.03);
}

.about-image img:hover {
    transform: scale(1.07);
}

/* 🌟 TITRE 🌟 */
.about-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--black-color);
    display: flex;
    align-items: center;
}

.highlight-dot {
    color: rgb(109, 67, 0);
    font-size: 2.5rem;
    margin-left: 5px;
}

/* 🌟 SOULIGNEMENT À GAUCHE 🌟 */
.about-line {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: var(--black-color);
    margin-right: 12px;
    vertical-align: middle;
}

/* 🌟 DESCRIPTION 🌟 */
.about-description {
    font-size: 1.3rem;
    color: var(--text-color);
    line-height: 1.8;
    margin: 20px 0;
    max-width: 1100px; /* Fixe une largeur max pour éviter un texte trop étendu */
}

/* 🌟 SKILLS TEXT 🌟 */
.about-skills {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 15px;
}

.skill-highlight {
    font-weight: 700;
    color: rgb(109, 67, 0);
}

/* 🛠️ RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .about-container {
        gap: 2rem;
        max-width: 1000px;
    }

    .about-image {
        width: 400px;
        height: 450px;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .about-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        width: 350px;
        height: 400px;
    }

    .about-title {
        justify-content: center;
    }

    .about-description {
        font-size: 1.1rem;
        text-align: center;
    }

    .about-skills {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-container {
        max-width: 90%;
    }

    .about-image {
        width: 320px;
        height: 380px;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about-image {
        width: 300px;
        height: 350px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 0.95rem;
    }

    .about-skills {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .about-image {
        width: 280px;
        height: 320px;
    }
}
