/* Reset & layout de base */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-image: url(LANDSCAPE.jpg);
  background-repeat: no-repeat;  /* don’t repeat */
  background-size: cover;        /* fill whole area */
  background-position: center;   /* center the image */
  background-attachment: fixed;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Titre */
h1 {
  text-align: center;
  color: white;
  text-shadow: 0 0 10px #fb520f, 0 0 20px #fb520f;
  margin-top: 20px;
  font-size: 3rem;
}

/* Menu principal */
.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  flex: 1; /* 👈 pousse le footer en bas si peu de contenu */
}

/* Carte destination */
.item {
  background-color: white;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
    display: flex;
  flex-direction: column;
  justify-content: space-between; /* répartit bien le contenu */
  max-height: 420px;              /* limite la hauteur totale */
  height: auto;

  /* ✅ Empêche l’étirement */
  max-height: 400px;
  height: auto;
}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.item h2 {
  color: #6A1B9A;
  margin: 15px 0 10px;
}

.item img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* Boutons */
.item button {
  background-color: #fb520f;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 10px 20px;
  margin: 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.item button:hover {
  background-color: #d33c0c;
}

/* Footer normal (non fixé) */
footer {
  background: #6A1B9A;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
  }

  .item {
    width: 90%;
  }

  .item img {
    width: 100%;
    height: 200px;
  }
}



.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: #fff;
  opacity: 0.9;
  border-radius: 3%;
  max-width: 200px;
  margin: 0 auto 20px;

  }
  .id{
     display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-weight: bold;
  }
  .rights{
    font-weight: bold;
  }
