.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 2; 
}

.hero-content {
    position: relative;
    z-index: 3; 
    text-align: center;
    color: #ffffff !important; 
}

.hero-content h1 {
    font-family: 'SigmarOne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}


/* --- TIMELINE SECTION --- */
.timeline-section {
  padding: 40px 20px;
  background-color: #fff;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 30px;
}

.section-title {
  font-family: 'SigmarOne', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}


.timeline-container {
  position: relative;
  padding-left: 30px; 
}


.timeline-line {
  position: absolute;
  left: 0; /* On colle la ligne tout à gauche du container */
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #7a8a45;
}

/* Timeline items */
.timeline-item {
  position: relative;
  padding-left: 40px; 
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -30px; 
  margin-left: 1px; 
  top: 10px;
  width: 12px;
  height: 12px;
  background-color: #7a8a45;
  border-radius: 50%;
  transform: translateX(-50%); 
  z-index: 2;
}

.timeline-date {
  font-family: 'Poppins-Bold', sans-serif;
  font-size: 18px;
  margin-bottom: 5px;
}

.timeline-event-title {
  font-family: 'Poppins-Bold', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-item p {
  font-family: 'Poppins-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* --- DESKTOP / LAPTOP --- */
@media (min-width: 768px) {
  .timeline-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 60px;
  }

  .timeline-intro {
    grid-column: 1 / 2;
  }

  .timeline-container {
    grid-column: 2 / 3;
    padding-left: 40px; 
    position: relative;
  }


  .timeline-line {
    left: 0;
  }
  
  .timeline-dot {
    left: -40px;
    transform: translateX(-50%);
    position: absolute;
  }

  .timeline-item {
    padding-left: 40px;
    margin-bottom: 50px;
  }

  .section-title {
    font-size: 35px;
    margin-bottom: 30px;
  }

  .timeline-date {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .timeline-event-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
}


/* --- SECTION NOS VALEURS --- */
.values-section {
    padding: 20px 0;
    background-color: #fff;
    text-align: center;
}

.values-main-title {
    font-family: 'SigmarOne', sans-serif;
    font-size: 36px; 
    margin-bottom: 40px;
}


.values-carousel-window {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.values-grid {
    display: flex;
    gap: 16px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.value-card {
    flex: 0 0 100%; 
    min-width: 250px;
    background-color: #FFFCF4;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    color: black;
    text-align: left;
    display: flex;
    flex-direction: column;
     border: 2px solid #294F0C; 
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-image-container {
    width: 100%;
    height: 250px;
    background-color: #ccc;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.value-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-info {
    padding: 0;
    flex-grow: 1;
}

.value-title {
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.value-description {
    font-family: 'Poppins-Regular', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.value-button {
    text-decoration: none;
    color: #fff;
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 25px;
    background-color: #d97732;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.value-button:hover {
    background-color: #bf6528;
}


.arrow-btn {
    background-color: #d97732;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s, opacity 0.3s;
    margin-left: 10px;
}

.arrow-btn:hover:not(:disabled) {
    background-color: #bf6528;
}

.arrow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
}


@media (min-width: 768px) {
     .values-grid {
        gap: 16px;
    }

    .value-card {
        flex: 0 0 calc(50% - 8px); 
    }

    .values-main-title {
        font-size: 48px;
        margin-bottom: 50px;
    }
}

@media (min-width: 1024px) {
     .value-card {
        flex: 0 0 calc(50% - 8px); 
    }

    .values-main-title {
        font-size: 56px;
        margin-bottom: 60px;
    }
}


/* --- SECTION RESERVATION --- */

section.reservation {
    width: 100%; 
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    box-sizing: border-box;
}

section.reservation h2 {
    color: #4A5D23;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 15px;
}

section.reservation .description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px; 
    margin-bottom: 25px;
    color: black;
}

/* BOUTON réutilisable */
section.reservation .btn-reserve {
    display: inline-block;
    margin: 20px 0;
    padding: 0.8rem 1.6rem;
    border: 3px solid #DD5D13;
    color: #DD5D13;
    background: transparent;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600; 
}

section.reservation .btn-reserve:hover {
    background-color: #DD5D13;
    color: #ffffff;
    cursor: pointer;
}

/* --- RESPONSIVE (Desktop) --- */

@media (min-width: 768px) {
    section.reservation {
        padding: 80px 50px;
    }

    section.reservation .description {
        margin-bottom: 40px;
    }
}