/* Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/1600x900/?technology,data') no-repeat center center/cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.hero h1 span {
    color: #00aaff;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.btn {
    display: inline-block;
    padding: 12px 20px;
    background: #00aaff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background 0.3s;
}
.btn:hover {
    background: #0077cc;
}

/* Navbar */
.navbar {
    background: #333;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
.navbar ul li {
    margin: 0 15px;
}
.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}
.navbar ul li a:hover {
    color: #00aaff;
}

/* Sections */
.section {
    padding: 60px 0;
}
.section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}
.section h2::after {
    content: '';
    width: 80px;
    height: 3px;
    background: #00aaff;
    display: block;
    margin: 15px auto 0;
}
.bg-light {
    background: #f4f4f9;
}

/* Skills Section */
.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}
.skill {
    flex: 1;
    min-width: 250px;
    background: #fff; /* Fond blanc */
    padding: 20px;
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre élégante */
    margin-bottom: 20px; /* Espacement sous la section */
}
.skill h3 {
    color: #00aaff; /* Couleur du titre */
    margin-bottom: 15px; /* Espacement sous le titre */
}
.skill ul {
    list-style: none;
    padding: 0;
}
.skill ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
.skill ul li::before {
    content: "✓"; /* Icône pour chaque compétence */
    color: #00aaff;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Skills Section - Général (Colonnes pour compétences générales) */
.skill-columns {
    display: flex;
    justify-content: space-between; /* Espacement entre les colonnes */
    gap: 10px; /* Petit espace entre les deux colonnes */
}

.skill-column {
    flex: 1; /* Chaque colonne prend 50% */
    padding: 0 10px; /* Espacement interne pour lisibilité */
}

.skill-column ul {
    list-style: none;
    padding: 0;
}

.skill-column ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.skill-column ul li::before {
    content: "✓"; /* Icône pour chaque compétence */
    color: #00aaff;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Projects Section */
.project {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.project h3 {
    margin-bottom: 10px;
    color: #00aaff;
}
.project a {
    text-decoration: none;
    color: #0077cc;
    font-weight: bold;
    transition: color 0.3s;
}
.project a:hover {
    color: #005599;
}

/* Experience Section */
.experience {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.experience:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.experience h3 {
    color: #00aaff;
    margin-bottom: 10px;
}
.experience p {
    color: #555;
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.experience ul {
    list-style: disc inside;
    margin-top: 10px;
    color: #555;
}

/* Education Section */
.education-item {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.education-item h3 {
    color: #00aaff;
    margin-bottom: 10px;
}
.education-item p {
    color: #555;
    margin-bottom: 10px;
}
.education-item ul {
    list-style: disc inside;
    margin-top: 10px;
    color: #555;
}
.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.contact-form button {
    width: 100%;
    padding: 15px;
    background: #00aaff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #0077cc;
}
.social-links {
    text-align: center;
    margin-top: 20px;
}
.social-links a {
    color: #00aaff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.social-links a:hover {
    color: #005599;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: #333;
    color: #fff;
}
/* Education Section */
.education-item {
    margin: 20px 0;
    padding: 20px;
    background: #fff; /* Fond blanc */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre élégante */
}
.education-item h3 {
    color: #00aaff; /* Couleur du titre */
    margin-bottom: 10px;
}
.education-item p {
    color: #555;
    margin-bottom: 10px;
}
.education-item ul {
    list-style: disc inside;
    margin-top: 10px;
    color: #555;
}


#easter-egg {
    color: #00aaff;
    text-decoration: underline;
    cursor: pointer;
}
#easter-egg:hover {
    color: #0077cc;
}


/* 
Cours particulier
*/

/* Easter Egg Tooltip */
.tooltip {
    color: #00aaff;
    cursor: pointer;
    text-decoration: underline;
    font-style: italic;
}
.tooltip:hover {
    color: #0077cc;
}

/* Modal Styling */
.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.modal-content h3 {
    margin-bottom: 15px;
    color: #00aaff;
}
.modal-content ul {
    list-style: disc inside;
    margin: 10px 0;
    text-align: left;
}
.modal-content p {
    margin-top: 20px;
    font-size: 1rem;
    color: #555;
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #FFF;
    font-size: 1.5rem;
    cursor: pointer;
}


/* Mobile-friendly styles */
@media (max-width: 768px) {
    /* Container: Ajustement de la largeur */
    .container {
        width: 95%;
    }

    /* Hero Section: Réduction de la taille du texte */
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        font-size: 1rem;
        padding: 10px 15px;
    }

    /* Navbar: Colonne au lieu de ligne */
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }
    .navbar ul li {
        margin: 10px 0;
    }

    /* Sections: Réduction des paddings */
    .section {
        padding: 40px 0;
    }

    /* Skills Section: Une colonne pour chaque bloc */
    .skills {
        flex-direction: column;
        gap: 20px;
    }

    /* Skills Columns (pour Générales) */
    .skill-columns {
        flex-direction: column;
    }
    .skill-column {
        width: 100%; /* Chaque colonne prend toute la largeur */
        padding: 0;
    }

    /* Projects Section: Affichage en colonne */
    .project {
        margin: 10px 0;
    }

    /* Expériences: Marges réduites */
    .experience {
        margin: 10px 0;
        padding: 15px;
    }

    /* Footer: Texte plus petit */
    footer p {
        font-size: 0.9rem;
    }

    /* Modale: Ajustement sur mobile */
    .modal-content {
        width: 95%;
    }
}

/* Menu burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
}
.menu-toggle .bar {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s;
}

/* Navigation mobile */
.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    background: #333;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #00aaff;
}




/* Fin du fichier styles.css */
@media (max-width: 768px){
    .navbar {
        background: #333;
        padding: 10px 0;
        position: static;
        top: 0;
        z-index: 10;
    }
}

