* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    color: #333333;
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #d25a06;
}

header {
    background-color: #d25a06;
    color: #ffffff;
    padding: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.header-texte h1 {
    color: white;
}


.logo {
    width: 100px;
    height: 100px;
}

/* Photo de profil */
.photo-profil {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #d25a06;
    margin-bottom: 10px;
}

header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

header p {
    font-size: 20px;
    color: white;
}

nav {
    background-color: #984407;
    text-align: center;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

nav a:hover {
    color: #e8711a;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

section {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    scroll-margin-top: 140px;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: 28px;
    color: #1a0a00;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #d25a06;
}

footer {
    background-color: #984407;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

footer p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

footer a {
    color: #bdc3c7;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Expériences & Formation */
.experience-item,
.formation-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.experience-item h3,
.formation-item h3 {
    font-size: 20px;
    color: #1a0a00;
    margin-bottom: 5px;
}

.etablissement {
    color: #d25a06;
    font-weight: bold;
    margin-bottom: 5px;
}

.date {
    color: #999999;
    font-size: 14px;
    margin-bottom: 10px;
}

.experience-item ul {
    padding-left: 20px;
}

.experience-item ul li {
    margin-bottom: 5px;
    color: #555555;
}

/* Compétences */
#competences .contenu {
    display: flex;
    gap: 30px;
}

.competences-groupe {
    flex: 1;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.competences-groupe h3 {
    font-size: 18px;
    color: #1a0a00;
    margin-bottom: 10px;
}

.competences-groupe ul {
    padding-left: 20px;
}

.competences-groupe ul li {
    margin-bottom: 5px;
    color: #555555;
}

/* Contact */

/* Contact Flexbox */
.contenu-contact {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-item a {
    color: #d25a06;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* À propos */
#apropos p {
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Projets */
.projet-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.projet-item h3 {
    font-size: 20px;
    color: #1a0a00;
    margin-bottom: 5px;
}

.projet-item p {
    color: #555555;
    margin-bottom: 10px;
}

.projet-item ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.projet-item ul li {
    margin-bottom: 5px;
    color: #555555;
}

.projet-item a {
    display: inline-block;
    background-color: #d25a06;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.projet-item a:hover {
    background-color: #d25a06;
}

/* Hamburger - styles de base */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

.nav-liens {
    display: flex;
    gap: 0;
}

/* Barres de progression */
.barre-item {
    margin-bottom: 15px;
}

.barre-item span {
    display: block;
    font-size: 14px;
    color: #555555;
    margin-bottom: 5px;
}

.barre {
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    width: 100%;
}

.barre-progression {
    height: 10px;
    border-radius: 10px;
    background-color: #d25a06;
    width: 0%;
    transition: width 1s ease;
}

section {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
    }

    section {
        padding: 20px;
    }

    #competences .contenu {
        flex-direction: column;
    }

    .hamburger {
        display: block;
    }

    .nav-liens {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .nav-liens.ouvert {
        display: flex;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}