/*
*  html5resetcss
*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

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

/* My CSS code */

#header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem;
    background: transparent;
    position: absolute;
    color: #000;
    z-index: 10;
}

#header .left {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#header .left img {
    width: 32.75px;
    height: 38px;
    flex-shrink: 0;
}

#header .left .nom {
    font-family: KoHo, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    color: #000;
}

#header .right {
    color: #000;
    font-family: KoHo;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

#header .right nav {
    position: relative;
    text-decoration: none;
}

#header .right nav a {
    text-decoration: none;
    color: #000;
    margin: 15px;
}


/* infos styling */

#wrapper {
    background-color: white;
    width: 100%;
    min-height: 100vh;
    font-family: sans-serif;
}

#wrapper .title {
    padding-top: 150px;
    margin-left: 60px;
    width: 35%;
}

#wrapper .title h1 {
    color: #000;
    font-family: KoHo, sans-serif;
    font-size: 70px;
    font-weight: 300;
    line-height: 70px;
}

#wrapper .infos {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: 90%;
    margin-left: 60px;
    margin-top: 116px;
    font-family: Roboto, sans-serif;
}

#wrapper .infos .gauche {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 30%;
    gap: 13px;
    height: auto;
}

#wrapper .infos .gauche h2 {
    color: #000;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
}

#wrapper .infos .gauche h3 {
    color: #000;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
}

#wrapper .infos .droite {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 70%;
    gap: 35px;
}

#wrapper .infos .droite .francais {
    color: #000;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
}

#wrapper .infos .droite .anglais {
    color: #989898;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
}

/* image styling */

.gallery {
    width: 92%;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery .row {
    display: flex;
    gap: 15px;
}

.gallery .row.full img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery .row.two-equal img {
    width: calc(50% - 7px);
    height: auto;
    object-fit: cover;
}

.gallery .row.uneven .narrow {
    width: 45%;
    height: auto;
    object-fit: cover;
}

.gallery .row.uneven .wide {
    width: 54%;
    height: auto;
    object-fit: cover;
}

/* --- Animation scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .gallery .row {
        flex-wrap: wrap;
    }

    .gallery .row.two-equal img,
    .gallery .row.uneven .narrow,
    .gallery .row.uneven .wide {
        width: 100%;
    }

    .gallery .row.two-equal,
    .gallery .row.uneven {
        flex-direction: column;
    }

    .infos {
        flex-direction: column;
    }

    .infos .gauche, .infos .droite {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .gallery .row {
        flex-direction: column;
        gap: 15px;
    }

    .gallery img {
        width: 100%;
    }

    .title {
        width: 90%;
        margin-left: 20px;
    }

    .infos {
        margin-left: 20px;
        margin-right: 20px;
    }
}


/* Footer */

#footer {
    background-color: #121111;
    width: 100%;
    height: auto;
    margin-top: 210px;
    padding-bottom: 60px;
}
  
#footer .paper {
    width: 100%;
    top: 0;
    margin-top: -75px;
    z-index: 10;
}
  
#footer .haut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
}
  
#footer .haut .titres {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 92%;
    height: auto;
    z-index: 20;
}
  
#footer .haut .titres h4 {
    color: #FFF;
    font-family: KoHo, sans-serif;
    font-size: 80px;
    font-weight: 300;
}
  
#footer .haut .titres a {
    color: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 17px;
    font-weight: 300;
}
  
#footer .haut .projets {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 92%;
    gap: 20px;
}
  
#footer .haut .projets .projet1,
#footer .haut .projets .projet2,
#footer .haut .projets .projet3 {
    width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
  
/* --- Cadre contenant l'image --- */
#footer .haut .projets .img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}
  
/* --- Image de fond interne avec zoom au hover --- */
#footer .haut .projets .img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}
  
/* --- Images spécifiques --- */
.projet1 .img::before {
    background-image: url(./images/cartes.jpg);
}
  
.projet2 .img::before {
    background-image: url(./images/Ishimoto\ mockup\ 1.jpg);
}
  
.projet3 .img::before {
    background-image: url(./images/Bus\ Stop\ Billboard.jpg);
}
  
/* --- Zoom au hover --- */
#footer .haut .projets .img:hover::before {
    transform: scale(1.1);
}
  
/* --- Texte des projets --- */
#footer .haut .projets p {
    color: #A6A6A6;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}
  
#footer img {
    width: 100%;
    height: auto;
    margin-top: 108px;
    margin-bottom: 85px;
}
  
#footer .bas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 92%;
    height: auto;
    margin: 0 auto;
}
  
#footer .bas h5 {
    color: #FFF;
    font-family: KoHo, sans-serif;
    font-size: 80px;
    font-weight: 300;
}
  
#footer .bas .contacts-wrapper {
    display: flex;
    justify-content: space-between;
    width: 92%;
    align-items: flex-start;
}
  
#footer .bas .contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 110px;
}
  
#footer .bas .contact-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
  
#footer .bas .contact-line img {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
}
  
#footer .bas .contact-line p {
    margin: 0;
    padding: 0;
    color: #FFF;
    font-family: KoHo, sans-serif;
    font-size: 25px;
    font-weight: 300;
}
  
#footer .bas h6 {
    color: #A6A6A6;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
}
  
