@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Sora:wght@400;600&display=swap');
/* import de style de police*/


/*********************  Style de boutton **********************/

.send_msg {
  background: #F97316;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.send_msg:hover {
  background: #d95f12;
}

/*********************************************************** navbar *********************************************/
.logo a {
  display: flex;
  align-items: center;
  gap: 50px;
}

.logo_ico {
  height: 50px;
}

.logo_shop {
  display: flex;
  position: relative;
  height: 50px;
  width: auto;
}

.logo_shop img {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: opacity 0.3s ease;
}

.img1 {
  opacity: 1;
  z-index: 32;
}

.logo_shop2 {
  opacity: 0;
  z-index: 31;
}

.img1:hover {
  opacity: 0;
}

.img2:hover {
  opacity: 1;
}



.user-menu {
  position: relative;
  display: inline-block;
}

.user-icon {
  cursor: pointer;
  font-size: 1.5em;
}

.panier_ico {
  height: 50px;
  width: 100px;
}

.ico_u {
  height: 50px;
  width: 50px;
}

@media (min-width: 1068px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
  }

  .navbar.hidden {
    transform: translateY(-100%);
  }
}

/********************** dopdown profile *************************/


.pages .user-menu {
  position: relative;
}

.pages .user-icon {
  cursor: pointer;
  font-size: 1.2em;
  padding: 10px;
  display: inline-block;
}



/*********************************************** Header ***************************************/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #1E3A8A;
  color: white;
  position: sticky;
  top: 0;
  z-index: 9997;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.pages {
  list-style: none;
  display: flex;
  gap: 20px;
}

.pages a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.4s ease;
  font-family: 'Montserrat', sans-serif;
}

.pages a:hover,
header .logo a:hover {
  text-decoration: underline;
}

.icons .ic {
  text-decoration: none;
  margin-left: 15px;
  cursor: pointer;

}


/*********************************************************** load screen *********************************************/

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(234, 234, 234);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: arawarero 1s ease forwards;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #252357;
  border-top-color: #f39b18;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 999999999;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes arawarero {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}



/************************* Reset **************************/
* {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

/*
body {
  background: #fff;
  color: #111;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}*/

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.up_effect {
  animation: up 0.5s ease forwards;
}

@keyframes up {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  height: 80vh;
  background: url('images/hero.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}


.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

}


.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-text {
  z-index: 2;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.minus_title {
  font-family: 'Montserrat', sans-serif;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #F97316;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.2s ease;
}

.btn:hover {
  box-shadow: 0px 0px 0px 2px rgb(0, 0, 0), 0px 0px 0px 4px #F97316;
}

/* Produits */
.products {
  padding: 50px 10%;
  background: #F3F4F6;
}

.img_pres_prod {

  max-height: 200px;
}

.products h2 {
  text-align: center;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card img {
  max-width: 100%;
  border-radius: 10px;
}

.btn-small {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #1E3A8A;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.2s ease;
}

.btn-small:hover {
  box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px #1E3A8A;
  ;
}



/*************************** Avis ********************/
.testimonials {
  text-align: center;
  padding: 50px 10%;
  background: #fff;
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;
}


.review {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #F3F4F6;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review p {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0 0 10px;
}

blockquote {
  font-size: 1em;
  color: #555;
  margin: 0;
}





.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0e1e4900;
  color: #4e4d4d;
  border: none;
  font-size: 2em;
  padding: 0 10px;
  cursor: pointer;
  z-index: 1;
  transition: 0.3s ease;
}

.carousel-btn:hover {
  text-shadow: 2px 2px 7px black;
}

.prev {
  left: 2px;
}

.next {
  right: 2px;
}



/****************************** Footer **************************/


.footer {
  background: #1E3A8A;
  color: white;
  padding: 40px 5%;
  font-size: 0.95rem;
  min-height: 200px;
  margin-top: auto;
  position: sticky;
  top: 100vh;
}



.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-block {
  text-align: center;
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-block h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block a {
  color: #F97316;
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.social-icons a {
  margin-right: 10px;
  font-size: 1.4rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.85rem;
}

@media (max-width: 1068px) {
  .footer {
    margin-top: 60px;
    /* ✅ plus d'espace au-dessus */
  }
}



/*********************************************** A propos ************************************************/



/* Hero */
.mini-hero {
  background: linear-gradient(135deg, #0f1727, #222043, #2c3564);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.mini-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}


/* About section */
.about-text {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.about-text h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #203a43;
}

/* Grid layout */
.story-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.story-block {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}

.story-block.reverse {
  flex-direction: row-reverse;
}

.story-block img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.story-text {
  flex: 1;
}

.story-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0f2027;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

/* Page À propos uniquement */
.mini-hero h1,
.about-text h2,
.story-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.about-text p,
.story-text p {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .story-block,
  .story-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .story-block img {
    max-width: 100%;
  }
}

/* Valeurs */
.values {
  background: #F3F4F6;
  padding: 60px 10%;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.value {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.value span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

/* Mission */
.mission {
  background: linear-gradient(135deg, #0f1727, #222043, #2c3564);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.mission blockquote {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-style: italic;
}



/*************************************************** style panier *********************************************************/

.cadre_p {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.panier_titre {
  text-align: center;
  margin: 30px auto 10px;
  padding: 10px;
  color: black;
  max-width: 600px;
}

.panier_titre h1 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: bold;
  letter-spacing: 1px;
}

.cadre_panier {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 1000px;
  margin-left: 2%;
  background-color: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 10px;
  flex: 1;
  margin-bottom: 2%;
  margin-top: 2%;
  border: 2px solid rgba(255, 166, 0, 0.783);
}

.sep_commande {
  color: rgba(18, 18, 110, 0.829);
}

.cadre_article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  gap: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cadre_article img {
  width: 120px;
  height: auto;
  border-radius: 5px;
  object-fit: contain;
}

.cadre_article h2 {
  margin: 5px 0;
  font-size: 1rem;
  color: #333;
  font-weight: normal;
}

.cadre_prix_tot {
  min-width: 200px;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  white-space: nowrap;

}


.btn_valider {
  background-color: #F97316;
  /* vert succès */
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn_valider:hover {
  background-color: #cc6115;
  /* vert foncé au survol */
}

.form_supprimer {
  margin-left: auto;
}

.btn_supprimer {
  background-color: transparent;
  border: none;
  color: #c00;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 5px 10px;
}

.btn_supprimer:hover {
  color: #900;
}



/*************************** navbar responsive ****************************/
body.no-scroll {
  overflow: hidden;
}

/* Bouton burger caché par défaut */
.burger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}


.side-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-menu .logo_ico {
  display: none;
}

/* Responsive navbar */
@media (max-width: 1068px) {
  .burger {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #F97316;
    font-size: 24px;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: 0.3s ease;
  }

  .burger:hover {
    color: white;
  }



  .produit_card {
    display: flex;
    flex-direction: column;
  }

  .produit_image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .produit_details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }






  .side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100dvw;
    height: 100dvh;
    background-color: #222;
    color: white;
    transition: right 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    overflow-y: scroll;
  }

  .side-menu .logo_ico {
    display: block;
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .side-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centre verticalement */
    align-items: center;
    /* centre horizontalement */
    height: 100vh;
    padding: 0;
  }

  .side-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* espace entre les liens */
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
  }

  .side-menu li {
    margin: 20px 0;
  }

  .side-menu a {
    color: white;
    font-size: 20px;
    text-decoration: none;
  }


  .pages li {
    width: 70vw;
    padding-bottom: 20px;
    border-bottom: 2px solid white;
  }



  .cadre_p {
    display: block;
  }

  .cadre_prix_tot {
    margin-top: 100px;
  }


}