body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 6px 5px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition:
    background 0.3s ease-in-out,
    transform 0.4s ease-in-out;
  /* overflow: hidden; */
}

.header-hidden {
  transform: translateY(-100%);
}

.nav-left {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.nav-left img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Logo */
.logo {
  font-size: 18px;
  font-weight: bold;
}

/* Hamburger button */
.hamburger {
  display: none;
  /* Hidden by default on larger screens */
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Navigation menu */
.nav-menu {
  display: flex;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  padding-right: 10px;
}

.nav-menu ul li {
  margin: 0 15px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.hero-section {
  height: 265px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("accueilbackground.png") no-repeat center center;
  max-height: 200px;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.hero-section h1 {
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.5rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.split-zone {
  display: flex;
  gap: 20px;
  /* Space between the image and text */
  max-width: 1500px;
  /* Limit the overall width */
  margin: 50px auto;
  /* Center the container horizontally */
  padding: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.split-zone.show {
  opacity: 1;
  transform: translateY(0);
}

.image-section {
  flex: 2;
}

.image-section img {
  max-width: 100%;
  /* Ensure the image fits within its container */
  max-height: 1000px;
  /* Limit the height of the image */
  border-radius: 10px;
  /* Rounded corners for a polished look */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Subtle shadow for depth */
}

.text-section {
  flex: 1;
  /* Take up 1/3 of the container */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  /* White background for contrast */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
  /* Subtle shadow for depth */
}

.text-section2 {
  flex: 2;
  /* Take up 1/3 of the container */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  /* White background for contrast */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
  /* Subtle shadow for depth */
}

.text-section2 p {
  font-family: recursive;
  font-size: 30px;
  color: #333;
  /* Dark text for readability */
  line-height: 1.5;
  /* Improve readability with line spacing */
  text-align: center;
  /* Center-align text */
}

.image-section2 {
  flex: 1;
}

.image-section2 img {
  max-width: 100%;
  /* Ensure the image fits within its container */
  max-height: 1000px;
  /* Limit the height of the image */
  border-radius: 10px;
  /* Rounded corners for a polished look */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Subtle shadow for depth */
}

.text-section p {
  font-family: recursive;
  font-size: 30px;
  color: #333;
  /* Dark text for readability */
  line-height: 1.5;
  /* Improve readability with line spacing */
  text-align: center;
  /* Center-align text */
}

@media (max-width: 768px) {
  .hamburger {
    padding-right: 25px;
    padding-bottom: 6.5px;
    overflow: hidden;
    display: block;
  }

  .nav-menu {
    display: none;
    /* Hide menu initially */
    flex-direction: column;
    position: absolute;
    top: 57px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* More opacity for menu */
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
  }

  .nav-menu ul {
    flex-direction: column;
  }

  .nav-menu ul li {
    margin: 10px 0;
  }

  .nav-menu.active {
    display: flex;
    opacity: 1 !important;
    visibility: visible !important;
    /* Show menu when active */
  }

  .split-zone {
    flex-direction: column-reverse;
    max-width: 300px;
    align-items: center;
    /* Stack image and text vertically on smaller screens */
  }

  .text-section p {
    font-size: 25px;
  }

  .text-section2 p {
    font-size: 20px;
  }

  .image-section,
  .text-section {
    flex: none;
    width: 100%;
    /* Full width for smaller screens */
  }

  .image-section img {
    max-height: 300px;
    width: 400px;
    /* Reduce height on smaller screens */
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.social-icons img {
  width: 80px;
}

svg {
  display: block;
  /* Ensure it's rendered */
  width: 45px;
  height: 45px;
}

svg path {
  fill: #3b5998;
}

svg:hover path {
  fill: #4267b2;
}
