    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Quicksand', sans-serif;
      background-color: #f3e3db;
      padding-top:40px;
      display: flex;
      justify-content: center;
    }

    @media (max-width: 768px) {
    body {
      padding-top: 35px;
    }
    }
	   a {
      color: inherit;
      text-decoration: none;
    }

	/* -----------------------------------------------------------SCROLLBAR-------------------------------------------------------- */

    ::-webkit-scrollbar {
      display: block;
      overflow: auto;
      width: 10px;

    }

    /* Track */
    ::-webkit-scrollbar-track {
      background: #edded5;
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
      background: #dbbdab;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
      background: #FF0;
    }
  /* ------------------------------------   HEADER ------------------------------------ */

  header {
    position: fixed;
    top: 0;
    width: 80%; /* Le header occupe 80% de la largeur de la page */
    margin: 0 auto; /* Centre le header sur la page */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pousse le .header-left à l'extrême gauche et le .header-right à l'extrême droite du header */
    background-color: #f3e3db;
    z-index: 2000; /* Assure que l'en-tête est au-dessus des filtres */
    color: #e1ae98;
    flex-wrap: nowrap; /* IMPORTANT pour le grand écran : empêche le passage à la ligne */
    padding-right: 0;   /* CLÉ : Supprime le padding à droite du header, permettant à son contenu d'aller jusqu'au bord droit */
    height: auto;
    min-height: 60px;
  }

  /* Nouvelle media query pour les écrans < 1500px */
  @media (max-width: 1499px) { /* Le wrap se déclenche à partir de cette taille */
    header {
      flex-wrap: wrap; /* Permet le passage à la ligne */
      justify-content: flex-start; /* Aligne les éléments du header à gauche (logo puis barre de recherche dessous) */
      align-items: flex-start;
      gap: 10px;
      padding-top: 13px;
      padding-bottom: 10px;
    }

      .header-left-titre {
    font-size: 25px;
    font-weight: 500;
    white-space: nowrap;
    margin-top: -5px;
  }

  }

  .header-left {
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0; /* Empêche de rétrécir excessivement */
    flex-grow: 0; /* Ne grandit pas */
    flex-basis: auto; /* Taille initiale basée sur le contenu */
    min-width: 150px; /* Minimum width for the logo/title */
  }

  @media (max-width: 768px) {


    header {

          position: fixed;


    padding-top: 10px;

 }
    .header-left {
      margin-top: 0px;
      width: 100%; /* Keep this for centering logo/title on small screens (override 1499px no-change) */
      justify-content: left;
    }
  }

  .header-left .logo img {
    height: 22px;
    width: auto;
    margin-right: 10px;
  }

  @media (max-width: 768px) {
    .header-left .logo img {
      height: 18px;
      margin-left: 0;
      margin-top: -3px;
    }
  }

  .header-left-titre {
    font-size: 25px;
    font-weight: 500;
    white-space: nowrap;
    margin-top: -5px;
  }

  @media (max-width: 768px) {
    .header-left-titre {
      font-size: 18px;
      text-transform: uppercase;
      display: none;
    }
  }

  .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* CLÉ : Aligne la barre de recherche (son enfant) à l'extrême droite de ce conteneur .header-right */
    padding-top: 7px;
    flex-shrink: 0; /* Empêche ce conteneur de rétrécir si l'espace est limité */
    flex-grow: 0; /* Empêche ce conteneur de grandir au-delà de la taille de son contenu (la barre de recherche de 600px) */
    flex-basis: auto; /* Taille initiale basée sur le contenu */
    min-width: 300px; /* Minimum width pour ce conteneur avant que le wrap ne se déclenche (pertinent pour la transition) */
  }

  @media (max-width: 1499px) {
    .header-right {
      width: 100%; /* Le conteneur de la barre de recherche prend 100% de la largeur disponible du header */
      justify-content: center; /* CLÉ : Centre la barre de recherche DANS son conteneur .header-right quand elle est wrappée */
      padding-top: 0; /* Réinitialise la marge */
    }
  }

  @media (max-width: 768px) {
    .header-right {
      padding-top: 0px;
      line-height: 0.5;
      /* justify-content: center; est déjà défini par la MQ 1499px */
    }
  }

  /* Nouvelle enveloppe pour la barre de recherche et les suggestions */
  .search-and-suggestions-wrapper {
    position: relative; /* Point de référence pour le positionnement absolu des suggestions */
    width: 600px; /* Sur grand écran, prend la largeur de la barre de recherche */
  }

  @media (max-width: 1499px) {
    .search-and-suggestions-wrapper {
      width: 100%; /* Sur petit écran, prend toute la largeur du .header-right */
    }
  }



/* Assure que le bouton "À PROPOS" est toujours le dernier (donc le plus à droite) visuellement */
.header-right .about-btn {
  order: 999; /* Une valeur élevée pour s'assurer qu'il vient toujours en dernier */
  margin-left: auto; /* Pousse ce bouton (et tout ce qui est avant lui) vers la droite */
}

/* OPTIONNEL : Si vous voulez garantir un ordre spécifique pour les autres éléments */
/* Par exemple, pour que le bouton de filtre soit toujours à gauche, suivi de la barre de recherche */
.header-right .filter-toggle-btn {
  order: 1; /* Assure que le bouton de filtre est avant la barre de recherche si besoin */
}

.header-right .search-and-suggestions-wrapper {
  order: 2; /* Assure que la barre de recherche est après le bouton de filtre et avant "À PROPOS" */
}


  /* ------------------------------------ SEARCH BAR CONTAINER ------------------------------------ */
  .search-bar-container {
    display: flex;
    align-items: center;
    background-color: #f7eae2;
    padding: 0px 10px; /* Padding interne de la barre de recherche elle-même */
    gap: 10px;
    width: 100%; /* Prend toute la largeur de son parent .search-and-suggestions-wrapper */
    flex-grow: 0; /* La barre de recherche ne grandit pas */
    flex-shrink: 0; /* La barre de recherche ne rétrécit pas */
    height: 22px;
  }

  @media (max-width: 1499px) { /* Le wrap se déclenche à partir de cette taille */
    .search-bar-container {
      margin-top: -5px;  
      /* width: 100%; est déjà défini ci-dessus */
      height: 22px;
    }
  }

  @media (max-width: 768px) {
    .search-bar-container {
      gap: 5px;
      padding: 3px 5px; /* Padding plus petit pour les mobiles */
      /* width: 100%; est déjà géré par la MQ 1499px et restera 100% ici */
    }
  }

  /* ------------------------------------ SEARCH SUGGESTIONS ------------------------------------ */

  

  .search-suggestions {
    position: absolute;
    top: calc(100% + 5px); /* 3px sous le bas du parent (.search-and-suggestions-wrapper) */
    left: 0;
    width: 100%; /* Même largeur que la barre de recherche */
    background-color: #f7eae2; /* Même fond que la barre de recherche */
    color: #e1ae98; /* Même couleur d'écriture que la barre de recherche */
    padding: 0px 10px; /* Ajustez le padding pour les suggestions */
    border: none;
    z-index: 10098; /* Assure qu'elle est au-dessus d'autre contenu, mais en-dessous du header */
    display: none; /* Masquée par défaut */
    max-height: 200px; /* Limite la hauteur et rend la barre scrollable si beaucoup de suggestions */
    overflow-y: auto;
  }

  .search-suggestion-item {
    padding: 5px 0;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 25px;
    font-size: 14px;
  }

  .search-suggestion-item:hover {
    background-color: transparent; /* Fond transparent au survol */
    color: ; /* Assombrit le texte au survol (une nuance plus foncée de #e1ae98) */
    font-weight: 800;
  }


  .search-icon {
    display: flex;
    align-items: center;
    color: #e1ae98;
    font-size: 16px; /* Reduced for smaller search bar */
  }

  .search-bar-container input[type="search"] {
    border: none;
    background: none;
    outline: none;
    color: #e1ae98;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px; /* Reduced font size for input */
    padding: 0;
    flex-grow: 1;
    min-width: 80px;
  }

  /* Cache le bouton "clear" natif de WebKit pour les inputs de type search */
  input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
  }

  .search-bar-container input[type="search"]::placeholder {
    color: #d6ac95;
  }

  .search-bar-container #clearBtn {
    background: none;
    border: none;
    color: #e1ae98;
    font-size: 16px; /* Reduced for smaller search bar */
    cursor: pointer;
    padding: 0;
    font-size: 28px;
  }

  .search-bar-container .filter-toggle-btn,
  .search-bar-container .about-btn {
    background: none;
    border: none;
    color: #e1ae98;
    font-size: 18px; /* Reduced for smaller search bar */
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Quicksand', sans-serif;
    padding: 0 5px;
    transition: color 0.3s ease;
  }

  @media (max-width: 768px) {
    .search-bar-container .filter-toggle-btn,
    .search-bar-container .about-btn {
      font-size: 12px; /* Reduced for smaller search bar on mobile */
      padding: 0 3px;
    }
  }

  .search-bar-container .filter-toggle-btn:hover,
  .search-bar-container .about-btn:hover {
    color: red;
  }


  .filter-icon {
    height: 18px; /* Reduced from 22px for smaller search bar */
    width: auto;
    fill: #e1ae98;
    transition: fill 0.3s ease;
    margin-top: 5px;
  }

  .filter-toggle-btn:hover .filter-icon {
    fill: red;
  }

  /* Adjust main content padding to account for new header height */
  main {
    padding-top: 0px; /* Reduced from 70px */
    height:100vh;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
    transition: margin-top 0.5s ease-in-out;
    overflow: visible;
  }

main.shifted {
  padding-top: 100vh;
  transition: padding-top 0.8s ease;
}

  @media (max-width: 768px) {
    main {
      padding-top: 0px; /* Reduced from 45px for smaller screens */
    }
  }


  /* ------------------------------------   FILTERS ------------------------------------ */

.filters {
   position: fixed;
   top: 60px;
   left:10%;
  width: 80%;
  height:auto;
  margin: 0 auto;
  z-index: 1050;
  margin-bottom:10px;
  display: flex;
  justify-content: left;
  gap: 10px;
  padding:0;
  background-color: #f3e3db;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.5s ease;
}


@media (max-width: 768px) {
  .filters {
    flex-wrap: wrap;
    top: 30px;
    gap: 0px 5px;
    margin-top:3px;
  }
}


.filters.show {
  max-height: 60px;
  background-color: #f3e3db;
	padding-bottom:7px;

}

@media (max-width: 768px) {

.filters.show {
    font-size: 10px;
	z-index:1500;
	padding-bottom:0px;
	}
}


.filters-btn {
	margin: 0px;
	padding: 3px 5px;
    border: none;
    outline: none;
  	font-family: 'Quicksand', sans-serif;
	font-size: 15px;
	text-transform: uppercase;
    color:#e5b79e;
    background-color: #f7eae2;
    cursor: pointer;
    float:left;
}


@media (max-width: 768px) {
.filters-btn {
	padding: 2;
	font-size: 12px;
    margin-bottom:5px;
  }
}


.filters-btn:hover {
  background-color: #FF0 ;
}


.filters-btn.active {
  background-color: #e5b79e;
   color: white;
}

  /* ------------------------------------   GALERIE ------------------------------------ */

    .menu {
      color: #d6ac95;
      font-size: 20px;
      text-transform: uppercase;
      cursor: pointer;
      padding: 5px 0px;
      background-color: transparent;
      border: 2px solid transparent;
    }

    .menu:hover {
      color: #ba9682;
    }

    .gallery-container {
     width: 100%;
  max-width: 80%;
  margin: 0 auto;
  padding-bottom: 30px;
  transition: padding-top 0.3s ease;
  margin-top: -15px;
    }
.gallery-container.shifted {
  padding-top: 26px;
  transition: padding-top 0.3s ease;
}

  /* ------------------------------------   ABOUT ------------------------------------ */

.about {
  position: fixed;
  top:-100%;
  	  margin-right,margin-left:auto;

  width: 80%;
  height: 100vh ;
  background-color: #f3e3db;
  transition: top 0.7s ease-in-out;
  z-index: 999;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Masquer la barre de défilement pour Chrome, Safari et Opera */
.about::-webkit-scrollbar {
  display: none;
}
    .about.active {
      top: 60px;
    }

    .about_image img {
      width: 100%;
      max-height: 600px;
      object-fit: cover;
      display: block;
      margin: 0 auto;
    }
@media (max-width: 768px) {
  .about {
    top: -120%;
  }

  .about.active {
    top: 35px;
  }
}
    @media (max-width: 900px) {
      .about_image {
        width: 100%;
      }
    }

    .about_texte {
      margin-top: 20px;
      width: 100%;
      margin-bottom: 0px;
      color: #806e7c;
      font-size: 16px;
      font-family: 'Quicksand', sans-serif;
      font-weight: 400;
    }

    @media (max-width: 900px) {
      .about_texte {
        width: 100%;
      }
    }

    .about_article {
      text-align: justify;
      word-spacing: -2px;
      margin-left: auto;
      margin-right: auto;
      column-count: 3;
      column-gap: 15px;
      padding-bottom: 15px;
	  font-weight:600;
    }

    @media (max-width: 1200px) {
      .about_article {
        column-count: 2;
      }
    }

    @media (max-width: 900px) {
      .about_article {
        padding-left: 0;
        column-count: 1;
        font-family: 'Quicksand', sans-serif;
      }
    }

    .about_contact {
      padding-top: 0px;
      font-family: Bahnschrift;
      font-size: 15px;
      color: #e5b79e;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    .about_insta {
      width: 15px;
      margin-top: 10px;
      margin-left: auto;
      margin-right: auto;
    }





    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Taille des images ajustée */
      gap: 10px;
      justify-items: center;
      margin-top: 20px;
    }

    @media (max-width: 768px) {
    .gallery {
	      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Taille des images ajustée pour mobile */

    }
  }

    .image-wrapper:hover img {
      opacity: 0.80;
    }


    .image-wrapper {
      position: relative;
      width: 100%;
    }

    .gallery img {
      width: 100%;
      height: auto;
      transition: opacity 0.2s ease;
      display: block;
	  cursor:pointer;
    }



.label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 30px;
  color: #d6ac95;
  background-color: #FF0;
  display: flex;
  align-items: center;
  font-size: 18px;
  pointer-events: auto;
  white-space: nowrap;
  opacity: 1 !important;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  text-transform: uppercase;
  margin: 0;
  width: auto;
  height: 25px;
    font-size: 18px;
	    white-space: nowrap;

}

@media (hover: none) and (pointer: coarse) {
  .label {
    display: flex;
	  width: 100%;
  left: ;
  justify-content: center;
    background-color:transparent;
  height: 22px;
      font-size: 16px;

  }
}

@media (hover: hover) and (pointer: fine) {
  .label {
    display: none;
  }
}

    .image-wrapper:hover .label {
      opacity: 1;
    }

    @media (max-width: 768px) {
      header .logo {
        font-size: 18px;
      }

      .menu {
        font-size: 16px;
      }

      .image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
		 overflow: visible;
		  position: relative;
      }

.label {
  position: absolute;
  bottom: 0;
  left: 50%;
    padding: 15px 30px;

  transform: translateX(-50%);
  height: 20px;
  background-color:transparent;
  padding: 0 10px;
  display: flex;
  font-size: 14px;
  margin: 0;
  pointer-events: auto;
  white-space: normal;
  opacity: 1 !important;
  width: auto;
  text-align:center;
      font-family: 'Quicksand', sans-serif;
    white-space: nowrap;
      font-size: 13px;
padding-top:5px;

}


    }


	    /* --------------------------------------------FOOTER ---------------------------------------- */

    footer {
      position: fixed;
      bottom: 0;
      width: 100%;
	  height:30px;
      color: #e1ae98;
      text-align: center;
      padding: 10px 0;
      font-size: 12px;
      font-weight: 400;
	  background-color: #f3e3db;

    }
