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


/* For Chrome, Edge, and Safari */
::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: black; /* Color of the scrollbar thumb */
}

::-webkit-scrollbar-track {
  background-color: white; /* Color of the scrollbar track */
}

/* Lists and Links */
li { text-decoration: none; list-style: none;}
a {text-decoration: none;}

body, html {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background-color 1s, color 1s;
}

.page-link {
    width: auto;
}
/* Fading out animation */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
/* Fading in animation */
.fade-in {
  opacity: 0;
}
  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000; /* You can customize the background color */
    z-index: 9999;
  }

.preloader img {
    width: 20%;
}
 .preloader-negatif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; /* You can customize the background color */
    z-index: 9999;
  }

#c1-negatif { opacity: 0;
    transform: translateY(200%);
}
#c1 {    opacity: 0;
    transform: translateY(200%);
    animation: dropFromTop 1s ease-out forwards;
    mix-blend-mode: difference;
}
#c3-negatif {}
  #c3 {
    opacity: 0;
    transform: translateY(-100%);
    animation: dropFromTop 1s ease-out forwards;
    mix-blend-mode: difference;
  }

  #c2 {
    opacity: 0;
    animation: fadeIn 1s 2s ease-out forwards, stayVisible 1s 2s forwards;
    mix-blend-mode: difference;
  }
  @keyframes dropFromBottom {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes dropFromTop {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0.5; /* Keep it invisible for the first half of the animation */
  }
  to {
    opacity: 0;
  }
}
  @keyframes fadeIn {
  from {
    opacity: 0;
  }
  50% {
    opacity: 0.5; /* Keep it invisible for the first half of the animation */
  }
  to {
    opacity: 1;
  }
}

  @keyframes stayVisible {
    from {
      opacity: 1;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes dropFromBottom {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


button {
  background: none;
  border: none;
  width: auto;
  height: auto;
}

.header {
  width: 100%;
  height: 64px;
  background: #fff;
  justify-content: center;
  position: fixed;
  padding: 10px;
  z-index: 4000;
  transition: transform 0.5s ease-out;
}

.header.header-up {
  transform: translateY(-100%);
}


#landing-page {
  animation: slideIn 1s ease-out;
  overflow: hidden;
}


.cpc-title {
  padding-top: 100px;
  color: #000;
  font-size: 106px;
  font-style: normal;
  font-weight: 600;
  line-height: 108px;
  max-width: 975px;
  opacity: 1;
  transform: translateX(0);
  position: fixed;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}


.cpc-reel-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 400vw;
  margin-top: 10vh;
  overflow: hidden;
  z-index: 100;
  white-space: nowrap;
  transition: transform 0.5s ease-out; /* Add a smooth transition effect */
  transform: translateX(200%);
      z-index: 8;
}


#cpc-reel {
  display: flex;
    z-index: 8;

}

#cpc-reel img {
  flex-shrink: 0;
  width: 100%;
  height: auto;
}


.cpc-company-intro {
      width: 100%;
  height: 100vh;
  max-width: 603px;
  margin-top: 50px;
  margin-bottom: 25px;
    z-index: 999;
}
.cpc-company-intro-text {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  max-width: 603px;
  text-align: left;
  margin-top: 25px;
}

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

.more a:hover {
  background: #000;
  color: #fff;
  transition: color 0.5s ease; /* Corrected syntax */
}



#our-services {
  height: 100vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  position: relative;
  overflow: hidden;
}

#our-services h2 {
  padding-top: 100px;
  color: #000;
  font-size: 106px;
  font-style: normal;
  font-weight: 600;
  line-height: 108px;
  max-width: 975px;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  z-index: 999;
}

#our-services h2.in-view {
  opacity: 1;
  transform: translateX(0);
}



/* Add this to apply animations when the 'animating' class is present */
#landing-page.animating,
header.animating,
{
  opacity: 1;
}

.cpc-reel-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh; /* Adjust as needed */
  width: 100%;
  overflow: hidden;
  z-index: 100;
  white-space: nowrap;
    
}
@keyframes slideIn {
  from {
    transform: translateY(-100vh);
  }
  to {
    transform: translateY(0);
  }
}
#logo {position: relative; display: flex; padding:0;}

#logo img {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

#profil {
  height: 100vh;
  width: 100%;
  background: #fff;
  position: relative;
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
  overflow-x: hidden;
}



.cpc-title.hidden {
  opacity: 0;
  transform: translateX(100vw); /* Adjust the value based on your design */
}

.scroll-down {
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.scroll-down.hidden {
  opacity: 0;
}



.parallax-horizontal {
  overflow: hidden;
}

.cpc-company-intro {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.cpc-services {
    top: 30px;
    position: relative;
    margin: 0;
}


.cpc-company-intro-text {
    z-index: 2;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    max-width: 603px;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 20vh;
}

.cpc-services-text {
    z-index: 2;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    max-width: 603px;
    text-align: left;
    margin-bottom: 20vh;
}

.cpc-company-intro-text {
  transition: opacity 0.5s ease-in-out;
}

.cpc-company-intro-text.hidden {
  opacity: 0;
}

#section-lighting {
         height: 100vh;
    background-image: url('../images/homepage/luminaires.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;   
}

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

#section-signage {
    height: 100vh;
    background-image: url('../images/homepage/signages.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff; 
}
#section-cabinets {
     height: 100vh;
    background-image: url('../images/homepage/cabinets.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff; /* Text color on the image section, adjust as needed */     
    z-index: 99999;
}

#section-lighting,
#section-interior,
#section-signage,
#section-cabinets {
  will-change: transform; /* Add this line */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}

#cpc-company-intro {
  position: relative;
  overflow: hidden;
  height: 100vh;
}



.cpc-service-headline {
    color: #FFF;
    font-size: 106px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px; /* Adjust the margin as needed */
}
.sections-infos {
  position: relative;
  top: 100%; /* Change to 100% to keep it at the bottom */
  padding: 50px;
  bottom: 0;
  height: auto;
  transform-origin: center bottom;
  transition: transform 0.5s ease-out;
  opacity: 1;
}

.service-section {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}


.service-section.visible {
  opacity: 1;
}


.more-negative 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 */
}

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

.footer {
    height: 268px;
    width: 100%;
    position: relative;
}

.footer-container {
  align-content: flex-start;
  padding-top: 90px;
}

.footer-logo {
   margin-left: 0px;
}

.footer-infos {
    display: block;
    position: relative;
}

.footer-infos h3 {
    color: #000;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: normal;
margin-bottom: 24px;
    text-transform: uppercase;
}

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

.footer a {
  color: #000; /* Set the default text color */
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease-in-out; /* Transition effect on color */
}

.footer a:hover {
  color: #000; /* Change the text color on hover */
}

.footer a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px; /* Adjust the underline height as needed */
  bottom: 0;
  left: 0;
  background-color: #000; /* Set the underline color */
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out; /* Transition effect on underline */
}

.footer a:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

 @media only screen 
    and (device-width: 390px) 
    and (device-height: 844px) 
    and (-webkit-device-pixel-ratio: 3) {
body {overflow-x: hidden;}   
profil { height: 100vh; overflow:}
.scroll-down  {height: 50px; position: fixed; }
    #our-services {display: block; position: relative; height: auto; margin: auto;}
.cpc-service-headline,    
#our-services h2,    
.cpc-title { font-size: 2rem; line-height: 2.5rem; height: 30vh;}
#cpc-company-intro {height: 50vh; margin-bottom: 0;}
#our-services {height: 100vh; align-content: center;}
#section-lighting,
#section-interior,
#section-signage,
#section-cabinets {height: 50vh; overflow:  will-change: transform; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
    justify-content: flex-start;}
.footer {height: 100vh; overflow-x: hidden;}
    .footer h3 {padding-top: 20px;}
.cpc-service-headline {height: auto; margin-top: auto; margin-bottom: auto;}
.more-negative {margin-top: auto; margin-bottom: auto;}		
}


@media only screen and (max-width: 576px) {
body {overflow-x: hidden;}   

#profil { height: 100vh; overflow:}
.scroll-down  {height: 50px; position: fixed; }
our-services {display: block; position: relative; height: auto; margin: auto;}
#our-services h2,    
.cpc-title { font-size: 3rem; line-height: 3.5rem; height: 30vh;}
#cpc-company-intro {height: 50vh; margin-bottom: 0;}
#our-services {height: 100vh; align-content: center;}
#section-lighting,
#section-interior,
#section-signage,
#section-cabinets {height: 50vh; overflow:  will-change: transform; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
    justify-content: flex-start;}
.footer {height: 100vh; overflow-x: hidden;}
    .footer h3 {padding-top: 20px;}
.cpc-service-headline {height: auto; margin-top: auto; margin-bottom: auto;}
.more-negative {margin-top: auto; margin-bottom: auto;}	


#cpc-reel {
  display: inline;
    z-index: 8;

}

#cpc-reel img {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  margin-bottom: 0px;
}
}


@media only screen and (max-width: 768px) {
body {overflow-x: hidden;}   
#cpc-reel img {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  margin-bottom: 0px;
}
#profil { height: 100vh; overflow:}
.scroll-down  {height: 50px; position: fixed; }
    #our-services {display: block; position: relative; height: auto; margin: auto;}
.cpc-service-headline,    
#our-services h2,    
.cpc-title { font-size: 3rem; line-height: 3.5rem; height: 30vh;}
#cpc-company-intro {height: 50vh; margin-bottom: 0;}
#our-services {height: 100vh; align-content: center;}
#section-lighting,
#section-interior,
#section-signage,
#section-cabinets {height: 50vh; overflow:  will-change: transform; /* Add this line */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
    justify-content: flex-start;}
.footer {height: 100vh; overflow-x: hidden;}
    .footer h3 {padding-top: 20px;}
.cpc-service-headline {height: auto; margin-top: auto; margin-bottom: auto;}
.more-negative {margin-top: auto; margin-bottom: auto;}
}


@media only screen and (max-width: 992px) {
#logo img {width: 80px; height: auto;}
    .footer {height: 100vh; overflow-x: hidden;}
.social-media i {width: 0.rem; padding-right: 1rem; height: auto; }
}

@media only screen and (min-width: 1200px) {
  .scroll-down  {position: fixed; }

}

