/* 
Theme Name: Hello Eliophot Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team & Eliophot
Author: Eliophot
Author URI: https://www.eliophot.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready, Eliophot
*/

/* Add your custom styles here */
:root {
  /* utilisation pour bg sur card hotel en homepage cf section etablissements l47 */
  --etablissement-card-bg-overlay: rgba(0, 0, 0, 0.4);
}

/* Global */
/* Scroll to top icon */
.scroll-to-top{
	cursor: pointer
}

/* Formulaires */
.formulaire .elementor-field-type-submit {
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.1);
}

/* Header */
.menu-burger-icon svg line {
  transition: all 0.4s;
}
.menu-burger-icon svg:hover line:nth-child(2) {
  transform: translateX(-7px);
}

.menu-burger-icon svg:hover line:nth-child(3) {
  transform: translateX(-2px);
}

/* MENU BURGER */
.menu-burger-imgs .ppl-img,
.menu-burger-imgs .sec-img,
.img-ppl-defaut,
.img-sec-defaut {
  opacity: 0;
  transition: opacity 0.75s;
}

.menu-burger-imgs .ppl-img.img-active,
.menu-burger-imgs .sec-img.img-active,
.img-ppl-defaut.img-active,
.img-sec-defaut.img-active {
  opacity: 1 !important;
}

#menu-burger .menu-burger-links .sous-item a {
  font-family: var(--e-global-typography-98aeef6-font-family), Sans-serif;
  font-size: var(--e-global-typography-98aeef6-font-size);
  font-weight: var(--e-global-typography-98aeef6-font-weight);
  text-transform: var(--e-global-typography-98aeef6-text-transform);
  font-style: var(--e-global-typography-98aeef6-font-style);
  text-decoration: var(--e-global-typography-98aeef6-text-decoration);
  line-height: normal;
  letter-spacing: var(--e-global-typography-98aeef6-letter-spacing);
  padding-left: 45px;
}

#menu-burger .menu-burger-links .sous-item:nth-of-type(1):before {
  content: "Nos maisons";
  font-family: var(--e-global-typography-68c7323-font-family), Sans-serif;
  font-size: var(--e-global-typography-68c7323-font-size);
  font-weight: var(--e-global-typography-68c7323-font-weight);
  text-transform: var(--e-global-typography-68c7323-text-transform);
  font-style: var(--e-global-typography-68c7323-font-style);
  text-decoration: var(--e-global-typography-68c7323-text-decoration);
  line-height: var(--e-global-typography-68c7323-line-height);
  padding: 13px 30px;
}

#menu-burger .rs-icons a:hover path {
  fill: var(--e-global-color-secondary);
}

#menu-burger .menu-langues i:before {
  content: url(/wp-content/uploads/2025/12/ARCH-chevron_down-black.svg);
  width: 10px;
  display: block;
}

#menu-burger .menu-langues .sub-menu {
  margin-left: 0 !important;
}

/* Modale destinations */
.destination-content .elementor-cta__image img{
    height: 100px !important;
    object-fit: contain !important;
    filter: brightness(1000);
}

/* HOMEPAGE */
/* introduction */
@media screen and (min-width: 1025px) {
  .intro-1 .img-container {
    max-width: 826px;
  }
}

@media screen and (min-width: 1201px) {
  .intro-1 .intro-img-2 {
    margin-left: -120px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .intro-1 .intro-img-2 {
    margin-left: -80px;
  }
}

@media screen and (max-width: 1024px) {
  .intro-1 .intro-img-2 {
    margin-left: -100px;
  }
}

/* section etablissements */
.img-container::before {
  background-color: var(--etablissement-card-bg-overlay);
}

@media screen and (min-width: 1025px) {
  .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .etablissement {
    position: relative;
  }

  .logo-container-flip_target {
    min-height: 277px;
  }

  .logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .etablissement {
    aspect-ratio: 530/667;
    max-width: 530px;
  }
}

@media screen and (max-width: 1024px) {
  .content {
    background-color: var(--e-global-color-accent);
  }
}

@media screen and (min-width : 1201px){
        .txt-container-animated{
        opacity: 0;
        transition: all 1.5s ease-in-out;
    }
    
    .etablissement:hover .txt-container-animated{
        opacity: 1;
        transition: all 0.4s ease-in-out;
    }
    
    .logo-container-animated{
        transition: all 0.7s ease-in-out;
        transform: translateY(100px);
    }
    
    .etablissement:hover .logo-container-animated{
        transform: scale(0.8);
        transition: all 0.7s;
    }
    
    .etablissement .etablissement-text{
        max-height: 150px;
        transition: all 0.4s;
    }
    .etablissement:hover .etablissement-text{
        max-height: 400px;
    }
}





/* section nos tables */
@media screen and (min-width: 1367px) {
  #nos-tables .texts-container {
    max-width: 445px;
  }
}

/* section map */
@media screen and (min-width: 1025px) {
  .arch-map .e-hotspot:hover .e-hotspot__icon {
    transform: scale(0.5);
  }

  .arch-map .e-hotspot .e-hotspot__icon {
    transition: transform 0.3s !important;
  }

  .arch-map .e-hotspot:hover .e-hotspot__button:before {
    width: 100%;
    height: 100%;
  }

  .arch-map .e-hotspot__button:before {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    background: rgba(2, 64, 69, 0.3);
    padding: 0;
    width: 50%;
    height: 50%;
    transition: width 0.3s, height 0.3s !important;
  }
}

.arch-map .e-hotspot--overlay {
  opacity: 1;
}

.arch-map .e-hotspot__button .e-hotspot__label {
  position: absolute;
  width: fit-content;
  max-width: unset;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding-top: 5px;
}

@media screen and (max-width: 1024px) {
  .arch-map .e-hotspot__button .e-hotspot__label {
    padding-top: 5px;
    white-space: wrap;
    text-align: center;
    min-width: 150px;
  }

  .arch-map .e-hotspot:nth-of-type(1) .e-hotspot__label {
    top: unset;
    bottom: 100%;
    padding-bottom: 5px;
  }
}

/* section seminaires */
.section-seminaires .img_titres-container-desktop {
  max-width: 552px;
}

.section-seminaires .part-left-desktop {
  position: sticky;
  top: 0;
}

/* FENETRE MODALE RESERVATION */
@media screen and (min-width: 1025px) {
  #booking-modale {
    height: 100vh;
  }

  #booking-modale .etablissement {
    overflow: hidden;
  }
  #booking-modale .etablissement .logo-etablissement {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.55s;
  }

  #booking-modale .etablissement:hover .logo-etablissement {
    padding-top: 2rem;
  }

  #booking-modale .etablissement .section-boutons {
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.85s;
  }

  #booking-modale .etablissement:hover .section-boutons {
    transform: translateY(0);
    opacity: 1;
  }
}

/*overlay*/
#booking-modale .etablissement::before,
#booking-modale .etablissement::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.75s;
}

#booking-modale .etablissement::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 50%
  );
  opacity: 1;
}

#booking-modale .etablissement::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.6) 50%
  );
  opacity: 0;
}

#booking-modale .etablissement:hover::before {
  opacity: 0;
}

#booking-modale .etablissement:hover::after {
  opacity: 1;
}

/* PAGE VOS EVENEMENTS */
.evenement-section_destination .title {
  white-space: nowrap;
}

.evenement-section_destination .destination-item {
  flex-shrink: 0 !important;
}

.evenement-section_destination .destination-item .elementor-icon svg {
  height: 7px;
  margin-bottom: 20px;
}

/* PAGE NOS TABLES */
@media screen and (min-width: 1025px) {
  .tables-introduction-texts {
    position: sticky;
    top: 0;
  }
}

@media screen and (min-width: 1025px) {
  .table-item:hover .table-logos {
    transform: translate(-50%, 0);
  }

  .table-item:hover .table-arrow {
    opacity: 1;
  }

  .table-item .table-logos {
    transition: all 1s !important;
  }

  .table-item .table-arrow {
    opacity: 0;
    transition: all 0.75s;
  }
}

/* PAGE TOURISME */
.tourisme-section-list .tourisme-listing .elementor-post__text {
  display: flex;
  flex-direction: column;
}

.tourisme-section-list .tourisme-listing .elementor-post__excerpt {
  order: -1;
  margin-bottom: 0;
}

.tourisme-section-list .tourisme-listing .elementor-post__read-more {
  text-transform: capitalize;
  background: var(--e-global-color-c030b24);
  padding: 12px 50px;
  border-radius: 4px;
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.35s;
}

.tourisme-section-list .tourisme-listing .elementor-post__read-more:hover {
  background: var(--e-global-color-primary);
  color: var(--e-global-color-c030b24);
}
