/* === RESET === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #e2e2e2;
  background: url('/battlefield_6/assets/images/backgrounds/background.png') center/cover no-repeat fixed;
  overflow-x: hidden;
}

/* === NAVBAR === */
.recherche-barre {
  background-color: rgba(26, 26, 26, 0.85);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
  flex-wrap: wrap;
}

.zone-gauche {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.logo {
  height: 42px;
  border-radius: 50%;
}

.recherche-titre {
  font-size: 16px;
  color: #ffcc00;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

.recherche-titre::before {
  content: "🔍";
  font-size: 18px;
}

.menu-liens {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menu-liens a {
  font-size: 18px;
  font-weight: bold;
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.menu-liens a:hover {
  color: #fff;
  text-shadow: 0 0 8px #ffcc00;
}

/* === HERO === */
.hero-banner {
  padding: 100px 20px;
  text-align: center;
}

.hero-banner h1 {
  font-size: 64px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: rgba(0, 0, 0, 0.6);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
}

.hero-banner p {
  font-size: 20px;
  max-width: 600px;
  margin: 20px auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 6px;
}

/* === BOUTONS === */
.cta-button {
  display: inline-block;
  background-color: #c70039;
  color: white;
  padding: 12px 28px;
  font-size: 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.cta-button:hover {
  background-color: #ff0033;
}

/* === SECTIONS === */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  background-color: rgba(0,0,0,0.6);
  border-radius: 8px;
  margin-bottom: 40px;
}

section h2 {
  color: #ffcc00;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* === FOOTER === */
footer {
  background-color: rgba(17, 17, 17, 0.85);
  color: #aaa;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

/* === AVATAR PREVIEW === */
.avatar-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.avatar-preview img {
  border-radius: 50%;
  object-fit: cover;
}

.avatar-preview span {
  font-weight: bold;
  font-size: 1.1em;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .recherche-barre {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .menu-liens {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .menu-liens a {
    font-size: 16px;
  }

  .hero-banner h1 {
    font-size: 36px;
    padding: 8px 16px;
  }

  .hero-banner p {
    font-size: 15px;
    padding: 10px;
  }

  .cta-button {
    font-size: 15px;
    padding: 10px 18px;
    width: 100%;
    text-align: center;
  }

  section {
    padding: 30px 15px;
  }

  .avatar-preview {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .hero-banner h1 {
    font-size: 44px;
  }

  .menu-liens {
    gap: 15px;
  }

  .cta-button {
    font-size: 16px;
  }
}