@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

body {
  font-family: 'Oswald';
  background-color: #f3f4f6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============== NAVBAR =============== */
/* Navbar styles */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 100px;
  width: 100px;
  object-fit: contain;
  justify-content: center;
  align-items: center;
}

/* Nav links */
.nav-links {
  font-family: "Bebas Neue";
  font-size: 1.3rem;
  font-style: normal;
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  position: relative;
  transition: color 0.3s;
  padding: 0.5rem;
  display: inline-block;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2563eb;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Contact Button */
.contact-btn a {
  font-family: "Bebas Neue";
  background-color: #2563eb;
  color: white;
  font-size: 1.5rem; /* taille du texte augmentée */
  padding: 0.5rem 2rem; /* plus d’espace intérieur */
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s;
}


.contact-btn a:hover {
  background-color: #1d4ed8;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
}

/* Mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 1rem;
  gap: 1rem;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #2563eb;
}

.mobile-contact {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem;
  text-align: center;
  border-radius: 8px;
}
.hidden {
  display: none;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .nav-links, .contact-btn {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 1rem 60px;
  background-color: whitesmoke;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.card {
  width: 100%;
  max-width: 50%;
  aspect-ratio: 3 / 2;
  perspective: 1500px;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
  margin-bottom: 5rem;
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  backface-visibility: hidden;
  
}

.card-front img,
.card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-back {
  transform: rotateY(180deg);
}

.card.flip {
  transform: rotateY(180deg);
}

@media (max-width: 768px) {
  .card {
    aspect-ratio: 3/2;
    max-width: 90%;
  }


@media (max-width: 480px) {
  .card {
    margin-top:100px;
    max-width: 90%;
    aspect-ratio: 3/2;
  }

  .contact-section {
    padding-top: 100px;
    padding-bottom: 50px;
  }
    
}

/* =============== FOOTER =============== */
footer {
  position: relative;
  width: 100%;
  background: #3486ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  margin-top: auto; /* S'assure que le footer est en bas */
}

footer .social_icon,
footer .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

footer .social_icon li,
footer .menu li {
  list-style: none;
}

footer .social_icon li a {
  font-size: 2em;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

footer .social_icon li a:hover {
  transform: translateY(-10px);
}

footer .menu li a {
  font-size: 1rem;
  font-family: "Oswald";
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  text-decoration: none;
  opacity: 0.75;
}

footer .menu li a:hover {
  opacity: 1;
  transition: 0.5s;
  transform: translateY(-10px);
}

footer p {
  color: #fff;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 0.9em;
}

footer .wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: whitesmoke url(wave.png);
  background-size: 1000px 100px;
}

footer .wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWave 4s linear infinite;
}

@keyframes animateWave {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-position-x: 0px;
  }
  
}