* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  
  body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
    margin-top: 120px;
  }

  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
  
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 70px;
  background-color: #e1e7f2;
  color: rgb(255, 255, 255);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  z-index: 1000;
  overflow: visible;
}

nav {
  display: flex;
  align-items: center;
  width: 100%;
  padding-right: 2.5rem; /* pour deplacer legerment à droite les links */
}

.logo {
  height: 60px;
  display: flex;
  align-items: flex-start;
}

.logo img {
  height: 160px;
  position: relative;
  top: -50px;
  image-rendering: auto;
}

/* pousse les liens complètement à droite */
.nav-links {
  margin-left: auto;
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: rgb(58, 58, 58);
  text-decoration: none;
}

.nav-links li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #FFA500;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links li:hover::after {
  width: 100%;
}
  
.timeline-section {
    padding: 50px 0;
}
  
.timeline-section h1 {
  font-size: 2.5rem;
}

.timeline-section h3 {
  font-size: 1.5rem;
  padding: 20px;
  margin-bottom: 20px;
}

.timeline {
    position: relative;
    width: 90%;
    margin: auto;
}
  
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    flex-wrap: wrap;
}
  
.timeline-item.left .content {
    order: 1;
    text-align: left;
}
.timeline-item.left img {
    order: 2;
}
.timeline-item.right .content {
    order: 2;
    text-align: right;
}
.timeline-item.right img {
    order: 1;
}
  
.timeline-item img {
    width: 45%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
  
.content {
    width: 50%;
    padding: 20px;
}
  
.content h2 {
    color: #FFA500;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
  
  /* Responsive */
  @media (max-width: 768px) {
    .timeline-item {
      flex-direction: column;
      text-align: center;
    }
  
    .timeline-item .content, .timeline-item img {
      width: 100%;
      order: unset !important;
    }
  }

  .timeline-section {
    padding: 100px 20px;
    background: #efefef;
    text-align: center;
  }
  
  .timeline-section h1 {
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: #FFA500;
  }
  
  .timeline-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
  }
  
  .timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FFA500;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box;
  }
  
  .timeline-item.left {
    left: 0;
    text-align: right;
  }
  
  .timeline-item.right {
    left: 50%;
    text-align: left;
  }
  
  .timeline-dot {
    position: absolute;
    top: 40px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid #FFA500;
    border-radius: 50%;
    z-index: 2;
  }
  
  .timeline-item.left .timeline-dot {
    right: -10px;
  }
  
  .timeline-item.right .timeline-dot {
    left: -10px;
  }
  
  .timeline-content {
    background: rgba(255, 255, 255, 0.3);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
  }

  
  .timeline-content h2 {
    color: #222;
    font-size: 1.8rem;
  }
  
  .timeline-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
  }
  
  
  .timeline-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
      width: 100%;
      left: 0 !important;
      text-align: left;
      padding-left: 60px;
      margin-bottom: 50px;
    }
  
    .timeline-container::before {
      left: 20px;
    }
  
    .timeline-dot {
      left: 0 !important;
    }
  }

  .timeline-background {
    background: url('images/RennSA50.jpg') center/cover no-repeat;
    position: relative;
    z-index: 1;
  }
  
  .timeline-overlay {
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1); /* Plus léger et élégant */
    padding: 60px 20px;
  }
    
  .timeline-section {
    position: relative;
    z-index: 2;
  }
  
  footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 1.875rem;
  }