                                             /*  ========= CETTE PAGE DE CSS EST COMMUN 
                                             À TOUTES LES PAGES .php et .html ========= */
*,
*::before,
::after {
  box-sizing: border-box;
}

body {
  background: url('Images/fond2.png') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
}

html { 
  overflow-x: hidden;
  }

                                             /*  ========= FONTS ========= */
/* Fonts */
.old-standard-tt-regular {
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-style: normal;
}
.old-standard-tt-bold {
  font-family: "Old Standard TT", serif;
  font-weight: 700;
  font-style: normal;
}
.old-standard-tt-regular-italic {
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-style: italic;
}

.nokora-thin {
  font-family: "Nokora", sans-serif;
  font-weight: 100;
  font-style: normal;
}
.nokora-light {
  font-family: "Nokora", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.nokora-regular {
  font-family: "Nokora", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.nokora-bold {
  font-family: "Nokora", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.nokora-black {
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.plus-jakarta-sans {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}


a h5 {
  color: white;
}


/* Class pour changer la font d'un mot dans une phrase */
.special-font {
  font-family: "Old Standard TT", serif;
  font-weight: 100;
  font-style: italic;
}

/* =========== CRÉATION DU BOUTON POUR LE TOP =========== */

/* --- bouton pour le top --- */
.btn-top {
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 15px;
  margin: 20px;
  cursor: pointer;
  fill: #ffffff;
  z-index: 1;
}



                                             /*  ========= NAV BAR ========= */
header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100px;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: fit-content;
  margin: 0;
  list-style-type: none;
  text-align: center;
  padding: 0 30px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  font-size: 1.2rem;
}

nav ul li a {
  padding: 10px 20px;
  text-decoration: none;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: normal;
}

.logo_nav {
  width: 140px;
  position: absolute;
  left: 20px;
}

.logo_nav img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}


                                             /*  ========= STYLE SCROLLBAR ========= */
::-webkit-scrollbar {
  width: 8px !important;
}

::-webkit-scrollbar-track {
  background: #000000 !important;
  background-size: auto 5px;
}

::-webkit-scrollbar-thumb {
  background: #ffffff !important;
  border-radius: 5px !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff !important;
}


                                             /*  ========= MENTIONS LEGALES / CONTACTS (FOOTER) ========= */
footer {
  background: url('Images/fond2.png') no-repeat center center fixed;
  background-size: cover;
  padding: 80px 0 0 0 ;
  text-align: center;
}

footer ul {
  list-style-type: none;
  padding: 0;
  
}

footer ul li {
  display: inline-block;
  margin: 0 10px;
}

footer ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

footer h4 {
  font-size: 1rem;
  font-family: "Nokora", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin: 5px;
}

footer p {
  font-size: 10px;
  margin-top: 5px;
  color: #fff;
  margin: 0;
}

                                             /*  ========= STYLE (confirmation.php) ========= */
.confirmation-commande {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 240px 0 100px 0;
}
                                            
.confirmation-commande h1 {
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  max-width: 600px;
  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
  box-sizing: border-box;
}

.confirmation-commande p {
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  max-width: 600px;
  color: #ffffff;
  margin-bottom: 50px;
  padding-left: 100px;
  padding-right:100px;
}

@media (max-width: 768px) {
  .menu-icon {
      display: block;
  }

  nav ul {
      flex-direction: column;
      position: absolute;
      top: 100px;
      left: 0;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      background-color: rgba(0, 0, 0, 0.9);
  }

  nav ul li {
      margin-left: 0;
      margin-bottom: 10px;
      text-align: center;
  }

  nav ul.show {
      max-height: 500px; /* Ajuster pour la taille souhaitée */
  }
}
                                             /*  ========= ANIMATION UNDERLINE (FOOTER) ========= */

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: #ffffff;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ffffff;
  transform-origin: bottom right;
  transition: transform 0.5s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}


                                             /*  ========= LOGO (DANS INDEX.PHP ET CATALOGUE.PHP) ========= */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5vh;
}

.logo {
  margin-top: 35px;
  width: 100px;
}


                                             /*  ========= STYLE MENU RESPONSIVE ========= */
/* Style de base pour le menu */
.menu-icon {
  display: none; /* Cache l'icône hamburger par défaut */
  cursor: pointer;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

                                             /*  ========= RESPONSIVE ========= */
@media screen and (max-width: 768px) {
  .menu-icon {
    display: block; /* Affiche l'icône hamburger pour les appareils mobiles */
  }

  .nav-links {
    display: none; /* Cache la liste de liens par défaut */
    flex-direction: column;
    position: absolute;
    background-color: #333;
    top: 80px;
    width: 100%;
    text-align: center;
    z-index: 1000;
  }

  .nav-links li {
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex; /* Affiche la liste de liens lorsque le menu est ouvert */
  }
}



