/* style-detail.css */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #F7F7F7;
  color: #333;
  margin: 0;
  padding: 0;
}

/* HEADER FIXE EN HAUT MAIS PAS COLLÉ */
.en-tete {
  background-color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: relative;
  z-index: 10;
}

.en-tete .conteneur {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo-titre {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #212529;
}

.titre-site {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
}

.titre-site span {
  color: #00A651;
}

.menu-principal ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.menu-principal ul li {
  list-style: none;
}

.menu-principal a {
  font-weight: 600;
  color: #212529;
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu-principal .actif a {
  color: #00A651;
}

.menu-principal .actif a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00A651;
}

.menu-principal a:hover {
  color: #00A651;
}

/* IMAGE PRINCIPALE FULL */
.banniere-detail {
  text-align: center;
}

.banniere-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* CONTENU DU LIEU */
.contenu-detail {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.texte-detail h1 {
  color: #212529;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.infos-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.etiquette {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* Catégories dynamiques */
.categorie-naturel { background-color: #4CAF50; }
.categorie-paradisiaque { background-color: #00B8D4; }
.categorie-culturel { background-color: #FF9800; }
.categorie-historique { background-color: #8D6E63; }
.categorie-insolite { background-color: #FBC02D; color: #212529; }

.localisation {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #6C757D;
}

.localisation img {
  width: 16px;
  height: 16px;
}

.texte-detail h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #00A651;
  border-bottom: 2px solid #00A651;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.texte-detail p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.bouton-retour {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 10px 20px;
  background: #ffffff;
  color: #00A651;
  border: 2px solid #00A651;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.bouton-retour:hover {
  background-color: #00A651;
  color: white;
}

/* MEDIA QUERIES RESPONSIVE*/


@media (max-width: 1024px) {
  .contenu-detail {
    padding: 1.5rem;
  }

  .texte-detail h1 {
    font-size: 1.7rem;
  }

  .texte-detail h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .en-tete .conteneur {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .menu-principal ul {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .menu-principal a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .logo-titre {
    justify-content: space-between;
    width: 100%;
  }

  .contenu-detail {
    padding: 1rem;
  }

  .texte-detail h1 {
    font-size: 1.5rem;
  }

  .texte-detail h2 {
    font-size: 1.2rem;
  }

  .banniere-detail img {
    border-radius: 8px;
  }

  .infos-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .localisation {
    font-size: 0.85rem;
  }

  .localisation img {
    width: 14px;
    height: 14px;
  }

  .bouton-retour {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .texte-detail h1 {
    font-size: 1.3rem;
  }

  .texte-detail p {
    font-size: 0.95rem;
  }

  .texte-detail h2 {
    font-size: 1.1rem;
  }
}
