/* Styles généraux */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background: #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

header nav ul li a {
    text-decoration: none;
    color: #f5f5f5;
    font-size: 1.2rem;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #f39c12;
}

nav ul li a.active {
    color: #f39c12; /* Met en surbrillance le lien actif */
    font-weight: bold;
    border-bottom: 2px solid #f39c12;
}

/* Conteneur global pour le logo, le menu, et le bouton hamburger */
.nav-container {
    display: flex; /* Aligne les éléments horizontalement */
    align-items: center; /* Centre verticalement */
    justify-content: space-between; /* Gère l'espacement global */
    max-width: 1200px; /* Largeur maximale de la barre */
    margin: 0 auto; /* Centre horizontalement */
    padding: 0 20px; /* Espacement à gauche et à droite */
    height: 60px;
}

/* Logo */
.logo img {
    width: 50px; /* Taille ajustable du logo */
    border-radius: 50%; /* Si tu veux un effet arrondi */
    height: auto;
    object-fit: cover; /* Maintient les proportions */
}

/* Menu complet */
.menu {
    flex-grow: 1; /* Permet au menu de prendre l'espace nécessaire */
    display: flex; /* Aligne les liens horizontalement */
    justify-content: center; /* Centre le menu */
}

.menu ul {
    display: flex; /* Affiche les liens sur une ligne */
    list-style: none; /* Supprime les puces */
    gap: 20px; /* Espace entre les éléments */
    margin: 0;
    padding: 0;
}

.menu ul li a {
    text-decoration: none;
    color: #f5f5f5;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.menu ul li a:hover {
    color: #f39c12;
}

/* Menu toggle (hamburger) */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle img {
    width: 30px;
    height: auto;
    transition: all 0.5s ease; /* Ajout d'une transition pour un effet plus fluide */
}

.menu-toggle:hover img {
    content: url('image/menu_orange.png'); /* Remplace l'image par celle en orange */
}







/* Responsive styles */
@media (max-width: 768px) {
    .menu {
        display: none; /* Cache le menu complet */
    }
    .menu-toggle {
        display: block; /* Affiche le bouton hamburger */
    }
    .about-container {
        flex-direction: column; /* Change la direction des éléments en colonne */
        align-items: center; /* Centre les éléments */
        text-align: center; /* Centre le texte */
    }

    .about-photo {
        margin-bottom: 20px; /* Ajoute un espacement sous la photo */
    }

    .about-photo img {
        width: 150px; /* Redimensionne la photo pour un format plus petit */
        height: auto;
        border-radius: 50%; /* Assure un aspect circulaire */
    }

    .about-text h1, .about-text h3 {
        margin: 0; /* Supprime les marges pour une présentation plus compacte */
    }
    
}









/* SECTION INTRO */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 2%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.details-left, .details-right {
    flex: 1;
}

.details img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.details-left p, .details-right p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0; /* Supprime l'espace entre les blocs pour plus de compacité */
    }
    .details-left, .details-right {
        flex: none;
        width: 100%;
        margin-bottom: 0; /* Supprime les marges entre Bac +2 et Français */
    }
}

/* Compétences comme des boutons */
.competences {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.competence {
    background-color: #f39c12;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    display: inline-block;
    transition: background-color 0.3s;
}

.competence:hover {
    background-color: #e67e22;
}

/* SECTION EXPERIENCES */
.experience-container {
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

.experience-container h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Timeline styles */
.timeline {
    position: relative;
    padding-left: 40px;
}

.line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #333;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #f39c12;
    border-radius: 50%;
    position: absolute;
    left: 15px;
    transform: translateY(5px);
}

.experience {
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
}

.experience h3 {
    font-size: 1.8rem;
    color: #f39c12;
    margin-bottom: 10px;
}

.experience p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
}

/* Align dots with titles */
.experience .dot {
    top: 10px;
}


/* SECTION FORMATION */
.formation-container {
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

.formation-container h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #333;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #f39c12;
    border-radius: 50%;
    position: absolute;
    left: 15px;
    transform: translateY(5px);
}

.formation-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
}

.formation-item h3 {
    font-size: 1.8rem;
    color: #f39c12;
    margin-bottom: 10px;
}

.formation-item p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
}

/* Align dots with titles */
.formation-item .dot {
    top: 10px;
}


/* SECTION CONTACT ET PASSION */
.two-column-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 20px auto;
}

.bubble {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    text-align: center;
}

.bubble h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 5px rgba(243, 156, 18, 0.5);
}

.btn-submit {
    display: inline-block;
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #e67e22;
}

/* Section Passion : Suppression des points par défaut et ajustement des icônes */
.passion ul {
    list-style: none; /* Supprime les points par défaut */
    padding: 0;
    margin: 0;
}

.passion ul li {
    display: flex; /* Utilise flex pour aligner les icônes et le texte */
    align-items: center;
    margin-bottom: 15px;
}

.passion-icon {
    width: 32px; /* Taille de l'icône : ajuste selon tes préférences */
    height: 32px; /* Hauteur de l'icône */
    margin-right: 10px; /* Espace entre l'icône et le texte */
}

.passion ul li p {
    font-size: 1.2rem; /* Taille du texte */
    margin: 0; /* Supprime la marge par défaut du paragraphe */
}


/* Responsive Design */
@media (max-width: 768px) {
    .two-column-container {
        flex-direction: column;
    }

    .bubble {
        margin-bottom: 20px;
    }
}

#formation {
    margin-bottom: 20px; /* Réduit la marge inférieure de la section Formation */
}

#contact-passion {
    margin-top: 20px; /* Réduit la marge supérieure de la section Contact/Passion */
}


/* STYLES POUR LA SECTION CONTACT */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-info a {
    font-size: 1.2rem;
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #e67e22;
}
