/* --- STYLE GÉNÉRAL --- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f7f7f7 ;
  color: #333;
}

/* --- NAVBAR --- */
.navbar {
  background-color: #b22222;
  padding: 25px 20px;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  text-decoration: underline;
}

/* --- IMAGE DU BUREAU DE TABAC --- */
.tabac-section {
  width: 100%;
  overflow: hidden;
}

.tabac-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
 max-height: 600px;
  transition: transform 0.5s ease;
}

.tabac-image:hover {
  transform: scale(1.1) rotate(2deg);
}
/* --- MAIN --- */
main {
  text-align: center;
  padding: 30px 20px;
  max-width: 800px;
  margin: auto;
  font-family: 'Times New Roman', Times, serif;
}
main h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color : #363ce3;
}

main p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 20px;
}

/* --- FORMULAIRE --- */
form {
  max-width: 500px;
  margin: 30px auto;
  background: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
}

form input, form select {
  width: 90%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
}

form button {
  margin-top: 20px;
  width: 40%;
  padding: 10px;
  background-color: #24a55a;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background-color: #92373f;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  background-color: #222;
  color: #ccc;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  main {
    padding: 20px;
  }

  form {
    width: 90%;
    padding: 15px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .tabac-image {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1rem;
  }

  form input, form select {
    font-size: 14px;
  }

  form button {
    font-size: 15px;
  }
}
