body {
  font-family: Lato, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: white;
}

header.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  width: 98%;
  top: 0;
  left: 0;
  background: transparent;
  transition: background 0.3s ease;
  z-index: 999;
}

nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: white;
  text-decoration: none;
  transform: scale(1.1);
}

header.nav.sticky {
  background: #2b618e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.nav .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
}

header.nav nav ul {
  display: flex;
  list-style: none;
  font-size: 1.2em;
  margin: 0;
  padding: 0;
}

header.nav nav ul li {
  margin: 0 15px;
}

header.nav nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1em;
}

.nav .head-info {
  color: white;
  letter-spacing: 0.4px;
}

header.nav .burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

header.nav .burger-menu span {
  width: 100%;
  height: 3px;
  background: white;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  background: url("images/site.JPG") no-repeat center center/cover;
  position: relative;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2em;
}

.avantages {
  text-align: center;
  padding: 40px 30px;
  background: #f6f6f6;
}

.avantages h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.avantages-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.avantage {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 300px;
  text-align: left;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  padding: 20px;
}

.avantage:hover {
  background-color: #e0e0e0;
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.avantage i {
  display: block;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.avantage p {
  font-size: 15px;
}

.avantage:hover i {
  transform: scale(1.1);
}

.avantage-text {
  transition: color 0.3s ease;
}

.avantage:hover .avantage-text {
  color: #2b618e;
}

.avantage-text h2 {
  text-align: center;
  font-size: 1.3em;
}

.avantage::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: #2b618e;
  transition: width 0.3s ease;
}

.avantage:hover::after {
  width: 100%;
}

.about-section {
  background: white;
  padding: 20px 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 20px;
}

.image-container {
  flex: 1;
  max-width: 600px;
  margin-right: 55px;
  height: auto;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
}

.about-text {
  flex: 1;
  max-width: 720px;
}

.about-text h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1em;
  line-height: 1.6;
}

.tarifs-section {
  text-align: center;
  padding: 45px 20px;
  background: #f6f6f6;
}

.tarifs-section h2 {
  font-size: 2.3em;
  margin-bottom: 10px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1350px;
  margin: auto;
}

.tarifs-section .card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarifs-section .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.promo {
  color: red;
  font-size: 18px;
  margin-top: 5px;
}

.tarifs-section .card img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
}

.tarifs-section .card-body {
  text-align: left;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tarifs-section .card-title {
  font-size: 1.3em;
  margin: 5px 0;
  color: #333;
}

.tarifs-section .card-title-stationnement {
  font-size: 1.2em;
  margin: 5px 0;
  color: #333;
}

.tarifs-section .card h4 {
  font-size: 1em;
  margin: 0;
  line-height: 1.2;
}

.tarifs-section .card p {
  font-size: 1em;
  color: #777;
  margin: 10px 0 0;
}

.tarifs-section .card p {
  font-size: 1em;
  color: #777;
}
.carousel-section {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.carousel-section .carousel-images {
  display: flex;
  transition: transform 0.9s ease;
}

.carousel-section .carousel-images img {
  width: 100%;
  max-width: 455px;
  height: auto;
  margin-right: 10px;
}

.carousel-section .carousel-images img:last-child {
  margin-right: 0;
}

.carousel-section button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

.carousel-section button.prev {
  left: 10px;
}

.carousel-section button.next {
  right: 10px;
}

.carousel-images img {
  cursor: pointer;
}

.contact-section {
  background: #f9f9f9;
  padding: 25px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-card {
  background: #fff;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
}

.mobile-phone {
  display: none;
  color: #2b618e;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.contact-card form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card .form-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
  width: 100%;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1.2em;
}

.contact-card textarea {
  height: 200px;
  resize: none;
  margin-bottom: 25px;
}

.btn-primary {
  background: #2b618e;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2em;
  width: 200px;
}

.btn-primary:hover {
  background: #225279;
}

.map-section {
  text-align: center;
}

.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.copyright {
  text-align: center;
  color: black;
  padding: 10px 0;
  font-size: 12px;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 70%;
  max-height: 80%;
}

.fade-in {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .nav .logo {
    font-size: 1.2em;
  }

  .nav nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #2b618e;
    width: 100%;
    text-align: center;
    flex-direction: column;
  }

  .nav nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  .nav li {
    width: 100%;
    text-align: left;
    margin: 5px 0;
  }

  .nav a {
    display: block;
    padding: 10px;
    color: #fff;
    font-size: 0.9em;
  }

  .nav .head-info {
    display: none;
  }

  header.nav .burger-menu {
    display: flex;
    margin-right: 20px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .avantages-container {
    flex-direction: column;
  }

  .avantage {
    flex: 1 1 100%;
  }

  .about-section {
    flex-direction: column;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .card {
    flex: 1 1 100%;
  }

  .carousel {
    height: auto;
  }

  .contact-card {
    padding: 15px;
  }

  .mobile-phone {
    display: block;
  }

  .contact-card .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .contact-card input,
  .contact-card textarea {
    padding: 10px;
    font-size: 1em;
  }

  .btn-primary {
    width: 100%;
  }

  .about-container {
    flex-direction: column;
  }

  .about-text,
  .image-container {
    width: 100%;
  }
  .form-row {
    flex-direction: column;
  }

  .form-row input,
  .form-row textarea {
    width: 100%;
  }
}
