* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  scroll-behavior: smooth;
  font-family: 'Bodoni Moda', serif;
  text-decoration: none;
}
:root {
  --h1-font: 4rem;
  --h2-font: 3rem;
  --p-font: 1.1rem;

  --bg-color: #ffffff;
  --text-color: #000000;
  --main-color: linear-gradient(to bottom, #ecd48b 0%, #e7cd7a 50%, #8f6a36 100%);
  --other-color: #222120;

  /* --max-width: 1200px; */
  --max-width: 120px;
}


body {
  background: #fff;
  color: #0c0c0c;
}
header {
  position: fixed;
  /* width: 100%; */
  width: 101%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  background: #2d2f3c;
 
  padding: 0px 10%;
  transition: all 0.7s ease;
}
.logo img {
  /* width: 100%; */
  width: 50%;
  height: auto;
}
.navlinks a {
  display: inline-block;
  margin: 0 20px;
  font-size: var(--p-font);
  font-weight: 500;
  color: var(--bg-color);
  transition: all 0.7s ease;
}
.navlinks a:hover {
  color: var(--main-color);
}
.h-right {
  display: flex;
  align-items: center;
}
.h-btn {
  display: inline-block;
  font-size: 16px;
  padding: 18px 60px 15px 40px;
  font-weight: 700;
  color: var(--text-color);
  background: var(--main-color);
  border-radius: 20px 0;
  margin: 0 30px;
  transition: all 0.7s ease;
}
.h-btn:hover {
  border-radius: 0 20px;
  background: var(--bg-color);
}
.h-right i {
  font-size: 24px;
  color: var(--bg-color);
  cursor: pointer;
  transition: all 0.7s ease;
}
.h-right i:hover {
  color: var(--main-color);
}
#menu-icon {
  font-size: 40px;
  z-index: 1000;
  color: var(--bg-color);
  cursor: pointer;
  display: none;
}
section {
  padding: 100px 17% 90px;
}

.home {
  position: relative;
  height: 130vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: url(/img/bg.png);
  background-size: cover;
  background-position: center;

  /*  */
  height: auto; 
}
.home-content {
  /* padding-top: 170px; */
}
.home-img {
  position: relative;
}
.home-img img {
  margin-top: 50px;
  max-width: 850px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-content h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--main-color);
  text-transform: uppercase;
  margin-bottom: 9px;
  letter-spacing: 0.7px;
}
.home-content h1 {
  font-size: var(--h1-font);
  font-weight: 900;
  color: var(--bg-color);
  line-height: 1.2;
}
.info-box {
  position: absolute;
  background-color: #ffffff1a;
  border: 1px solid #ffffff33;
  border-radius: 30px;
  padding: 35px 20px 25px;
  max-width: 190px;
  right: 58px;
  top: 90px;
}
.count {
  color: var(--main-color);
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 5px;
}
.info-text {
  font-size: 15px;
  line-height: 28px;
  color: var(--bg-color);
  text-transform: uppercase;
}
.social-icons {
  position: absolute;
  top: 60%;
  left: 5%;
  transform: translateY(-50%);
}
.social-icons i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 40px;
  height: 40px;
  color: var(--bg-color);
  border: 1px solid #5a5a5b;
  margin-bottom: 15px;
  background: transparent;
  transition: all 0.7s ease;
}
.social-icons i:hover {
  transform: scale(1.1) translateY(-4px);
  color: var(--text-color);
  background: var(--bg-color);
  border: 1px solid var(--bg-color);
}
.arrow {
  position: absolute;
  bottom: 8%;
  right: 5%;
}
.arrow i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  background: var(--main-color);
  color: var(--text-color);
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 30px;
  transition: all 0.7s ease;
}
.arrow i:hover {
  background: transparent;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  transform: scale(0.9);
}
header.sticky {
  background: #0c0c0c;
  box-shadow: 1px 1px 5px 0px rgb(0 0 0 / 30%);
  /* padding: 15px 15%; */
}
.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}
.about-img {
  position: relative;
}
.about-img img {
  max-width: 520px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ab-img img {
  position: absolute;
  top: -170px;
  right: -20px;
  max-width: 230px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-font);
  font-weight: 700;
  line-height: 1.2;
  margin: 15px 0;
}
.about-text h5 {
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.about-text p {
  font-size: var(--p-font);
  font-weight: 400;
  line-height: 30px;
  color: var(--other-color);
  margin-bottom: 25px;
}
.about-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 35px;
  line-height: 1.8;
}
.outer {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.f-block {
  font-size: 22px;
}
.f-block i {
  font-size: 30px;
  margin-right: 10px;
}
.btn {
  display: inline-block;
  font-size: 16px;
  padding: 18px 60px 15px 40px;
  font-weight: 700;
  color: var(--text-color);
  background: var(--main-color);
  border-radius: 20px 0;
  transition: all 0.7s ease;
  margin-top: 3%;

}
.btn:hover {
  border-radius: 0 20px;
  background: var(--text-color);
  color: var(--bg-color);
}
.text-center {
  text-align: center;
}
.text-center h5 {
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 5px;
}
.text-center h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-font);
  font-weight: 700;
  line-height: 1.2;
}
.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, auto));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.s-img {
  margin-bottom: 10px;
  overflow: hidden;
  /* clip-path: polygon(0 27.5%, 100% 0, 100% 74%, 0 99%); */
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.s-img img {
  display: block;
  width: 100%;
  transition: transform 0.6s;
  cursor: pointer;
}
.s-img img:hover {
  transform: scale(1.2);
}
.row h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.row p {
  font-size: var(--p-font);
  font-weight: 400;
  line-height: 30px;
  color: var(--other-color);
}

.feature-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
}
.inner-box {
  margin-bottom: 20px;
  padding: 30px;
}
.inner-box i {
  padding: 12px;
  font-size: 24px;
  background: var(--main-color);
  color: var(--text-color);
  border-radius: 10px 0;
}
.inner-box h4 {
  margin: 20px 0;
  font-size: 25px;
  font-weight: 600;
}
.inner-box p {
  font-size: var(--p-font);
  font-weight: 400;
  line-height: 30px;
  color: var(--other-color);
}
.feature-middle img {
  width: 100%;
  height: auto;
}

/* contact */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  gap: 2rem;
  background: var(--text-color);
  background-image: url(img/c.jpg);
  background-size: cover;
  background-position: center;
}
.contact-box {
  display: flex;
  flex-direction: column;
}
.contact-box h3 {
  color: var(--bg-color);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
}
.contact-box a {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.1rem;
  transition: all 0.7s ease;
}
.contact-box a:hover {
  transform: translateY(-5px);
  color: var(--bg-color);
}
.contact-box .logo img {
  width: 170px;
  max-width: 100%;
  height: auto;
  margin-bottom: auto1rem;
}
.qr img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: var(--bg-color);
  width: 110px;
  max-width: 100%;
  height: auto;
  border-radius: 0.8rem;
}
.copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 17% 20px;
  background: #0c0c0c;
}
.end-text1 p {
  font-size: 17px;
  color: var(--other-color);
}
.end-text2 a {
  font-size: 17px;
  color: var(--other-color);
  transition: all 0.7s ease;
}
.end-text2 a:hover {
  color: var(--bg-color);
}

@media (max-width: 1700px) {
  header {
    padding: 0px 0%;
  }
  header.sticky {
    /* padding: 12px 5%; */
  }
  section {
    padding: 90px 10% 80px;
  }
  .copyright {
    padding: 15px 10% 15px;
  }
}
@media (max-width: 1300px) {
  :root {
    font-family: 'Playfair Display', serif;
    --h1-font: 3.5rem;
    --h2-font: 2.5rem;
    --p-font: 15px;
  }
}
@media (max-width: 1190px) {
  :root {
    font-family: 'Playfair Display', serif;
    --h1-font: 3rem;
    --h2-font: 2rem;
  }
  .ab-img img {
    position: absolute;
    top: -210px;
    right: -30px;
    max-width: 130px;
  }
  .info-box {
    padding: 30px 20px 20px;
    max-width: 180px;
    right: 19px;
    top: 40px;
  }
}
@media (max-width: 1120px) {
  #menu-icon {
    display: block;
  }
  .navlinks {
    position: absolute;
    width: 100%;
    height: 100vh;
    padding: 80px 40px;
    top: 0;
    right: 0;
    left: 100%;
    display: flex;
    flex-direction: column;
    background: #0c0c0c;
    transition: all 0.7s ease-in-out;
  }
  .navlinks a {
    display: block;
    padding: 0;
    margin: 0px 0px 42px 0;
    font-size: 2rem;
    font-weight: 400;
  }
  .navlinks.open {
    left: 0;
  }
}

@media (max-width: 1020px) {
  header {
    padding: 15px 2%;
  }
  header.sticky {
    padding: 10px 2%;
  }
  section {
    padding: 80px 5% 70px;
  }
  .copyright {
    padding: 15px 5% 15px;
  }
  :root {
    --h1-font: 2.6rem;
    --h2-font: 1.8rem;
    font-family: 'Playfair Display', serif;
  }
  /* .home {
    height: 90vh;
  } */
}

@media (max-width: 800px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-img {
    text-align: center;
  }
  .ab-img {
    display: none;
  }
  .info-box {
    display: none;
  }
  .social-icons {
    display: none;
  }
  :root {
    --h1-font: 2.4rem;
    --h2-font: 1.6rem;
    font-family: 'Playfair Display', serif;
  }
  .home-img img {
    margin-top: 20px;
    max-width: 750px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
@media (max-width: 620px) {
  /* .home {
    height: 75vh;
  } */
  :root {
    --h1-font: 2rem;
    --h2-font: 1.4rem;
    font-family: 'Playfair Display', serif;
  }
  /* .home-content {
    padding-top: 100px;
  } */
  .home-content h5 {
    font-size: 15px;
  }
  section {
    padding: 80px 2% 80px;
  }
}

@media (max-width: 530px) {
  /* .home {
    height: 70vh;
  } */
  :root {
    --h1-font: 1.6rem;
    --h2-font: 1.4rem;
    font-family: 'Playfair Display', serif;
  }
  .h-btn {
    padding: 14px 30px 13px 30px;
    font-size: 14px;
    margin: 0 8px;
  }
}

/* form */
.subscribe_container {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  /* background-color: var(--main-color); */
}
@media (min-width: 810px) {
  .subscribe_container {
    margin: 0 -50%;
  }
}
.subscribe__container::before,
.subscribe__container::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 3rem;
  top: 0;
  left: 0;
  background-color: var(--bg-color);
  z-index: -1;
}
.subscribe__container::after {
  top: unset;
  bottom: 0;
}
.subscribe__content {
  padding-block: 2rem 8rem;
  padding-inline: 1rem;
}
.subscribe__content form {
  margin-top: 2rem;
  margin-inline: auto;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  background-color: var(--bg-color);
  border-radius: 5px;
}
.subscribe__content input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--text-color);
  padding-inline: 1rem;
  background-color: transparent;
}
.subscribe__content .btn {
  padding-block: 1rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
@media (width > 768px) {
  /* .subscribe_container {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, 1fr);
  } */
  .subscribe__image {
    position: relative;
    isolation: isolate;
    grid-area: 1/3/2/5;
    height: 100%;
  }
  .subscribe__image img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: unset;
    height: 100%;
  }
  .subscribe__content {
    padding-block: 8rem;
    grid-area: 1/2/2/3;
  }

  .subscribe__content form {
    margin-inline-start: unset;
  }
}
@media (max-width: 530px) {
  .subscribe__image > img:nth-child(1) {
    width: 100%;
  }
  .h-right {
    margin-right: 15%;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
}

.close-button {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: red;
}

/*  */
/* Conteneur flex pour aligner le formulaire et les résultats */
.form-container {
  display: flex;
  flex-direction: column; /* Par défaut en colonne pour mobile */
  gap: 20px;
  /*  */
  background-color: #8e959f6b;
  padding: 6%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgb(255, 202, 14);
}

/* Style pour la section des résultats */
/* .result-box {
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 5px;
  display: none; /* Caché par défaut 
} */



/*  */
.result-box {
  padding: 20px;
  border: 2px solid #ffca0e;
  background-color: #ffffff;
  border-radius: 10px;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  text-align: left;
}

.result-box h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #ffca0e;
  padding-bottom: 5px;
}

.result-box h4 {
  color: #222;
  font-size: 1.2rem;
  margin-top: 15px;
}

.result-box p {
  font-size: 1rem;
  color: #444;
  margin: 8px 0;
  padding: 6px;
  border-radius: 5px;
  background-color: #f8f8f8;
}

.result-box strong {
  color: #111;
}

.result-box hr {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 15px 0;
}

/*  */




/* Affichage côte à côte sur des écrans plus larges */
@media (min-width: 768px) {
  .form-container {
    /* flex-direction: column-reverse; */
    flex-direction: row;  
     align-items: flex-start;
  }

  #bookingForm {
    flex: 2;
  }

  .result-box {
    flex: 1;
    /* max-width: 40%;  */
    display: none; /* Caché par défaut */
  }
  #staticBookingForm {
    flex: 1; /* Le formulaire prend plus de place */
  }
}

/* Styles des inputs pour un meilleur rendu */
#staticBookingForm input[type="text"],
#staticBookingForm input[type="tel"],
#staticBookingForm input[type="email"],
#staticBookingForm input[type="datetime-local"] {
  width: 100%; /* Assurer que les inputs prennent toute la largeur */
  padding: 8px;
  border: 1px solid #aaa;
  border-radius: 5px;
  box-sizing: border-box;
  margin: 5px 0;
}

/*  */

#staticBookingForm {
  background: #fff0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  text-align: left;
  max-width: 500px;
  margin: auto;
}

#staticBookingForm h2 {
  color: #ffca0e;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffca0e;
  padding-bottom: 8px;
}

#staticBookingForm label {
  font-weight: bold;
  color: #fff;
  display: block;
  margin-top: 10px;
}

#staticBookingForm input[type="text"],
#staticBookingForm input[type="tel"],
#staticBookingForm input[type="email"],
#staticBookingForm input[type="datetime-local"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #f8f8f8;
  transition: border 0.3s ease-in-out;
}

#staticBookingForm input:focus {
  border: 1px solid #ffca0e;
  outline: none;
}

#staticBookingForm fieldset {
  border: 2px solid #ffca0e;
  border-radius: 8px;
  padding: 10px;
  margin-top: 15px;
}

#staticBookingForm legend {
  font-weight: bold;
  color: #ffca0e;
}

#staticBookingForm input[type="checkbox"] {
  margin-right: 5px;
}





#staticBookingForm fieldset {
  display: flex;
  align-items: center;
  border: 2px solid #ffca0e;
  border-radius: 8px;
  padding: 10px;
  margin-top: 15px;
  gap: 10px; /* Espacement entre les éléments */
  flex-wrap: wrap; /* Empêche le dépassement */
}

#staticBookingForm legend {
  font-weight: bold;
  color: #ffca0e;
  margin-right: 10px;
}

#staticBookingForm input[type="checkbox"] {
  margin-left: 10px; /* Espacement entre chaque case à cocher */
}

#staticBookingForm label {
  display: flex;
  align-items: center;
  gap: 5px;
}






