/* Reset des styles par défaut */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*-------------BLOC DU NAV----------------*/
/*HBO AUTO DANS LA NAV HAUT GAUCHE*/
h1 {
  font-size: 4.2rem;    
}

/* Styles pour le header */
header {
  margin: auto;
  background-color: black;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

header h1 {
  font-size: 28px;
  background-image: linear-gradient(to right, #386641, #45a049);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo {
  width: 200px;
  height: 100%;
}


nav ul {
  list-style: none;
  display: flex;
  font-variant: small-caps;
}

nav ul li {
  margin-right: 5px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #16db65;
}
/*-----------------------------*/

/*-------------BLOC DU BODY----------------*/
/*Styles de base du body*/
body {
  margin: auto;
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  background-color: black;
}

/*Image de fond du site via lien*/
.background-image img {
  filter: brightness(20%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 80;
  pointer-events: none; /* Permet de cliquer à travers l'image */
  z-index: -1; /* Place l'image en arrière-plan */
}

/*=======================================*/
/*=======================================*/
/*=======================================*/

/*Styles pour la section présentation*/
.presentation {
  margin: auto;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
  padding: 50px 0;
  height: 100%;
  width: 100%;
}

.presentation h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.presentation p {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
  font-variant: small-caps;
}
/*Flicker text présentation*/
.flickertext {
  animation: flicker 2.5s infinite alternate;
  color: #fff;
}

/* Flicker animation */
@keyframes flicker {
    
  0%, 18%, 22%, 25%, 53%, 57%, 100% {

      text-shadow:
      0 0 4px #fff,
      0 0 40px #0fa,
      0 0 150px #0fa;
  }
  
  20%, 24%, 55% {        
      text-shadow: none;
  }    
}

/*CTA-BUTTON s'applique à tous les boutton vert du site*/
.cta-button {
  display: inline-block;
  background-color: #2d6a4f;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #45a049;
}


.hboaffiche {
  width: 100%;
  height: 50%;
  margin: auto;
  display: inline-flex;
  padding-bottom: 50px;
}

.hboaffiche img {
  width: 30%;
  height: 100%;
  border-radius: 50px;
  margin: auto;
  box-shadow: 10px 10px 20px green;
}

.horaires {
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: black;
  padding: 40px 0;
  text-align: center;
}

.horaires h1 {
  font-variant: small-caps;
  color: #583101;
  font-size: 35pt;
  color: white;
    text-shadow:
    0 0 5px green,
    0 0 10px brown,
    0 0 20px brown,
    0 0 40px brown,
 
    0 0 100px brown,
    0 0 150px brown;
}

.horaires h2 {
  font-variant: small-caps;
  color: white
}

.horaires h3 {
  font-variant: small-caps;
  color: red;
}

#ouvert {
  color: green;
}

footer {
  background: black;
  margin: auto;
  text-align: center;
}

footer p {
  color: white;
  margin: auto;
  font-variant: small-caps;
}

/*Styles pour la section catalogue*/
/*Styles pour la section catalogue*/
/*Styles pour la section catalogue*/
/*Styles pour la section catalogue*/

.catalogue {
  font-variant: small-caps;
  width: 100%;
  height: 100%;
  margin: auto;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}


.catalogue h1 {
  color: white;
  font-size: 30pt;
  text-shadow:
      0 0 4px #fff,
      0 0 40px #0fa,
      0 0 150px #0fa;
}

/*Images de cartes de vente*/
.imgventevoiture {
  width: 100%;
  height: 100%;
}

.price-card {
  width: 300px;
  margin: 20px;
  padding: 20px;
  display: inline-block;
  border-radius: 10px;  
  color: #ecf0f1;
  background: linear-gradient(#76c893, #34a0a4, #4a4e69);;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 2px 2px 6px #6930c3;
  -webkit-box-shadow: 2px 2px 6px white;
  transition: transform 0.3s;
}

.price-card:hover {
  transform: translateY(-5px); /* Légère translation vers le haut au survol */
}

.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card h3 {
  font-size: 24px;
  color: white;
  text-shadow: 
      0 0 40px #0fa,
      0 0 200px #0fa;
}

.price {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: italic;
  color: #80ffdb;
  text-shadow: 
      0 0 40px #0fa,
      0 0 200px #0fa;
}

.price-card ul {
  text-align: left;
  margin-bottom: 20px;
  color: white;
}

.price-card ul li {
  margin-bottom: 10px;
}


/*PRICE CARD VENDU ROUGE*/
/*PRICE CARD VENDU ROUGE*/
/*PRICE CARD VENDU ROUGE*/
/*PRICE CARD VENDU ROUGE*/

.price-card-vendu {
  width: 300px;
  margin: 20px;
  padding: 20px;
  display: inline-block;
  border-radius: 10px;  
  color: #ecf0f1;
  background: linear-gradient(#99404c, #7a0720, #3b0000);;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 2px 2px 6px #6930c3;
  -webkit-box-shadow: 2px 2px 6px white;
  transition: transform 0.3s;
}

.price-card-vendu:hover {
  transform: translateY(-5px); /* Légère translation vers le haut au survol */
}

.price-card-vendu ul {
  list-style: none;
  padding: 0;
}

.price-card-vendu h3 {
  font-size: 24px;
  color: white;
  text-shadow: 
      0 0 40px #0fa,
      0 0 200px #0fa;
}

.price {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: italic;
  color: #80ffdb;
  text-shadow: 
      0 0 40px #0fa,
      0 0 200px #0fa;
}

.price-card-vendu ul {
  text-align: left;
  margin-bottom: 20px;
  color: white;
}

.price-card-vendu ul li {
  margin-bottom: 10px;
}

/*=============VENDRE-VEHICULE================*/
/*=============VENDRE-VEHICULE================*/
/*=============VENDRE-VEHICULE================*/
form {
  background-color: transparent;
  color: #fff;
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

label {
    flex-basis: 48%;
    margin-bottom: 8px;
}

input, select, textarea {
    flex-basis: 48%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #444;
    color: #fff;
}

input[type="submit"] {
    flex-basis: 100%;
    background-color: #28a745;
    color: #fff;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #218838;
}

form p {
  margin: auto;
  font-variant: small-caps;
  font-size: 10pt;
}


.phonelogo {
  display: none;
}


/*MEDIA QUERY*/
/*MEDIA QUERY*/
/*MEDIA QUERY*/
/*MEDIA QUERY*/

@media screen and (max-width: 980px){

  body {
    background-color: black;
  }

    header {
      display: flex;
      flex-flow: column;
      position: static;
      text-align: center;
    }

    header h1 {
      margin: auto;
    }

    nav ul {
      text-align: center;
      display: flex;
      flex-flow: row wrap;
      height: 100%;
      width: 95%;
      margin: auto;
      font-variant: small-caps;
      padding: 10px;
    
    }

    nav ul li {    
      position: relative;
      background-color: black;
      border-radius: 10px;
      margin: auto;
      margin-top: 5px;
      width: 100%;
      box-shadow: 5px 5px 5px #56ab91;

    }

    nav ul li a {
      display: flex;
      flex-flow: row wrap;
    }

    .background-image {
      display: none;
    }


    .logo {
      margin-bottom: 10%;
    }

    .phonelogo {
      width: 20%;
      height: 20%;
      text-align: center;
      display: flex;
}

    .intro {
      margin: auto;
    }

    .hboaffiche {
      width: 100%;
      height: 100%;
      margin: auto;
      display: block;
      padding: 20px;
}

    .hboaffiche img {
      width: 100%;
      height: 100%;
      margin-bottom: 20px;
}

form {
  width: 100%;
  height: 100%;
  display: flex;
}

input {
  width: 50%;
  height: 100%;
}
/*======================================*/