* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f2ef;
  color: #333;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  padding: 20px;
}

h1, h2, h3 {
  color: #8b5e3c;
  font-weight: bold;
  margin-bottom: 15px;
}

a, button {
  text-decoration: none;
  cursor: pointer;
  border: none;
}

/*les boutons*/

.btn, form .btn {
  background-color: #f28c28;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
  cursor: pointer;
}

.btn:hover, form .btn:hover {
  background-color: #e67c1e;
}

/*le header*/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #8b5e3c;
  padding: 10px 20px;
  color: white;
  flex-wrap: wrap;
}

header .left, header .right {
  display: flex;
  gap: 10px;
}

header .center img {
  height: 50px;
}

header button {
  padding: 8px 12px;
  border-radius: 5px;
}

/*hero*/

.hero {
  position: relative;
  text-align: center;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  display: block;
}

.hero h1 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.hero .btn {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* ===========================
   SECTIONS / PACKS
=========================== */
.section {
  padding: 50px 20px;
}

.packs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  background-color: #fff8f0;
}

.packs img {
  width: 400px;
  max-width: 100%;
  border-radius: 10px;
}

.packs-text {
  max-width: 500px;
}

.packs-text h2 {
  margin-bottom: 15px;
}

.packs-text p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.packs-text .cta {
  background-color: #f28c28;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.packs-text .cta:hover {
  background-color: #e67c1e;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background-color: #8b5e3c;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

/* ===========================
   FORMULAIRES
=========================== */
form {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff8f0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form h1 {
  text-align: center;
  margin-bottom: 20px;
}

form label {
  font-weight: bold;
}

form input, form select, form textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
  transition: border 0.3s;
}

form input:focus, form select:focus, form textarea:focus {
  border-color: #f28c28;
  outline: none;
}

form p {
  text-align: center;
  font-size: 0.9em;
}

form a {
  color: #f28c28;
}

form a:hover {
  text-decoration: underline;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
    padding: 0 10px;
  }

  header .left, header .right {
    gap: 5px;
  }

  header .center img {
    height: 40px;
  }

  .packs {
    flex-direction: column;
  }

  .packs-text {
    text-align: center;
  }
}

/* ===========================
   PAGE PACKS
=========================== */
.packs-intro {
    text-align: center;
    margin: 30px 0;
    color: #5D4037;
}

.packs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pack-card {
    background: #fff;
    width: 350px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pack-card h2 {
    color: #E69542;
    margin-top: 0;
    font-size: 1.8em;
}

.pack-desc {
    color: #666;
    margin-bottom: 15px;
}

.pack-etapes {
    background-color: #FCE2AD;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.etape-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.etape-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pack-footer {
    margin-top: auto;
    text-align: center;
}

.pack-price {
    color: #E69542;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

/* ===========================
   PAGE MES PARCOURS
=========================== */
.parcours-card {
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #fff8f0;
}

.parcours-card h2 {
    color: #8b5e3c;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.parcours-card p {
    margin: 5px 0;
}

.parcours-card ul {
    margin-top: 10px;
    padding-left: 20px;
}

.parcours-card li {
    margin-bottom: 5px;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.actions span.no-action {
    color: gray;
}

/* ===========================
   PAGE MES RESERVATIONS
=========================== */

.dashboard-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
}

.section-title {
    color: #8b5e3c;
    padding-bottom: 10px;
    margin-top: 40px;
}

/* --- Cartes réservations et parcours --- */
.resa-card {
    background: white;
    border: 1px solid #ddd;
    border-left: 5px solid #e67c1e; /* couleur par défaut, orange */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.parcours-card {
    border-left-color: #5D4037; /* marron pour parcours */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
}

.status-green { background-color: #27ae60; }
.status-orange { background-color: #f39c12; }
.status-grey { background-color: #95a5a6; }

.details-list {
    margin-top: 10px;
    padding-left: 20px;
    font-size: 0.9em;
    color: #666;
}

.details-list ul {
    list-style: disc;
    padding-left: 20px;
    margin: 5px 0;
}

