body {
  margin: 0;
  padding: 0;
  background-color: antiquewhite;
}
/* Header container */
.menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
}

header.menu {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 14px 28px;
  border-radius: 25px;
  z-index: 20;
}

header.menu nav {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.menu__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu__logo img,
.menu__logo .logo {
  width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
}

.menu__title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 35px;
  font-weight: 600px;
  color: #3a3939;
  text-decoration: none;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  line-height: 1;
  text-shadow: #000000 1px 1px 0.5px;
  padding-left: 40px;
}

.menu__title:hover {
  color: #333;
}

.menu__nav {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: auto;
}

.menu__nav a,
.menu__link {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(10px, 2.5vw, 18px);
  color: #111;
  text-decoration: none;
  text-transform: none;
  opacity: 0.95;
  display: inline-block;
  padding: 7px 8px;
  font-weight: 600;
  transition: color 0.18s ease, opacity 0.18s ease, text-shadow 0.18s ease;
}

.menu__nav a:hover {
  color: antiquewhite;
  opacity: 1;
  background-color: #3a3939;
  text-overflow: bold;
  border-radius: 15px;
  border: 1px solid #3a3939;
}

/* indicateur de pages */

.menu__nav li:nth-child(2) a {
  color: antiquewhite;
  opacity: 1;
  background-color: #3a3939;
  text-overflow: bold;
  border-radius: 15px;
  border: 1px solid #3a3939;
}

.ligne {
  width: 30px;
  height: 3px;
  background: #3a3939;
  border-radius: 2px;
  transition: all 0.3s ease;
  z-index: 25;
  margin-right: 10px;
  padding-bottom: 2px;
  padding-right: 4px;
}

/* Mobile Menu Sidebar */
.mobile__menu {
  position: fixed;
  right: -320px;
  top: 0;
  width: 280px;
  height: 100vh;
  background: rgba(58, 57, 57, 0.98);
  backdrop-filter: blur(10px);
  z-index: 40;
  transition: right 0.3s ease-in-out;
  padding-top: 80px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 400;
}

.mobile__menu.active {
  right: 0;
}

.mobile__menu__close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 50;
  transition: color 0.2s ease;
}

.mobile__menu__close:hover {
  color: #ccc;
}

.mobile__menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile__menu__link {
  display: block;
  padding: 16px 24px;
  color: #fff;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile__menu__link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e0a3ff;
}

/* Overlay pour fermer le menu */
.mobile__menu__overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.mobile__menu__overlay.active {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.menu__nav li {
  display: inline-flex;
  align-items: center;
}

/* Styles pour mobile */

@media screen and (max-width: 768px) {
  .menu__nav {
    display: none;
  }

  header.menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 14px 28px;
    border-radius: 0px;
    z-index: 20;
  }

  .menu__mobile__brand {
    display: flex !important;
    position: fixed;
    right: 24px; /* distance du bord droit */
    top: 22px; /* aligne verticalement dans le header */
    z-index: 30;
    gap: 6px;
    padding: 10px; /* espace entre bord et lignes */
    background: transparent;
  }

  .menu__title {
    font-size: 35px;
    padding-left: 25px;
    align-items: vertical;
    display: flex;
    flex-wrap: wrap;
  }

  header.menu {
    padding-right: 72px;
  }

  .logo {
    padding-left: 5px;
  }

  .background__title {
    position: fixed;
    top: 25%;
    left: 250px;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    width: 800px;
    height: auto;
    padding: 20px;
    background-color: rgba(58, 57, 57, 0.7);
    color: antiquewhite;
    border-radius: 20px;
    box-shadow: 1px 1px 12px #000000;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease;
  }
}

.menu__mobile__brand {
  display: none;
  flex-direction: column;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 25;
  margin-right: 20px;
  margin-right: 20px;
}

.ligne {
  width: 30px;
  height: 5px;
  background: #3a3939;
  border-radius: 2px;
  transition: all 0.3s ease;
  z-index: 25;
  margin-right: 10px;
  padding-bottom: 2px;
  padding-right: 4px;
}

/* image head*/

.img__head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  background-color: antiquewhite;
  z-index: 1;
  transition: height 0.3s ease;
}

.img__hall {
  width: 100%;
  height: 700px;
  display: block;
  object-fit: cover;
}

/**/

.contenu__page {
  position: relative;
  margin-top: 500px;
  background-color: antiquewhite;
  z-index: 2;
  min-height: 100vh;
  box-shadow: 1px 1px 400px #000000;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #5a5959;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 80px;
}

/* TEXTE */

.texte {
  width: 90%;
}

.texte h2 {
  font-size: clamp(26px, 4vw, 42px);
  color: #2f2f2f;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.texte h3 {
  font-size: clamp(18px, 2.5vw, 26px);
  color: #7a6a55;
  margin-bottom: 40px;
}

/* IMAGES */

.images {
  width: 45%;
  display: flex;
  flex-direction: column; /* empile verticalement */
  gap: 0px;
  align-items: flex-end;
}

.images img {
  width: 100%;
  max-width: 400px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.image1 {
  rotate: 10deg;
}

.image2 {
  rotate: -10deg;
}

.image3 {
  rotate: 10deg;
}

.image4 {
  rotate: -10deg;
}

.zoomable {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5 ease;
  z-index: 1000;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8); /* départ zoomé */
  transition: transform 0.5s ease; /* transition du zoom */
}

.lightbox.active img {
  transform: scale(1);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.arrow.left {
  left: 30px;
}

.arrow.right {
  right: 30px;
}

.arrow:hover {
  opacity: 1;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.close:hover {
  opacity: 1;
}

.contenu__page p {
  font-size: 25px;
}

.horaires {
  background-color: #ed9f67; /* fond doux style “marché gourmand” */
  padding: 60px 20px;
  text-align: center;
  font-family: "Georgia", serif;
  color: #3a3939;
}

.horaires h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3a3939; /* couleur chaleureuse */
}

.horaires__cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 1);
  padding: 30px 20px;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #8b0000; /* couleur un peu plus forte pour chaque titre */
}

.card p {
  font-size: 18px;
  line-height: 1.5;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .horaires__cards {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

.contenu__page2 {
  position: relative; /* comme contenu__page */
  z-index: 10; /* au-dessus de l'image ou autres éléments */
  margin-top: -20px; /* espace après contenu__page */
  width: 100%;
  display: flex;
  justify-content: center; /* centrer les cartes */
  padding: 60px 20px;
  background-color: #ed9f67; /* même style que tes cartes horaires */
  box-shadow: 0 -30px 50px rgba(50, 50, 50, 0.5); /* léger relief */
  box-shadow: 0 10px 50px rgba(50, 50, 50, 0.5); /* léger relief */
  transition: all 0.3s ease; /* pour que ça bouge doucement si nécessaire */
  border-radius: 25px;
}

.contenu__page,
.contenu__page2,
.contenu__page3 {
  width: 100%;
  margin-top: 0 auto; /* centré horizontalement */
  padding: 60px 100px;
  box-sizing: border-box;
}

.contenu__page3 {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  z-index: 9;
  background-color: antiquewhite;
  margin-top: -15px;
}

.map-card {
  max-width: 600px;
  width: 100%;
  margin-top: 50px;
  background-color: #f6f6f6;
  border-radius: 25px;
  box-shadow: 0 3px 10px black;
  border: 4px solid #5a5959;
}

.map-card .maps {
  width: 100%;
  height: 300px; /* hauteur de la carte */
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.map-card .map-info {
  padding: 20px 25px;
  text-align: center;
}

.map-card .map-info h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  color: #8b0000;
}

.map-card .map-info p {
  margin: 5px 0;
  font-size: 16px;
}

.map-card .map-info small a {
  color: #3a3939;
  text-decoration: underline;
}

.map-card .map-info small a:hover {
  color: #8b0000;
}

.access-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 100px;
  margin-left: 100px;
}

.access-card {
  width: 320px;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 -30px 50px rgba(50, 50, 50, 0.5); /* léger relief */
  box-shadow: 0 10px 50px rgba(50, 50, 50, 0.5); /* léger relief */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.access-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.access-card h3 {
  margin: 0 0 10px;
}

.access-short {
  font-size: 0.95rem;
  color: #555;
}

/* DÉTAILS CACHÉS */
.access-details {
  margin-top: 15px;
  padding-left: 18px;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s ease, max-height 0.4s ease;
}

/* AU SURVOL */
.access-card:hover .access-details {
  opacity: 1;
  max-height: 300px;
}

.access-details li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.access-container h3 {
  position: relative;
  justify-content: center;
}

.access-container .access-card:nth-child(1) {
  background-image: url(../images/image_about/train.png);
  background-size: cover;
  background-position: fixed;
}

.access-container .access-card:nth-child(2) {
  background-image: url(../images/image_about/bus.png);
  background-size: cover;
  background-position: fixed;
}

/*Footer*/

.footer-dark {
  position: relative;
  padding: 50px 0;
  color: #f0f9ff;
  background-color: #282d32;
  z-index: 9;
}

.footer-dark h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 16px;
}

.footer-dark ul {
  padding: 0;
  list-style: none;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
}

.footer-dark ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
}

.footer-dark ul a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .footer-dark .item:not(.social) {
    text-align: center;
    padding-bottom: 20px;
  }
}

.footer-dark .item.text {
  margin-bottom: 36px;
}

@media (max-width: 767px) {
  .footer-dark .item.text {
    margin-bottom: 0;
  }
}

.footer-dark .item.text p {
  opacity: 0.6;
  margin-bottom: 0;
}

.footer-dark .item.social {
  text-align: center;
}

@media (max-width: 991px) {
  .footer-dark .item.social {
    text-align: center;
    margin-top: 20px;
  }
}

.footer-dark .item.social > a {
  font-size: 20px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  margin: 0 8px;
  color: #fff;
  opacity: 0.75;
}

.footer-dark .item.social > a:hover {
  opacity: 0.9;
}

.footer-dark .copyright {
  text-align: center;
  padding-top: 24px;
  opacity: 0.3;
  font-size: 13px;
  margin-bottom: 0;
}
