/*
 Theme Name:     Domaine de LaForest
 Theme URI:      https://www.lumea-studio.fr
 Description:    Child Theme
 Author:         Luméa Studio x PSD Créations Éco
 Author URI:     https://www.lumea-studio.fr
 Template:       Divi
 Version:        1.0.0
*/


/* GENERAL */

:root {
  --font-body: geologica-variable, sans-serif;
  --font-title: amandine, sans-serif;

  --x-small: 14px;
  --small: 16px;
  --x-large: 32px;
  --xx-large: 120px;

  --size-body: 16px;
  --size-title-h1: 45px;
  --size-title-h2: 45px;
  --size-title-h3: 34px;
  --size-title-h4: 26px;

  --regular: 300;
  --medium: 500;

  --transition: all ease-in-out 500ms;

  --black: #000000;
  --accent: #C69D46;
  --light: #F5F4F0;
}

@media (max-width: 980px) {
  :root {
    --size-title-h1: 40px;
    --size-title-h2: 40px;
    --size-title-h3: 30px;
    --size-title-h4: 20px;
  }
}

body {
  font-family: var(--font-body);
  font-weight: var(--regular);
  font-size: var(--size-body);
  color: var(--black) !important;
  background: #FCFCFC;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  padding: 0;
  font-weight: var(--regular);
  color: var(--accent) !important;
  font-family: var(--font-title);
  line-height: 1.2em;
}

h1 {
  font-size: var(--size-title-h1) !important;
  font-weight: var(--medium);
}

h2 {
  font-weight: var(--medium);
  font-size: var(--size-title-h2) !important;
}

h3 {
  font-size: var(--size-title-h3) !important;
}

h4 {
  font-size: var(--size-title-h4) !important;
  color: var(--black) !important;
}

h5 {
  font-size: var(--small) !important;
  font-family: var(--font-body);
  font-weight: var(--medium);
  margin-bottom: 15px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0;
  line-height: 1.6;
}

a {
  transition: var(--transition);
}

.container, .et_pb_row {
  width: 95% !important;
  max-width: 1460px;
  margin: auto;
}

.et_pb_section {
  background: transparent;
}

.container-fluid {
  width: 100% !important;
  max-width: 100%;
}

#main-content {
  background-color: transparent;
}

.dflex {
  display: flex;
  flex-wrap: wrap;
}

.vertical_center {
  align-items: center;
}

.vertical_bottom {
  align-items: flex-end;
}

.justify_bet {
  justify-content: space-between;
}

div#page-container {
  overflow: hidden;
}

.btn_primary, .wpcf7 input[type="submit"], .et_pb_button {
  background: var(--accent);
  color: var(--light);
  padding: 10px 20px !important;
  font-family: var(--font-title);
  font-weight: var(--medium);
  transition: var(--transition);
  font-size: var(--size-body) !important;
}

.btn_primary:hover, .wpcf7 input[type="submit"]:hover, .et_pb_button:hover {
  cursor: pointer;
  background: var(--light);
  color: var(--accent);
}

.wpcf7 input[type="submit"] {
  border-radius: 10px !important;
  border: none;
  box-shadow: none;
  padding: 15px;
  text-transform: uppercase;
  font-weight: var(--medium);
  font-size: var(--size-body);
}

.light_bg {
  background: var(--light);
}

.material-symbols-outlined {
  font-weight: lighter !important;
}

@media (max-width: 980px) {
  .container, .et_pb_row {
    width: 90% !important;
  }
}

/* HEAD */

.mainHeader {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  transition: all ease-in-out 0.5s;
}

.mainHeader.sticky {
  background: white;
}

.menu_head {
  justify-content: space-between;
  padding: 20px 0;
}

.menu_left, .menu_right, #menu {
  gap: 100px;
}

.menu-item a, .lang-item a {
  color: var(--black);
  font-family: var(--font-title);
  font-weight: var(--medium);
}

.menu-item a:hover, .lang-item a:hover {
  color: var(--accent);
} 

.lang-item a {
  text-transform: uppercase;
}

ul.lang_switcher {
  display: flex;
  gap: 15px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
}

.logo {
  max-width: 150px;
}

.nav-container .menu-items {
  display: flex;
}

.nav-container {
  display: block;
  position: relative;
  height: 60px;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 5px;
  right: 7px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  display: block;
  height: 20px;
  width: 25px;
  position: absolute;
  top: 14px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
}

.home .nav-container .hamburger-lines .line {
  background: white;
}

.home .sticky .nav-container .hamburger-lines .line {
  background: var(--black);
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .menu-items {
  height: 89vh;
  width: 100vw;
  transform: translate(-150%);
  flex-direction: column;
  margin-left: -22px;
  padding: 50px;
  transition: transform 0.5s ease-in-out;
  text-align: center;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}

.btn_head a {
  background: var(--accent);
  padding: 15px 20px !important;
  font-size: var(--small);
  text-transform: uppercase;
  font-weight: var(--medium);
  border-radius: 10px;
}

@media (max-width: 980px) {
  #menu {
    flex-direction: column;
    gap: 25px;
  }

  .menu-item-has-children .sub-menu {
    display: block;
    opacity: 1;
    border-bottom: 0;
    font-size: var(--small);
  }

  .home header .menu-item:not(.btn_head) a {
    color: var(--black);
  }
}

/* FOOTER */

#main-footer, #footer-bottom {
  background-color: var(--black);
}

.logo_footer {
  max-width: 200px;
}

.footer-top {
  padding: 50px 0 25px;
  border-bottom: solid 1px white;
}

#footer-bottom {
  padding: 25px 0 0px;
}

.footer-top .menu-item a, #footer-bottom .menu-item a, #footer-bottom p {
  color: white;
}

#main-footer .menu_1 {
    display: flex;
    gap: 25px;
}

.menu_footer {
  display: flex;
  gap: 50px;
  align-items: center;
}

#footer-bottom .menu-item a, #footer-bottom p {
  font-family: var(--font-body);
  font-size: var(--x-small);
}

@media (max-width: 984px) {

  .footer-top {
    justify-content: center;
  }

  .menu_footer {
    gap: 15px;
    flex-direction: column;
    width: 100%;
  }

  #main-footer .menu_1 {
    gap: 15px;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-top: 15px;
  }
}

/* HOME */

.intro_hp h1 {
  text-align: center;
}

.intro_photos .et_pb_column_2 .et_pb_image_wrap, .intro_photos .et_pb_column_2 .et_pb_module {
  height: 100%;
}

.intro_photos .et_pb_column_2 img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  height: 100%;
}

.intro_photos .et_pb_column_4 img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.intro_photos .et_pb_column_3 {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.post_review .info {
  padding: 25px;
}

.info_gites {
  font-size: var(--x-small);
  border-top: solid 1px;
  padding-top: 25px;
  margin-top: 20px;
}

.info_gites p {
  display: flex;
  gap: 5px;
}

.post_review img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* GITES */

.liste_post {
  gap: 25px;
}

.liste_post .post_review {
  flex: 1 1 32.19%;
  max-width: 32.19%;
}

.title_gites {
  margin-top: 150px;
  gap: 100px;
}

.title_gites > div {
  flex: 1 1 auto;
  width: 45%;
}

.entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.entete .icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.galerie img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.owl-dots {
  text-align: center;
  margin-top: 10px;
}

.owl-carousel button.owl-dot {
  background: var(--light) !important;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  position: relative;
  margin: 0 2.5px;
}

.owl-carousel button.owl-dot.active, 
.owl-carousel button.owl-dot:hover {
  background-color: var(--accent) !important;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
}

.owl-carousel .owl-nav button.owl-prev {
  left: -50px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: fit-content;
}

.owl-carousel .owl-nav button.owl-next {
  right: -50px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: fit-content;
}

.owl-nav span.material-symbols-outlined {
  font-size: 60px;
}

.bouton_resa a {
  width: 100%;
  display: block;
  margin-top: 25px;
  text-align: center;
}

.bouton_resa a:first-child {
  margin-top: 50px;
}

.infos_gen {
  margin: 100px auto;
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 100px;
}

.infos_gen .left {
  width: 70%;
  border-right: solid 1px black;
  padding: 50px 100px 50px 0;
}

ul.features li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.other_post #gites {
  margin: 50px 0;
}

@media (max-width: 984px) {
  .liste_post .post_review {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .infos_gen .left {
    width: 100%;
    border-right: none;
    padding: 50px 0 50px 0;
  }
}

/* BLOG */

.title_cat {
  width: 50% !important;
  margin: 50px auto 0;
  text-align: center;
}

.et_pb_blog_grid .et_pb_post {
  border: none;
  padding: 25px;
  background: transparent;
}

.et_pb_blog_grid h2 {
  font-size: var(--size-title-h4) !important;
  color: var(--black) !important;
  margin-bottom: 25px;
}

.et_pb_bg_layout_light .et_pb_post .post-meta, .et_pb_bg_layout_light .et_pb_post .post-meta a, .et_pb_bg_layout_light .et_pb_post p {
  color: var(--black);
}

@media (max-width: 984px) {
  .title_cat {
    width: 95% !important;
    margin: 50px auto 0;
    text-align: center;
  }
}

/* PRIX */ 

.prices tr td:first-child {
  width: 80% !important;
}

.info_prix {
  background: white;
  padding: 25px;
  border-radius: 25px;
}

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
  background-color: #fff;
  border: 1px solid #bbb;
  padding: 15px 10px;
  color: var(--black);
  width: 100%;
  font-size: var(--size-body);
  border-radius: 5px;
}

.et_pb_toggle.et_pb_text_align_left .et_pb_toggle_title, .et_pb_toggle.et_pb_text_align_left h5.et_pb_toggle_title, .et_pb_toggle .et_pb_toggle_title, .et_pb_toggle h5.et_pb_toggle_title {
  padding: 0;
  margin: 0;
}

.et_pb_toggle_close {
  background-color: var(--light);
  padding: 25px;
}

.et_pb_toggle {
  border: 1px solid var(--light);
}
