/* style.css */
/* =======================
 BASE ET TYPOGRAPHIE
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Montserrat', sans-serif;
    background: #f8f9fa;
    color: #222;
    line-height: 1.6;
  }
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 40px 0 20px;
    color: #022c54;
  }
  
  /* =======================
   NAVBAR
  ======================== */
  .navbar {
    background: #022c54;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fbb034;
  }
  .nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  .nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
  }
  .nav-links a:hover {
    color: #fbb034;
  }
  .hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
  }
  
  /* =======================
   HERO SECTION
  ======================== */
  .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('cover.jfif') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    position: relative;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 25px;
    border-radius: 10px;
    overflow: visible;
  }
  .hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  }
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
  }
  .hero-content .rccm {
    color: #fbb034;
    font-weight: bold;
    margin: 10px 0;
  }
  .btn-primary {
    background: #fbb034;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    transition: background 0.3s;
  }
  .btn-primary:hover {
    background: #e09d1f;
  }
  
  
  .services {
    background: #fff;
    padding: 60px 20px;
  }
  .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
  }
  .service-card {
    background: #022c54;
    color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s;
  }
  .service-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fbb034;
  }
  
  
  /* CATALOGUE */
  .catalogue{padding:60px 20px;background:#fff}
  .catalogue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;max-width:1000px;margin:auto}
  .catalogue-item{text-align:center}
  .catalogue-item img{width:100%;   aspect-ratio: 4 / 3;   /* largeur / hauteur */;height:150px;object-fit:cover;border-radius:10px;transition:transform .3s}
  .catalogue-item img:hover{transform:scale(1.05)}
  .catalogue-item h4{margin-top:10px;font-size:1.1rem;color:#022c54}
  
  /* =======================
   PORTFOLIO / GALERIE
  ======================== */
  .portfolio {
    padding: 60px 20px;
    background: #f1f5f9;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
  }
  .gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
  }
  .gallery img:hover {
    transform: scale(1.05);
  }
  
  /* =======================
   SECTION QUI SOMMES-NOUS
  ======================== */
  .about {
    position: relative;
    background: url('cov.jfif') no-repeat center center/cover;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  .about-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
  }
  
  /* TESTIMONIALS */
  .testimonials{padding:60px 20px;background:#f8f9fa}
  .testimonials-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;max-width:1000px;margin:auto}
  .testimonial-card{background:#fff;padding:20px;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.1);text-align:center}
  .testimonial-card p{font-style:italic;margin-bottom:10px}.stars{color:#fbb034;margin-bottom:10px}
  .testimonial-card h4{font-weight:700;color:#022c54}
  
  
  /* Formulaire d’avis */
  .testimonial-form {
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
  }
  .testimonial-form h3 {
    margin-bottom: 15px;
    color: #022c54;
  }
  .testimonial-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-form input,
  .testimonial-form textarea,
  .testimonial-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
  }
  .testimonial-form button {
    padding: 12px;
    background: #fbb034;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
  }
  .testimonial-form button:hover {
    background: #e09d1f;
  }
  
  /* Style pour le bouton de suppression */
  .delete-review {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  
  .delete-review:hover {
    opacity: 1;
  }
  
  .testimonial-card {
    position: relative;
    padding-top: 40px;
  }
  /* =======================
   SECTION CONTACT
  ======================== */
  .contact {
    background: #e3eaf0;
    padding: 60px 20px;
  }
  .contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: auto;
    justify-content: center;
  }
  .contact form {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .contact input,
  .contact textarea,
  .contact select {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
  }
  .contact-info {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    font-size: 1rem;
  }
  .contact-info i {
    color: #fbb034;
    margin-right: 10px;
  }
  
  /* =======================
   FOOTER & WHATSAPP
  ======================== */
  footer {
    background: #022c54;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
  }
  .socials {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  .socials a {
    color: #fbb034;
    font-size: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .socials a:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  }
  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }
  
  /* =======================
   RESPONSIVE (MOBILE)
  ======================== */
  @media screen and (max-width: 768px) {
    .hamburger {
      display: block;
    }
    .nav-links {
      display: none;
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      background: #022c54;
      flex-direction: column;
      text-align: center;
      padding: 1rem 0;
    }
    .nav-links.active {
      display: flex;
    }
    .nav-links ul {
      flex-direction: column;
      gap: 15px;
    }
  
    .hero,
    .about {
      background-size: cover !important;
      background-position: center center !important;
    }
    .hero {
      min-height: 60vh;
      padding: 40px 0;
    }
    .hero-content {
      margin: 0 20px;
    }
    .hero-content h2 {
      font-size: 2rem;
    }
    .btn-primary {
      padding: 12px 20px;
      font-size: 0.9rem;
    }
    .about {
      padding: 40px 0;
    }
  }
  /* Responsive mobile */
  @media (max-width: 768px) {
    .testimonial-form {
      margin: 20px 15px;
    }
  }
  