


/* Pour éviter que le contenu soit caché sous le header */
body {
  margin: 0;
  padding-top: 70px; /* espace égal à la hauteur du header */
}


.header-content h1 {
  font-size:24px;
}

.main-footer {
  background: #50a7e2;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

.main-footer a {
  color: #fff;              /* texte blanc */
  text-decoration: none;    /* supprime le soulignement */
  margin: 0 5px;
}

.main-footer a:hover {
  text-decoration: none;         /* jaune doré au survol */
}


.hero {
  background: url('../images/header.png') center/cover no-repeat;
  color: white;
  text-align: center;
  height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* commencer en haut */
  align-items: center;

  padding-top: 200px; /* ajuste cette valeur pour descendre le texte */
}
.hero h1 {
  font-size: 3em;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin: 0 0 20px 0;
}
.hero p {
  font-size: 1.3em;
  max-width: 700px;
  margin: 0 auto;
}
.hero a {
  background: #4a90e2;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  margin-top: 30px;
}
.hero a:hover {
  background: #357ab8;
}


header.main-header {
  position: fixed;      /* reste fixé en haut */
  top: 0;
  left: 0;
  width: 100%;
  background: #56ace6;     /* couleur de fond */
  color: white;
  padding: 0px 0px;
  z-index: 1000;        /* reste au-dessus des autres éléments */
}

header .header-content {
  max-width: 1200px; /* largeur max du contenu */
  margin: 0 auto;    /* centre le contenu */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav {
  margin-left: 20px;
}

header nav a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
  font-weight: bold;
  font-size:14px;
}

header nav a:hover  {
  text-decoration: none;
}

/* La barre de recherche est clairement séparée */
.search-bar {
  margin-top: 10px;
  text-align: center;
}

.search-bar input {
  padding: 8px;
  width: 260px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search-bar button {
  padding: 8px 12px;
  border: none;
  background: #333;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.search-bar button:hover {
  background: #555;
}