/* RESET */
:root {
--primary-color: #007bff; /* Bleu vibrant */
--secondary-color: #28a745; /* Vert pour l'accentuation */
--text-color: #343a40;
--background-light: #f8f9fa;
--background-dark: #343a40;
--shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
--transition-speed: 0.3s;
        }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}


/* HERO SLIDER */
.hero {
  position: relative;
  height: 60vh;
  overflow: hidden;

}

.slides img {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75));
  position: absolute;
  width: 100%;
  height: 60vh;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-text {
  position: absolute;
   top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(3, 3, 3, 0.5);
  padding: 20px 40px;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2rem;
}

.hero-text a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #00c6ff;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.hero-text a:hover {
  background: #009bd1;
}

/* SERVICES */
.service {
  padding: 0 30px;
  text-align: center;
}

.service h2 {
  font-size: 2rem;
  margin: 30px 0;
  border-bottom: 2px solid  #007bff;
   display: inline-block;
    width: fit-content;
    text-align: center;
  
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  gap: 25px;
}

.service-card {
  background: rgb(235, 231, 231);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(10, 6, 6, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #0a1a2f;
}

.service-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #0a1a2f;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  width: 40%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
        
/* RESPONSIVE */
@media(min-width: 1024px) {
  .hero-text h1 { font-size: 2rem; }
}

@media(max-width: 480px) {
  .hero-text h1 { font-size: 1.5rem; }
  .hero-text p { font-size: 0.9rem; }
  .service-card h3 { font-size: 1rem; }
  .service-card a { font-size: 0.8rem; padding: 6px 12px; }
}


/*  page contact */

.contact h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    
} 
.contact p {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
}
/* Section principale */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

/* Formulaire */
.contact-form {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
    margin-bottom: 20px;
    color:  #ff7200;
}

.contact-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background-color: #343a40;
    color: white;
    width: 100%;
    border: none;
    padding: 12px 20px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #0a1a2f;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  padding: 10px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.whatsapp-float img {
  width: 40px;
  height: 40px;
}

/* Coordonnées */
.contact-info {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-info h2 {
    margin-bottom: 15px;
    color:  #ff7200;
}

.map-container {
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

/*page liste des produit du boutique*/
.bann{
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url(image/depositphotos_57785635-stock-photo-office-equipment\ .jpg);
  background-size: cover;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bann .hero{
  color: #fff;
  background-color:  rgba(3, 3, 3, 0.5);;
  height: 25vh;
  text-align: center;
  width: 35%;
  padding-top: 2rem;
  border-radius: 8px;
}

.bann h1{
  padding-bottom: 0.5rem;
}

.bann p{
  font-size: 1.5rem;
}

.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 15px;
}



.banners .banner img {
  width: 95%;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* NOUVEAUTÉS  */
.nouveautes {
  padding: 20px;

}

.nouveautes h2 {
  font-size: 40px;
  margin-bottom: 15px;

}

/* TITRE NOUVEAUTÉS GRADIENT  */
.titre-nouveautes {
  font-weight: bold;
  text-align: center;

  /* Dégradé */
  background: linear-gradient(90deg, #007bff, #28a745, #e63946, #f4c430, #ff6600, #6f42c1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.product-card {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  max-width: 100%;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 14px;
  margin: 10px 0;
  color: #333;
}

/*  PRIX AVEC BARRE  */
.product-card .price {
  color: #e63946;
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 8px;
  position: relative;
  padding-top: 8px; /* espace pour la barre */
}

.product-card .price::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;         /* largeur de la barre */
  height: 2px;        /* épaisseur de la barre */
  background: #ddd;   /* couleur de la barre (gris clair par défaut) */
  border-radius: 2px;
}


.product-card .price {
  color: #e63946;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

/* BADGES (pastilles)  */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  color: #fff;
  width: 50%;
}

.badge.yellow { background: #f4c430; color: #222; }
.badge.blue { background: #007bff; }
.badge.red { background: #e63946; }
.badge.gray { background: #6c757d; }

/*  CATÉGORIES  */
.categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
}

.categories .cat {
  text-align: center;
}

.categories img {
  width: 100%;
  border-radius: 8px;
}

.categories p {
  margin-top: 6px;
  font-size: 34px;
  color: #444;
}

/* RESPONSIVE  */

/* Tablette (768px – 1023px) */
@media (max-width: 1024px) {
  .banners {
    grid-template-columns: repeat(2, 1fr);
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    height: 150px; /* Ajuste la hauteur selon ton besoin */
      border-radius: 10px;
      object-fit: cover;
  }

  .cat {
      display: grid;
      grid-template-columns: 1fr 1fr ; /* Toujours deux colonnes */
      gap: 10px;
      margin-bottom: 15px;
    }

    .cat img {
      display: block;
      width: 100%;
      height: 150px; /* Ajuste la hauteur selon ton besoin */
      border-radius: 10px;
      background-size: cover;
    }
   
    

}

/* Mobile (≤767px) */
@media (max-width: 768px) {
  .banners {
    grid-template-columns: 1fr 1fr;
  }
  .products {
    grid-template-columns:1fr 1fr;
  }
  .categories {
    grid-template-columns:1fr 1fr;
    width: 100%;
  }
 
    .cat {
      display: grid;
      grid-template-columns: 1fr 1fr; /* Toujours deux colonnes */
      gap: 10px;
      margin-bottom: 15px;
    }

    .cat img {
      display: block;
      width: 200%;
      height: 150px; /* Ajuste la hauteur selon ton besoin */
      border-radius: 10px;
      background-size: cover;
    }
.bann h1{
  font-size: 1rem;}

.bann p{
  font-size: 1rem;}

.bann .hero{
  width: 60%;
  padding-top: 3rem;
}

  
}

@media(max-width: 480px) {
      .cat {
      display: grid;
      grid-template-columns: 1fr 1fr; /* Toujours deux colonnes */
      gap: 10px;
      margin-bottom: 15px;
    }

    .cat img {
      display: block;
      width: 200%;
      height: 150px; /* Ajuste la hauteur selon ton besoin */
      border-radius: 10px;
      background-size: cover;
    }
.bann h1{
  font-size: 1rem;}

.bann p{
  font-size: 1rem;}

.bann .hero{
  width: 60%;
  padding-top: 3rem;
}
}

 @keyframes fadeIn{
    
    from{
        opacity: 0; /*totalement transparent*/
        transform: translateY(20px); /*decalé verticalement vers le bas*/
    }
    to{
        opacity: 1; /*totalement visible*/
        transform: translateY(0); /*sa position initiale*/
    }
}


