@import url('../stylesheets/navigation.css');
@import url('../stylesheets/styles.css');



#full-height-section {
  height: 100vh;
  overflow: hidden;
  will-change: transform;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}

.scroll-down-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-down-button span {
  font-size: 14px;
  margin-bottom: 5px;
  color: #000; /* Adjust color as needed */
}

.arrow {
  width: 20px;
  height: 20px;
  border: solid #000; /* Adjust color as needed */
  border-width: 0 2px 2px 0;
  display: inline-block;
  transform: rotate(45deg);
}

.parallax-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.parallax-container img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

#full-height-section h1 {
  color: #FFF;
  font-size: 106px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  top: 50%;
  bottom: 0; /* Adjust the margin as needed */
  position: relative;
}

#service-intro-text {
      z-index: 2;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    max-width: 603px;
    text-align: left;
    margin-top: 20vh;
    padding-left: 10px;
}

.parallax-text {
  position: relative;
  overflow: hidden;
  color: #000; /* Adjust text color as needed */
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  max-width: 603px;
  text-align: left;
  margin-top: 25px;
    transform: translateY(0px);
  transition: opacity 0.6s, transform 0.6s;
}

.parallax-text.active {
  opacity: 1;
  transform: translateY(20px);
}


#details-cpc-section {
  position: relative;
  height: 100vh; /* Adjust height based on your design */
  overflow: hidden;
  padding: 10px;
  left: 0;
}
  
#details-cpc-section h2 {
        position: fixed;
  font-weight: 600;
  font-size: 106px;
  line-height: 106px;
  opacity: 0;
      top: 30vh;
    transform: translateX(-100%); /* Initial position outside left */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in {
  opacity: 1;
  transform: translateX(0%); /* Initial position outside left */
}


#details-cpc-text {
  opacity: 0;
  transform: translateY(20px); /* Initial position for fade-in effect */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#details-cpc-section h2.fixed {
      position: fixed;
      top: 30vh;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 10px;
      font-weight: 600;
      font-size: 106px; /* Adjust the font size as needed */
      line-height: 106px; /* Adjust the line height as needed */
      opacity: 0;
      transition: opacity 0.5s ease, transform 0.5s ease;
      mix-blend-mode: multiply;
      z-index: 9999;
    }


#details-cpc-images {
  padding-top: 106px; 
      mix-blend-mode: multiply;

}

#details-cpc-images img {
  max-width: 800px;
  height: auto;
  display: block;
  margin-bottom: 60px; /* Adjust margin as needed */
  z-index: 888;
}

#details-cpc-text {
  height: 90vh;
    position: relative;
  overflow: hidden;
  color: #000; /* Adjust text color as needed */
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  max-width: 603px;
  text-align: left;
  margin-top: 25px;
    transform: translateY(0px);
  transition: opacity 0.6s, transform 0.6s;
}

.details-cpc-text.active {
  opacity: 1;
  transform: translateY(20px);
}
#atelier-slider {
     height: 100vh;
    background-image: url('../images/services/atelier-slider.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;      
}


#soumission-interieur {
      height: 100vh;
    background-image: url('../images/services/cpc-interior-soumission.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;   
}


#soumission-luminaires {
      height: 100vh;
    background-image: url('../images/services/cpc-lighting-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;   
}
#soumission-cabinets {
    height: 100vh;
    background-image: url('../images/services/cpc-soumission-cabinets.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;   
}

.soumission a {
  display: flex;
  margin-top: 20px;
  width: 151px;
  height: 39px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  transition: color 0.5s ease; /* Transition effect on color */
}

.soumission a:hover {
  background: #fff;
  color: #000;
  transition: color 0.5s ease; /* Transition effect on color */
}

#philosophy {
    margin-top: 0vh;
}
#philosophy,
#about-us {
    
    display: flex;
    height: 80vh; 
    align-content: center;
    position: relative;
}

.about-us-text {
    max-width: 576px;
    color: #000;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
}



#services-list-container {
  height: auto;
  display: flex;
  position: relative;
}

.services-list {
  position: relative;
  color: #000;
  font-size: 106px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  transition: opacity 0.5s;
}

.services-list:hover {
    opacity: 0.5;
    transition: opacity 0.5s;
}
.services-list::after {
  position: relative;
  color: #000;
  font-size: 106px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.3s;
}


.service-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  color: #999;
}

.services-list.active {
  background-color: #fff; /* Change the background color when active */
}

.accordion-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #000; /* Icon color */
  margin-right: 10px;
  transition: transform 0.3s;
  display: inline-flex;
  margin-bottom: 20px;
}


.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 10px;
  padding-left: 60px;
    transition: max-height 0.3s;
}

.services-list.active .accordion-content {
  max-height: 1000px; /* Adjust to a suitable value for max height */
}

.accordion-item {
  font-size: 24px;
  font-weight: 600;
  border-bottom: 1px solid #000;
  padding: 8px 0;
   transition: max-height 0.3s;
}

.services-list.active .accordion-icon {
  transform: rotate(90deg); /* Rotate the icon when active */
}

#cpc-team {
    display: flex;
    position: relative;
    margin-top: 30%;
    margin-bottom: 100px;
    
}

.team {
 display: block; 
 margin-bottom: 120px;
 align-content: center;
}

.team img {
    max-width: 576px;
}

.team h4 {
    color: #000;
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-top: 15px;
margin-bottom: 15px;
}



.team p {
    color: #000;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

#contact {
  height: auto;
  background: #C86969;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}

.infos {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-bottom: 20px; /* Add margin between rows */
}

.about-us-text {
  color: #000; /* Adjust text color */
  font-size: 16px;
  font-weight: 500;
}

.contact-infos a {
      color: #000;
}

.contact-infos {
  height: auto;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px #000 solid;
}

/* Center "about-us-text" within each row */
.about-us-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}



@media only screen and (max-width: 768px) {
  #full-height-section {
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  .parallax-container {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .parallax-container img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }

#full-height-section h1 {
    color: #FFF;
    font-size: 3rem;
    line-height: 3.5rem;
    padding: 10px;
    text-align: left;
    position: absolute;
    bottom: 10%;
    height: 4.2rem;
  }
#details-cpc-section h2 {
  font-weight: 600;
  font-size: 3rem;
  line-height: 3.5rem;
  opacity: 0;
} 
    
#details-cpc-section h2.fixed {
      position: fixed;
      top: 50vh;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 10px;
      font-weight: 600;
      font-size: 3rem; /* Adjust the font size as needed */
      line-height: 3.5rem; /* Adjust the line height as needed */
      opacity: 0;
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
.about-us-text {
    display: block;
    max-width: 576px;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
    
.services-list {
  position: relative;
  color: #000;
  font-size: 36px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  transition: opacity 0.5s;
}
.accordion-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #000; /* Icon color */
  margin-right: 10px;
  transition: transform 0.3s;
  display: inline-flex;
  margin-bottom: 0;
}
    
#cpc-team {
    display: flex;
    position: relative;
    margin-top: 30%;
    margin-bottom: 100px;
}
    
.team img {
    width: 100%;
}
    
.contact-infos {
  height: auto;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px #000 solid;
}
   

}

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

   .about-us-text {
    display: block;
    max-width: 576px;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 90px;
} 
 #cpc-team {
    display: inline-block;
    position: relative;
    margin-top: 30%;
    margin-bottom: 100px;
}   
 .team img {
}  

 

}