/* Importation style (principalementRoboto */

@import url('https://fonts.googleapis.com/css2?family=Handjet:wght@300&family=Roboto+Mono:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root{

    --header-height: 3.5rem;

    /* Couleur */
    --primary-color: #fff;
    --primary-color-alt: #fff;
    --linear-gradient: linear-gradient(
        54deg,
        rgba(45, 45, 45, 0.95) 34%,
        rgba(45, 45, 45, 0.95)
    );
    --title-color: #fff;
    --text-color:#fff;
    --text-color-alt: #fff;
    --bg-color: #fff;
    --bg-color-alt: #e9ecef;
    --border-color: #f1f1f1;
    --home-color:#021235; 


--roboto-font: 'Roboto', sans-serif;
--mono-font: 'Roboto Mono', monospace;

--fs-h1: 2.75rem;
--fs-h2: 2.25rem;
--fs-lg: 1.125rem;
--fs-base: 1rem;
--fs-sm: 0.875rem;
--fs-xs: 0.75rem;


--medium: 500;
--semibold: 600;
--bold: 700;

}


/* Base (classqiue) */
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;   
}

html{
    scroll-behavior: smooth;
}

body, button, input, textarea{
    font-family: var(--roboto-font);
    font-size: var(--fs-base);
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5em;
}

h1, h2, h3{
    font-family: var(--mono-font);
    font-weight: var(--bold);
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

button{
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

img{
    max-width: 100%;
    height: auto;
}

textarea, input{
    background: none;
    border: none;
    outline: none;
}








body, .This{
    background-color: black;

}

.nav-bar{
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    width: 100%;
    background-color: transparent;
    z-index: 100;
}

.nav-bar.active{
    background-color: #00040b;
    box-shadow: 1px 1px 2px #a0b3e5;
}

.content{
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.6rem 1rem;
}

.nav-bar .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-bar .site-logo{
    padding: 0.5rem;
}

.nav-bar .site-logo .logo-link{
    font-weight: 500;
    font-size: 22px;
    line-height: 22px;
    text-transform: capitalize;
    color: #fff;
}

.nav-bar .navigation{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-bar .navigation .link a{
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    font-size: 16px;
    text-transform: capitalize;
    color: #fff;
    border-top: 1px solid transparent;
    transition: all 0.6s;
}

.nav-bar .navigation .link:hover a{
    color: #d0265c;
    border-bottom: 1px solid #d0265c;
}


/* Home */

.home{
    background: linear-gradient(to top, #00040b, #00040bbb), url(./assets/landing\ page.jpg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

.home .content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.home .content h1{
    max-width: 450px;
    color: #fff;
    font-size: 56px;
    line-height: 68px;
    letter-spacing: 4px;
    text-transform : uppercase;
    font-weight: 500;
    max-width: 450px;
}

.home .content h4{
    font-size: 26px;
    line-height: 26px;
    font-weight: 300;
    color: #d0265c;
}

.btn-explore{
    width: fit-content;
    background-color: transparent;
    padding: 0.9rem 2.4rem;
    padding-left: 1rem;
    font-size: 16px;
    line-height: 16px;
    color: #fff;
    border: 2px solid #fff;
    margin-top: 2rem;
    cursor: pointer;
    display: flex;
    align-items:center;
    gap: 1rem;
    transition: all 0.6s;
}

.btn-explore:hover{
    border: 2px solid #d0265c;
    background-color: #d0265c;
    padding-left: 2rem;
}

.newPos{
position:relative;
left: 1100px;
top: 130px;
transition: 1s;
}





/* About */

section{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.about{
    padding: 80px 0;
    margin-bottom: 5rem;
    margin-right: 10rem;
    color: #ababab;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.test{
    margin-top: 50px;
}

.newPos2{
    position: relative;
    left: 650px;
    top: 75px;
}

.about-col-1{
    flex-basis:35%;
}

.about-col-1 img{
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    padding-left: 150px;
}

.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 40px;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content:'';
    width: 0;
    height: 3px;
    background: #d0265c;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    margin: 10px 0;
}

.tab-contents ul li span{
    color: #d0265c;
    font-size: 14px;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}



/* Portfolio Section */

.section__title {
    text-transform: capitalize;
    font-size: 50px;
    line-height: 1.2;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.project__categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.category__btn {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.category__btn:hover,
.category__btn.active-portfolio-link {
    background-color: #333;
    color: #d0265c;
}

.projects__container {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    justify-content: center;
}

.project__item {
    background-color: #1c1c1c;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    width: calc(33.333% - 2rem); 
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.project__img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.project__data {
    color: #fff;
}

.project__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project__description {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #ccc;
}

.project__link {
    display: inline-block;
    margin-top: 1rem;
    color: #d0265c;
    font-weight: bold;
    text-decoration: none;
}

.project__link:hover {
    text-decoration: underline;
}


#portfolio {
    margin-top: 5rem; 
    margin-bottom: 0; 
}

.portfolio {
    height: auto; 
}

.contact {
    position: relative;
    margin-top: 1rem; 
}




.contact {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--mono-font);
    position: relative; 
    padding: 3rem 0; 
    background-color: #000; 
}

.title-contact {
    font-size: 60px;
    padding-bottom: 2rem;
    text-align: center;
}

.num {
    padding: 1rem 0; 
}

.phone:hover,
.email:hover {
    color: #d0265c;
    transition: color 0.3s ease; 
}

.contact__socials {
    display: flex;
    justify-content: center;
    gap: 2rem; 
    padding-top: 1.5rem;
}

.contact__social-link {
    color: #fff;
    font-size: 1.2rem; 
}

.contact__social-link:hover {
    color: #d0265c;
}

.contact__form {
    margin-top: 2rem;
    text-align: center;
    width: 100%; 
}

.contact__form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact__form label {
    text-align: left;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
}

.contact__form input,
.contact__form textarea {
    width: 100%; 
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #1c1c1c;
    color: #fff;
    font-size: 1rem;
    resize: none;
    box-sizing: border-box;
}

.contact__form button {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: #d0265c;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact__form button:hover {
    background-color: #333;
}

#messageDisplay {
    margin-top: 2rem;
    color: #fff;
    text-align: center;
    font-family: var(--mono-font);
}

#messageDisplay p {
    color: #0f0; 
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.contact__form input,
.contact__form textarea {
    height: auto;
    min-height: 2.5rem;
    box-sizing: border-box;
}



.copyright {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0; 
    background: #262626;
    font-weight: 300;
    margin-top: 2rem; 
}





/* Animations CSS (chargement page) */


.anim{
    transform: translateY(50px);
    animation: animationSimple 0.5s linear forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.anim2{
    transform: translateY(50px);
    animation: animationSimple2 0.5s linear forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.anim3{
    transform: translateY(50px);
    animation: animationSimple3 0.5s linear forwards;
    animation-delay: 1.8s;
    opacity: 0;
}

@keyframes animationSimple{
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animationSimple2{
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animationSimple3{
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}


/* Animation en lien avec Javascript (scroll) */
.reveal{
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: 1.5s all ease;
  }
  
  .reveal.active{
    transform: translateY(0);
    opacity: 1.5;
  }

  





.messageQuery{
    display: none;
}

  @media only screen and (max-width: 1210px) {
    .messageQuery {
        display: block; 
    }

    .queryAll {
        display: none; 
    }
}
