
@import url(http://fonts.googleapis.com/css?family=Lato:300|Playfair+Display:900);

body {
  margin: 0;
  width: 100%;
  font-weight: 400;
  font-style: normal;
 }

 /* Navigation */
nav {
  background-color: white;
  color: red;
  display: flex;
  width: 100%;
  height: 10vh;
  justify-content: space-around;
  align-items: center;
  font-size: 1rem;
  position: fixed;
  z-index: 10;
}

nav .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%
}

nav .logo svg {
  width: 50px;
  height: 50px;
  margin: 1rem 1rem 1rem 0.5rem;
}

nav .logo p {
  font-size: clamp(1rem, 0.8vw + 0.5rem, 2rem);
  ;
}

nav ul {
  color: black;
  width: 50%;
  margin-left: auto;
  display: flex;
  justify-content: space-around;
  align-self: center;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: red;
}

nav ul li a:hover {
  /* color: var(--primary-bg-color); */
  color: red;
}

nav .hamburger {
  cursor: pointer;
  display: none;
}

nav .hamburger .line {
  background-color: red;
  width: 30px;
  height: 4px;
  margin: 5px;
}

nav .mode {
  background: transparent;
  border: none;
  display: block;
  margin: auto 0.5rem;
  cursor: pointer;
}

nav .mode svg {
  color: red;
}

nav ul.open {
  clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
}

.fil{
  display: flex;
  height: 55vh;
  animation-duration: 20s;
  animation-name: test1;
  animation-iteration-count: infinite;
}

.btn1 {
  font-size: 1em;
  color: #fff;
  background: red;
  padding: 5px 5px;
  font-display: inline-block;
  margin-top: 50px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  transition: 0.5s;
  margin-left: 10px;
  margin-left: 40%;
  align-items: center;
  text-align: center;
}

#defiler{
  width: 400px;
  overflow: hidden;
  border: 2px solid red;
}
@keyframes  test1 {
   
      0%{
          transform: translateX(0);
      }
      15%{
          transform: translateX(0);
  
      }
      30%{
          transform: translateX(-400px);
      }
      45%{
          transform: translateX(-800px);
      }
  
      60%{
          transform: translateX(-1200px);
      }
  
      80%{
          transform: translateX(-1900px);
  
      }
      100%{
          transform: translateX(0);

      }
      
  
  }

.ani{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  
  
}


h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dd, small {
  margin: 0;
  padding: 0; }


h1 {
  font-size: 2.75em;
  color: rgba(255, 255, 255, 0.8);
  font-family: "playfair display", georgia, times, serif;
  font-weight: 700;
  text-rendering: optimizeLegibility;
  line-height: 1.2; }
  


p {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300; 
  
}

footer p{
  font-size: 15px;

}

a {
  color: red;
  -webkit-transition: color 0.7s ease;
  -moz-transition: color 0.7s ease;
  transition: color 0.7s ease; }

  a {
    background-color: transparent;
    outline: 0;
    text-decoration: none; }
  


.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.search-item {
  display: flex;
  flex-direction: column;
  margin: 10px;
}

.search-item label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.search-item select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 160px;
}

.search-btn {
  background: red;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  margin: 10px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-btn:hover {
  background: red;
}

.search-btn i {
  font-size: 18px;
}



.sect-banner {
  display: table;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  height: 100vh;
  color: rgba(255, 255, 255, 0.9);
  }
  .sect-banner h1{
    color: red;
  }
  .sect-banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(118, 144, 164, 0.4);
    z-index: 0; }
  .sect-banner .v-center {
    position: relative;
    z-index: 2; }
    
  .sect-banner .v-center {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 4;
    padding: 0 5%; }
    .sect-banner .v-center h1 {
      -webkit-animation: fade-in ease-in-out 2s 0.5s both;
      -moz-animation: fade-in ease-in-out 2s 0.5s both;
      animation: fade-in ease-in-out 2s 0.5s both; }
    .sect-banner .v-center p {
      font-size: 120%;
      -webkit-animation: fade-in ease-in-out 2s 1s both;
      -moz-animation: fade-in ease-in-out 2s 1s both;
      animation: fade-in ease-in-out 2s 1s both; }
  .sect-banner ul.kf-slider li {
    height: 100% !important;
    width: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 0;
    opacity: 0;
    -webkit-animation: fade-out 9s infinite both;
    -moz-animation: fade-out 9s infinite both;
    animation: fade-out 9s infinite both;
    background-image: url(../images/slide1.jpg); }
    @media (min-width: 58em) {
      .sect-banner ul.kf-slider li {
        background-image: url(../images/slide1.jpg); } }
  .sect-banner ul.kf-slider li:nth-child(2) {
    background-image: url(../images/property5.jpg);
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
    animation-delay: 3s; }
    @media (min-width: 58em) {
      .sect-banner ul.kf-slider li:nth-child(2) {
        background-image: url(../images/property5.jpg); } }
  .sect-banner ul.kf-slider li:nth-child(3) {
    background-image: url(../images/portfolio7.jpg);
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    animation-delay: 6s; }
    @media (min-width: 58em) {
      .sect-banner ul.kf-slider li:nth-child(3) {
        background-image: url(../images/portfolio7.jpg); } }
  .sect-banner .banner-bg {
    height: 100% !important;
    width: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 0;
    background-image: url(../images/slide1.jpg);
    -webkit-animation: slider-sm ease-in-out 30s both infinite;
    -moz-animation: slider-sm ease-in-out 30s both infinite;
    animation: slider-sm ease-in-out 30s both infinite; }
    @media (min-width: 58em) {
      .sect-banner .banner-bg {
        background-image: url(../images/slide1.jpg);
        -webkit-animation: slider-lg ease-in-out 30s both infinite;
        -moz-animation: slider-lg ease-in-out 30s both infinite;
        animation: slider-lg ease-in-out 30s both infinite; } }

        @media(max-width:400px){

        }


footer {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  position: fixed;
  z-index: 8;
  bottom: 1em; }

  

@-webkit-keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
@-moz-keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
@keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/*----------------------------------------------   
--Fade out for slider
-----------------------------------------------  */
@-webkit-keyframes fade-out {
  33% {
    opacity: 1; }
  66% {
    opacity: 0; } }
@-moz-keyframes fade-out {
  33% {
    opacity: 1; }
  66% {
    opacity: 0; } }
@keyframes fade-out {
  33% {
    opacity: 1; }
  66% {
    opacity: 0; } }
/*----------------------------------------------   
--Keyframes Slider - Sm
-----------------------------------------------  */
@-webkit-keyframes slider-sm {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@-moz-keyframes slider-sm {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@keyframes slider-sm {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
/*----------------------------------------------   
--Keyframes Slider - Lg
-----------------------------------------------  */
@-webkit-keyframes slider-lg {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@-moz-keyframes slider-lg {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@keyframes slider-lg {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }

    @media(max-width:550px){

      .sect-banner ul.kf-slider li{
        background-size: 540px 700px
       }
      }
      


    @media(max-width:500px){

      .sect-banner ul.kf-slider li{
        background-size: 500px 700px
       }
      }
      

    @media(max-width:440px){

      .sect-banner ul.kf-slider li{
        background-size: 440px 700px
       }
      }

      @media(max-width:430px){

        .sect-banner ul.kf-slider li{
          background-size: 430px 700px
         }
        }
        
      
      @media(max-width:400px){

        .sect-banner ul.kf-slider li{
          background-size: 400px 700px
         }
         .sect-banner h1{
          font-size: 2em;
         }
        }
        
        @media(max-width:330px){

          .sect-banner ul.kf-slider li{
            background-size: 330px 700px
           }
           
          }

          @media(max-width:300px){

            .sect-banner ul.kf-slider li{
              background-size: 300px 700px
             }
            }
            
          

    
.logo{
  width:70px;
  height:8vh;
}






/* Info links */

.infolink {
  background-color: var(--primary-bg-color);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 4rem 2rem;
}

/* Company info */
.infolink .intro .logo {
  color: red;
  display: flex;
  align-items: center;
}

.infolink .intro .logo .logotext {
  margin: 1rem;
}

.logotext h1 {
  font-size: 25px;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: red;
}

.logotext p {
  font-size: 3;
  text-transform: uppercase;
  color: var(--dark-bg-color);
}



.intro .social img {
  width: 20px;
  height: 20px;

}


/* Links */
.infolink .links {
  display: flex;
  justify-content: space-between;
}

.links ul h3 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.links ul li {
  list-style: none;
  margin: 2rem 0;
}

.links ul li a {
  text-decoration: none;
  color: red;
  font-size: 0.9rem;
}

.links ul li a:hover {
  color: red;
}

/* Contact summary */
.contactSummary h3 {
  margin-bottom: 2rem;
}

.contactSummary .contact-info .icon-container {
  margin: 2rem 0;
}

.contactSummary .contact-info .icon-container p{
  font-size: 0.9rem;
}

.contactSummary .contact-info .icon-container svg {
  margin-right: 2rem;
}

/* Footer */
footer {
  background-color: var(--secondary-bg-color);
  padding: 1.7rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.motto {
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 2.5rem 0;
}




@media (max-width: 768px) {


  .infolink {
    grid-template-columns: 1fr;
  }

 


    nav{
      height: 12vh;
      position: fixed;
    }
    nav ul {
      position: absolute;
      top: 0;
      background-color: rgba(0, 0, 0, 0.7);
      flex-direction: column;
      align-items: center;
      width: 100%;
      height: 30vh;
      clip-path: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
      transition: all 1s ease-out;
    }
  
    nav .hamburger {
      display: block;
      z-index: 200;
      /* position: absolute;
      top: 50%;
      right: 5%;
      transform: translate(-5%, -50%); */
      cursor: pointer;
    }




}


/* Section de la newsletter */
.mailapi {
  background-color: #f9f9f9; /* Fond clair */
  padding: 40px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mailapi .form {
  max-width: 600px;
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.mailapi h1 {
  font-size: 1.8rem;
  color: red;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.mailapi form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mailapi input,
.mailapi textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
}

.mailapi input:focus,
.mailapi textarea:focus {
  border-color: #007BFF;
}

.mailapi button {
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mailapi button:hover {
  background-color: #ff0000;
}

/* Icônes de contact */
.mailapi a img {
  margin: 10px;
  transition: transform 0.3s ease;
}

.mailapi a img:hover {
  transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .mailapi {
      padding: 20px 10px;
  }

  .mailapi h1 {
      font-size: 1.5rem;
  }

  .mailapi input,
  .mailapi textarea {
      font-size: 0.9rem;
  }

  .mailapi button {
      font-size: 0.9rem;
      padding: 8px 12px;
  }

  .mailapi a img {
      width: 40px; /* Réduit la taille des icônes sur les petits écrans */
  }
}

@media (max-width: 480px) {
  .mailapi h1 {
      font-size: 1.2rem;
  }

  .mailapi form {
      gap: 10px;
  }
}



@media (max-width: 500px) {
 

  .btn1 {
    margin-left: 10%;
  }

  .infolink .intro .logo svg {
    width: 70px;
    height: 70px;
  }

  .infolink .links {
    min-width: 140px;
    flex-wrap: wrap;
  }

  nav .logo svg {
    width: 50px;
    height: 50px;
    margin: 1rem 1rem 1rem 0rem;
    

  }

  @keyframes  test1 {
   
    0%{
        transform: translateX(0);
    }
    15%{
        transform: translateX(0);

    }
    30%{
        transform: translateX(-300px);
    }
    45%{
        transform: translateX(-600px);
    }

    60%{
        transform: translateX(-900px);
    }

    80%{
        transform: translateX(-1200px);

    }
    100%{
        transform: translateX(0);

    }
    


}


}




.darkmode {
  --primary-bg-color: #000;
  --dark-bg-color: #fff;
  --secondary-color: red;
  --secondary-bg-color: #0c0c0c;
  --tertiary-bg-color: #000a16;
  --primary-btn-color: red;
  --offwhite: #fff;
  --glasseffect: rgba(15, 15, 15, 0.8);
  color: #000 ;
  color: #fff;
  color: red;
}



.produit .contenu .box .text{
  text-align: center;
  font-weight: 300px;
  color: #fff;
  text-transform: uppercase;
}

.produit .contenu .box .text h3{
  font-weight: 300;
}


span{
  color: red;
     
 }
 
 /*partie produit*/
 
 .titre{
     display: flex;
     width: 100%;
     justify-content: center;
     align-items: center;
     flex-direction: column;
 
 }
 
 .produit .contenu{
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     margin-top: 40px;
     background-color: red;
     background-size: cover;
 }
 
 .produit .contenu .box{
     width: 300px;
     margin: 10px;
     border: 20px solid #fff; 
     box-shadow: 20px 25px 10px rgba(0, 0, 0, 0.8);
 }
 
 .produit .contenu .box .imbox{
     position: relative;
     width: 100%;
     height: 300px;
 }
 
 .produit .contenu .box .imbox img{
     position: relative;
     top: 0;
     left: 0;
     width: 100%;
     height: 300px;
     object-fit: cover;
 }
 
 .produit .contenu .dr{
     color: white;
     text-align: center;
 }
