/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&display=swap');

/* Reset de base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background-color: #121212;
  color: #f1f1f1;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #000;
  text-align: center;
  padding: 220px 20px;
  min-height: 300px;
  border-bottom: 3px solid #e10600;
  background-image: url('logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Titre dans le header */
header h1 {
  color: #e10600 !important;
  font-size: 4em;
  font-weight: 900;
  margin-top: 0;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 1);
}

/* Ajout pour la responsivité de l'en-tête */
@media (max-width: 768px) {
  header {
    padding: 40px 20px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 150px;
  }

  header h1 {
    font-size: 2em;
  }
}

/* INTRO */
.intro {
  background-color: #121212;
  padding: 40px 20px;
  text-align: center;
}

.intro h2 {
  color: #ffcc00;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.intro p {
  font-size: 1.2em;
  margin-bottom: 0;
}

.scroll-to-contact {
  padding: 10px 20px;
  background-color: #e10600;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-size: 1em;
  transition: background-color 0.3s;
}

.scroll-to-contact:hover {
  background-color: #ff0000;
}

/* PRESENTATION */
#presentation {
  background-color: #1c1c1c;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

#presentation h2 {
  color: #ffcc00;
  margin-bottom: 20px;
  font-size: 1.8em;
  width: 100%;
  text-align: center;
}

#presentation p,
#presentation li {
  max-width: 800px;
  margin: 10px auto;
  font-size: 1.1em;
  line-height: 1.6;
}

#presentation ul {
  list-style: none;
  padding: 0;
}

#presentation li {
  font-weight: bold;
  color: #e10600;
}

@media (max-width: 768px) {
  #presentation {
    flex-direction: column;
    align-items: center;
  }

  #presentation div {
    width: 100%;
  }

  #presentation img {
    width: 80%;
    max-width: 100%;
    height: auto;
  }

  #presentation h2 {
    font-size: 1.5em;
  }

  #avis h2,
  #infos h2,
  #infos h3,
  #contact h2 {
    font-size: 1.5em;
  }

  .avis-item {
    font-size: 1em;
    padding: 10px;
  }

  #services li {
    max-width: 90%;
  }

  #contact a {
    font-size: 1.2em;
  }

  .scroll-to-contact {
    padding: 12px 24px;
    font-size: 1.2em;
  }
}

/* AVIS */
#avis {
  background-color: #121212;
  padding: 40px 20px;
  text-align: center;
}

#avis h2 {
  color: #ffcc00;
  margin-bottom: 20px;
  font-size: 1.8em;
}

.avis-carousel {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.avis-track {
  display: flex;
  width: max-content;
  animation: defilementInfini 60s linear infinite;
}

.avis-item {
  min-width: 100vw;
  padding: 20px;
  box-sizing: border-box;
  font-style: italic;
  font-size: 1.2em;
}

/* Liens globaux */
a {
  color: #ffcc00;
  text-decoration: none;
}

a:hover {
  color: #e10600;
}

/* Liens spécifiques */
.link-hover {
  color: #ffcc00 !important;
  text-decoration: none;
  transition: color 0.3s;
}

.address,
.contact-info a {
  transition: color 0.3s;
}

.address:hover,
.contact-info a:hover {
  color: #e10600 !important;
}

.label {
  font-size: 1.1em !important;
  color: #ffcc00 !important;
  margin-right: 5px;
}

.address {
  display: block;
  color: #ffcc00 !important;
  font-size: 1.1em;
  margin-top: 5px;
  text-decoration: underline;
}

/* INFOS */
#infos {
  background-color: #1c1c1c;
  padding: 30px 20px;
}

#infos h2,
#infos h3 {
  color: #ffcc00;
  margin-bottom: 10px;
}

#infos p,
#infos li {
  font-size: 1.1em;
  margin-bottom: 10px;
}

#infos strong {
  color: #e10600;
}

#infos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* SERVICES */
#services {
  background-color: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
}

#services ul {
  list-style-type: none;
  padding: 0;
}

#services li {
  background: #2c2c2c;
  margin: 10px auto;
  padding: 10px;
  max-width: 300px;
  font-weight: bold;
  color: #ffcc00;
}

/* CONTACT */
#contact {
  background-color: #121212;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 600px;
}

#contact h2 {
  color: #ffcc00;
  margin-bottom: 20px;
}

#contact .contact-intro {
  color: #fff !important;
  margin-bottom: 15px;
}

#contact a {
  color: #ffcc00;
  font-size: 1.2em;
  display: block;
  margin: 10px 0;
  transition: color 0.3s;
}

#contact a:hover {
  color: #e10600;
}

#contact .facebook-link {
  font-size: 1.2em;
  color: #ffcc00;
  transition: color 0.3s;
  margin-top: 10px;
}

#contact .facebook-link:hover {
  color: #e10600;
}

/* FOOTER */
footer {
  background-color: #121212;
  color: #888;
  text-align: center;
  padding: 20px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-info {
  text-align: center;
  margin-bottom: 15px;
  background-color: #121212;
  padding: 10px;
  border-radius: 8px;
}

.contact-info h2 {
  color: #ffcc00;
  margin-bottom: 10px;
}

.contact-info p {
  margin: 5px 0;
}

.social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  color: #ffcc00;
  font-size: 1.5em;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #e10600;
}

/* Animation défilement avis */
@keyframes defilementInfini {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
