  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

  body {
    background-color: #111;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #e2e2e2;
  }

  html, body {
      overflow-x: hidden;
  }


  h1 {
    font-family: 'Syncopate', sans-serif;
    text-align: center;
    padding: 40px 20px;
    font-size: 32px;
    letter-spacing: 2px;
    background-color: #181818;
  }

  .top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #181818;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  .top-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
  }

  .top-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
  }

  .top-nav a:hover, .top-nav a.active {
    color: white;
  }

  .top-nav .burger {
    display: none; /* visible seulement sur mobile */
    font-size: 28px;
    cursor: pointer;
    color: white;
    margin-left: 20px;
  }
  .tarif-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;  /* un peu plus d’espace entre les cartes */
      margin-top: 140px;
      padding: 20px;
  }

  .tarif-card {
      background-color: #1a1f1c;
      border-radius: 24px;
      padding: 0 0 25px;
      width: 700px;  /* beaucoup plus large */
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      text-align: center;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .tarif-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  }

  .tarif-card img {
      width: 100%;  /* prend toute la largeur de la carte */
      height: 280px;  /* plus grande image */
      object-fit: cover;
      border-top-left-radius: 24px;
      border-top-right-radius: 24px;
      transition: filter 0.4s ease;
      object-position: center 60%;
  }

  .tarif-card:hover img {
      filter: brightness(1.1);
  }

  .tarif-card h2 {
      font-size: 26px;
      color: #ffffff;
      margin: 18px 0 12px;
  }

  .tarif-card p {
      font-size: 17px;
      margin: 8px 0;
      color: #dddddd;
  }

  .contact-link {
    display: inline-block;
    margin-top: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
  }

  .contact-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
  }

  .contact-link:hover::after {
    width: 100%;
  }

  .photo-gallery {
      display: grid;
      margin-top: 100px;
      grid-template-columns: repeat(auto-fill, minmax(300px, 2fr));
      gap: 15px;
      padding: 30px 0; /* padding uniquement en haut et en bas */
      max-width: 1880px;
      margin: 0 auto;
  }

  .photo-gallery img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 12px;
      transition: transform 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      cursor: pointer;
  }


  .photo-gallery img:hover {
    transform: scale(1.03);
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s;
  }

  .modal.show {
    display: block;
    opacity: 1;
  }

  .modal-content {
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    border-radius: 10px;
    animation: fadeInZoom 0.5s forwards;
  }

  .close {
    position: absolute;
    top: 20px; right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
  }

  .close:hover {
    color: #ff4d4d;
  }

  @keyframes fadeInZoom {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }

@media (max-width: 800px) {
  .top-nav {
    justify-content: space-between;
    padding: 0 20px;
  }

  .top-nav .burger {
    display: block;
  }

  .top-nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #181818;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    z-index: 999;
  }

  .top-nav ul.active {
    display: flex;
  }

  .tarif-container {
    flex-direction: column;
    align-items: center;
  }

  .tarif-card {
    width: 90%;
  }

  .photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 10px;
  padding: 20px;
}
  .photo-gallery img {
    height: 160px;
  }

  h1 {
    font-size: 24px;
    padding: 30px 20px;
  }
}








