@font-face {
   font-family: 'GreatVibes-Regular';
   src: url("assets/fonts/great-vibes/GreatVibes-Regular.otf");
}

@font-face {
   font-family: 'Lobster';
   src: url("assets/fonts/lobster/Lobster.otf");
}

@font-face {
   font-family: 'Sanchez';
   src: url("assets/fonts/Sanchez/Sanchez-Regular.ttf");
}

@font-face {
   font-family: 'Taviraj';
   src: url("assets/fonts/Taviraj/Taviraj-Regular.ttf");
}

html {
   scroll-behavior: smooth;
   margin: 0
}

body {
   margin: 0;
   font-family: "Sanchez";
   background-color: rgb(246, 239, 221);
   color: rgb(13, 22, 55);
   overflow-x: hidden;
}

h2 {
   color: rgb(13, 22, 55);
   font-size: 2em;
   text-align: center;
}

h3, p {
   font-size: 1em;
}

ul {
   font-size: 1em;
   list-style-type: none;
   margin-left: 0;
   padding-left: 0;
}

li {
   margin-bottom: 20px;
}

.navigation a {
   text-decoration: none;
   color: rgb(3, 7, 22);
}

.textAgencement span, .textTarifs span, .textInformations span, .textContact span {
   font-weight: bold;
}

.navigation a:visited {
   color: rgb(3, 7, 22);
}

p .lienLeboncoin:hover, footer a:hover {
   color: rgb(235, 165, 0);
}

/*EN-TETE*/
#enTete {
   position: absolute;
   top: 0;
   left: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 100%;
   z-index: 1;
}

header::after {
   content: "";
   display: block;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   background-color: rgba(0, 0, 0, 0.3);
}

video {
   width: 100%;
   height: 100vh;
   object-fit: cover;
}

h1 {
   color: rgb(246, 239, 221);
   border: solid 4px rgb(246, 239, 221);
   padding: 30px;
   font-size: 4em;
   font-family: 'Taviraj';
   width: 55%;
   position: absolute;
   top: 30%;
   left: 50%;
   transform: translate(-50%, -50%);
   animation-duration: 4s;
   animation-name: titre;
   opacity: 0;
   animation-fill-mode: forwards;
   animation-delay: 1.5s;
   text-align: center;
}

@keyframes titre {
   from {
      top: 20%;
      opacity: 0;
      animation-delay: 3s;
   }

   to {
      opacity: 1;
   }
}

#flecheBas {
   position: absolute;
   top: 90%;
   width: 30px;
   height: 30px;
   animation-duration: 3s;
   animation-name: flecheBas;
   animation-iteration-count: infinite;
   animation-timing-function: ease-in-out;
}

@keyframes flecheBas {
   0% {
      opacity: 0;
      top: 75%;
   }

   50% {
      opacity: 1;
   }

   100% {
      opacity: 0;
   }
}

/*NAVIGATION*/
.navigation {
   padding: 10px 0 10px 0;
   text-align: center;
   border-radius: 10px;
   background-color: rgba(246, 239, 221, 0.5);
   position: absolute;
   top: 104%;
   left: 30px;
   width: 90px;
   height: 50px;
   z-index: 3;
   display: flex;
   flex-direction: column;
   overflow: hidden;
   transition: height 1.5s;
   font-size: 0.8em;
}

.navigation:hover {
   height: 620px;
}

.navigation a:visited{
   color: rgb(3, 7, 22);
}
.navigation img {
   width: 50px;
   height: 50px;
   transform: rotate(-90deg);
   transition: all 0.7s;
   cursor: pointer;
}

.navigation:hover img {
   transform: rotate(0deg);
}

.navigation.position {
   position: fixed;
   top: 5%;
}

.iconesNav {
   display: flex;
   flex-direction: column;
   margin-top: 20px;
}

.iconesNav p {
   margin-top: 0;
   opacity: 0;
   transition: all 0.5s;
   cursor: default;
}

.iconesNav:hover p {
   opacity: 1;
}

.iconesNav img {
   margin: 0;
   width: 40px;
   height: 40px;
   transition: all 0.3s;
   margin-top: 5px;
   cursor: pointer;
}

.iconesNav img:hover {
   width: 50px;
   height: 50px;
   margin-top: -5px;
}

/*PARTIE DESCRIPTION*/
.description {
   padding-top: 2%;
   display: flex;
   justify-content: space-around;
   align-items: center;
   height: auto;
}

.articleDescription {
   text-align: center;
   width: 30vw;
   height: auto;
   border-radius: 7px;
   padding: 10px;
   border: solid 1px rgb(3, 7, 22);
   background-color: rgba(246, 239, 221, 0.5);
}

.photosDescription {
   width: auto;
   display: flex;
   flex-direction: column;
   border-radius: 7px;
   overflow: hidden;
   margin-left: 8%;
   transition: all 0.5s;
   overflow-y: visible;
}

.photosDescription img {
   width: 52vw;
   border-radius: 5px;
}

/*PARTIE AGENCEMENT*/
#agencementID {
   background-color: rgb(13, 22, 55);
   color: rgb(246, 239, 221);
   padding: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   height: auto;
   margin-top: 40px;
}

#agencementID h2 {
   color: rgb(246, 239, 221);
}

.articleAgencement {
   background-color: rgb(13, 22, 55);
   width: 50%;
   padding-left: 15%;
   padding-right: 15%;
   border: solid 1px rgb(246, 239, 221);
   border-radius: 7px;
}

/*PARTIE EQUIPEMENT*/
#equipementsID {
   margin-top: 30px;
   display: flex;
   align-items: center;
   justify-content: center;
}

#listeEquipementsGauche, #listeEquipementsDroite {
   display: inline-block;
   vertical-align: middle;
   text-align: left;
   margin-right: 5vw;
   margin-left: 5vw;
}

#listeEquipementsGauche li, #listeEquipementsDroite li {
   background-image: url('assets/logos/verifier.png');
   background-repeat: no-repeat;
   background-position: 0em -0.3em;
   padding-left: 3em;
}

/*PHOTOS*/
.photos {
   margin-top: 50px;
   margin-bottom: 50px;
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}

/*Boutons*/
.buttons {
   display: inline-flex;
   margin: 30px;
}

button {
   padding: 10px;
   margin: 10px;
   width: auto;
   background-color: rgb(246, 239, 221);
   color: rgb(13, 22, 55);
   border: none;
   text-align: center;
   cursor: pointer;
   border-radius: 25px;
   border: solid 2px rgb(246, 239, 221);
   transition: all 1s;
   font-size: 1em;
}

button:focus { outline:0 !important; }

button::before {
   display: block;
   content: '';
   position: absolute;
   /*height: 47px;
   /*z-index: 3;
   border-radius: 25px;*/
}

.buttonJardin::before {
   width: 70px;
   transform: translate(-17%, -30%);
}

.buttonEtage0::before {
   width: 149px;
   transform: translate(-9%, -30%);
}

.buttonEtage1::before, .buttonEtage2::before {
   width: 79px;
   transform: translate(-15%, -30%);
}

/*button:hover {
   border: solid 2px rgb(13, 22, 55);
   transition: all 0.5s;
   animation-name: button;
   animation-duration: 0.4s;
}*/

@keyframes button {
   from {
      padding: 5px;
      margin: 15px;
   }
}

button:active {
   padding: 8px;
   margin: 12px;
}

.buttonJardin.open, .buttonEtage0.open, .buttonEtage1.open, .buttonEtage2.open {
   background-color: rgb(13, 22, 55);
   color: rgb(246, 239, 221);
   border: solid 2px rgb(13, 22, 55);
   border-radius: 25px;
   animation: none;
}

/*Photos*/
.photos img {
   display: none;
}

.jardin.open, .etage0.open, .etage1.open, .etage2.open {
   display: grid;
   grid-template-columns: repeat(2, 2fr);
   height: 45vw;
   grid-gap: 10px;
}

.jardin.open img, .etage0.open img, .etage1.open img, .etage2.open img {
   width: 30vw;
   display: block;
   animation-name: galerie;
   animation-duration: 1s;
   border-radius: 5px;
}

@keyframes galerie {
   from {
      width: 32vw;
   }
}
.testimg{
   max-height: 280px;
}

.jardin.open a::before, .etage0.open a::before,
.etage1.open a::before, .etage2.open a::before,
.jardin.open .diffTaille::before {
   content: '';
   display: block;
   position: absolute;
   background-image: url(assets/logos/vue.png);
   width: 4vw;
   height: 4vw;
   z-index: 4;
   background-size: 50% 50%;
   background-repeat: no-repeat;
   background-position: center;
   transform: translate(341%, 213%);
   opacity: 0;
   transition: all 0.5s;
   cursor: pointer;
}

.jardin.open .diffTaille::before {
   transform: translate(328%, 165%);
}

.jardin.open a::after, .etage0.open a::after,
.etage1.open a::after, .etage2.open a::after,
.jardin.open .diffTaille::after {
   display: block;
   content: '';
   position: absolute;
   width: 30vw;
   height: 22.5vw;
   z-index: 3;
   transform: translate(0%, -100%);
   transition: all 0.5s;
   cursor: pointer;
   border-radius: 5px;
}

.jardin.open .diffTaille::after {
   height: 17vw;
}

.photos a:hover::before, .jardin.open .diffTaille:hover::before {
   opacity: 1;
   background-size: 80% 80%;
}

.photos a:hover::after {
   background-color: rgba(0, 0, 0, 0.7);
}

.photos a.ouvrirImg img {
   position: fixed;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: 50vw;
   z-index: 10;
   padding: 100%;
   background-color: rgba(246, 239, 221, 0.69);
}

.photos a.ouvrirImg:hover::after {
   background-color: rgba(0, 0, 0, 0);
}

.photos a.ouvrirImg:hover::before, .jardin.open .diffTaille.ouvrirImg:hover::before {
   opacity: 0;
}

/*CARTE*/
.carte {
   background-color: rgb(13, 22, 55);
   color: rgb(246, 239, 221);
   text-align: center;
   display: flex;
   align-items: center;
   flex-direction: column;   font-family: 'Lobster';
   font-size: 1.2em;
}

.articleCarte h2 {
   font-family: 'Lobster';
   font-size: 2.5vw;
   color: rgb(246, 239, 221);
}

.articleCarte img {
   width: 88vw;
}

.bateau {
   position: relative;
   top: -17.5vw;
   left: 0vw;
   width: 5vw;
   transform: rotate(0deg);
   animation-name: bateau;
   animation-duration: 8s;
   animation-timing-function: ease-in-out;
   animation-iteration-count: infinite;
}

@keyframes bateau {
   0% {
      top: -30vw;
      left: 40vw;
      transform: rotate(0deg);
   }

   65% {
      transform: rotate(30deg);
      top: -18vw;
      left: -5vw;
   }

   /*90% {
      transform: rotate(10deg);
      top: -17.5vw;
      left: 0vw;
   }*/
}

/*PARTIE TARIF INFORMATION*/
#tarifsInformations {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
}

.tarifs, .informations {
   display: block;
   width: 500px;
   margin: 20px;
}

/*FOOTER*/
footer {
   display: flex;
   color: rgb(246, 239, 221);
   background-color: rgb(13, 22, 55);
   text-align: center;
   align-items: center;
   justify-content: space-around;
   height: 350px;
   margin: 0;
}

#piedPage {
   position: absolute;
}

#piedPage h2 {
   color: rgb(246, 239, 221);
}

.bouton:hover {
   border: solid 2px rgb(235, 165, 0);
   width: 55px;
   height: 55px;
}

.bouton {
   background-color: rgb(13, 22, 55);
   border: solid 1px rgb(246, 239, 221);
   border-radius: 10px;
   padding: 5px;
   width: 50px;
   height: 50px;
   margin-left: 50%;
   transition: all 0.2s ease-in-out;
}

.leboncoin, .lienMail {
   color: rgb(246, 239, 221);
   text-decoration: underline;
}

.lienLeboncoin:visited, .lienMail:visited, footer a:visited {
   color: rgb(246, 239, 221);
   text-decoration: underline;
}

.cta-reserver {
   width: 100%;
   display: flex;
   justify-content: center;
   padding: 50px 0 0;
   height: 20%;
}

.btn-white {
   padding: 14px 52px;
   background-color: rgb(14,23,54);
   color: white;
   font-weight: bold;
   font-size: 18px;
   border-radius: 8px;
   text-decoration: none;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
   transition: all 0.3s ease;
   margin-bottom: 5%;
}

.btn-white:hover {
   background-color: rgb(14,23,54);
   transform: scale(1.10);
}



footer a {
   color: rgb(246, 239, 221);
   text-decoration: none;

}

.noe {
   color: rgb(246, 239, 221);
   background-color: rgb(13, 22, 55);
   padding-top: 100px;
   font-size: 0.7em;
}

.noe a:hover{
   color: rgb(235, 165, 0);
}

/*RESPONSIVE DESIGN*/
@media screen and (max-width:885px) {
   .navigation {
      display: none;
   }
}

@media screen and (max-width:830px) {
   .bouton {
      margin-left: 65%;
   }
}

#calendar {
   max-width: 900px;
   margin: 40px auto;
   padding: 10px;
   background: white;
   box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#disponibilites h2 {
   text-align: center;
   margin-top: 40px;
   font-size: 2em;
}

.modal {
   position: fixed;
   top: 0; left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5);
   display: flex; align-items: center; justify-content: center;
   z-index: 9999;
}

.modal.hidden {
   display: none;
}

.modal-content {
   background: white;
   padding: 20px;
   border-radius: 8px;
   max-width: 80%;
   width: 600px;
   max-height: 90vh;         /* ✅ hauteur max = 90% de la fenêtre */
   overflow-y: auto;
   box-shadow: 0 0 10px rgba(0,0,0,0.3);
   position: relative;
}

.close-button {
   position: absolute;
   top: 1px;
   right: 15px;
   font-size: 28px;
   background: none;
   border: none;
   color: #333;
   cursor: pointer;
}


form input, form textarea, form button {
   width: 91%;
   margin-bottom: 12px;
   padding: 8px;
   font-size: 16px;
}

.fc-daygrid-day:hover {
   background-color: #e0e0e0;
   transition: background-color 0.2s ease;
}
