/* Général */
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-image: linear-gradient(315deg, #003366 0%, #242124 74%);
  background-repeat: no-repeat;
  font-family: 'Roboto', sans-serif;
}

.container {
  width: 100%;
}

.logo {
  width: 50%;
  filter: drop-shadow(0px 5px 4px #000000);
}

.row {
  padding: 3%;
}

.row-presta {
  padding: 3%;
  max-width: 100%;
}

/* Titres */
.gros-titre,
.petit-titre {
  color: white;
  text-align: center;
}

.gros-titre {
  font-size: 250%;
}

.petit-titre {
  font-size: 300%;
  padding: 0%;
  background: linear-gradient(45deg, #004d99 0%, #446688 100%);
  border-radius: 8px;
}

/* Navigation */
.nav-link {
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-image: linear-gradient(315deg, #003366 0%, #242124 74%);
  color: white;
}

.navbar img {
  height: 50px;
}

.navbar .text {
  font-size: 18px;
  font-weight: bold;
}

/* Boutons */
.button {
  width: 300px;
  padding: 20px;
  margin: 10px 20px;
  color: #eee;
  font-family: sans-serif;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  text-decoration: none;
  display: inline-block;
  border: 1px solid;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: -1;
  transform: scaleY(0.1);
  -webkit-transform: scaleY(0.1);
  transition: all 0.4s;
}

.button:hover {
  color: #000000;
}

.button:hover::before {
  opacity: 0.5;
  background-color: #055c9d;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform: scaleY(1);
  -webkit-transform: scaleY(1);
  transition: transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02), opacity 0.4s;
  transition: -webkit-transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02), opacity;
}

/* Images */
.image1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  filter: drop-shadow(10px 10px 4px #000000);
}

.image2 {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 20%;
  filter: drop-shadow(-10px -10px 4px #000000);
}

/* Footer */
footer {
  font-size: 70%;
  height: 2%;
  width: 100%;
  bottom: 0;
}

/* Texte bas */
.text-bas {
  bottom: 10%;
  color: white;
}

/* Dropdown */
.dropdown {
  margin-top: 27px;
  margin-right: 2%;
}

/* Styles spécifiques à localisation.html */
.localisation {
  color: white;
  text-align: center;
  font-size: 1.5em;
  line-height: 1.8;
  filter: blur(0px);
}

/* Responsive iFrame */
.responsive-iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.responsive-iframe-container iframe,
.responsive-iframe-container object,
.responsive-iframe-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Container complet */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

/* Prestations */
.prestations-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.prestation {
  border: 2px solid #ccc;
  padding: 3rem;
  border-radius: 1rem;
  background: transparent;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.prestation h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
  color: white;
}

.prestation p {
  font-size: 1rem;
  color: white;
}

.prestation img.logo {
  width: 300px;
  max-width: 100%;
  height: auto;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 64px;
  height: 64px;
  margin: 4em auto;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-down-arrow svg {
  width: 64px;
  height: 64px;
  fill: #1e88e5;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive ajusté */
@media only screen and (max-width: 850px) {
  .horaires {
    font-size: 125%;
    line-height: 180%;
  }

  .localisation {
    font-size: 125%;
    line-height: 160%;
  }

  .map-responsive {
    padding-top: 20.25%;
    padding-bottom: 25.25%;
  }

  .petit-titre {
    font-size: 170%;
    margin-top: 4%;
  }

  .dropdown {
    margin-top: 1%;
  }

  .divcontact:hover {
    transform: scale(1);
  }

  .prestation {
    width: 100%;
    text-align: left !important;
    align-self: stretch !important;
  }
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
  body {
    background-image: linear-gradient(315deg, #003366 0%, #242124 74%);
    color: #fff;
  }

  .divcontact {
    background-color: #333;
    border-color: #666;
  }
}
