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

@font-face {
    font-family: 'Boldonse' ;
    src: url(font/Boldonse-Regular.ttf);
}

@font-face {
    font-family: 'BebasNeue' ;
    src: url(font/BebasNeue-Regular.ttf);
}

/* BODY */
body {
    font-family: Arial, sans-serif; 
    background-color: #000; 
    color: #fff; 
}





/* HEADER */
header {
    background-color: #8C1C31; 
    max-width: 90%; 
    margin: 20px auto; 
    border-radius: 15px; 
    padding: 20px 30px;
}

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

.nav-links {
    display: flex; 
    list-style: none; 
    margin: 0;
    padding: 0;
    font-family: 'Boldonse';
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    font-size: 18px; 
    color: white; 
    text-decoration: none;
    padding: 5px 10px; 
    transition: color 0.3s ease, background-color 0.3s ease; 
}

.nav-links a:hover {
    color: #000;
}

.nav-links li::after {
    content: ""; 
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A4CEED; 
    transition: width 0.3s ease; 
}

.nav-links li:hover::after {
    width: 100%; 
}


.nav-logo {
    list-style: none; 
    margin: 0; 
    padding: 0; 
    margin-left: 20px; 
}

.nav-logo img{
    width: 3vw;
    height: auto;
}

.nav-logo li::after {
    content: ""; 
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A4CEED; 
    transition: width 0.3s ease; 
}

.nav-logo li:hover::after {
    width: 100%;
}






/* BODY */
body{
    overflow-x: hidden;
}

.hero {
    position: relative;
    text-align: center;
    padding: 3rem 1rem;
    top: 7vh;
}

.hero h1{
    color: #8C1C31; 
    font-size: 9rem;
    line-height: 1.5;
    margin-top: 2%;
    font-family: 'Boldonse';
}

.hand {
    position: absolute; 
    top: 50%;
    transform: translateY(-50%); 
}

.left-hand {
    left: -50px; 
    z-index: -1; 
    width: 33%;
    top: 25vh;
}

.right-hand {
    right: -50px; 
    z-index: 1; 
    width: 28%;
    top: 45vh;
    overflow: hidden;
}

.arrow-down {
    display: flex;
    justify-content: center;
    margin-top: 1rem; 
    color: #A4CEED; 
    animation: bounce 1.5s infinite; 
    margin-top: 10vh;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}


/* Présentation */

.presentation{
    margin-top: 18vh;
}

.pres__titre{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 10vh;
}

.pres__titre h2{
    text-align: center;
    color: #8C1C31;
    font-size: 3rem;
    box-shadow: inset 0 -15px 0 rgba(164, 206, 237, 1);
    padding: 0 10px;
    width: fit-content;
    font-family: 'BebasNeue';
}

.pres {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: flex-start; 
    width: 90%;
    margin: 0 auto;
}


.pres__contenu{
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.pres__contenu p{
    font-size: 1.6rem;
}

.pres__lien{
    display: flex;
    gap: 10px;
}

.pres__btn{
    text-decoration: none;
    padding: 15px 10px;
    border-radius: 10px;
    color: #fff;
    background-color: #8C1C31;
    transition: 0.5s;
    font-size: 1.5rem;
    width: fit-content;
}

.pres__btn:hover{
    color: #8C1C31;
    background-color: #000;
    box-shadow: 0 0 5px 5px #8C1C31;
    cursor: pointer;
}



/* Experience */

.pres__exp{
    margin-top: 25vh;
    margin-bottom: 25vh;
}

.pres__exp__titre{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 10vh;
}

.pres__exp__titre h2{
    text-align: center;
    color: #8C1C31;
    font-size: 3rem;
    box-shadow: inset 0 -15px 0 rgba(164, 206, 237, 1);
    padding: 0 10px;
    width: fit-content;
    font-family: 'BebasNeue';
}

.pres__container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.pres_img_exp{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    width: 10%;
}

.pres_img_exp img{
    height: 1300px;
    width: 70px;
    height: auto;
}

.pres_right{
    display: flex;
    flex-direction: column;
    text-align: right;
    width: 40%;
    gap: 48vh;
    margin-left: 30vh;
    margin-top: 2vh;
}

.pres_left{
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 40%;
    gap: 55vh;
    margin-right: 30vh;
    margin-top: 35vh;

}

.pres__container p{
    font-size: 1.8rem;
}




/* FOOTER */

footer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #8C1C31;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    height: 25vh;
    width: auto;
    align-items: flex-start;
}

.footer div{
    margin-top: 5vh;
}

.footer li{
    list-style: none;
}

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

.social__btn{
    display: flex;
    gap: 10px;
}

.social__btn img{
    width: 4vw;
    height: auto;
}



footer ul{
    padding-inline-start: 0;
}

footer h4 {
    color: #fff;
    margin-bottom: 20px; 
    position: relative; 
    font-size: 1.5rem;
    font-family: 'BebasNeue';
}

footer a{
    font-size: 1.2rem;
}

.footer h4::after {
    content: "";
    position: absolute;
    bottom: -10px; 
    left: 0; 
    width: 100%;
    height: 1px; 
    background-color: #fff;
}

/* ---------------- RESPONSIVE ---------------- */

/* Tablette (max 1024px) */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 6rem;
        text-align: center;
    }

    .nav-links a {
        font-size: 16px;
    }

    .pres {
        flex-direction: column;
        justify-content: center;
        margin: 5vh auto;
        width: 90%;
        gap: 40px;
    }

    .pres__img img {
        width: 360px;
        margin-left: 2px;
    }

    .pres__contenu {
        text-align: center;
        gap: 20px;
        text-align: justify;
    }

    .pres_right{
        gap: 40px;

    }

    .pres_left{
        gap: 40px;
    }

    .pres__contenu p {
        font-size: 1.5rem;
    }

    /* Expérience */
    .pres__container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pres_img_exp {
        margin: 20px ;
    }

    /* Footer */
    footer {
        flex-wrap: wrap;
        height: auto;
        padding: 20px;
        text-align: center;
    }
    .footer div {
        margin-top: 20px;
        width: 100%;
    }
    .social__btn {
        justify-content: center;
    }
}

/* Mobile (max 768px) */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 30px;
        margin-left: -10px;
    }
    .nav-logo img {
        width: 60px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    .hand {
        display: none; /* supprime les mains */
    }

    /* Présentation */
    .pres__img img {
        align-items: center;
    }

    /* Expérience */
    .pres__container {
        flex-direction: column;
        align-items: center;
    }

    .pres_right,
    .pres_left {
        width: 90%;
        text-align: left;
        margin: 20px 0;
    }

    .pres_img_exp {
        display: none; /* enlève la grande barre centrale */
    }

    /* Footer */
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .social__btn img {
        width: 40px;
    }
}

/* ---- MENU BURGER ---- */

.burger {
    display: none; /* caché sur PC */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.burger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: 0.3s;
}

/* Mobile uniquement */
@media screen and (max-width: 768px) {
    .burger {
        display: flex; /* affiché */
    }

    .nav-links {
        z-index: 1;
        position: absolute;
        top: 160px;
        right: 60px;
        background: #8C1C31;
        border-radius: 10px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        display: none; /* caché par défaut */
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        display: flex; /* affichage quand actif */
    }

    .nav-links a {
        font-size: 1.2rem;
        color: #fff;
    }
}

/* Animation burger → croix */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

