* {
    position: relative;
}

body {
    font-family: 'Roboto', sans-serif;
    position: relative;
    width: 100%;
    margin-left: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

/*declaration des variaables*/
:root {
    --text-color: #e8dc86;
    --text-fond: yellow;
    --text-hover: #f8eb8f69;
    --button-hover: #7a6a01;
}

img {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    border: none;
    display: flex;
    align-items: center;
    width: 100%;
    background: black;
    justify-content: space-around;
    transform: translateZ(0);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo {
    width: 170px;
    height: 150px;
}

.btm-logo {
    text-align: center;
    display: flex;
    height: 110px;
    width: auto;
}

/*personalisation du logo*/

.navLinks {
    display: flex;
    place-items: center;
    list-style: none;
    gap: 50px;
    color: white;
    font-size: 18px;
}

li {
    transition: all 0.5s ease;
    transform: translateY(0);
    list-style: none;
    cursor: pointer;
}

li:hover {
    transition: all 0.5s ease;
    transform: translateY(-4px);
    color: var(--text-color);
}

.li-primaire {
    color: var(--text-color);
}

.btm-nav-contact {
    font-size: 14px;
    padding: 7px;
    border-radius: 5px;
    border: none;
    background: var(--text-color);
    transition: all 0.5s ease;
    cursor: pointer;
}

.btm-nav-contact:hover {
    transition: all 0.5s ease;
    background: var(--button-hover);
    transform: scale(0.98);
}

.lien-contact {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.5s ease;
}

.lien-contact:hover {
    color: rgba(175, 175, 5, 0.959);
    transition: all 0.5s ease;
    margin: 0;
    transform: scale(1.04)translateY(-4px);
}

/*personalisation de la navbar sur petit ecran*/

.hamburger {
    display: none;
    cursor: pointer;
    transition: all 0.8s ease;
}

.hamburger:hover {
    transition: all 0.8s ease;
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px;
    background: var(--text-color);
}

/*hero page*/

.quote-hero{
    height: 40vh;
    background: url("../images/annexe\ \(9\).jpg") center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 3%;
    padding-top: 20px;
}

.quote-steps{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: var(--text-hover);
}

.step{
    background: white;
    padding: 15px 20px;
    border-radius: 5px;
}

/*formilaire description*/

.quote-form-section{
    padding: 50px 10%;
}

.quote-form{
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form input, .quote-form select,
.quote-form textarea {
    padding: 12px;
    border: 1px solid var(--text-color);
    border-radius: 5px;
    transition: all 0.5s ease;
}
.input:hover {
    transition: all 0.5s ease;
    border: 1px solid var(--text-fond);
    background: var(--text-hover);
}

.btn-send {
    background: var(--text-color);
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.btn-send:hover {
    transition: all 0.5s ease;
    background: var(--button-hover);
    color: white;
}

.quick-contact{
    text-align: center;
    padding: 50px;
    background: #111;
    color: white;
}

.whatsapp-btn{
    display: inline-block;
    margin-top: 20px;
    background: #25D366;
    padding: 12px 25px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s linear;
}

.whatsapp-btn:hover {
    transform: scale(0.97);
    background: green;
    color: black;
}

/*responsive android*/

@media (max-width: 900px) {
    .navLinks {
        flex-direction: column;
        display: none;
        place-items: initial;
        gap: 20px;
        top: 5dvh;
        right: 0;
        height: 100dvh;
        width: 20vh;
        position: fixed;
        background: #2d2b1a;
        border-radius: 15px 0 0 15px;
        padding: 15px;
        transition: all 1s ease;
        transform: translateX(110px);
        opacity: 0;
        z-index: 999;
        border: none;
        border-left: 3px solid var(--text-color);
        border-top: 3px solid var(--text-color);
        box-shadow: -1px -1px 5px var(--text-fond);
    }
    .navLinks.open {
        display: flex;
        opacity: 1;
        transition: all 1s ease;
        transform: translateX(0);
        z-index: 10;
    }
    .hamburger {
        display: block;
    }
    .logo {
        width: 100px;
        height: 90px;
    }
    .btm-logo {
        height: 60px;
    }
/*Description de la navbar*/
}

/*programme d'apparution des elements a l'ecran*/

.haut {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s ease;
}
.haut.active {
    opacity: 1;
    transform: translateY(0);
}
.bas {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}
.bas.active {
    opacity: 1;
    transform: translateY(0);
}

