html, body {
  margin: 0;
  padding: 0;
  font-family: 'Cinzel', serif;
  background-color: #0e0e0e;
  color: #f1e7d0;
  font-size: 16px;
}

header {
  background-color: #460c0c;
  padding: 0.5rem 2rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0c179;
  font-weight: bold;
  font-size: 1.3rem;
}

.logo img {
  height: 80px;
}

.logo span {
  position: relative;
  left: 25px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  right: 30px;
}

.nav-links a {
  color: #f4e4c0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
  font-size: 1.1rem;
}

.nav-links a:hover {
  color: #ffd983;
}

.footer {
  background-color: #1c1c1c;
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
}

.menu-icon {
  display: none;
  font-size: 2rem; 
  color: #fff;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* EN-TÊTE */
.middle h1 {
  font-size: 2.6rem;
  color: #d4a24c;
  text-align: center;
  margin-top: 2rem;
}

.middle p {
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* FORMULAIRE */
section.formulaire {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(212, 162, 76, 0.1);
  max-width: 800px;
  margin: 3rem auto;
}

h2 {
  color: #d4a24c;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.9rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  font-weight: bold;
  font-size: 1.15rem;
}

input,
select,
textarea {
  padding: 0.75rem;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #101010;
  color: #f1e7d0;
  font-size: 1.1rem;
  transition: border-color 0.3s;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #d4a24c;
}

button[type="submit"] {
  display: block;
  margin: 2rem auto 0;
  padding: 1rem 2rem;
  background-color: #d4a24c;
  color: #0e0e0e;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #b98830;
}

#input_check {
  cursor: pointer;
  margin-top: 1rem;
  margin-right: 0.5rem;
  transform: scale(1.2);
}

#confirmation {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: lightgreen;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 1rem;
    background-color: #460c0c;
    padding: 1rem;
    border-radius: 5px;
    z-index: 10;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .middle h1 {
    font-size: 2rem;
  }

  .middle p {
    font-size: 1rem;
  }

  section.formulaire {
    margin: 1.5rem 1rem;
    padding: 1rem;
  }
}