/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* ===== HEADER ===== */
header.header {
  background: url("images/header cours basse guitare gap.jpg") center/cover no-repeat;
  color: #fff;
  padding: 40px 10px;
  text-align: center;
  border-bottom: 4px solid #c00;
  position: relative;
}

header.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* voile sombre */
  z-index: 0;
}

header.header h1,
header.header nav {
  position: relative;
  z-index: 1;
}

header.header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ===== MENU ===== */
nav ul.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

nav ul.menu li {
  display: inline-block;
}

nav ul.menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  transition: background 0.3s;
}

nav ul.menu a:hover {
  background: #c00;
}

/* ===== CONTENU ===== */
.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 15px;
}

h2 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: #c00;
}

p {
  margin-bottom: 10px;
}

.signature {
  margin-top: 20px;
  font-style: italic;
}

/* ===== BOUTONS PDF ===== */
.pdf-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pdf-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #c00;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.pdf-btn:hover {
  background: #900;
}

/* ===== IMAGES ===== */
figure {
  margin: 20px 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 15px;
  background: #222;
  color: #fff;
  margin-top: 30px;
}

footer a {
  color: #c00;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header.header h1 {
    font-size: 1.5rem;
  }

  nav ul.menu {
    flex-direction: column;
    align-items: center;
  }

  .pdf-buttons {
    flex-direction: column;
  }

  .pdf-btn {
    text-align: center;
    width: 100%;
  }
/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* ===== HEADER ===== */
header.header {
  background: url("images/header cours basse guitare gap.jpg") center/cover no-repeat;
  color: #fff;
  padding: 40px 10px;
  text-align: center;
  border-bottom: 4px solid #c00;
  position: relative;
}

header.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* voile sombre */
  z-index: 0;
}

/* ===== HEADER ===== */
header.header {
  background: url("images/header cours basse guitare gap.jpg") center/cover no-repeat;
  color: #fff;
  padding: 40px 10px;
  text-align: center;
  border-bottom: 4px solid #c00;
  position: relative;
}

header.header h1,
header.header nav {
  position: relative;
  z-index: 1;
}

header.header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}}

/* ===== MENU ===== */
nav ul.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

nav ul.menu li {
  display: inline-block;
}

nav ul.menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  transition: background 0.3s;
}

nav ul.menu a:hover {
  background: #c00;
}

/* ===== CONTENU ===== */
.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 15px;
}

h2 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: #c00;
}

p {
  margin-bottom: 10px;
}

.signature {
  margin-top: 20px;
  font-style: italic;
}

/* ===== BOUTONS PDF ===== */
.pdf-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pdf-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #c00;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.pdf-btn:hover {
  background: #900;
}

/* ===== IMAGES ===== */
figure {
  margin: 20px 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 15px;
  background: #222;
  color: #fff;
  margin-top: 30px;
}

footer a {
  color: #c00;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header.header h1 {
    font-size: 1.5rem;
  }

  nav ul.menu {
    flex-direction: column;
    align-items: center;
  }

  .pdf-buttons {
    flex-direction: column;
  }

  .pdf-btn {
    text-align: center;
    width: 100%;
  }
}