/* ===== GLOBAL ===== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  background-color: #e20025;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 80px;
  padding: 0 60px;
  width: 100%;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  position: absolute;
  left: 60px;
  top: 120%;
  transform: translateY(-50%);
}

.logo img {
  height: 200px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-menu a {
  margin-left: 30px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #000;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 10;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== SECTION POSTULER ===== */
/* ===== SECTION REJOIGNEZ-NOUS ===== */
.recrutement-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
  min-height: 100vh;
}

/* Titre principal */
.recrutement-section h1 {
  color: #e20025; /* rouge */
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Texte d’introduction */
.recrutement-section p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
}

/* ===== FORMULAIRE ===== */
.recrutement-form {
  background-color: #8cc740; /* vert */
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-align: left;
}

.recrutement-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.recrutement-form input[type="text"],
.recrutement-form input[type="email"],
.recrutement-form input[type="tel"],
.recrutement-form input[type="file"],
.recrutement-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
}

/* Disponibilités */
.disponibilites {
  background-color: #fff;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.disponibilites h3 {
  color: #000000;
  margin-bottom: 15px;
  text-align: center;
}

.dispo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.dispo-table th,
.dispo-table td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

/* Champ message */
.recrutement-form textarea {
  resize: vertical;
  height: 120px;
}

/* Bouton Envoyer */
.recrutement-form button {
  display: block;
  background-color: #1e3402;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  margin: 0 auto;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.recrutement-form button:hover {
  background-color: #467905;
  transform: scale(1.05);
}

/* Champs obligatoires */
.recrutement-form input:required,
.recrutement-form textarea:required {
  border: 2px solid #ffffff;
}


/* ===== FOOTER ===== */
.footer {
  background-color: #222;
  color: white;
  padding: 30px 50px;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 10px;
  width: 100%;
}

.footer-block {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-block h3 {
  color: #e20025;
  margin-bottom: 10px;
}

.footer-block p,
.footer-block a {
  color: white;
  margin-bottom: 5px;
  font-size: 0.95em;
  text-decoration: none;
}

.footer-block a:hover {
  color: #e20025;
}

.footer-copy {
  text-align: center;
  opacity: 0.7;
  font-size: 0.85em;
  margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 30px;
    height: 70px;
  }

  .logo {
    left: 30px;
    top: 100%;
  }

  .logo img {
    height: 150px;
  }

  .hamburger {
    display: flex;
    position: absolute;
    top: 25px;
    right: 30px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(226, 0, 37, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    z-index: 5;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    margin: 15px 0;
    font-size: 1.2em;
  }

  .job-application-section {
    padding: 80px 30px;
  }

  .form-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 20px;
    height: 60px;
  }

  .logo {
    left: 20px;
  }

  .logo img {
    height: 120px;
  }

  .job-application-section h1 {
    font-size: 2em;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }

  .footer {
    padding: 20px;
  }
}
/* ===== LIVRAISON DROPDOWN ===== */
.nav-delivery {
  position: relative;
  display: flex;
  align-items: center;
}

/* Dropdown */
.delivery-dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: #e20025;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: none;
  min-width: 160px;
  z-index: 9999;
}

.delivery-dropdown a {
  display: block;
  padding: 12px 18px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.delivery-dropdown a:hover {
  background-color: #e20025;
  color: #000000;
}

/* Desktop : hover pour afficher dropdown */
@media (min-width: 769px) {
  .nav-delivery:hover .delivery-dropdown {
    display: block;
  }
}
