* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --primary-color: #b05925;
  --secondary-color: #c8825f;
  --background-white: #ffffff;
  --background-accent: #fff3eb;
  --text-black: #131313;
  --text-grey: #6b6b6b;
  --text-white: #ffffff;
}

html {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  font-family: "Lora", serif;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: none;
}

::selection {
  text-shadow: none;
  color: #ffffff;
  background: var(--secondary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: "Lora", serif !important;
}

h1 {
  font-size: 2.5rem;
  line-height: 120%;
  color: var(--text-back);
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: normal;
  margin-bottom: 1rem;
  letter-spacing: 0.12cap;
  line-height: 100%;
}

p {
  font-size: 1.2rem;
  color: var(--text-black);
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  line-height: 160%;
  letter-spacing: 0.02cap;
}

p > i {
  font-style: italic;
  font-family: "Lora", serif;
}

.container p:not(:nth-last-child(1)) {
  margin-bottom: 1;
}

a {
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
}

section {
  margin-top: 70px;
  margin-bottom: 70px;
}

img {
  border-radius: 3px;
}

/* Nav bar */
#nav-bar {
  position: fixed;
  margin-top: 0px;
  top: 0;
  width: 100%;
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

div#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding-left: 90px !important;
  padding-right: 90px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.menu {
  display: flex;
  gap: 20px; /* Space between the menu items */
}

.menu a {
  text-decoration: none;
  color: var(--background-white);
  font-family: "Lora", serif !important;
  font-size: 18px;
  position: relative;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 0;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  z-index: 10;
}

.mobile-menu > .container > a {
  font-family: "Lora", serif !important;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.mobile-menu > .container > a > img {
  height: 14px;
  width: 14px;
}

.mobile-menu > .container {
  gap: 20px;
  align-items: start;
}

.navbar-toggler,
.navbar-closer {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-color: transparent !important;
  font-size: 14px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  background-color: transparent;
  height: 100%;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  z-index: 1000;
}

.navbar-toggler .navbar-toggler-icon {
  display: block;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 100%;
  height: 30px;
}

.navbar-closer > .navbar-close-icon {
  display: block;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(19, 19, 19, 1)' stroke-miterlimit='10' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
  width: 100%;
  height: 30px;
}

.menu a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--background-white);
  content: "";
  transition: width 0.3s ease; /* Add transition for smooth animation */
}

.menu a:hover::after {
  width: 100%;
}

/* Style for the logo */
.logo-container {
  flex-grow: 1;
  display: flex;
  justify-content: end;
  align-items: center;
}

.logo-container img {
  max-height: 35px;
  object-fit: contain;
}

/* Landing */
section#landing {
  margin-top: 100px;
}

section#landing > .container {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  padding-left: 90px;
  padding-right: 90px;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
}

section#landing > .container > .hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carrousel-container {
  max-width: 100%;
  min-width: 40%;
  border-radius: 3px;
  height: 200px;
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

section#landing > .container > .carrousel-container {
  height: 300px;
  min-width: 50%;
}

.carousel_item {
  position: relative;
  min-width: 100%;
  height: 100%;
  transition: all 0.5s ease-in-out;
  background-repeat: no-repeat;
  background-size: cover;
}

.carousel_item {
  background-position: center; 
}

.carousel_item.item2 {
  background-image: url("../static/carroussel2.jpeg");
}
.carousel_item.item3 {
  background-image: url("../static/carroussel3.jpeg");
}
.carousel_item.item4 {
  background-image: url("../static/carroussel4.jpeg");
}
.carousel_item.item5 {
  background-image: url("../static/carroussel5.jpeg");
}
.carousel_item.item6 {
  background-image: url("../static/institut.jpeg");
}
.carousel_item.item7 {
  background-image: url("../static/carroussel7.jpeg");
}



.hero-text > .carrousel-container {
  display: none;
}

/* Quote bar section */
section#quote-bar {
  background-color: var(--background-accent);
  color: var(--text-grey);
}

section#quote-bar > div.container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2em;
  padding-bottom: 2em;
}

section#quote-bar > div.container > h2::after {
  content: "";
  display: block;
  width: 60px;
  border-top: 1px solid var(--primary-color);
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
}

section#quote-bar > div.container > p {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* About us section */
section#about-us > div.container,
section#gear > div.container, 
section#info > div.container,
section#drainage-lymphatique > div.container {
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  padding-left: 90px;
  padding-right: 90px;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
}

section#about-us > div.container > div,
section#gear > div.container > div {
  max-width: 400px;
}

section#about-us > div.container > div > img,
section#gear > div.container > div > img {
  width: 100%;
  height: auto;
}

/* Prestations */

section#services > div.container {
  display: flex;
  flex-direction: column;
  align-items: start;
  max-width: 1080px;
  padding-left: 90px;
  padding-right: 90px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
section#contact > div.container {
  display: flex;
}

section#contact > div.container > div.map {
  max-height: 400px;
  width: 50%;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 3px 0 0 3px;
}

section#contact > div.container > div.map > img {
  width: 100%;
}

section#contact > div.container > div.address {
  height: 400px;
  width: 50%;
  border: 1px solid #e5e5e5;
  border-left: none;
  border-radius: 0 3px 3px 0;

  padding-right: 2rem;
  padding-left: 2rem;
  padding-top: 4rem;
  padding-bottom: 4rem;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.address a,
#services p > a {
  text-decoration: none;
  font-family: "Lora", serif;
  color: var(--text-black);
  text-decoration: underline;
}

/* Footer */
section#footer {
  bottom: 0;
  margin-bottom: 0;
  padding: 0.5rem;
}

#footer > div:nth-child(1) > span:nth-child(1) {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06cap;
}

#footer > div:nth-child(1) > span:nth-child(3) {
  font-family: "Lora", serif;
}

.hero-buttons .btn {
  font-family: "Lora", serif;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

/* Primary (filled) button styles */
.primary-btn {
  background-color: var(--secondary-color);
  color: var(--background-white);
  border: none;
  padding: 15px 60px;
  border-radius: 3px;
}

.primary-btn:hover {
  background-color: var(--primary-color); /* Darker shade on hover */
}

.secondary-btn {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  box-sizing: border-box;
  padding: 15px 20px;
  border-radius: 3px;
}

.secondary-btn:hover {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Flexbox to align the buttons side by side */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px; /* Adjust space between text and buttons */
}

/* Planity appoitement */
#planity-appointment {
  width: 100%;
  display: flex;
  justify-content: center;
}

#planity-appointment h3 {
  color: var(--primary-color) !important;
  padding: 15px 0 !important;
  font-weight: bold;

  margin-bottom: 6px;
  font-size: 14px;
  margin-top: 16px;
  color: inherit;
}

.planity_appointment_step_wrapper {
  border-radius: 3px !important;
}

#planity-appointment a {
  text-decoration: none;
}

#planity-appointment a::hover {
  color: var(--primary-color);
}

.button-module_primary-Careb {
  background-color: var(--secondary-color) !important;
  color: var(--background-white) !important;
}
.button-module_primary-Careb:hover {
  background-color: var(--primary-color) !important;
}

.planity_ui_action_button_root,
.planity_ui_showMoreservices,
.step-module_edit-Wj-M8 {
  color: var(--text-black) !important;
  transition: color 0.3s ease;
}

.planity_ui_action_button_root:hover,
.planity_ui_showMoreservices:hover,
.step-module_edit-Wj-M8:hover {
  color: var(--primary-color) !important;
}

.title-module_index-V5qhP,
.title-module_title-5XjLY {
  color: var(--text-black) !important;
}

.css-1u1908p,
.css-23e715 {
  display: none;
}

#planitywl {
  width: 100%;
}

.planity_appointment_step_wrapper {
  border-radius: 3px;
}

/* Optional: Adjust for mobile responsiveness */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  section#contact > div.container {
    flex-direction: column-reverse;
  }

  section#contact > div.container > div.map {
    border-radius: 3px 3px 3px 3px;
  }

  section#contact > div.container > div.address {
    gap: 20px;
    height: fit-content;
    border: none;
    width: 80%;
  }

  section#landing > .container > .image {
    max-width: 100%;
  }

  section#contact > div.container > div.map {
    width: 80%;
  }

  section#gear > div.container {
    flex-direction: column-reverse;
  }

  .menu {
    display: none;
  }

  .logo-container {
    display: flex;
    justify-content: center;
  }

  /* Change padding 90px of container and nav and every other elements */
  section#gear > div.container,
  section#footer > div,
  section > .container,
  section#landing > .container,
  section#services > div.container,
  section#about-us > div.container,
  div#nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  section#contact > div.container > div.address {
    gap: 20px;
    height: fit-content;
    border: none;
    width: 100%;
  }

  section#contact > div.container > div.map {
    width: 100%;
  }

  .hero-text {
    max-width: 400px;
  }

  .hero-text > .carrousel-container {
    display: flex;
  }

  section#landing > .container > .carrousel-container {
    display: none;
  }

  section#services > div.container > div {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .navbar-toggler {
    display: block;
  }

  #planity-appointment {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 380px) {
    .mobile-menu {
        padding-left: 45px;
        padding-right: 45px;
    }
}
