@charset "UTF-8";

:root {
 
  --background-dark: #343a40; /* Couleur de fond sombre */
  --background-light: #f8f9fa; /* Couleur de fond claire */

}

/* général */
html {
  scroll-padding-top: 80px; /* Ajustez à la hauteur de la navbar */
}
body {
  transition: background-image 1s ease-in-out; /* Transition de 1 seconde */
  background-image: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),
    url('../../images/bkgnd/augustine-wong-li0iC0rjvvg-unsplash.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: repeat;

}
.container {
  width: 85%;
}
.section {
  padding-top: 30px;
}
.text-justify {
  text-align: justify;
}



/* Gestion des cookies */
.navbar-cookies{
  transition: background-color 1.0s;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding-top: 10px;
  padding-bottom: 10px;
}


@media (max-width: 768px) {
  #cookie_directive_container .navbar {
      padding: 10px;
  }
  #cookie_directive_container p {
      font-size: 14px;
      text-align: center;
      margin-bottom: 10px;
  }
  #cookie_directive_container .btn {
      padding: 5px 10px;
      font-size: 12px;
      margin: 5px 0;
  }
  #cookie_directive_container .btn-toolbar {
      flex-wrap: wrap;
      justify-content: center;
  }
}

/* ****************** */
/* Header Homepage */
/* Styles pour le header */
#main-header {
    height: 100vh; 
    background-image: url('../../images/bkgnd/brian-wangenheim-kXZDckruYlg-unsplash.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease; /* Transition de l'opacité sur 1 seconde */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-light); /* Couleur du texte */
    position: relative; /* Nécessaire pour le pseudo-élément */
    z-index: 1; /* S'assurer que le contenu est au-dessus de l'overlay */

  }

  #main-header::before {
    content: ''; /* Nécessaire pour afficher le pseudo-élément */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Overlay noir avec 50% d'opacité */
    z-index: -1; /* Derrière le contenu */
}

  .image-container-logo img {      
    opacity: 0; 
    filter: blur(5); /* Sans flou */
    transition: opacity 2s ease, filter 2s ease; /* Transition douce pour l'opacité et le flou */
  }
  
  /* Lorsque l'image est complètement visible */
  .image-container-logo img.loaded {
    opacity: 1; /* Opacité pleine (complètement visible) */
    filter: blur(0); /* Pas de flou */
  }

  /* text intro du header*/
  .text-intro {
    font-size: 1.7rem; 
    line-height: 1.5;
    text-align: justify; 
    color: #f8f9fa; 
    background-color: rgba(0, 0, 0, 0.0);  
    padding: 20px; 
    border-radius: 10px; 
    backdrop-filter: blur(1px);
    max-width: 70%; 
    margin: 0 auto; 

  }
  .text-intro-lite {
    font-size: 1.5rem; /* Taille de texte légèrement augmentée */
    line-height: 1.3; /* Espacement des lignes pour une meilleure lisibilité */
    text-align: justify; /* Justifie le texte */
    color: #f8f9fa; /* Texte très clair */
    background-color: rgba(0, 0, 0, 0.2);  
    padding: 20px; /* Espacement autour du texte */
    border-radius: 10px; /* Coins arrondis */
    backdrop-filter: blur(1px); /* Floute légèrement l'image sous le texte */
    margin: 0 auto; /* Centre horizontalement */

  }
  /* Section de copyright positionnée en bas */
.copyright-section-header {
    font-size: 0.875rem;
    transition: opacity 1s ease;  
  }

/* Gestion de la NAVBAR */
.navbar {
  transition: background-color 1.0s; /* Transition douce pour le changement de couleur */
  position: fixed;
  width: 100%;
  height: 10%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0));
}
/* Couleur pour le Texte du logo */
.navbar-brand {
  color: var(--background-light); 
  text-decoration: none; /* Pas de soulignement */
  transition: color 0.3s ease, font-weight 0.3s ease; /* Transition fluide pour la couleur et le poids */
}
.navbar-logo {
  transition: transform 0.3s ease;
}
/* Effet de survol */
.navbar-logo:hover {
  transform: scale(1.2);
}
.navbar-nav .nav-link {
  /* color: var(--background-light); */
  color: var(--background-light);
  font-size: 1em;
  font-weight: normal; /* Poids de police normal par défaut */
  text-shadow: none; /* Pas d'ombre par défaut */
  transition: all 0.3s ease; /* Transition rapide et fluide */
}
.navbar-toggler{
  background-color: white;
 }

 .navbar-collapse.show {
  background-color: white;
  border-radius: 10px;
  padding-bottom: 1rem;
  padding-left: 1rem;
}

.navbar-collapse.show .nav-link {
  color: var(--background-dark);
}

/* Couleur des liens au survol */
.navbar-collapse.show .nav-link:hover {
  color: var(--background-dark);
}
/* affiche les sous menus au survol */
.navbar-nav .nav-link:hover {
  text-shadow: 0 2px 4px rgba(248, 249, 250, 0.6); /* Ombre légère sous le texte */
}
.nav-item.dropdown .dropdown-menu {
  display: none; /* Masquer les sous-menus */
  position: absolute; /* Positionner le sous-menu en relation avec le parent */
  top: 100%; /* Placer le sous-menu juste en dessous du menu principal */
  left: 0;
  z-index: 1000;
}

/* Afficher le sous-menu au survol de l'élément parent */
.nav-item.dropdown:hover .dropdown-menu {
  display: block; /* Afficher le sous-menu lors du survol */
}

/* Styles pour la navbar lorsque l'utilisateur fait défiler */
.navbar.scrolled {
  background-color: white; /* Couleur de fond lorsque défilé */
  color: var(--background-dark);
}
.navbar.scrolled .navbar-nav .nav-link {
  color: var(--background-dark);
  font-size: 18px;
  font-weight: normal; 
  text-shadow: none; 
  transition: all 1s ease; 
}
.navbar.scrolled .navbar-nav .nav-link:hover {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* Ombre légère sous le texte */
}

/* classes ajoutées pour la transparence lors du défilement */
.header-background-hidden {
  opacity: 0.5; 
}
.copyr-header-hidden {
  opacity: 0.0; 
}

/* ********************* */
/* Header */
.custom-header-logo{
  padding-top: 8rem;
  padding-bottom: 4rem;
}
#header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.header-row{
    margin-left: 0;
    margin-right: 0;
}

/* ********************* */
/* ENTREPRISE */
#enterprise {
  background-image: url('../../images/bkgnd/augustine-wong-li0iC0rjvvg-unsplash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 7rem;
  }
/* ********************* */
/* ENGAGMENTS */
#engagements {
background-color: #EAEAEA;
padding-bottom: 30px;
}
/* ********************* */
/* SERVICES */
.service-title{
  font-weight: 500;
  font-size: 1.2rem;
  border-radius: 10px; 
  backdrop-filter: blur(2px);
}
.service-col{
  height: 45vh;
}
.service-img-row{
  height: 80%;
  min-width: 150px;
  position: relative; 
  overflow: hidden; 
}
.service-txt-row{
  height: 20%;
}
.service-title{
  color: var(--background-light); 
  font-size: 1.2rem;
}
/* agrandi la row sur le survol */
.service-img-row:hover {
  transform: scale(1.01); 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease; 
}
#services{
  background-image: url('../../images/bkgnd/augustine-wong-li0iC0rjvvg-unsplash.jpg');
  padding-bottom: 5rem;
  /* background-size: cover; */
  background-position: center;
  background-repeat: no-repeat;
}
/* #service-exploit{
  background-image: url('../../images/photos/exploit.webp'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#service-negoce{
  background-image: url('../../images/photos/negoce.webp'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#service-bois{
  background-image: url('../../images/photos/bois.webp'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} */

/* gestion des pages liées aux services */
/* #id-service-exploitation{
  background-image: url('../../images/bkgnd/cernes-gris-clair.webp');
  padding-bottom: 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#id-negoce-bois{
  background-image: url('../../images/bkgnd/cernes-gris-clair.webp');
  padding-bottom: 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#id-section-bois-chauffage{
  background-image: url('../../images/bkgnd/cernes-gris-clair.webp');
  padding-bottom: 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} */

/* ********************* */
/* Actu*/
/* ********************* */
#actu{
  padding-bottom: 5rem;
}

/* ********************* */
/* GALERIE PHOTO*/
/* ********************* */
#galerie{
  padding-bottom: 5rem;
  
}
.col-image{
  /* width: 100%;  */
  padding-left: 0px;
  padding-right: 0;
  height: 12rem; /* Hauteur de la div (modifiable selon vos besoins) */
  overflow: hidden; /* Coupe les débordements de l'image */
  position: relative;
  /* height: 12rem; */
}

.col-image img {
  width: 100%; /* L'image s'étend sur toute la largeur */
  height: 100%; /* L'image s'étend sur toute la hauteur */
  object-fit: cover; /* Remplit la div de façon homogène */
  object-position: center; /* Centre l'image (facultatif) */
}
/* ********************* */
/* Contact homepage */
/* ********************* */
#contact{
  /* background-image: url('../../images/bkgnd/augustine-wong-li0iC0rjvvg-unsplash.jpg');
  padding-bottom: 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
  padding-bottom: 30px;
}
.contact-div{
  width: 80%;
}

.full-background-width{
  /* width: 85%; */
}
/* effet de survol */
.phone-link {
  display: inline-block; /* Nécessaire pour que transform fonctionne */
  transition: transform 0.3s ease; /* Ajout d'une transition fluide */
}

.phone-link:hover {
  transform: scale(1.2); /* Effet de zoom au survol */
}

/* ********************* */
/* Gestion des uc
/* ********************* */
#container_points_forts {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/wall-4-light.png");
  border-radius: 10px;
}
#container_nos_atouts {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/wall-4-light.png");
  border-radius: 10px;
}
.card_uc{
  background-color: rgba(255, 255, 255, 0.0);
}
.custom-list-uc li {
  list-style-type: none; /* Supprime le point */
  font-size: 0.8em;
  margin-left: -40px;
}

.li-uc{
  color: var(--bs-primary);
  font-size: 0.8em;
}

/* ********************* */
/* CONTACT */
/* ********************* */
#form-contact {
  font-size: 0.8rem;
  /* background-image: url('../../images/bkgnd/augustine-wong-li0iC0rjvvg-unsplash.jpg'); */
  background-position: 50px;
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
}

.btn-contact{
  width: 180px;
}

/* **********************/
/* FOOTER */
/* **********************/
#main-footer{
  font-size: 1rem;
  padding-bottom: 30px;
  background-image: 
    linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)),
    url('../../images/bkgnd/augustine-wong-li0iC0rjvvg-unsplash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#social{
  padding-top: 20px;
  padding-bottom: 20px;
}

#myFooterLogo{
 max-height: 100px;
}

@media (min-width: 768px) {
    .social {
        position: fixed;
        top: 50%;
        right: 30px; /* Ajuste l'espacement par rapport au bord droit */
        transform: translateY(-50%);
        display: flex;
        flex-direction: column; /* Empile les icônes verticalement */
        justify-content: center; 
        align-items: center;
    }
    .social a {
        margin-bottom: 10px; /* Ajoute un espace entre les icônes */
    }   
}

/* Scroll up button */

.scroll-top-wrapper {
  position: fixed;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	text-align: center;
	z-index: 99999999;
  background-color: #777777;
	color: #eeeeee;
	width: 50px;
	height: 50px;
	line-height: 48px;
	left: 30px;
	bottom: 30px;
	padding-top: 2px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.scroll-top-wrapper:hover {
	background-color: #888888;
}
.scroll-top-wrapper.show {
    visibility:visible;
    cursor:pointer;
	  opacity: 1.0;
}
.scroll-top-wrapper i.fa {
	line-height: inherit;
}


/* WAITING PROCESS */

.shadowing
{
  color: white;
  font-size: 14px;
  text-align: center;
  display:block;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: rgba(10,10,10,0.5);
  z-index:1000000;
}


.shadowing div {
  position: relative;
  background-color: #100 ;
  padding:20px;
  border: 1px solid rgba(86, 61, 124, 0.2);
  top: 50%;
  width:500px;
  margin-left: auto;
  margin-right: auto;
  z-index:1000001;
  -moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}

.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}