/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=Roboto:wght@100;300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

/* Paramètres généraux */
body {
  top: 0%;
  padding: 0%;
  margin: 0%;
  background-image: url(../ressources/img/background.jpeg);
  background-repeat: no-repeat;
  background-size: 110%;
  background-color: #eae8dd;
}

section {
  margin: auto 5%;
}

/* Logo */
#logo {
  max-width: 15%;
  margin-left: 0px;
  border-radius: 10%;
}

/* Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  color: white;
  z-index: 1000;
}

header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.header-content {
  display: flex;
  flex-direction: row;
}

#menu-icon {
  max-width: 15%;
}

/* Navigation */
nav {
  position: sticky;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: space-evenly;
  align-items: center;
  overflow: hidden;
  transition: 0.50s;
  padding-top: 0;
  padding-bottom: 0;
  height: 50vh;
  width: 100%;
}

nav.hidden {
  height: 0px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 10px 40px;
  border-radius: 10px;
  transition: 1s;
  background-color: #e98075;
}

nav a:hover {
  color: rgb(255, 255, 255);
}

/* Titres et paragraphes */
#title {
  text-align: center;
  max-width: 60%;
  color: white;
  font-size: 40px;
  animation: fadeIn 1.5s ease-in-out forwards;
}

#title span {
  color: #e98075;
}

h2 {
  font-family: 'Outfit', sans-serif;
}

p, a {
  font-family: 'Poppins';
}

a {
  text-decoration: none;
}

/* Boutons */
button {
  width: 140px;
  height: 50px;
  border-radius: 45px;
  cursor: pointer;
  background: #e98075;
  font-size: 10px;
  color: white;
  font-weight: 550; /* Poids de police pour le texte gras */
}

button:hover {
  background: #ffffff;
  color: #e98075;
}

/* Sections */
.section-1 {
  margin-top: 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 55%;
}

.contact h2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 5%;
}

#map {  
  height: 400px;
  width: 90%;
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #e98075;
  color: white;
  gap: 5%;
  width: 100%;
  padding: 5%;
}

footer p {
  font-size: 14px;
  margin: 5px 0px;
  width: 60%;
}

.footer-link, .footer-contact-info, .footer-social {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  align-items: flex-end;
}

.footer-social .footer-link, a {
  text-decoration: none;
  color: white;
  margin: 5px 0;
  font-size: 14px;
}

#logo-tiktok, #logo-insta {
  max-width: 20%;
}

.footer-image {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

/* Media Queries */
@media only screen and (min-width: 480px) {
  #menu-icon {
    display: none;
  }

  body {
    background-image: url(../ressources/img/background2.jpeg);
    background-repeat: no-repeat;
    background-size: 100%;
  }

  #title {
    font-size: 80px;
  }

  nav {
    flex-direction: row;
  }

  nav.hidden {
    height: auto;
  }

  nav a {
    color: #e98075;
    text-decoration: none;
    transition: 1s;
    background-color: transparent;  
    font-size: 16px;
  }

  nav a:hover {
    background-color: transparent;
  }

  a.active, a:hover {
    color: white;
  }

  header {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.5));
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
  }

  .section-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10%;
  }

  .container-button {
    margin-top: 5%;
  }

  .section-2 {
    margin-top: 67%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .video-left {
    grid-row: 1 / 3;
    align-self: start;
  }

  .video-right {
    grid-row: 1 / 3;
    align-self: start;
  }

  .contact h2 {
    display: block;
  }

  footer {
    padding: 1%;
  }
}

/* Animation du fade-in */
@keyframes fadeIn {
  0% {
    transform: translateX(-100%); /* Texte commence à gauche */
    opacity: 0; /* Texte invisible au début */
  }
  100% {
    opacity: 1; /* Texte totalement visible à la fin */
  }
}
