/* CSS spécifique pour mobile */
@media (max-width: 767px) {
  .logo-container .logo {
    width: 50px;
    height: 50px;
    margin: 5px;
}


  .showcase img {
    width: 100%;
    display: block;
    object-fit: cover; 
    height: 100%;
  }
  .white-bg-mobile {
    padding: 0px;
    margin: 0px;
    background: #fff;
  }
  header {
    border-bottom: 1px solid #ccc;
  }
  .container-about {
   /* padding-top: 100px;*/
    background: #000000bf;
    color: white;
  }
  .container-full {
    padding: 28px 14px 64px;
    background: #eef1f0;
  }
  .timeline-image {
    display: none;
  }
    .blog-summary {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        flex-direction: column;
      }
      .timeline-image img {
        width: 80%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
      }
      
      
    .about-block {
        background: #fff;
        padding: 20px;
        margin: 5px auto;
        width: 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        max-width: 100%; /* Ajouté pour éviter le débordement */
      }
    .text-content {
        padding: 1em;
    }
    .showcase-text {
        padding: 1em;
    }
    .container {
      width: 95%;
    }
   
    header h1 {
      font-size: 28px;
    }
  
    .showcase-text h2 {
      font-size: 36px;
    }
  
    .showcase-text p {
      font-size: 18px;
    }
  
    .timeline {
      flex-direction: column;
    }
  
    .timeline-item {
      padding-left: 20px;
    }
  
    h1, h2, h3 {
      text-align: center;
    }
    .themes {
      flex-direction: column;
      align-items: center;
    }
  
   
  
    .contact-form {
      max-width: 100%;
    }
  
    .pagination a {
      margin: 5px 0;
      display: block;
    }

    footer {
        
        background: #19403a;
        color: #fff;
        text-align: center;
        padding: 10px 0;
        
        display: flex;
        overflow: hidden;
        border-top: 2px groove #6283ca47;
    }

    .showcase {
        position: relative;
        text-align: center; 
      }

      .centerElements {
        position: relative;
        text-align: center; 
      }

      .logo {
        width: 75px;
        height: auto;
        border-radius: 50%;
      }
      
      .container-header {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        background: transparent;
        min-height: 70px;
      }
      
      .site-name {
        font-size: 16px;
        font-weight: bold;
        margin-left: 10px;
      }
      
    .main-nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    /* Styles pour l'état ouvert du menu burger */
    .burger-menu.open .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .mobile-nav.open {
        display: flex;
        background: rgba(0, 0, 0, .88);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        /*background-color: #0f4a40;*/
        /* position: absolute; */
        top: 70px;
        width: 100%;
        left: 0;
        z-index: 999;
       /* padding: 20px 0;*/
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .mobile-nav.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-nav a {
        color: #fff;
        /*padding: 15px 20px;*/
        text-decoration: none;
        border-bottom: 1px solid #ccc;
    }

    .mobile-nav a:hover {
        background-color: rgba(255, 255, 255, .12);
    }

    .mobile-nav.open {
        display: flex;
    }

    /* Styles pour l'état ouvert du menu burger */
    .burger-menu.open .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

  .timeline-icon {
    display: flex;
    justify-content: center;
  }


  /* theme */ 
  .themes-section {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100vw;
    height: 100vh;
}
.section-title {
  position: absolute;
  top: 0px;
  margin: 0px;
  width: 100%;
 /* transform: translateX(-50%);*/
  font-size: 1rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent */
  /*padding: 10px 20px;*/
  z-index: 10; /* S'assure que le titre est au-dessus de tout */
  text-align: center;
  padding-top: 15px;
  padding-bottom: 15px;
}
 
.theme {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 90vh;
    border-bottom: 50px solid #000;
    width: 100%;
}

.theme:last-child {
    border-right: none;
}
.theme {
  position: relative;
  overflow: hidden;
  height: 90vh;
  display: none; /* Hide all themes initially */
}

.theme.active {
  display: block; /* Show the active theme */
}

.theme-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(100%); /* Start from the right */
  transition: transform 0.5s ease; /* Duration and ease of the slide effect */
}

.theme.active .theme-img {
  transform: translateX(0); /* Slide into view */
}

.theme-overlay {
  position: absolute;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 2;
  transition: opacity 0.3s ease;
  padding: 1em;
  align-content: center;
  bottom: 0;
  opacity: 0; /* Start invisible */
}

.theme.active .theme-overlay {
  opacity: 1; /* Fade in the overlay */
}
/*
.overlayTop {
  top: 0;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
}

.overlayBottom {
  bottom: 0;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-end;
}
*/

.floatable {
  animation: float 5s ease-in-out infinite;
}

  .type-thumbnail {
      width: 100%;
      /* height: 100px; */
      object-fit: cover;
      /* margin-right: 20px; */
      border-radius: 10px;
  }
  .cart-type {
    
   display: flex;
   flex-direction: column;
    border-radius: 25px;
    box-shadow: 6px 7px 10px 3px rgb(15 70 38 / 10%);
  
    padding: 1em;
    margin-top: 50px;
  }
  .reservser-type {
    flex-direction: row-reverse;
  }
  .type-summary h2 {
    font-size:large;
  }

  .themes-section {
    display: flex;
    /*overflow-x: scroll;*/
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    position: relative;
  }

.theme {
    flex: none;
    scroll-snap-align: start;
    width: 100%;
    position: relative;
}

.theme img {
    width: 100%;
    height: 90vh;
    /*height: auto;*/
    display: block;
    object-fit: cover;
}
.large-bande {
  height: 10vh;
}
.theme-overlay {
  height: 50%;
  background: rgb(0 0 0 / 75%);
  color: #fff;
}

.theme:hover .theme-overlay {
    opacity: 1;
}

.mobile-marge {
  margin-top: 50px;
}

.showcase-text h1 {
  font-size: 14px;
  /* margin-bottom: 10px; */
  position: absolute;
  top: 50px;
  color: white;
  width: 50%;
}
h2 {
  font-size:larger;
}


/* Styles for horizontal navigation */
.container-about {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  width: 100vw;
  height: 100vh;
  scroll-snap-type: x mandatory;
}

.parallax-section {
  flex: 0 0 100%;
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.3s ease;
}

.nav-icons {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10;
}

.nav-icon {
  padding: 10px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-icon.active {
  transform: scale(1.2);
  color: #e8491d;
}

.parallax-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.parallax-text {
  position: absolute;
  top: 0%;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  /* padding: 20px; */
  /* max-width: 80%; */
  /* background: rgba(0, 0, 0, 0.6); */
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
}


}
  