html{
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F1E8D6; 
  color: #2E2E2E; 
  line-height: 1.6;
}

/* ======================
   NAV SIDE MENU
====================== */
.burger {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  z-index: 1100;
  cursor: pointer;
  color: #ffffff;
  background: #2F6B4F; 
  padding: 0px 20px;
  border-radius: 15px;
}

/* Sidebar base style */
.sidebar {
  width: 220px;
  min-height: 100vh;
  background-color: #2F6B4F; 
  color: #ffffff;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
  z-index: 1000;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Push main content right */
main {
  margin-left: 220px;
  padding: 20px;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-links li a {
  color: #ffffff; 
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
  transition: background 0.3s ease;
  border-radius: 5px;
  font-size: 1rem;
  display: block;
}

.nav-links li a:hover {
  background-color: rgba(255,255,255,0.15); 
  padding: 10px;
}

h1 {
  margin-bottom: 10px;
  font-size: 64px;
}

h2 {
  border-bottom: 2px solid #D8CBB0; 
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #E0D2B4; 
  margin: 5px 0;
  padding: 10px;
  border-radius: 6px;
}

a {
  color: #2E2E2E; 
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  background-color: #2F6B4F; 
  color: #ffffff;
  padding: 20px;
}

/* ======================
   SECTION ACCUEIL
====================== */

.accueil {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.25)
  ),
  url("../../images/image_hero.jpg");
  background-size: clamp(400px, 50vw, 800px) auto;
  background-position: center;
  background-repeat: no-repeat;
}

/* Voile pour lisibilité du texte */
.accueil-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenu centré */
.accueil-content {
  text-align: center;
  color: #FFFFFF;
  padding: 20px;
  max-width: 800px;
}

.accueil-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.accueil-slogan {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
}

/* ======================
   SCROLL INDICATOR
====================== */

.scroll-indicator-chevron {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none; 
}

/*premier chevron*/
.scroll-indicator-chevron span {
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  opacity: 0;
  animation: chevronFlow 2s infinite;
}

/*second chevron*/
.scroll-indicator-chevron span:nth-child(2) {
  animation-delay: 0.1s;
}


/* ======================
   SECTION ABOUT
====================== */
.presentation {
  max-width: 1000px;
  margin: auto;
  padding: 60px 20px;
}

.presentation h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
}

.columns {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: center;
}

.column {
  flex: 1;
}

.images-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.images-row img,
.column img {
  width: 45%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.column h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.column p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 15px;
}

/* ======================
   SECTION HISTOIRE
====================== */
.parcours {
  max-width: 1000px;
  margin: auto;
  padding: 60px 20px;
}

.parcours h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 50px;
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #D8CBB0; 
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 5px;
  width: 14px;
  height: 14px;
  background-color: #8C3F10; 
  border-radius: 50%;

}
.timeline-content {
  padding-left: 30px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.timeline-content p {
  line-height: 1.6;
  margin-bottom: 10px;
}

img.munz-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 60px;
  max-width: 280px;
  height: auto;
}

/* ======================
   SECTION PRESTATION
====================== */
.prestations {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.prestations h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
}

.prestations h3 {
  font-size: 1.4rem;
  margin-top: 35px;
  margin-bottom: 10px;
  color: #3F7F5F; 
}

.prestations p {
  margin-bottom: 15px;
}

.prestations ul {
  margin: 10px 0 20px 20px;
}

.prestations li {
  margin-bottom: 6px;
}

.image-prestation {
  display: block;              
  margin: 0 auto;    
  max-width: 100%;             
  height: auto;                
  border-radius: 6px;         
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* ======================
   SECTION TARIFS
====================== */
.tarifs {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.tarifs h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
}

.tarifs .offre {
  text-align: center;
  font-style: italic;
  margin-bottom: 30px;
  color: #3F7F5F; 
}

.tarifs table {
  width: 100%;
  border-collapse: collapse;
}

.tarifs th,
.tarifs td {
  padding: 12px 8px;
  border-bottom: 1px solid #D8CBB0; 
  vertical-align: top;
}

.tarifs th {
  text-align: left;
  font-weight: 600;
}

.tarifs td.prix {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.tarifs .details {
  font-size: 0.9rem;
  color: #555;
}

.tarifs .note {
  margin-top: 25px;
  padding: 15px;
  background-color: #EADFC4; 
  border-left: 4px solid #8C3F10; 
  font-style: italic;
}

/* ======================
   CONTACT
====================== */
.contact {
  padding: 60px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.contact h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
  margin-top: 60px;
}

.info-box-social .icon{
  color: #333;
  font-size: 30px;
  border-radius: 50%;
  width: 64px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
}

.icon img,
.info-box img {
  width: 48px; 
  height: auto;
  margin-bottom: 10px;
}

.info-box img:hover,
.icon img:hover {
  transform: scale(1.1);
}

.info-box h3 {
  font-size: 16px;
  text-transform: uppercase;
}

.info-box p {
  line-height: 1.5;
}

.contact-content {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.left, .right {
  margin-top: 2em;
}

/* LEFT SIDE */
.left h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.subtitle {
  color: #666;
  margin-bottom: 2rem;
}

.hours {
  background: #3F7F5F;
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 20px;
}

.hours h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.hours p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* RIGHT SIDE */
.contact-form {
  background: #EADFC4; 
  padding: 2rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #333;
}

input,
textarea {
  margin-top: 0.4rem;
  padding: 0.7rem 0.8rem;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
}

textarea {
  resize: none;
}

button {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: #8C3F10; 
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #6E2F0B; 
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 1450px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .burger {
    display: block;
  }
}

@media (max-width: 786px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .burger {
    display: block;
  }

  .accueil-content h1 {
    font-size: 2.4rem;
  }

  .accueil-slogan {
    font-size: 1.1rem;
  }

  .columns {
    flex-direction: column;
    gap: 40px;
  }

  .images-row {
    flex-direction: column;
    align-items: center;
  }

  .images-row img {
    width: 60%;
  }

  .parcours {
    padding: 40px 15px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

/*ANIMATION DE SCROLL INDICATOR*/
@keyframes chevronFlow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-6px, -6px);
  }

  30% {
    opacity: 1;
  }

  60% {
    opacity: 1;
    transform: rotate(45deg) translate(6px, 6px);
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(6px, 6px);
  }
}