/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/* CONFIGS */
/* Montserrat Variable – Regular */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/wp-content/themes/bootscore-child/assets/font/montserrat/Montserrat-VariableFont_wght.woff2') format('woff2');
}

/* Montserrat Variable – Italic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/wp-content/themes/bootscore-child/assets/font/montserrat/Montserrat-Italic-VariableFont_wght.woff2') format('woff2');
}

*, body{
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}


:root{
    --main-color: #C91E32;
    --medium-grey: #777777; 
    --light-grey: #f7f7f7; 
    --main-gradient: linear-gradient(45deg, #C91E32, #D04150);
}

.bg-main-color{
    background-color: var(--main-color);
}

.bg-white-border-red{
    background-color: white;
    border: 3px solid var(--main-color);
}

.bg-light-grey{
    background-color: var(--light-grey);
}

.radius-10{
    border-radius: 10px;
}

.text-main-color{
    color: var(--main-color) !important;
}

.cta-model-1{
    background-color: var(--main-color);
    padding:  5px 20px;
    border-radius: 50px;
    color: white;
    border: none;
    transition: all ease .5s;
    cursor: pointer !important;
}

.cta-model-1:hover{
    background-color: var(--main-color);
    color: white;
    -webkit-box-shadow: 0px 0px 0px 6px rgba(201,30,50,0.34); 
box-shadow: 0px 0px 0px 6px rgba(201,30,50,0.34);
}


.cta-model-2{
    background-color: transparent;
    padding:  5px 20px;
    border-radius: 50px;
    color: white;
    border: 1px solid white;
    transition: all ease .5s;
    cursor: pointer !important;
}

.cta-model-2:hover{
    -webkit-box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.34); 
    box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.34);
    color: var(--main-color);
    background-color: white;
}

.cta-model-3{
    background-color: white;
    padding:  5px 20px;
    border-radius: 50px;
    color: var(--main-color);
    border: 1px solid white;
    transition: all ease .5s;
    cursor: pointer !important;
}

.cta-model-3:hover{
    background-color: white;
    color: var(--main-color);
    -webkit-box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.34); 
    box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.34);
}

.cta-model-4{
    background-color: transparent;
    padding:  5px 20px;
    border-radius: 50px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    transition: all ease .5s;
    cursor: pointer !important;
}

.cta-model-4:hover{
    -webkit-box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.34); 
    box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.34);
    color: white;
    background-color: var(--main-color);
}

.bg-gradient-main-color{
    background: var(--main-gradient);
}

.thin-shadow{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.smooth-border{
    border: solid #D9D9D9 1px ;
}

/* FOOTER */

footer{
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.footer-menu a{
    transition: all ease .3s;
}


  .footer-menu a:hover{
    color:var(--main-color) !important;
    font-weight: 500;
  }
/* HEADER */

header{
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.bg-body-tertiary{
    background-color: white !important;
}

#nav-main{
    padding: 0;
}

#bootscore-navbar{
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.dropdown-toggle::after{
    font-family: "Font Awesome 6 Pro";
    content:'\f078' ;
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0px;
    border-top: unset;
    border-right: unset;
    border-left: unset;

}


#header-top{
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.parent{
    list-style: none;
    color:black;
    padding: 10px;
}

.menu-item{
    list-style: none;
    padding: 5px;
}

.parent a{
    text-decoration: none;
    color:black;
}

.menu-item a{
    text-decoration: none ;
    color:black;
    font-weight: 400;
    font-size: large;
}

@media screen and (min-width: 992px){

    .menu-item .active{
        border-bottom: solid 2px var(--main-color);
        color: var(--main-color) !important;
    }
}

.menu-item a:hover{
    color: var(--main-color) !important;
}




/* Mega menu */


.offcanvas-backdrop {
    display: none !important;
}

#level-2.fade-in, #level-3.fade-in {
    animation: fadeIn 0.5s ease-in-out;
  }
  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
  }


  
#megaOffcanvas{
    background-color: rgba(125, 125, 125, 0.5);
    backdrop-filter: blur(50px);
   
}
#megaOffcanvas .btn-level-2, #megaOffcanvas .btn-level-3 {
    color: white;

}




  @media screen and (max-width: 992px ) {
    #offcanvas-navbar{
        width: 100% !important;
        height: 100% !important;
        background-color: rgba(125, 125, 125, 0.5);
        backdrop-filter: blur(50px);
      }    

      .offcanvas-header{
        color: white !important;
      }

      #bootscore-navbar .nav-link {
        color: white !important;
      }

      #bootscore-navbar .nav-link.active {
        color: var(--main-color) !important;
        font-weight: 600;
      } 

      #megaOffcanvas {
        display: none;
    }

    .dropdown-toggle::after{
        font-family: "Font Awesome 6 Pro";
        content:'\f078' ;
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0px;
        border-top: unset;
        border-right: unset;
        border-left: unset;
        transform: rotate(-90deg);
    }
  }
  .dropdown-menu.show{
    display: none;
  }
  
  .btn-level{
    transition: all ease .3s;
  }

  .btn-level:hover{
    color:var(--main-color);
    font-weight: 500;
  }

  /* Mega menu mobile */
 
#mobileMenuContent .accordion-button {
    background-color: transparent;
    color: var(--main-color);
    font-weight: 600;
    border: none;
    box-shadow: none;
  }
  
  #mobileMenuContent .accordion-button:not(.collapsed) {
    background-color: rgba(201, 30, 50, 0.1);
    color: var(--main-color);
  }
  
  #mobileMenuContent .accordion-item {
    border: none;
    margin-bottom: 0.5rem;
  }
  
  #mobileMenuContent .accordion-body {
    padding-left: 1rem;
    padding-right: 0;
  }
  
  #mobileMenuContent a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: #333;
  }
  
  #mobileMenuContent a:hover {
    color: var(--main-color) !important;
    text-decoration: underline;
  }
  
  .level-2 {
    padding-left: 1rem;
    font-size: 0.95rem;
  }
  
  .level-3 {
    padding-left: 2rem;
    font-size: 0.9rem;
  }

/* CARD BUNGALOWS */
.card-bungalow{
    background-color: var(--main-color);
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 95% 100%, 0% 100%);
    padding: 3px;
}

.card-bung-content{
    background-color: white;
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 95% 100%, 0% 100%);
}

.card-bung-list ul{
   list-style: none ;
}

.card-bung-list ul > a:hover{
    text-decoration: underline;
 }

.card-bung-list .child-link::before{
    font-family: "Font Awesome 6 Pro";
    content: '\e3d6';
    color: var(--main-color);
    margin-right: 5px;
}

.card-bung-list .card-title::after{
    font-family: "Font Awesome 6 Pro";
    content:'\f054' ;
    transition: all ease 0.5s;
}

.card-bung-list .card-title{
    display: flex;
    justify-content: space-between;
}


.card-bung-list .card-title:hover::after{
    transform: translateX(5px);
}

.card-link:hover .card-title::after{
    transform: translateX(5px);
}



.card-bungalow li a{
    transition: all ease 0.5s;
}

.card-bungalow li{
    transition: all ease 0.5s;
    width: fit-content;
}
.card-bungalow a{
    text-decoration: none;
}


.card-bung-list li:hover a{
    color: var(--main-color) !important;
}

.card-bung-list li:hover {
    transform: translateX(5px) !important;
}




.card-link{
    text-decoration: none;
}

/* Bandeau d'appel à l'action */
.btn-fleche::after{
    font-family: "Font Awesome 6 Pro";
    content: '\f054';
    margin-left: 5px;
}

.bandeau-cta ul{
list-style: none;
margin: 0;
padding: 0;
}

.bandeau-cta li::before{
    font-family: "Font Awesome 6 Pro";
    content: '\e426';
    margin-right: 10px;
}

/* Accordions CSS */

/* Accordéons FAQ */
.check-input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion-faq {
    width: 100%;
    color: white;
    background-color: var(--main-color);
    overflow: hidden;
    margin-bottom: 16px;
}

.accordion-faq:last-child {
    margin-bottom: 0;
}

.accordion-label-faq {
    display: flex;
    justify-content: space-between;
    padding: 25px 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.accordion-label-faq:hover {
    background: #D04150;
}

.accordion-label-faq::after {
    font-family:"Font Awesome 6 Pro";
    content: "\f0da";
    width: 20px;
    height: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.accordion-content-faq {
    max-height: 0;
    padding: 0 50px;
    color: var(--medium-grey) ;
    background: white;
    transition: max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.check-input:checked + .accordion-label-faq {
    background: var(--main-color);
}

.check-input:checked + .accordion-label-faq::after {
    transform: rotate(90deg);
}

.check-input:checked ~ .accordion-content-faq {
    max-height: 50vh; /* Adjust as needed */
    padding: 16px;
    overflow-y: scroll;
}

.accordion-label-faq h4 {
    margin: 0;
    font-weight: 400;
}

/* Accordéons infos */

.radio-input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion-infos {
    width: 100%;
    color: #000;
    background: white;
    overflow: hidden;
    margin-bottom: 16px;
    border-bottom: 1px solid black;
}

.accordion-infos:last-child {
    margin-bottom: 0;
}

.accordion-label-infos {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-label-infos:hover {
    background: var(--light-grey);
}

.accordion-label-infos::after {
    font-family:"Font Awesome 6 Pro";
    content: "\f054";
    width: 20px;
    height: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.accordion-content-infos {
    max-height: 0;
    padding: 0 50px;
    color: var(--medium-grey) ;
    background: white;
    transition: max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.radio-input:checked + .accordion-label-infos {
   background: white;
}

.radio-input:checked + .accordion-label-infos::after {
    transform: rotate(90deg);
}

.radio-input:checked ~ .accordion-content-infos {
    max-height: 50vh; /* Adjust as needed */
    padding: 16px;
}

.accordion-label-infos h4 {
    margin: 0;
    font-weight: 400;
}

/* Menu affichage des bungalows */

/* Conteneur principal */
.radio-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Cacher les boutons radio */
.radio-menu input {
    display: none;
}

/* Style des labels (boutons) */
.radio-menu label {
    padding: 10px 20px;
    border: 2px solid #c4161c;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    color: #c4161c;
    transition: all 0.3s ease;
    text-align: center;
}

/* État actif */
.radio-menu input:checked + label {
    background: #c4161c;
    color: white;
}

/* Contenu des sections */
.content {
    display: none;
    text-align: center;
    font-size: 18px;
    padding: 20px;
    border: 1px solid #ddd;
}

/* Afficher le contenu actif */
.content.active {
    display: block;
}

.image-style{
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 95% 100%, 0% 100%);
}

/* Cards articles */

.article-card{
    transition: all ease .5s;
}

.article-card:hover{
    -webkit-box-shadow: 0px 0px 0px 5px #C92133; 
box-shadow: 0px 0px 0px 5px #C92133;
}


.article-card:hover .article-title{
    color: var(--main-color) !important;
}
/* Cards réalisation */

.card-real{
    background-color: var(--main-color);
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 0% 100%);
    padding: 3px ;
}

.content-real{
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 0% 100%);
    background-color: white;
}

.content-real::after{
    font-family: "Font Awesome 6 Pro";
    content:'\f054';
    padding: 20px;
    font-size: 2rem;
    transition: all ease 0.5s;
    color: var(--main-color);
    align-self: center;
}

@media screen and (min-width: 992px){

.btn-real{
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 80% 100%, 0% 100%);
    transition: all ease .5s;
}

.btn-real:hover{
    transform: scale(1.02);
}

}

@media screen and (max-width: 1200px){
    .btn-real{
        background-color: var(--main-color);
        padding:  5px 20px;
        border-radius: 50px;
        color: white;
        border: none;
        transition: all ease .5s
    }    
}

.card-real:hover .content-real::after{
    transform: translateX(10px);
}

/* Formulaire de contact */

.wpcf7-not-valid-tip{
color: white !important;
background-color: rgb(208, 135, 0) !important;
padding: 5px;
border-radius: 3px;
} 

.form-field p{
    margin: 0;
    margin-bottom: 5px;
}

.wpcf7-form label{
    display: block;
}

.wpcf7-form .row {
    display: flex;
    flex-wrap: wrap;
}

.wpcf7-form .col-md-6 {
    width: calc(50% - 5px);
}

.wpcf7-form .col-12 {
    width: 100%;
}

.wpcf7-text, .wpcf7-textarea, .wpcf7-file {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--main-color);
    border-radius: 5px;
}

.context-form-field .wpcf7-text, .wpcf7-textarea, .wpcf7-file{
    width: 100%;
    padding: 5px;
    border: 1px solid var(--main-color);
    border-radius: 5px;
}


.wpcf7-form textarea {
    height: 150px;
}

.context-form-field .wpcf7-textarea{
height:100px;
}

.wpcf7-form .text-center {
    text-align: center;
    margin-top: 15px;
}

.wpcf7-form input[type="submit"] {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--main-color);
}

.wpcf7-spinner{
    display: none;
}

.upload-file:hover{
color: var(--main-color);
font-weight: 700;
}

.file-field p{
margin: 0;
}

.overlay-section {
    position: relative;
}

.overlay-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* Couleur de l'overlay (noir semi-transparent) */
    backdrop-filter: blur(10px); /* Flou de l'overlay */
    z-index: 1;
}

.overlay-content {
    position: relative;
    z-index: 2; /* Met le texte au-dessus de l'overlay */
    text-align: center;
}




b {
    font-weight: normal;
}

h1, h1 b {
    font-weight: 700;
  }
  
  h2, h2 b {
    font-weight: 600;
  }
  
  h3, h3 b {
    font-weight: 500;
  }
  
  /* Valeurs par défaut (desktop ≥ lg) */
  h1, h1 b { font-size: 3rem; }
  h2, h2 b { font-size: 2rem; }
  h3, h3 b { font-size: 1.5rem; }
  
  /* Tablettes < 992px */
  @media (max-width: 991.98px) {
    h1, h1 b { font-size: 2.5rem; }
    h2, h2 b { font-size: 1.75rem; }
    h3, h3 b { font-size: 1.3rem; }
  }
  
  /* Mobiles < 768px */
  @media (max-width: 767.98px) {
    h1, h1 b { font-size: 2rem; }
    h2, h2 b { font-size: 1.5rem; }
    h3, h3 b { font-size: 1.15rem; }
  }
  
  /* Très petits écrans < 576px */
  @media (max-width: 575.98px) {
    h1, h1 b { font-size: 1.75rem; }
    h2, h2 b { font-size: 1.3rem; }
    h3, h3 b { font-size: 1rem; }
  }

#contact-popup.collapsed {
    transform: translateX(90%);
    transition: transform 0.3s ease;
  }
  #contact-popup {
    transition: transform 0.3s ease;
  }
  
  .trp-ls-shortcode-current-language{
    width: auto !important;
  }

  .trp-ls-shortcode-language{
    width: auto !important;
  }











  @media (min-width: 992px) {
    #trp-floater-ls{
        display: none !important;
    }
  }





  #moove_gdpr_cookie_info_bar{
    z-index : 999999999 !important;
  }




#preloader #status{

    color: var(--main-color) !important;
}








  







































/* MEGA MENU */



#level-1, #level-2, #level-3 {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #888;
  min-height: 300px;
}

#preview-image img {
  width: 100%;
  /* max-height: 240px; */
  aspect-ratio:16/9;object-fit:cover;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease;
}

#preview-image img.show {
  opacity: 1;
  transform: scale(1);
}

.mega-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: #c82333; /* Texte rouge de base */
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 12px 18px;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.mega-link:hover, .mega-link.active-parent {
  background: #c82333; /* Rouge fond hover */
  color: #fff;
}

.mega-link .arrow {
  margin-left: 8px;
  font-size: 1rem;
}


#megaOffcanvas {



    position: fixed;
    top: 0; /* sera ajusté par JS */
    left: 0;
    width: 100%;
    z-index: 100;

   
   
}
#megaOffcanvas {
  color: #fff;
  top: var(--header-height, 80px); /* Valeur par défaut 80px */
  border-top: none;
  top: var(--header-height, 80px);
  height: fit-content;
  max-height: calc(1000px - var(--header-height, 80px) - 40px);
  border-top: none;
  background: #666; 
  transition: all 0.2s ease; 
  padding: 30px;
}



#megaOffcanvas .offcanvas-body {

  overflow-y: auto;
  padding: 0;
}

.mega-menu-wrapper {
  display: flex;
  width: fit-content;
  max-width: 90%;
  margin: auto;
}






.ratio-16x9-cover{
    aspect-ratio : 16/9 !important;
    width: 100%;
    object-fit: cover;
}