* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
  }
  
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: auto;
    padding: 0 2rem;
  }
  
  .top-bar {
    background-color: #7b6a3f;
    color: white;
    font-size: 1.1rem;
    padding: 1rem 0;
    flex-wrap: wrap;
  }
  
  .top-bar .container {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .top-bar .container span {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    white-space: nowrap;
  }
  
  .top-bar .icon {
    margin-right: 0.5rem;
    font-size: 1.3rem;
  }
  
  .navbar {
    background-color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
  }
  
  .logo {
    width: 80px;
  }
  
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover,
  .nav-links .active {
    color: #269535;
    font-weight: bold;
  }

  .icon{
    font-size: 5px;
  }
  
  .login-button {
    background-color: #1aa523;
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    display: flex;
    align-items: center;
    font-size: 0.90rem;
    font-weight: 500;
    gap: 8px;
    transition: background 0.3s;
  }
  
  .login-button:hover {
    background-color: #0e380a;
  }
  
  /* Hamburger button - hidden on desktop */
  .menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Responsive Styles */
  @media (max-width: 960px) {
    .container {
      flex-wrap: wrap;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      gap: 1.5rem;
      margin-top: 1rem;
    }
  
    .nav-menu.show {
      display: flex;
    }
  
    .nav-links {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
    }
  
    .login-button {
      align-self: flex-start;
    }
  
    @media (max-width: 960px) {
        /* ... autres styles responsive ... */
      
        .top-bar {
          font-size: 0.9rem;
          padding: 0.5rem 0; /* Réduit la hauteur */
        }
      
        .top-bar .icon {
          font-size: 1rem; /* Icônes plus petites */
        }
      
        .top-bar .container {
          flex-direction: column;
          align-items: flex-start;
          gap: 0.3rem;
        }
      
        .top-bar .container span {
          margin-right: 0;
          white-space: normal; /* autorise retour à la ligne */
        }
      }
      
  }

  .hero {
    position: relative;
    width: 100%;
    height: 300px; /* hauteur ajustable */
    background-image: url('image/img5.jpg'); /* image à personnaliser */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* superposition sombre pour lisibilité */
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    color: rgb(255, 255, 255);
    font-size: 2.5rem;
    font-weight: bold;
    padding: 1rem;
    box-shadow: #666;
    font-family: cursive;
  }
  
  @media (max-width: 768px) {
    .hero {
      height: 300px;
    }
  
    .hero-content {
      font-size: 1.8rem;
    }
  }

  .intro-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
  }
  
  .intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
  }
  
  .intro-text {
    flex: 1;
    min-width: 280px;
  }
  
  .intro-text h2 {
    font-size: 2rem;
    color: #1b9213;
    margin-bottom: 1rem;
    font-family: cursive;
  }
  
  .intro-text p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
  }
  
  .intro-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
  }
  
  .intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  @media (max-width: 768px) {
    .intro-content {
      flex-direction: column;
      text-align: center;
    }
  
    .intro-text h2 {
      font-size: 1.7rem;
    }
  
    .intro-text p {
      font-size: 1rem;
    }
  }

  .services-section {
    background: linear-gradient(to bottom, #fff 50%, #ffba00 40%);
    padding: 4rem 2rem;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .service-card {
    position: relative;
    height: 250px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .service-card h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    font-family: 'Poppins', sans-serif;
  }
  
  @media (max-width: 768px) {
    .service-card {
      height: 200px;
    }
  
    .service-card h3 {
      font-size: 1.4rem;
    }
  }

  .footer {
  background-color: #7b6a3f;
  color: rgb(255, 255, 255);
  padding: 3rem 2rem 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}


.footer-column {
  flex: 1 1 200px;
  margin: 10px;
  text-align: left;
}

.footer-column h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-column h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column p {
  font-size: 1rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-buttons .btn {
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-buttons .blue {
  background-color: #5aa8ff;
  color: white;
}

.footer-buttons .pink {
  background-color: #f84587;
  color: white;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #fffcfc;
}

@media (max-width: 768px) {
    .footer {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-column {
      margin-bottom: 20px;
    }
  }
  

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-buttons {
    justify-content: center;
  }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #10801b;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .scroll-to-top:hover {
    transform: translateY(-5px);
    background-color: #22a324;
  }

  .contact-cards {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to bottom, #fff 50%, #ffba00 40%);
    gap: 20px;
    padding: 60px;
    background-color: #f8f8f8;
    flex-wrap: wrap;
  }
  
  .card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    max-width: 32%;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: #3fb53f;
  }
  
  .card p, .card a {
    font-size: 1rem;
    color: #555;
    text-decoration: none;
  }
  
  .icon {
    font-size: 2rem;
    color: #3fb53f;
    margin-bottom: 10px;
  }
  
  .contact-form-section {
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    position: relative;
  }
  
  .form-overlay {
    background-color: rgba(255, 255, 255, 0.85); /* Légèrement transparent */
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2rem;
  }
  
  .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
  }
  
  .contact-form button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #3f51b5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #303f9f;
  }
  
  .gallery-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
  background-color: #fff;
}

.overlay1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 16px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .overlay1 {
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .gallery-section h2 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    gap: 20px;
  }

  .gallery-item img {
    height: 150px;
  }
}


  .modal {
    display: none; /* Le modal est caché par défaut */
    position: fixed; /* Reste fixe sur l'écran */
    z-index: 1; /* S'affiche au-dessus du contenu */
    left: 0;
    top: 0;
    width: 100%; /* Prend toute la largeur */
    height: 100%; /* Prend toute la hauteur */
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }

  .alt-section {
    background-color: #f8f9fa;
    padding: 100px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .alt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    margin-bottom: 100px;
    flex-wrap: wrap;
  }
  
  .alt-row.reverse {
    flex-direction: row-reverse;
  }
  
  .alt-row .text {
    flex: 1;
    min-width: 300px;
  }
  
  .alt-row .text h2 {
    font-size: 2.5rem;
    color: #209a22;
    margin-bottom: 20px;
  }
  
  .alt-row .text p {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
  }
  
  .alt-row .image {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .alt-row .image img {
    max-width: 80%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
  }
  
  .alt-row .image img:hover {
    transform: scale(1.03);
  }
  
  @media (max-width: 768px) {
    .alt-row {
      flex-direction: column !important;
      text-align: center;
    }
  
    .alt-row .text, .alt-row .image {
      text-align: center;
    }
  }

  .horaires {
    background-color: #f0f4f8;
    padding: 40px 20px;
    text-align: center;
  }
  
  .horaires-container {
    max-width: 800px;
    margin: auto;
  }
  
  .horaires h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #1a1a1a;
  }
  
  .horaires table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2em;
    color: #333;
  }
  
  .horaires td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
  }
  
  .horaires tr:last-child td {
    border-bottom: none;
  }
  
  @media (max-width: 600px) {
    .horaires h2 {
      font-size: 1.5em;
    }
  
    .horaires table {
      font-size: 1em;
    }
  }

  .about {
    background-color: #f9f9f9;
    padding: 50px 20px;
  }
  
  .containere {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 60px; /* Espace entre le texte et l'image */
  }
  
  .text {
    flex: 1;
    padding-right: 20px;
    opacity: 0;
    transform: translateX(-70px);
    animation: fadeInLeft 2s forwards;
  }
  
  .text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #10801b;
  }
  
  .text p {
    font-size: 1.3em;
    line-height: 1.6;
  }
  
  .image {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s forwards;
  }
  
  .image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  @keyframes fadeInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @media (max-width: 768px) {
    .containere {
      flex-direction: column;
      text-align: center;
    }
  
    .text {
      padding-right: 0;
      padding-bottom: 20px;
    }

    .text p{
      font-size: 1rem;
    }
  
    .image {
      order: -1;
    }
    .image img{
      max-width: 70%;
    }
  }

  .equipe {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
  }
  
  .equipe h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
  }
  
  .equipe-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .carte {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 260px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .carte:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }
  
  .carte img {
    width: 100%;
    height: 260px;
    object-fit: cover;
  }
  
  .equipe{
    background: linear-gradient(to bottom, #fff 65%, #ffba00 40%);
  }

  .info {
    padding: 20px;
  }
  
  .equipe h2{
    color: #10801b;
  }
  
  .info h3 {
    margin: 0 0 20px;
    font-size: 1.2em;
    color: #222222;
  }
  
  .info p {
    margin: 0;
    color: #555;
    font-size: 1.2rem;
  }
  
  @media (max-width: 768px) {
    .equipe-container {
      flex-direction: column;
      align-items: center;
    }
  
    .carte {
      width: 80%;
    }
  }
  
  

  
  
  
  
  