*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.skip-link {
    background-color: #ffffff;
    border: solid 3px rgb(0, 0, 0);
    padding: 0.4em 0.5em;
    text-decoration: none;
  }
  
  .skip-link:not(:focus):not(:active) {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  
  .skip-link:focus {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 999;
  }

 


/***************************-LES DIFFÉRENTES PAGES-***************************/

/***-ACCUEIL-***/
.section1 {
    height: 80vh;
    position: relative;
}

h1 {
    font-size: 8rem;
    font-family: "Stick No Bills", sans-serif;
}

.titre {
    font-weight: 900;
    margin-left: 80px;
    margin-top: 80px;
    margin-bottom: 50px;
    border-bottom: 2px solid black;
    animation: slideInLeft 1.5s ease-out forwards;
}

.titre1 {
    font-weight: 900;
    margin-left: 900px;
    margin-top: 20px;
    margin-bottom: 50px;
    border-bottom: 2px solid black;
    animation: slideInRight 1.5s ease-out forwards;
}


@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

text {
    font-family: Arial;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 5px;
    /*A REVOIR*/
    fill: rgb(255, 255, 255);
    text-transform: uppercase;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

svg {
    max-width: 250px;
    width: 100%;
    height: auto;
    animation: spin 15s infinite;
    animation-timing-function: linear;
    position: absolute;
    left: 100px;
    top: 280px;
}


h2 {
    font-size: 3rem;
    font-family: "Stick No Bills", sans-serif;
    text-align: center;
    margin: 0 auto;
}

.section2 {
    padding: 60px 20px; 

}

.explication {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Didact Gothic", sans-serif;

}

.ligne {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.serviceContent {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}



.serviceContent h3, .serviceContent p {
    text-align: left;
}

.clef {
    width: 250px;
    height: auto;
    margin-top: -200px;
    margin-left: 450px;

}


.point {
    width: 200px;
    margin-top: -250px;
    margin-right: 450px;
}

@media (max-width: 950px) {
    .clef, .point {
        display: none;
    }
}

/*-DERNIÈRES SALLES-*/
.lastsalles {
    min-height: 100vh;
    position: relative;
}

.salles-content {
    font-family: "Didact Gothic", sans-serif;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 10rem;
    margin-bottom: 5rem;
    color: #ffffff;
}

.box {
    position: relative;
}

.box img {
    width: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(.499, .05, .55, .95);
    will-change: filter;
    display: block;
    filter: brightness(50%);
}

.box h4 {
    position: absolute;
    left: 25px;
    bottom: 95px;
    font-size: 1.125em;
    font-weight: 500;
}

.box h3 {
    position: absolute;
    left: 25px;
    bottom: 50px;
    font-size: 1.25em;
    font-weight: 700;
}

.box img:hover {
    filter: brightness(90%);
    transform: scale(1.04);
    cursor: pointer;
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/*-SLIDER-*/
.section3 {
    position: relative;
}

.section3 .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.titre-diapo {
    color: white;
    z-index: 1;
    position: absolute;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diapo-reservation {
    font-family: "Stick No Bills", sans-serif;
}


.js-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 7rem);
    overflow: hidden;
}

.js-photos {
    position: absolute;
    width: 100%;
    height: calc(100vh - 7rem);
    left: -100vw;
    display: flex;
    transition: left 0.3s ease-out;
    filter: brightness(20%);
}

.js-photos.no-anime {
    transition: none;
}

.js-photo {
    position: relative;
    background-size: cover;
    width: 100vw;
    flex: none;
}

.nav-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.prev-btn,
.next-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
}

.prev-btn {
    margin-right: 20px;
}









/***-RÉSERVEZ UNE SALLE-***/
.form {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    font-family: "Didact Gothic", sans-serif;
    font-size: 0.9em;
}
.form-group ul {
    list-style-type: none;
    padding: 0;
}
.form-group li {
    margin-bottom: 15px;

}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666666;

}
.form-group input, .form-group select {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 0.9em;
}

#confirmation {
    text-align: center;
    color: rgb(0, 0, 0);
    font-weight: bold;
    margin-top: 15px;
}

.legende {
    font-family: "Didact Gothic", sans-serif;
    font-size: 0.9em;
}








/***-CONFIRMATION-***/
.confirmation {
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    margin: 0 auto;
    padding: 50px;
}

.confirmation p {
    font-size: 18px;
    margin: 10px 0;
    font-family: "Didact Gothic", sans-serif;
}

.confirmation button {
    display: inline-block;
    background-color: #000000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: "Didact Gothic", sans-serif;
}

.confirmation button a {
    color: white;
    text-decoration: none;
}

.confirmation button:hover {
    background-color: #707070;
}

.confirmation label {
    display: block;
    margin-top: 20px;
    font-size: 1em;
}








/***-QUI SOMMES-NOUS?-***/
.presentation {
    width: 100%;
    display: flex;
    font-family: "Didact Gothic", sans-serif;
    font-size: 0.9em;
}

.left {
    width: 50%;
    border-right: solid 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.texte {
    padding: 0 30px;
}

.right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo {
    width: 100%;
    text-align: center;
}

.photo img {
    width: 25%;
}

.text-presentation {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.reseau {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
}

.reseau a {
    color: #0077b5; 
    text-decoration: none;
    margin-right: 10px;
}

.reseau a:hover {
    text-decoration: underline;
}







/***-SALLES-***/
.containersalles {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    margin: 20px;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    transition: transform 0.2s;
}

.card-image {
    width: 40%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    width: 60%;
    box-sizing: border-box;
    font-family: "Didact Gothic", sans-serif;
    font-size: 0.9em;
}


.card h2 {
    font-size: 1.5em;
    margin: 0 0 10px 0;
}

.card p {
    color: #555;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 5px 0;
}

.btn {
    display: inline-block;
    background-color: #000000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: "Didact Gothic", sans-serif;
}

.btn:hover {
    background-color: #707070;
}


/*-BARRE DE RECHERCHE-*/
.search-form {
    flex-grow: 1;
    margin: 0 20px; 
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute; 
    top: 50%; 
    right: 10px; 
    transform: translateY(-50%); 
    width: 24px; 
    height: auto;
}

.search-form input[type="text"] {
    padding: 10px 40px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    width: 100%; 
}

.search-button {
    padding: 10px 20px;
    background-color: transparent;
    border: none; 
}

/*-TRI & FILTRE-*/
.tri-filtre {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: "Didact Gothic", sans-serif;
    font-size: 0.9em;
    overflow: hidden;
}

.search-form,
.filter-form {
    display: inline-block;
}

.search-form {
    float: left; 
}

.filter-form {
    float: right; 
}

.search-btn {
    display: inline-block;
    background-color: #000000;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #707070;
}









/***-MENTIONS LÉGALES-***/
.texte-bottom-page {
    font-family: "Didact Gothic", sans-serif;
    font-size: 1em;
    text-align: center;

    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}








/***-FAQ-***/
summary {
    font-weight: bold;
    cursor: pointer;
    position: relative;
    font-size: 1.2em;
}






/***-PLAN DU SITE-***/
.plan {
    background-color: #efefefc4;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan li {
    margin-bottom: 10px;
    font-family: "Stick No Bills", sans-serif;
}

.plan a {
    color: #333;
    font-weight: bold;
}


.plan a:hover {
    color: #000;
}




/***************************-LES BARRES DE NAVIGATIONS-***************************/

/*-BARRE DE NAVIGATION TOP-*/
.top-nav img {
    width: 50px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    font-family: "Stick No Bills", sans-serif;
    /*border-bottom: 2px solid black;*/
}


.top-nav ul {
    display: flex;
    gap: 3rem;


}

.top-nav ul li {
    list-style: none;
}

.top-nav a {
    text-decoration: none;
    color: #000000;
}

.top-nav form {
    margin-left: auto; 
}

.bottom-nav :hover {
    color: #707070;

}


/*-BARRE DE NAVIGATION BOTTOM-*/
.bottom-nav {
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    font-family: "Stick No Bills", sans-serif;
}

.bottom-nav ul li {
    display: inline-block;
    margin-right: 20px;
}

.bottom-nav a {
    text-decoration: none;
    color: #000000;
}

.bottom-nav :hover {
    color: #707070;

}


