/* General Reset and Base Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #333;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .logo {
    font-weight: bold;
    font-size: 18px;
    color: #333;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
  }
  
  .navbar a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 4px;
    transition: border-color 0.2s;
  }
  
  .navbar a:hover,
  .navbar a:focus {
    border-color: #999;
  }
  
  .navbar a.active {
    border-color: #333;
    font-weight: bold;
  }
  
  /* Hero Section */
  .hero {
    background-image: url('images/coffeebean.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
    font-size: 2.2em;
    font-weight: bold;
  }
  
  /* Services Section (Homepage) */
  .services {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  .services h2 {
    font-size: 2em;
    margin-bottom: 10px;
  }
  
  .services p,
  .services ul {
    font-size: 1.1em;
    line-height: 1.6;
  }
  
  /* Features + Contact + Footer (Homepage) */
  .features,
  .contact,
  .footer {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  .features ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.1em;
  }
  
  .features li {
    margin-bottom: 8px;
  }
  
  .contact,
  .footer {
    background-color: #b64541;
    color: white;
    text-align: center;
    padding: 40px 20px;
  }
  
  .footer h3 {
    margin-top: 0;
  }
  
  /* Machines Display */
  .machines {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 20px;
    background-color: #f0f0f0;
  }
  
  .machine {
    width: 320px;
    text-align: center;
  }
  
  .machine img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
  }
  
  .machine button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #a94442;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .machine button:hover {
    background-color: #8c3939;
  }
  
  /* Nos Services Page */
  .main-services {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .intro-text {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
  }
  
  .service-detail {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  
  .service-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .service-text {
    max-width: 500px;
  }
  
  .service-text h2 {
    margin-top: 0;
  }
  
  .service-text ul {
    padding-left: 20px;
    line-height: 1.6;
  }
  
  .service-text button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #a94442;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .service-text button:hover {
    background-color: #8c3939;
  }
  
  /* Testimonial Section */
  .testimonial {
    background-color: #b64541;
    color: white;
    text-align: center;
    font-size: 1.3em;
    padding: 40px 20px;
    margin-top: 60px;
    border-radius: 0;
  }
  
  /* Footer (Bottom of nos-services) */
  .footer-bottom {
    background-color: #f1f1f1;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
  }

  .about-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
  }
  
  .about-image img {
    width: 320px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .about-content {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
  }
  
  .about-content h2, .about-content h3 {
    margin-top: 20px;
  }
  
  .about-content ul {
    list-style: disc;
    margin-left: 20px;
    line-height: 1.6;
  }
  
  .about-content p {
    margin-top: 20px;
  }
  
  .about-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
  }
  
  .about-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
  }
  
  .about-left img {
    width: 320px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .about-right {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
  }
  
  .about-right h2,
  .about-right h3 {
    margin-top: 20px;
    color: #333;
  }
  
  .about-right ul {
    list-style: disc;
    padding-left: 20px;
    line-height: 1.6;
  }
  
  .about-right p {
    margin-top: 20px;
  }
  
  .cta-banner {
    background-color: #fbe9e7;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    border-radius: 8px;
  }
  
  .cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #a94442;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
  }
  
  .cta-button:hover {
    background-color: #8c3939;
  }

  /* Contact page */
  .contact-main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
  }
  
  .contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
  }
  
  .contact-info {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-map iframe {
    width: 400px;
    height: 300px;
    border-radius: 8px;
    border: none;
  }
  
  .contact-info h2 {
    margin-top: 0;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin-bottom: 40px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact-form button {
    padding: 10px;
    background-color: #a94442;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .contact-form button:hover {
    background-color: #8c3939;
  }

  /* Copy Email Button */
  .copy-button {
    margin-left: 10px;
    padding: 4px 10px;
    font-size: 0.9em;
    border: none;
    background-color: #a94442;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .copy-button:hover {
    background-color: #8c3939;
  }

  /* Politique page */
  .privacy-main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
  }

  /* Body text: default sans-serif */
  .privacy-content {
    font-size: 1.05em;
    font-family: sans-serif;
  }

  /* Paragraph and list spacing adjustments */
  .privacy-content p,
  .privacy-content ul {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
    line-height: 1.6;
  }

  /* Numbered headings: Helvetica (fallback to Arial) */
  .privacy-content h3 {
    margin-top: 30px;
    color: #333;
    font-weight: bold;
  }

  .privacy-content h1,
  .privacy-content h2,
  .privacy-content h3 {
    font-family: Helvetica, Arial, sans-serif;
  }

  /* Optional: Make list items spacing consistent */
  .privacy-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
  }

  .privacy-content li {
    line-height: 1.7;
  }

  /* mobile setting improvement */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
      padding: 10px 20px;
    }
  
    .navbar ul {
      flex-direction: column;
      gap: 10px;
      width: 100%;
    }
  
    .hero {
      font-size: 1.8em;
      padding: 60px 20px;
    }
  
    .services,
    .privacy-main,
    .main-services,
    .about-main,
    .contact-main {
      padding: 20px;
    }
  
    .service-detail {
      flex-direction: column;
      gap: 20px;
    }
  
    .service-image img {
      width: 100%;
      height: auto;
    }
  
    .machine img {
      width: 100%;
      height: auto;
    }
  
    .navbar a {
      padding: 8px 0;
    }
  
    .navbar {
      align-items: center;
    }
  
    .logo {
      margin-bottom: 10px;
    }
  }

  /* Info buttons on the first page */
  .info-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a94442;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
  }
  
  .info-button:hover {
    background-color: #8c3939;
  }
  
  /* Contact button on the second page */
  .contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a94442;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
  }
  
  .contact-button:hover {
    background-color: #8c3939;
  }