@import url('https://fonts.googleapis.com/css2?family=Scope+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');


:root {
    --primary: #233D4D;
    --secondary: #FE7F2D;
    --secondary-light: #FD9857;
    --text-color-on-primary: #FFFFFF;
    --text-color-on-secondary: #fff;

    --font-titre: "Scope One", serif;
    --font-labeur: "Titillium Web", sans-serif;
}

body {
    font-family: var(--font-labeur);
}

h1.titre-home {
    font-family: var(--font-titre);
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    font-size: 3rem;
    position: absolute;
    z-index: 100;
    color: #FFFFFF;
}

h2 {
    font-family: var(--font-titre);
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    text-align: center;
    font-size: 2.5rem;
}

/* NAV */
nav {
    background-color: var(--primary);
    min-height: 100px;
}

header img {
    height: 50%;
}

.navbar {
    padding: 0;
    font-size: 1.3rem;
}

.nav-item {
    width: 200px;
    transition: 0.3s;
}


.nav-link {
    color: var(--text-color-on-primary) !important;
    height: 100px;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.active{
    background-color: #FE7F2D;
}




/* SLIDER */

/* Carousel base class */
.carousel {
    height: 100vh;
}
/* Carousel control position */
.carousel-control-next,
.carousel-control-prev {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    transition: all .3s ease-in-out;
    opacity: 1;
    color: #fff;
}
.carousel-control-prev {
    left: 2rem;
}
.carousel-control-next {
    right: 2rem;
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 1.5rem;
    height: 1.5rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    padding: 0;
    bottom: 0;
    top: 0;
    /* right: 30% !important; */
    display: flex;
    align-items: center;
    z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel-inner,
.carousel-item {
    height: 100%;
}
.carousel-item {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
/* Carousel custom class */
.carousel-caption > .row {
    width: 100%;
}
.carousel-item-next .carousel-desc-ttl,
.carousel-item-prev .carousel-desc-ttl {
    transform: translateY(15px);
    opacity: 0;
    transition: transform .4s ease-in-out, opacity .4s ease-in-out;
}
.carousel-item-next .carousel-desc-txt,
.carousel-item-prev .carousel-desc-txt {
    transform: translateY(25px);
    opacity: 0;
    transition: transform .6s ease-in-out, opacity .6s ease-in-out;
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    margin-right: 5px;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
}
.carousel-indicators {
    margin-bottom: 0;
    bottom: 8%;
}
.carousel-indicators .active {
    background-color: #fff;
}
.carousel-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #dcdac1;
}
.carousel-desc-ttl {
    font-family: 'Dita Sweet';
    font-size: 3.8rem;
    line-height: 3.8rem;
    margin-bottom: 2.4rem;
    text-transform: uppercase;
    font-weight: 500;
}
.carousel-desc-txt {
    font-family: 'DidotItalic';
    font-size: 1.75rem;
    line-height: 1.75rem;
    font-weight: 500;
    padding-right: 4rem;
}
.carousel-desc-ttl,
.carousel-desc-txt {
    transform: translateY(0);
    opacity: 1;
    transition: transform .4s ease-in-out, opacity .2s ease-in-out;
}


/* 3. - RESPONSIVE
-------------------------------------------------- */

@media only screen and (max-width: 1160px) {
    .carousel-caption {
        left: 10%;
        right: 10%;
    }
}

@media only screen and (max-width: 992px) {
    .carousel-desc-ttl {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 768px) {
    .carousel-caption {
        left: 0;
        right: 0;
        padding: 0 1rem;
    }
    .carousel-caption > .row {
        flex-direction: column-reverse;
    }
    .carousel-content {
        padding: 1rem 10%;
        max-width: 90%;
    }
    .carousel-desc-ttl {
        font-size: 2.5rem;
        line-height: 3rem;
        margin-bottom: 1.6rem;
    }
    .carousel-desc-txt {
        font-size: 1.5rem;
        padding-right: 0;
    }
}

@media only screen and (max-width: 600px) {
    .carousel-content {
        max-width: 100%;
    }
}

/* FOOTER */
footer {
    background-color: var(--primary);
    height: 150px;
}

footer div {
    height: 100%;
}

footer p {
    margin: 0;
}

footer a {
    color: var(--text-color-on-secondary);
    transition: 0.2s;
}

footer a:hover {
    color: black;
}

.contact-zone {
    background-color: var(--secondary);
}

.contact-zone div {
    width: 70%;
}

.borders {
    border-right: 1px solid var(--text-color-on-primary);
    border-left: 1px solid var(--text-color-on-primary);
    height: 70%;
    width: 100%;
}

/* NOS SERVICES */

#nos-services {
    background-color: var(--primary);
    color: var(--text-color-on-primary);
}

#nos-services h5 {
    font-size: 1.8rem;
}

#nos-services svg {
    fill: var(--secondary);
    height: 60px;
}

#nos-services .subtitle {
    color: var(--secondary);
}

#nos-services p {
    font-size: 1.5rem;
    text-align: justify;
}

/* QUI SOMMES NOUS */
#qui-sommes-nous a {
    border-color: black;
    border-radius: 0;
    transition: 0.3s ease-in-out;
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
    background-color: transparent;
}

#qui-sommes-nous svg {
    transition: 0.2s ease-in-out;
    height: 32px;
    fill: black;
}

#qui-sommes-nous a:hover {
    background-color: var(--secondary);
    color: white;
    border: white;
}

#qui-sommes-nous a:hover svg {
    fill: white;
}

/* #qui-sommes-nous  */span {
    color: var(--secondary-light);
}

#qui-sommes-nous p {
    font-size: 1.3rem;
}

/* NOS REALISATIONS */
#nos-realisations a {
    border-color: black;
    border-radius: 0;
    transition: 0.3s ease-in-out;
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
    background-color: transparent;
}

#nos-realisations svg {
    transition: 0.2s ease-in-out;
    height: 32px;
    fill: black;
}

#nos-realisations a:hover {
    background-color: var(--secondary);
    color: white;
    border: white;
}

#nos-realisations a:hover svg {
    fill: white;
}

#nos-realisations .container-fluid {
    background-color: var(--primary);
}

#nos-realisations h3{
    color: var(--secondary);
}

/* L'AVIS DE NOS CLIENTS */
#avis-clients .blocs {
    background-color: var(--primary);
    height: fit-content;
}

#avis-clients p {
    text-align: justify;
}

#avis-clients p {
    font-size: 1.2rem;
}

#avis-clients svg {
    height: 40px;
    fill: var(--secondary);
}

.clients-img-container {
    margin-top: -20px;
    
}

.clients-img-container img{
    height: 70px;
    width: 70px;
    border-radius: 50%;
    float: left;
}

/* NOS PROJETS */
#nos-projets a {
    border-color: black;
    border-radius: 0;
    transition: 0.3s ease-in-out;
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
    background-color: transparent;
}

#nos-projets svg {
    transition: 0.2s ease-in-out;
    height: 32px;
    fill: black;
}

#nos-projets a:hover {
    background-color: var(--secondary);
    color: white;
    border: white;
}

#nos-projets a:hover svg {
    fill: white;
}

/* PAGE CONTACT */

h1.titre-contact {
    font-family: var(--font-titre);
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    font-size: 3rem;
    z-index: 100;
    color: black;
}

#form-container{
    background-color: rgba(0, 0, 0, 0.6);
}


#form-container p{
    margin: 0;
    color: var(--secondary-light);
}

.background-maker{
    background-image: url(../img/285110178.jpeg);

    background-size: cover;
}

#form-container button{
    border: none;
    transition: 0.2s ease-in-out;
}

#form-container button:hover{
    background-color: var(--secondary);
    color: white;
}

/* RESPONSIVE */

@media screen and (max-width : 767px) {

/* FOOTER */
    footer{
        height: 700px;
        width: 100%;
    }

    .borders {
        border-top: 1px solid var(--text-color-on-primary);
        border-bottom: 1px solid var(--text-color-on-primary);
        height: 30%;
        width: 70%;
        border-right: none;
        border-left: none;
        padding: 100px 0;
}

    .contact-zone{
        text-align: center;
    }

}

/* CONTACT */

@media screen and (max-width : 575px) {

    .marger{
        margin: 20px 20px !important;
    }

}

@media screen and (max-width:991px) {
    .border-contact{
        border-left: none !important;
        border-top: 1px solid white;
        padding-top: 30px;
        margin-top: 20px;
    }

    .background-maker{
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* AVIS CLIENTS */

@media screen and (max-width : 1199px){
    .bloc-milieu{
        margin: 0 !important;
        margin-top: 40px !important;
    }
}

/* SERVICES */

@media screen and (max-width : 991px){
    .blocs-services{
        padding-bottom: 70px;
    }
}

/* PAGE REALISATIONS */

h1.titre-real {
    font-family: var(--font-titre);
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    font-size: 3rem;
}

#real-container .proj-card{
    background: url(../img/399575003.jpeg);
    background-size: cover;
    background-position: center;
    color: transparent;
}

#real-container .proj-card:hover{
    color:white;
    background-color: 0, 0, 0, 0.5;
}

/* #real-container .proj-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#real-container .proj-card:hover::before{
    color:white;
    background-color: 0, 0, 0, 0.5;
}

#real-container .proj-card h3,
#real-container .proj-card p,
#real-container .proj-card a {
    position: relative;
    z-index: 1;
}

#real-container .proj-card a:hover {
    text-decoration: underline;
} */