* {
    font-family: 'Trebuchet MS', sans-serif;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
    padding: 0;
    background-image: url('images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; 
}

body {
    margin: 0 auto;
    overflow-x: hidden;
}

.wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

/*le haut de la page*/

header.header img {
    width: 150px;
}

header.header {
    background-color: black;
    display: flex;
    align-items: center;
    padding: 20px;
}

.nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 550px;
}

.nav li a {
    color: white;
    font-size: large;
    text-decoration: none;
    size: 10;
}

.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

#toggle-menu {
  display: none;
}

.etatsalon {
  display: flex;
  position: absolute;
  top: 90px;
  left: 0;
  background-color: black;
  width: 430px;
  justify-content: center;
}

/*milieu de la page*/

main {
    color: white;
    flex: 1;
}

.fidelite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 200px 20px 100px 20px;
  background: transparent;
}

.fidelite img {
  width: 250px;
  border-radius: 10px;
}

section.map {
  justify-content: center;
  margin-top: 30px;
  text-align: center;
  position: relative;
}

.horaires {
    position: absolute;
    top: 315px;
    left: 65px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-width: 250px;
    color: black;
    margin: 0;
    padding-top: 0;
}

.horaires a {
  color: black;
}

.parking {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 80px;
}

.parking-text h2 {
  margin-bottom: 2px;
}

.parking-text p {
  color: rgb(0, 132, 255);
  margin: 0;
}

.parking-text {
  display: flex;
  flex-direction: column;
  transform: translateY(-200px);
}

.top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 50px 0 0 0;
}

.top-text {
  transform: translateY(-110px);
}

.top img {
  width: 400px;
}

.presentation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 100px 50px 0 50px;
  line-height: 2;
}

.presentation img {
  width: 400px;
}

.presentation p {
  transform: translateY(-130px);
}

.prix h2 {
  display: flex;
  justify-content: center;
  margin: 20px;
}

.services-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 60px;
  margin-top: 30px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service img,
.img-row img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 20px;
}

.img-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

@media screen and (max-width: 700px) {
  .services-columns {
    grid-template-columns: 1fr;
  }
  
  .fidelite {
    flex-direction: column;
    font-size: 14px;
  }

  .nav ul {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 20px;
    gap: 50px;
    z-index: 1000;
  }

  #toggle-menu:checked + .burger + .nav ul {
    display: flex;
  }

  .burger {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
  }

  .top,
  .presentation {
    flex-direction: column;
  }

  .top img,
  .presentation img {
    width: 300px;
  }

  .img-row img {
    height: 170px;
    width: 170px;
  }

  .top-text {
    gap: 0;
    margin: 0px 20px 20px 20px;
    transform: translateY(0);
    font-size: 12px;
  }

  .presentation p {
    transform: translateY(0);
    margin: 5px;
  }

  .parking {
    flex-direction: column;
    margin: 50px 5px 70px 5px;
  }

  .parking-text h2,
  .parking-text p,
  .parking-text {
    transform: translateY(0);
    margin: 5px;
  }

  .horaires {
    font-size: 11px;
    left: 2px;
  }

  .prix h2 {
    font-size: 20px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .footer-column-left {
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-column-right a{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .title {
    text-align: center;
  }

  .footer-column-center {
    margin-bottom: 30px;
  }

}

/*footer de la page*/

.footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: black;
  color: white;
  flex-wrap: wrap;
}

.footer-column-left {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
  color: white;
}

.info {
  margin-bottom: 5px;
  font-size: 14px;
  color: white;
  text-decoration: none;
}

.footer-column-center {
  text-align: center;
  align-items: center;
}

.footer-column-right {
  text-align: right;
  align-items: flex-end;
}