/*
 Theme Name:     Chalet Saint Gervais
 Theme URI:      https://lumea-studio.fr
 Description:    Child Theme
 Author:         Luméa Studio
 Author URI:     https://lumea-studio.fr
 Template:       Divi
 Version:        1.0.0
*/


/* GENERAL */

:root {
  --font-body: cofo-sans-variable, sans-serif;
  --font-title: cofo-raffine, sans-serif;
  --font-icon: Material Symbols Outlined;

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

  --size-body: 16px;
  --size-title-h1: 80px;
  --size-title-h2: 80px;
  --size-title-h3: 40px;
  --size-title-h4: 20px;

  --wlight: 200;
  --regular: 400;
  --medium: 500;
  --bold: 700;

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

  --light : #FEFAEA;
  --dgreen : #283618;
  --lgreen : #606C38;
  --gradient_green : linear-gradient(rgba(40, 54, 24, 1),rgba(40, 54, 24, .4));

  --module-gutter: 40px;
}

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

body {
  font-family: var(--font-body);
  font-weight: var(--wlight);
  font-size: var(--size-body);
  background: var(--light);
  color: var(--dgreen);
}

#main-content {
  background: var(--light);
}

h1, h2, h3, h4 {
  margin-top: 0;
  padding: 0;
  font-weight: var(--medium);
  font-family: var(--font-title);
  line-height: 1.2em;
  margin-bottom: 15px;
}

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

h2 {
  font-size: var(--size-title-h2) !important;
  margin-bottom: 25px;
}

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

h4 {
  margin-bottom: 5px !important;
  font-size: var(--size-title-h4) !important;
}

h5 {
    font-size: var(--size-body) !important;
    font-weight: var(--bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

li::marker {
    color: var(--accent);
}

.material-symbols-outlined {
  font-weight: 200;
}

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

.et_pb_section {
  background: transparent;
}

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

.darkbg {
  background: var(--dgreen);
  color: var(--light);
}

.darkbg h2 {
  color: var(--light);
}

body.et_pb_button_helper_class .et_pb_button, body.et_pb_button_helper_class .et_pb_module.et_pb_button {
    background: var(--dgreen);
    color: var(--light);
    padding: 10px 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a.et_pb_button.et_pb_bg_layout_light.et_pb_module.et_flex_module.btn_white {
    background: var(--light);
    color: var(--dgreen);
}

body.et_pb_button_helper_class .et_pb_button:hover, body.et_pb_button_helper_class .et_pb_module.et_pb_button:hover, a.et_pb_button.et_pb_bg_layout_light.et_pb_module.et_flex_module.btn_white:hover {
    background: var(--lgreen);
    color: var(--light);
}

.dflex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

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

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

/* HEADER */

.mainHeader {
  position: fixed;
  background: transparent;
  transition: all ease-in-out 0.5s;
  z-index: 10;
  width: 100%;
  padding: 25px 0;
  top: 0;
}

.sticky_head {
  background: var(--dgreen);
}

.pll-switcher-select, .pll-switcher-select:focus {
    background: none;
    border: none;
    color: var(--light);
    text-transform: uppercase;
    font-size: var(--size-body);
    letter-spacing: 1px;
    font-weight: var(--wlight);
}

.menu_head {
    margin-top: 15px;
}

#menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.logo {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
}

.logo a > img {
  max-width: 250px;
  width: 250px;
}

header .menu-item a {
    color: var(--light);
}

header .menu-item a:hover {
  text-decoration: underline;
  text-underline-position: under;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.nav-container p {
    margin-bottom: 0;
    font-family: var(--font-title);
    color: var(--orange);
    font-weight: var(--bold);
}

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

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

.nav-container .hamburger-lines {
  display: block;
  height: 20px;
  width: 25px;
  position: absolute;
  top: 25px;
  right: 20px;
  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(--light);
}

.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: 88vh;
    width: 100vw;
    transform: translate(-175%, 45vh);
    flex-direction: column;
    margin-left: 0px;
    padding: 25px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
    background: var(--dgreen);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    gap: 25px;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translate(-3vw, 45vh);
}

.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);
  }

  header .menu-item {
    color: white;
  }

  .logo a > img {
    max-width: 200px;
    width: 200px;
  }
}

/* Homepage */

#hero {
  height: 85vh;
  align-content: center;
}

#hero .et-pb-parallax-background:before, .title_page .et-pb-parallax-background:before {
    content: '';
    background: var(--gradient_green);
    background-blend-mode: overlay;
    position: absolute;
    width: 100%;
    height: 100%;
}

#hero .et_pb_text {
    text-align: center;
}

#hero .et_pb_row {
    width: 50% !important;
}

#hero h1 {
    color: var(--light);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--wlight);
    font-size: var(--size-title-h4) !important;
}

#hero h2, .about_hp h2 {
    color: var(--light) !important;
    font-weight: var(--medium);
}

#hero p {
    color: var(--light);
    font-size: var(--size-title-h4);
    width: 70%;
    margin: auto;
}

.about_hp {
    background: linear-gradient(0deg, var(--dgreen) 40%, var(--lgreen) 40%);
    color: var(--light);
}

.icon_chalet {
    display: flex;
    gap: 50px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.icon_chalet > .et_pb_text {
    display: flex;
    flex-direction: row-reverse;
    gap: 25px;
    flex: 1 1 calc(100% / 3 - 50px);
    max-width: calc(100% / 3 - 50px);
    align-items: center;
}


.icon_chalet .et_pb_image_wrap, .icon_chalet .et_pb_image {
    width: 50px !important;
}

.icon_chalet .et_pb_image img {
    width: 50px !important;
    margin: auto;
    aspect-ratio: 1 / 1;
}

.icon_chalet .et_pb_text_inner {
    width: 100%;
}

.about_hp .et_pb_column.et-last-child .et_pb_image img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.txt_slider {
    position: absolute;
    z-index: 100;
    padding: 50px;
    max-width: 40%;
}

.txt_slider h3 {
  color: var(--light);
}

.cible_part h2 {
    margin-bottom: -80px;
    z-index: 10;
    position: relative;
    font-size: var(--size-title-h4) !important;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--regular);
}

.cible_part h2 span {
    font-size: var(--size-title-h2);
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-title);
    line-height: 80px;
    font-weight: var(--medium);
}

.slider_photos .et_pb_slide {
    height: 80vh;
}

.testiban {
    background: var(--dgreen);
    overflow: hidden;
}

.testiban h2 {
    color: rgb(96 108 56 / 50%);
    font-weight: 400;
    font-size: 350px !important;
    position: absolute;
    bottom: -15px;
    line-height: 0px;
}

.testiban .et_pb_group_carousel {
    z-index: 1;
}

.et_pb_testimonial {
    background-color: var(--light) !important;
    padding-top: 80px;
}

.et_pb_testimonial:before {
    content: url("data:image/svg+xml,%3Csvg width='116' height='115' viewBox='0 0 116 115' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50.2059 0.30343C50.6108 0.708004 50.6108 1.31486 50.2059 1.71944C39.274 12.6429 22.4712 31.8602 22.4712 46.2225C22.4712 56.3369 26.3176 60.5849 33.6056 64.4283C43.9302 69.4855 51.4206 77.3747 51.4206 90.321C51.4206 102.458 42.918 115 27.1274 115C11.5393 115 0 101.851 0 81.825C0 52.898 27.7347 21.3412 48.7888 0.30343C49.1937 -0.101143 49.801 -0.101143 50.2059 0.30343ZM114.785 0.30343C115.19 0.708004 115.19 1.31486 114.785 1.71944C103.651 12.8452 87.0506 31.8602 87.0506 46.2225C87.0506 56.3369 90.897 60.5849 98.185 64.4283C108.51 69.4855 116 77.3747 116 90.321C116 102.458 107.497 115 91.7068 115C76.1187 115 64.5794 101.851 64.5794 81.825C64.5794 52.898 92.1117 21.5435 113.368 0.30343C113.773 -0.101143 114.38 -0.101143 114.785 0.30343Z' fill='%23606C38'/%3E%3C/svg%3E%0A");
    font-size: 32px;
    left: 0%;
    position: absolute;
    top: -30%;
    background: none;
    margin-left: -16px;
    border-radius: 0;
    z-index: 2;
}

.et_pb_testimonial_author {
    font-weight: inherit;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 980px) {
  #hero .et_pb_row {
    width: 100% !important;
  }

  .icon_chalet > .et_pb_text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .icon_chalet {
    gap: 25px;
  }

  .about_hp {
    background: var(--lgreen);
  }

  .txt_slider {
    max-width: 100%;
    padding: 25px;
  }

  .slider_photos .et_pb_slide {
    height: 50vh;
  }

  .testiban h2 {
    font-size: 100px !important;
    bottom: -10px;
  }
}

/* FOOTER */

.cta_footer {
    background: var(--lgreen);
    padding: 50px 0;
    color: var(--light);
}

.cta_footer h3 {
    color: var(--light) !important;
}

#main-footer {
    background-color: var(--dgreen);
}

.text_part {
    flex: 1 1 40%;
    color: var(--light);
}

.logo_part {
    flex: 1 1 60%;
}

.text_part h4, .text_part ul a {
    color: var(--light) !important;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--size-body) !important;
    font-weight: var(--medium);
}

.footer_bottom .container {
    align-items: start;
}

.footer_bottom img.logo {
    width: 250px;
}

.footer_bottom {
    padding: 50px 0;
}

.menu_footer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px 25px;
    flex-wrap: wrap;
    margin: 50px 0;
}

ul.menu_links a, .copy_part {
    font-size: 14px !important;
    opacity: 0.5;
}

.copy_part {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 980px) {
  .cta_footer .container, .footer_bottom .container {
    gap: 25px;
    justify-content: center;
    text-align: center;
  }

  .logo_part {
    flex: 1 1 100%;
  }

  .footer_bottom img.logo {
    width: 250px;
    margin: auto;
  }

  .menu_footer {
    justify-content: center;
  }

  .menu_links + p {
    justify-content: center;
  }
}

/* PAGE */ 

.title_page h1 {
    color: var(--light);
    margin: 0;
    line-height: 50px;
}

.title_page {
    padding: 200px 0 50px !important;
}

nav.rank-math-breadcrumb, nav.rank-math-breadcrumb a {
    color: var(--light);
    font-size: 14px;
}

.intro_page p {
    font-size: var(--size-title-h3);
    font-family: var(--font-title);
    text-align: center;
    max-width: 70%;
    margin: auto;
    line-height: normal;
	font-weight: 400;
}

.title_back {
    position: absolute;
    top: -180px;
}

.title_back h2 {
    font-size: 200px !important;
    margin: 0;
    color: var(--dgreen);
}

@media (max-width: 980px) {
  .intro_page p {
    max-width: 100%;
  }

  .title_back h2 {
    font-size: 70px !important;
  }

  .title_back {
    position: absolute;
    top: -80px; 
  } 

  .title_page {
    padding: 100px 0 50px !important;
  }
}

/* RESERVER */

.wpbs-main-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.wpbs-container, .wpbs-main-wrapper .wpbs-form-container {
    flex: 1 1 50%;
    max-width: fit-content !important;
}

.wpbs-main-wrapper .wpbs-form-container {
  padding: 0 !important;
}

/* POST */

.et_grid_module>.et_pb_post, .et_pb_blog_grid .et_pb_post {
    border: none;
    padding: 25px;
    border-bottom: solid 2px var(--dgreen);
    background-color: transparent;
}

.et_pb_image_container {
    margin: -25px -25px 0px;
    border-bottom: solid 2px var(--dgreen);
}

.et_pb_post .entry-featured-image-url {
    display: block;
    position: relative;
    margin-bottom: 0;
}

.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(--dgreen);
}

.et_grid_module>.et_pb_post a.more-link, .et_pb_blog_grid .et_pb_post a.more-link {
    clear: both;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 25px;
    font-weight: var(--medium);
    text-decoration: underline;
}

span.entry-categories a {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lgreen) !important;
}

article.et_pb_post {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

article.et_pb_post .et_pb_image_container {
    order: 1;
}

article.et_pb_post h3.entry-title {
    order: 3;
}

article.et_pb_post p.post-meta {
    order: 2;
}

article.et_pb_post .post-content {
    order: 4;
}

.tab_cat {
    background: var(--dgreen);
}

.tab_cat ul {
    padding: 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    list-style: none;
}

.tab_cat a {
    background: #AAB684;
    color: var(--lgreen);
    padding: 10px 15px;
    display: block;
    border: solid 2px var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--medium);
}

/* FORM */

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

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: var(--dgreen);
    color: var(--light);
    padding: 10px 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--body);
    border: none;
}

.slider_photos .et_pb_slide_description {
    display: none;
}