* {
    text-decoration: none;
    color: white
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50vh;
}

body {
    background-image: linear-gradient(#020203, #2B4534);
    margin: 0;
}

.Navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 1rem 2rem;
    text-align: right;
    word-spacing: 1rem;
    background-color: transparent;
    backdrop-filter: blur(10px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    z-index: 999;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 100px;
}
.header h1 {
    font-family: 'Lora', serif;
    font-size: 5rem;
    margin: 0;
}

.header p {
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin: 10;
}

.header-texte {
    display: flex;
    flex-direction: column;
    margin-top: 120px;
    gap: 15px;
}

.header img {
   width: 380px;
   height: 380px;
   border-radius: 50%;
   object-fit: cover;
   margin-top: 60px;
}

.buttons {
    position: relative;
    margin: 50px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.contact button {
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px;
    background-color: #2B4534;
    color: white;
    border: none;
    border-radius: 12px;
}


.Download button {
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border-radius: 12px;
    border: none;
}

.aboutme {
    max-width: 1200px;
    width: 90%;
    margin: 250px auto;
    padding: 40px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0,0,0,0.1);
}

.aboutme h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.aboutme p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
}

.futur {
    max-width: 1200px;
    width: 90%;
    margin: 150px auto;
    padding: 30px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0,0,0,0.1);
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.titre-Parcours {
    font-family: 'Lora', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.etape {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.etape img {
    width: 40px;
    height: auto;
}

.fleche {
    font-size: 3rem;
}


.competences {
    max-width: 1200px;
    width: 90%;
    margin: 150px auto;
    padding: 30px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0,0,0,0.1);
}

.Competences-titre {
    font-family: 'Lora', serif;
    font-size: 2rem;
}

.hardskills {
    display: flex;
    flex-wrap: wrap;     
    gap: 20px;          
    justify-content: space-between; 
}

.theme {
    flex: 1 1 220px;      
    min-width: 220px;
    font-family: 'Montserrat', sans-serif;
}

.theme h3 {
    
    margin-bottom: 10px;
}

.softskills {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
}

.separator {
    border: none;         
    border-top: 1px solid white; 
    margin: 30px 0;      
}

.certifications {
    max-width: 1200px;
    width: 90%;
    margin: 150px auto;
    padding: 30px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0,0,0,0.1);
}

.certifications h2 {
    margin-bottom: 20px;
    font-family: 'Lora', serif;
    font-size: 2rem;
}

.certif-item {
    display: flex;           
    align-items: center;     
    gap: 15px;               
    margin-bottom: 15px;  
    font-family: 'Montserrat', sans-serif;  
}

.certif-item img {
    width: 50px;
    height: auto;
}

.certif-item p {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}


.project {
    max-width: 1200px;
    width: 90%;
    margin: 150px auto;
    padding: 30px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0,0,0,0.1);
}

.project h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
}

.project h3 {
    font-family: 'Lora', serif;
}

.project p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
}

.project button {
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border-radius: 12px;
    border: none;
}

footer {
    padding: 50px;
    background-color: black;
    border-radius: white;
}

footer {
    background-color: #1a1a1a;  
    color: #f0f0f0;             
    padding: 40px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.addinfo h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white; 
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a img {
    width: 50px;
    height: auto;
    transition: transform 0.3s, filter 0.3s;
}

.addinfo p {
    font-size: 0.9rem;
    color: #cccccc;
}

/* ============================================
   RESPONSIVE DESIGN - A.I 
   ============================================ */
.aboutme, .futur, .competences, .certifications, .project {
    box-sizing: border-box;
}
* {
    box-sizing: border-box;
}

/* Tablettes (768px - 1024px) */
@media (max-width: 1024px) {
    .header {
        margin: 60px 40px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header h1 {
        font-size: 3.5rem;
    }
    
    .header p {
        font-size: 1.5rem;
    }
    
    .header img {
        width: 300px;
        height: 300px;
        margin-top: 30px;
    }
    
    .header-texte {
        margin-top: 80px;
        align-items: center;
    }
    
    .buttons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .aboutme, .futur, .competences, .certifications, .project {
        margin: 100px auto;
        padding: 25px;
        width: calc(90% - 4px);
        max-width: calc(1200px - 4px);
    }
}

/* Mobile (jusqu'à 768px) */
@media (max-width: 768px) {
    .Navigation {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        gap: 0.5rem;
    }
    
    .Navigation a {
        flex-shrink: 0;
    }
    
    .header {
        margin: 40px 20px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .header p {
        font-size: 1.2rem;
    }
    
    .header img {
        width: 250px;
        height: 250px;
    }
    
    .header-texte {
        margin-top: 60px;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .contact button, .Download button, .project button {
        width: 100%;
        padding: 12px 20px;
    }
    
    .aboutme, .futur, .competences, .certifications, .project {
        margin: 80px 20px;
        padding: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }
    
    .aboutme h2, .futur, .Competences-titre, .certifications h2, .project h2 {
        font-size: 1.5rem;
    }
    
    .aboutme p, .project p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .titre-Parcours {
        font-size: 1.5rem;
    }
    
    .etape {
        font-size: 1rem;
        flex-wrap: wrap;
    }
    
    .fleche {
        font-size: 2rem;
    }
    
    .hardskills {
        flex-direction: column;
    }
    
    .theme {
        flex: 1 1 100%;
    }
    
    footer {
        padding: 30px 15px;
    }
}

/* Petit mobile (jusqu'à 480px) */
@media (max-width: 480px) {
    .Navigation {
        font-size: 0.75rem;
        padding: 0.6rem 0.3rem;
        gap: 0.3rem;
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .Navigation a {
        padding: 0.3rem 0.5rem;
        flex-shrink: 0;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .header img {
        width: 200px;
        height: 200px;
    }
    
    .aboutme, .futur, .competences, .certifications, .project {
        margin: 60px 15px;
        padding: 15px;
        width: calc(100% - 30px);
    }
    
    .aboutme h2, .futur, .titre-Parcours, .Competences-titre, .certifications h2, .project h2 {
        font-size: 1.3rem;
    }
    
    .etape img {
        width: 30px;
    }
    
    .certif-item img {
        width: 40px;
    }
    
    .social-icons a img {
        width: 40px;
    }
}