@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');



    /* Style général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

a:hover {
    color: #5271FF;
}

.accent {
    color: #5271FF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*photo*/
/*.cv-photo-container {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    max-width: 600px;*/
/*    margin: 40px auto;*/
/*    overflow: hidden;*/
/*    border-radius: 10px;*/
/*    background: linear-gradient(to bottom,*/
/*    rgba(0, 0, 0, 1) 0%,*/
/*    rgba(0, 0, 0, 0.2) 40%,*/
/*    rgba(0, 0, 0, 0.2) 60%,*/
/*    rgba(0, 0, 0, 1) 100%);*/
/*    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);*/
/*}*/

/*.cv-photo-container img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    display: block;*/
/*    transition: transform 0.5s ease;*/
/*}*/

/*.cv-photo-container:hover img {*/
/*    transform: scale(1.05);*/
/*}*/


/* Solution alternative - Remplacement complet du style cv-header */

/* Corrections pour le header avec photo de profil */

.cv-header {
    position: relative;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
    overflow: hidden;
    width: 100vw; /* Prend toute la largeur de la fenêtre */
    margin-left: calc(-50vw + 50%); /* Centre par rapport à la fenêtre */
}

/* Image de profil en arrière-plan - ajustements pour luminosité */
.cv-header .cv-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(1.2) contrast(1.1); /* Augmente la luminosité */
}

/* Fondu noir moins intense */
.cv-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 1) 100%);
    z-index: -1;
}

.cv-header h2,
.cv-header p {
    position: relative;
    z-index: 1;
    color: #fff;

}

.cv-header h2 {
    font-family: 'Bebas neue', sans-serif;
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
}

.cv-header p {
    font-size: 18px;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .cv-header {
        height: 50vh;
        margin-left: calc(-50vw + 50%); /* Maintient la largeur complète sur mobile */
    }

    .cv-header h2 {
        font-size: 45px;
    }

    .cv-header p {
        font-size: 16px;
        padding: 8px 15px;
    }
}

/* Ajustement du conteneur principal pour compenser le header en pleine largeur */
.cv-container {
    padding: 120px 0 80px;
    overflow-x: hidden; /* Évite les barres de défilement horizontales */
}


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: rgba(0, 0, 0, 0.4);
}

header.scrolled {
    padding: 12px 5%;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    position: relative;
    font-weight: 500;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5271FF;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* CV Styles */
.cv-container {
    padding: 120px 0 80px;
}

    .cv-header {
        position: relative;
        text-align: center;
        margin-bottom: 50px;
        padding-top: 80px; /* Augmenté pour laisser de l'espace pour le texte */
        padding-bottom: 40px;
        overflow: hidden;
    }

    .cv-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
        z-index: 1;
    }

    .cv-header .photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .cv-header .photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
    }

    .cv-header h2,
    .cv-header p {
        position: relative;
        z-index: 2;
    }

    .cv-header h2 {
        font-family: 'Bebas neue', sans-serif; /* Police Anton remplace Horizon */
        font-size: 70px;
        margin-bottom: 20px;
        line-height: 1.2;
        font-weight: 400;
        text-transform: uppercase; /* Optionnel pour un effet plus marqué */
    }

    .cv-header p {
        font-size: 18px;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

.cv-section {
    margin-bottom: 60px;
}

.cv-section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    color: #5271FF;
    font-size: 28px;
}

.cv-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #5271FF;
}

/* Grille CV */
.cv-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* À propos */
.about-section {
    grid-column: span 12;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
}

/* Compétences */
.skills-container {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skills-category {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
}

.skills-category h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 22px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.skill-item i {
    margin-right: 8px;
    color: #5271FF;
}

/* Expériences et formations */
.experiences-container {
    grid-column: span 7;
}

.education-container {
    grid-column: span 5;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    border-left: 2px solid rgba(82, 113, 255, 0.3);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #5271FF;
}

.timeline-item h4 {
    color: #5271FF;
    font-size: 20px;
    margin-bottom: 5px;
}

.timeline-item h5 {
    color: #ccc;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
}

.timeline-item p {
    color: #aaa;
    font-size: 15px;
}

/* Réalisations */
.projects-container {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.project-card .project-img {
    height: 160px;
    overflow: hidden;
}

.project-card .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 15px;
}

.project-info h4 {
    color: #5271FF;
    margin-bottom: 10px;
    font-size: 18px;
}

.project-info p {
    color: #ccc;
    font-size: 14px;
}

/* Contact */
.contact-section {
    grid-column: span 12;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

    .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .contact-item a {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(82, 113, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .contact-icon i {
        color: #5271FF;
    }

    .contact-text {
        font-size: 15px;
    }

.contact-text {
    font-size: 15px;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #5271FF;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #3c5dff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(82, 113, 255, 0.3);
}

.download-btn i {
    margin-right: 10px;
}

/* Footer */
    footer {
        background-color: rgba(0, 0, 0, 0.8);
        padding: 50px 5% 20px;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .footer-info h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .footer-info p {
        color: #ccc;
    }

    .social-links {
        display: flex;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 15px;
        transition: all 0.3s ease;
    }

    .social-icon:hover {
        background-color: #5271FF;
        transform: translateY(-3px);
    }

    .copyright {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .copyright p {
        font-size: 14px;
        color: #777;
    }
/* Responsive */
@media (max-width: 992px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .experiences-container,
    .education-container {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
    }

    nav {
        margin-top: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
