/* Global Styles */

@font-face {
    font-family: "poppins";
    src: url("assets/Poppins-Light.ttf") format("truetype");
    
  }
@font-face {
    font-family: "poppinsBold";
    src: url("assets/Poppins-Bold.ttf") format("truetype");
    
}

/*body {
	font-family:'Courier New', Courier, monospace ,sans-serif;
}*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'poppins',sans-serif;
    
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 1%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

header nav h1 {
    font-size: 4.5rem;
    color:#d3d7f2;
    text-shadow:rgb(46, 138, 195) 1px 0 10px;;
    
    margin-left: 3rem;
    
    
}
header nav {
    display: flex;
    gap: 0px;
}
header nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 99px;
    transition: 0.3s;
    color: white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

header nav a:hover {
    text-shadow: rgb(28, 17, 190) 1px 0 20px;
    color: red;
    /*background: #2bcfcc;*/
}
header nav:hover > a:not(:hover) {
    background: none;
}
nav a {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.hero {
    background-color: #f4f4f4;
    padding: 2rem;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta {
    background-color: #2bcfcc;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.2rem;
}

section {
    padding: 2rem 0;
    text-align: center;
}

#services, #produits {
    background-color: #f9f9f9;

}

.home {
    display: flex;
    height: 100dvh;
    background: linear-gradient(to top, #D2E2FB 30%, #86A8DB);
    position: relative;
    overflow: hidden;
}

.home img {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}

.home .title {
    
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 5em;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    
    
}
.title{
    font-family: 'poppinsBold',sans-serif;
    
    
}

.services-container, .produits-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item, .produit-item {
    width: 30%;
    background-color: white;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid #ddd;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    
}

.service-item h3, .produit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;

}

.produit-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.contact{
    background: linear-gradient(to top, #86A8DB 30%, #f9f9f9);
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
}

form input, form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #3582f6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    width: 100%;
}
form button:hover{
    
        background: #2bcfcc;
    
}

footer {
    background-color: #a0a0a0;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services-container, .produits-container {
        flex-direction: column;
        align-items: center;
    }

    .service-item, .produit-item {
        width: 80%;
    }

    .hero h2 {
        font-size: 2rem;
    }

    nav a {
        flex-direction: column;
    }
    header nav h1 {
        font-size: 2rem;
        
        margin-left: 10rem;
        
    }

}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .cta {
        font-size: 1rem;
    }

    .service-item, .produit-item {
        width: 100%;
    }
    header nav h1 {
        font-size: 1.5rem;
        
        margin-left: -14rem;
        margin-bottom: 4rem;
        
        
    }
}



/*------------button------------------------------------------*/
.button{
    
    font-weight: bold;
    border: 0;
    line-height: 2.5;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgba(220, 0, 0, 1);
    background-image: linear-gradient(
      to top left,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 30%,
      rgba(0, 0, 0, 0)
    );
    box-shadow:
      inset 2px 2px 3px rgba(255, 255, 255, 0.6),
      inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  }
  
  .button:hover {
    background-color: rgba(255, 0, 0, 1);
  }
  
  .button:active {
    box-shadow:
      inset -2px -2px 3px rgba(255, 255, 255, 0.6),
      inset 2px 2px 3px rgba(0, 0, 0, 0.6);
  }
/*-----------------------------------------------------------*/  