@charset "UTF-8";
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat Title";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat";
}

hr {
  width: 150px;
  margin: auto;
  margin-bottom: 15px;
  border: 1px solid rgb(228, 194, 0);
}

p, h2, h3 {
  margin-bottom: 15px;
}

h2, h3 {
  color: black;
  font-family: "Montserrat Title";
}

p {
  font-size: 1.2em;
  color: #666;
  line-height: 1.6;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

a {
  color: #fff;
  text-decoration: none;
  transition: all 0.5s ease;
  font-family: "Montserrat Title";
}

a:hover {
  color: rgb(228, 194, 0);
}

video {
  width: 100%;
  height: 100vh;
}

.flex-start {
  align-items: flex-start !important;
}

/* Animation */
@keyframes slideAnimation {
  0%, 50% {
    transform: translateX(0);
  }
  50%, 100% {
    transform: translateX(-100%);
  }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  transform: scale(0.8);
}

.slide-in-left {
  transform: translateX(-50px);
}

/* Style général pour la scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.8);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

html {
  scrollbar-width: thin;
  scrollbar-color: black transparent;
}

footer {
  background-color: black;
  color: rgb(228, 194, 0);
  padding: 50px 20px;
  text-align: center;
}
footer .container {
  align-items: normal;
  vertical-align: text-top;
}
footer div {
  flex: 1;
  min-width: 250px;
}
footer p, footer ul {
  font-size: 1em;
  line-height: 1.6;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 15px;
}
footer p {
  color: white;
}
footer h3 {
  color: rgb(228, 194, 0);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  border-top: 1px solid #444;
  padding-top: 15px;
  color: #aaa;
}
.footer-bottom .social-media {
  display: block;
  margin-left: auto;
}
.footer-bottom .social-media a {
  margin-right: 7px;
}

nav {
  width: 100%;
  position: fixed;
  z-index: 10;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5% 2%;
  margin: 0 auto; /* Transparent by default */
  color: #fff;
  transition: all 0.5s ease;
}
nav.scrolled {
  background-color: white; /* Fully opaque when scrolling */
  opacity: 1;
}
nav.scrolled .nav-links li a {
  color: black;
}
nav.scrolled .nav-links li a:hover {
  color: rgb(228, 194, 0);
}
nav.scrolled .nav-links li ul a {
  color: white;
}

.logo img {
  width: 15%;
}

/* Conteneur du menu et des réseaux sociaux */
.nav-social {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
.nav-links li {
  display: inline;
  position: relative;
}

.nav-links li ul {
  position: absolute;
  top: 100%; /* Place le sous-menu juste en dessous de l'élément parent */
  left: 0;
  display: none; /* Masqué par défaut */
  list-style: none;
  background-color: rgba(0, 0, 0, 0.5);
  min-width: 150px;
  padding: 15px;
}
.nav-links li ul li {
  display: block;
  padding: 7.5px;
}

/* Afficher le sous-menu au survol */
.nav-links li:hover > ul {
  display: block;
}

.nav-social a {
  color: white;
}
.nav-social a:hover {
  color: rgb(228, 194, 0);
}

.menu-toggle {
  display: none;
}

/* Social media icons */
.social-media {
  display: flex;
  gap: 5px;
  margin-left: 30px;
}
.social-media a img {
  width: 24px;
  height: 24px;
  transition: all 0.5s ease;
}
.social-media a:hover img {
  transform: scale(1.2);
}

#slider {
  overflow: hidden;
}

#about, #services, #contact {
  padding: 60px 20px;
}

#services, #contact {
  text-align: center;
}

#about {
  background-color: #f8f9fa;
}

#services {
  background-color: #ededed;
}

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  gap: 30px;
  margin: 0 auto;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1em;
  color: black;
  background-color: white;
  border: 1px solid black;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.5s ease;
  font-family: "Montserrat Title";
}
button:hover {
  background-color: black;
  color: rgb(228, 194, 0);
}
button:hover a {
  color: rgb(228, 194, 0);
}

form {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

label {
  display: block;
  font-size: 1em;
  color: #333;
  margin-bottom: 10px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  color: #333;
  box-sizing: border-box;
}

input:focus, textarea:focus {
  outline: none;
  border-color: rgb(228, 194, 0);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

textarea {
  resize: none;
}

.about-content, .about-image {
  flex: 1;
  min-width: 300px;
}
.about-content hr, .about-image hr {
  margin-left: 0;
}
.about-content ul, .about-image ul {
  padding: 0;
  margin: 0;
  margin-left: 30px;
}
.about-content li, .about-image li {
  font-size: 1.2em;
  color: #666;
  line-height: 1.6;
  list-style: square;
}

.about-image {
  text-align: center;
}
.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-block {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex: 1 1 30%; /* 3 blocs sur une rangée */
  max-width: 30%;
  box-sizing: border-box;
  transition: all 0.5s ease;
  text-align: center;
  margin: 7.5px 0;
}
.service-block:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.service-block:hover img {
  filter: grayscale(0);
}
.service-block img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  filter: grayscale(1);
  transition: all 0.5s ease;
  display: block;
  object-fit: cover;
}
.service-block .service-title {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.3em;
  padding: 22.5px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-text button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 15px;
  position: absolute;
  right: 40%;
  bottom: 10%;
  width: 20%;
  border: none;
}
.slide-text button:hover {
  background-color: black;
}

video {
  object-fit: cover; /* Pour que la vidéo remplisse bien l'espace */
}

@media (max-width: 768px) {
  .logo img {
    width: 30%;
    margin-left: 35%;
    margin-top: 2%;
  }
  .nav.scrolled {
    background-color: white; /* Fully opaque when scrolling */
    opacity: 1;
  }
  .nav.scrolled .nav-social a {
    color: white !important;
  }
  .nav.scrolled .nav-social a:hover {
    color: rgb(228, 194, 0) !important;
  }
  .nav.scrolled .menu-toggle {
    color: black !important;
  }
  .nav-social {
    display: none;
  }
  .nav-social.active {
    display: flex;
  }
  .nav-social .social-media {
    display: none;
  }
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: black;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px black;
    color: white;
  }
  .nav-links li, .nav-links a {
    color: white !important;
  }
  .nav-links li ul {
    position: relative;
    display: block;
    padding: 15px 0 0 0;
  }
  .menu-toggle {
    display: block; /* Visible en mode mobile */
    position: absolute;
    top: 5%;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2em;
    color: black;
  }
  .menu-toggle:hover {
    background: none;
  }
  .slider {
    height: auto;
  }
  .slide-text button {
    width: 80%;
    right: 10%;
    top: 50%;
    bottom: auto;
  }
  .service-block {
    flex: 1 1 calc(50% - 20px); /* 2 blocs par rangée */
    max-width: calc(50% - 20px);
  }
}
@media (max-width: 480px) {
  .service-block {
    flex: 1 1 100%; /* 1 bloc par rangée */
    max-width: 100%;
  }
}

/*# sourceMappingURL=styles.css.map */
