/* ============================
   FONTS
============================ */
@font-face {
    font-family: "Anton";
    src: url(../font/Anton-Regular.ttf);
}

@font-face {
    font-family: "FjallaOne";
    src: url(../font/FjallaOne-Regular.ttf);
}

@font-face {
    font-family: "PTSerif";
    src: url(../font/PTSerif-Regular.ttf);
}

/* ============================
   BASE
============================ */
body {
    margin: 0;
    font-family: "FjallaOne", sans-serif;
    background-color: #fff;
    color: #000;
}
header.header img {
  position: relative;
  top: -19px;
  left: 45%;
}
html {
  scroll-behavior: smooth;
}


/* ============================
   HEADER
============================ */

.header {
  display: flex;
  align-items: center;
  background-color: darkorange;
  padding: 15px 20px;
  position: relative;
}

.site-logo {
  position: absolute;       /* Te donne un contrôle total */
  top: 30px;                /* Position verticale */
  left: 50%;                /* Position horizontale */
  transform: translateX(-30%); /* Centre le logo précisément */
  width: 100px;             /* Taille modifiable ici */
  height: auto;
  z-index: 10;
}

.nav {
  position: absolute;
  left: 20px; /* colle la nav à droite */
  top: 50%;
  transform: translateY(-50%);
}

.nav-right {
  display: flex;
  gap: 10px; /* espace entre Accueil et Produit en gros */
  list-style: none;
}

.nav-right li a {
  font-size: 24px;
  color:#000;
  text-decoration: none;
  font-family: 'FjallaOne', sans-serif;
}

.ville {
  position: absolute;
  top: 45%;      /* Position verticale - modifiable */
  left: 47%;     /* Position horizontale - centré */
  transform: translateX(-50%);
  font-size: 2.3rem;   /* Taille du texte - modifiable */
  font-family: "PTSerif", serif;
  color: black;
  white-space: nowrap; /* Empêche le retour à la ligne */
}

@media screen and (max-width: 600px) {
  .nav-left li a,
  .nav-right li a {
    font-size: 16px; /* Taille plus petite sur téléphone */
  }
}

.cart-container {
  position: absolute;          /* Permet de placer précisément */
  top: 50%;                    /* Aligne verticalement */
  right: 10px;                 /* Tu peux ajuster cette valeur pour déplacer horizontalement */
  transform: translateY(-50%); /* Centre verticalement par rapport à la nav */
}

.cart-button {
  font-weight: bold;          /* Texte en gras */
  font-size: 18px;
  background-color: white;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
}


/* ============================
   HERO SECTION
============================ */
.top-page {
    background: url("../image/Img\ de\ fumée.png");
    background-size: cover;
    height: 110vh;
    }

.hero {
    position: relative;
    height: 600px;         /* ajuste si besoin */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: 160vh;
}


/* Conteneur */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

/* Photo 1 */
.floating-img1 {
  position: absolute;
  width: 300px;   /* Modifie la taille */
  top: 50px;     /* Position verticale */
  left: 10px;     /* Position horizontale */
  z-index: 1;
}

/* Photo 2 */
.floating-img2 {
  position: absolute;
  width: 300px;
  top: 160px;
  left: 320px;
  z-index: 1;
}

/* Photo 3 */
.floating-img3 {
  position: absolute;
  width: 300px;
  top: 50px;
  right: 330px;
  z-index: 1;
}

/* Photo 4 */
.floating-img4 {
  position: absolute;
  width: 300px;
  top: 160px;
  right: 20px;
  z-index: 1;
}

/* Assure que rien ne change sur téléphone */
@media screen and (max-width: 600px) {
  .floating-img1 {
    width: 150px;
    top: 40px;
    left: 5px;
  }

  .floating-img2 {
    width: 150px;
    top: 320px;
    left: 40px;
  }

  .floating-img3 {
    width: 150px;
    top: 320px;
    right: 30px;
  }

  .floating-img4 {
    width: 150px;
    top: 40px;
    right: 10px;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    padding: 50px 0;
    max-width: 100%;
    overflow: hidden;
  }
}

.big-title {
  position: absolute; 
  top: 40px;
  font-size: 80px;
  font-family: "Anton", serif;
  color:darkorange;
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow:
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  3px 0 #000; /* Contour noir */
}

@media screen and (max-width: 600px) {
  .big-title {
    font-size: 35px; /* Taille réduite pour téléphone */
    padding: 0 10px;  /* Ajoute un peu d'espace intérieur si nécessaire */
  }
}

/* ============================
   BUTTON
============================ */
.hero-button {
    position: absolute;
    top: 40%;
    background-color: darkorange;
    text-decoration: none;
    color: black;
    border: none;
    padding: 12px 24px;
    font-size: 3rem;
    font-family:  "FjallaOne";
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 12px;
    z-index: 10; 
}

.hero-button:hover {
    background-color: orangered;
}



/* ============================
   PRODUCT SECTION
============================ */
.product-section {
    background:darkorange;
     position: relative;
  padding-top: 80px;
}

.section-title {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  font-size: 5rem;
  font-weight: bold;
  z-index: 10;
}

.product-name{
    color: chocolate;
}

.product-grid {
    margin-top: 150px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: black;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-image {
    max-width: 200px;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    margin: 10px 0;
    color: chocolate;
}

.product-price {
    font-size: 18px;
    color: darkorange;
    font-weight: bold;
}

.product-stock {
    font-size: 14px;
    margin-bottom: 10px;
    color: aqua;
}

.add-to-cart {
    background-color: darkorange;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: orangered;
}

.product-flavors p {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 10px;
}

.flavor-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.flavor-btn {
    padding: 10px;
    width: 100px;
    text-align: center;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.flavor-btn:hover,
.flavor-btn.selected {
    background-color: darkorange;
    color: white;
    border-color: darkorange;
}

/* Bas du site */

.client-benefits {
  background-color: black;
  padding: 60px 20px;
  text-align: center;
}

.benefits-title {
  font-size: 36px;
  color:#ccc;
  margin-bottom: 10px;
  font-family: 'FjallaOne', sans-serif;
}

.benefits-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  background-color:darkorange;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: black;
}

.benefit-item p {
  font-size: 16px;
  color: #444;
}

.footer-section {
  background-color: #1a1a1a;
  color: white;
  padding: 40px 20px 10px;
  font-family: 'FjallaOne', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: darkorange;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: darkorange;
}

.footer-column p {
  font-size: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-btn {
 display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  border-radius: 50px; /* ovale au lieu de rond */
  padding: 8px 16px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.social-btn i {
  font-size: 18px;}

.social-btn:hover {
  background-color: darkorange;
  color: white;
}

.social-btn.tiktok {
  color: #010101; /* noir pour TikTok */
}

.social-btn.insta {
  color: #E1306C; /* rose pour Instagram */
}

.social-btn.fb {
  color: #1877F2; /* bleu pour Facebook */
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}
.cart-button {
  background: none;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.cart-modal {
  position: fixed;
  top: 100px;
  right: 30px;
  background-color: burlywood;
  border: 1px solid #ccc;
  padding: 20px;
  z-index: 999;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.hidden {
  display: none;
}

.cart-summary {
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

.cart-summary p {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

#citySelect {
  padding: 8px;
  border-radius: 5px;
  width: 100%;
  font-size: 16px;
}

#client-info label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#client-info input {
  width: 100%;
  padding: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


/* Bouton WhatsApp flottant avec texte */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 22px;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

.whatsapp-float i {
  font-size: 26px;
}

.whatsapp-text {
  font-weight: bold;
  font-size: 18px;
}

