*,
 *::after,
 *::before {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: white;

  background-image: url("../img/fond_1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

ul {
  list-style-type: none;
  margin: 50;
  padding: 0;
  overflow: hidden;
  position: sticky;
  top: 0;
  margin-right: 100px;
}

ul li {
  float: right;
  margin-right: 20px;
}

ul li a:hover {
  background-color: #111111;
}

.content {
  text-align: center;
  padding: 50px 30px;
  font-size: 1.25rem;
  color: #fff;
  background-color:rgb(55, 54, 54);
  margin-bottom: 100px;
}

p{
  text-align: left;
}

.title{
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

.corps{
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

/* Mise en page desktop à partir de 768px */

@media screen and (min-width: 768px) {

  nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 20px;

    list-style: none;
    margin: 0;
    padding: 20px;
  }
}

a {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  text-decoration: none;
  cursor: pointer;

  /* Ton glassmorphisme */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); /* Safari */
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);

  /* Transition au survol */
  transition: all 0.2s ease;
}

a:hover {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

a:active {
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.seachbar {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* aligne à gauche */
  gap: 5px;
}

/* Barre de recherche */
.seachbar input {
  border: none;
  outline: none;
  padding: 5px 100px;
  border-radius: 20px; /* arrondi */
}

/* Bouton loupe */
.seachbar button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

/* ===== CARDS GLASSMORPHISME ===== */
.card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 60px;
  justify-content: center;
}

.details {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 28px 32px;
  min-width: 260px;
  max-width: 320px;
  flex: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Reflet lumineux en haut de la carte */
.details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

.details:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Textes dans les cartes */
.details p {
  margin: 8px 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.details .pgp {
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.details .pnom {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

.details .porigine,
.details .pecurie {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

/* glassmorphisme pour mes cartes */
select {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  padding: 10px 40px 10px 18px;
  margin: 20px 10px 0 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  cursor: pointer;


  background: rgba(255, 255, 255, 0.10)
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 999px;

  transition: all 0.2s ease;
  outline: none;
}

select:hover {
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

select:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Options du menu déroulant */
select option {
  background-color: #1a1a2e;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.9rem;
}

/* Zone des selects */
.card ~ select,
select {
  vertical-align: middle;
}

.selects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 60px 0 60px;
  align-items: center;
}

/* pour adapter mes images aux cartes */
.details img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}
.nav-logo {
  height: 40px;      
  width: auto;
  vertical-align: middle;
  border-radius: 5px; 
  
}

footer {
  display: flex;
  gap: 200px;
}