/*-------------Déclaration des variables--------------------*/
:root{
    --nav-bg: #ffffff;
    --social-bg: #0e5cca;
    --text-dark: #1b1b1b;
    --text-white: #ffffff;
}
/*-------------Déclaration des variables--------------------
:root{
    --nav-bg: #312f2f;
    --social-bg: #0e5cca;
    --text-dark: #1b1b1b;
    --text-white: #ffffff;
}
-------------Déclaration des variables--------------------*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--nav-bg);
    color: var(--text-dark); /*color: #1b1b1b;*/
    font-size: 16px;
    min-height: 100vh;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.top-bar{
    background-color: var(--social-bg);
    color: var(--text-white);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 8px;
}

.top-bar a{
    color: var(--text-white);
    /*transition-property: color;
    transition-duration: 1s;
    transition-timing-function: ease;
    transition-delay: 0.2s;*/

    transition: color 1s ease 0.2s, transform 0.5s ease-in;
}

.top-bar a:hover{
    color: #82c2ec;
    transform: scale3d(1.2,1.7,1.5);
}

.top-separator{
    height: 1px;
    background: var(--text-white);
    border-style: double;
}

header{
    width: 100%;
    background: var(--nav-bg);
    height: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 40px;
    box-shadow: 0  2px 10px 0px rgba(0,0,0, 0.3);
}

.logo{
    width: 40px;
    height: 40px;
}

header nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

header nav ul li{
    list-style: none;
    padding: 10px 15px;
    transition: all 0.6s ease-in-out;
}

header nav ul a{
    text-decoration: none;
    font-size: 14px; 
    font-weight: bold;
    color: var(--social-bg);
    transition: all 0.6s ease-in-out;
}

header nav ul li:hover{
    background-color: rgb(27, 79, 221);
    border-radius: 40px;
    border-left: 2px;
    color: #ffffff;
}

header nav ul a:hover{
 color: var(--text-white);
 font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
 font-size: 15px;
}

/*
.hero{
    background-image: url(../img/home.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    text-align: center;
    position: relative;
}
*/
.hero::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0, 0.55);
}

.hero{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    text-align: center;
    position: relative; 
}

.btn{
    background-color: var(--social-bg);
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 12px 30px;
    border-radius: 40px;
    display: inline-block;
    transition: background-color 0.5S;
}

.btn:hover{
    background-color: blue;
}

.hero video{
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.poster{
    background-image: url('/img/home.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
    position: absolute;
    inset: 0;
    display: none;
}

.content{
    z-index: 2;
}

@media (max-width: 768px){
    .hero video{display: none;}
    .poster{display: block;}
}

.services{
    margin-top: 100px;
    padding: 30px 50px;
}

.services h1, #gallery-content h1{
    color: var(--text-dark);
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
}

.element a{
    color: var(--text-dark);
    text-decoration: none;
}

.element h3{
    margin: 10px 0;
    text-align: center;
    text-transform: uppercase;
    color: var(--social-bg);
}

.element p{
    text-align: center;
}


.element img{
    display: inline-block;
}

.element{
    padding: 10px;
    text-align: center;
    height: 10%;
    width: 25%;
    box-shadow: 0 2px 10px 0px rgba(0,0,0, 0.3);
}

.all{
    padding: 50px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 50px;
}

#tarifs{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

#tarifs h1{
    text-decoration: underline;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.tableau{
    width: 100%;
}

table{
    margin: auto; /*centrer le tableau*/
    border: 2px solid #333;
    width: 80%;
    border-collapse: collapse;
    border-left: none;
    border-right: none;
}



table  th, table td{
    border: 2px solid #333;
    border-left: none;
    border-right: none;
    padding: 15px;
}

table th{
 background-color: var(--social-bg);
 color: var(--text-white);
 font-weight: bold;
 font-size: 25px;
 
}

table td{
    text-align: center;
}

table tr{
    transition: all 0.5s ease;
}

table tr:hover{
    background-color: rgb(234, 232, 232);
    cursor: pointer;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0,0,0, 0.1);
}

#gallery-content h1{
    margin: 20px 0;
}

.gallery{
    display: grid;
    /*grid-template-columns: min-content max-content auto;*/
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img{
    width: 100%;
    height: auto;
    display: block;
    
}
.gallery-item{
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0, 0.1);
}

.gallery-item p{
    text-align: center;
    margin: 10px 0;
}

.gallery-item:hover{
    transform: scale(1.05);
}

/*@media(max-width: 500px){
    .gallery{
        grid-template-columns: 1fr;
    }
}

@media(min-width: 500px) and (max-width: 800px){
    .gallery{
        grid-template-columns: 1fr 1fr;
    }
}*/


#contact{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.form-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg);
    margin: 40px;
    width: 80%;
    box-shadow: 0 10px 25px rgba(0,0,0, 0.6);
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);      
    }
}

.input{
    margin-bottom: 10px;
    width: 800px;
    position: relative;
}

.input i{
    position: absolute;
    left: 10px;
    top: 30%;
    font-size: 20px;
}

.champ{
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #494949;
    animation: form 0.5s ease;
    border-top: none;
    border-left: none;
    border-right: none;
}

.champ:focus{
    border-bottom-color: rgb(147, 202, 247);
    
    box-shadow: 1px 2px 8px rgba(0, 123, 255, 0.3);
}

.form-content h1{
    text-transform: uppercase;
    margin: 40px 0;
    text-decoration: underline;
}



@keyframes form {
    from{
        width: 5%;
        transform: scale(0.8);
    }
    to{
        width: 90%;
        transform: scale(1);
    }
}

.champ::placeholder{
    font-style: italic;
}

#remarques{
    border: 1px solid gray;
    resize: none;
    border-radius: 5px;
}

.buttons{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 30px;
}

.reset, .submit{
    padding: 12px 25px;
    font-size: 18px;
    background-color: rgb(182, 86, 86);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 10px 0 rgb(3, 73, 119);
    transition: all 0.3s;
}

.reset{
    box-shadow: 0 10px 0 rgb(121, 2, 2);
}

.submit:active{
    transform: translateY(4px);
    box-shadow: 0 1px 0 rgb(3, 73, 119);
}

.reset:active{
    transform: translateY(4px);
    box-shadow: 0 1px 0 rgb(121, 2, 2);
}
/*.reset:hover, .submit:hover{
    transform: scale(1.1);
    
}*/
.submit{
    background-color: var(--social-bg);
}
    
.footer{
    background: linear-gradient(to left, transparent, black);
    color: white;
    padding: 30px 15px;
    width: 100%;
}

.footer-content{
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.site-name{
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00eaff, #7fdbff);
    color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%{
        text-shadow: 0 0 10px #00eaff;
    }
    50%{
        text-shadow: 0 0 25px #7fdbff;
    }
    0%{
        text-shadow: 0 0 10px #00eaff;
    }
}

.description{
    font-size: 16px;
    opacity: 0.85;
}

.socials{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.socials a{
    color: white;
    font-size: 30px;
    transition: all 0.3s;
}

.socials a:hover{
    transform: translateY(-5px) scale(1.2);
    filter: drop-shadow(0 0 10px var(--social-bg));
}


