/* BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff9ec;
  color: #333;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* COULEURS */
:root {
  --jaune-clair: #f4d53f;
  --jaune-moyen: #f6b01b;
  --jaune-pale: #fee4a7;
}

/* NAVBAR */
.header {
  background-color: #fff9ec;
  padding: 15px 30px;
  
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 2rem; /* taille principale */
}

.logo a {
  text-decoration: none;
  color: #f66b1b; /* orange comme demandé */
  position: relative;
}

.by-mindy {
  position: absolute;
  bottom: -8px; /* ajuste la position verticale */
  right: 2px;   /* ajuste l’alignement sous le E */
  font-size: 0.8rem;
  color: #f4d53f;
  font-weight: normal;
}



.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li {
  font-weight: 600;
  cursor: pointer;
}

.cart-icon {
  position: relative;
  color:#f4d53f
}

.cart-count {
  background-color: #f66b1b;
  color: #f4d53f;
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 2px 6px;
  position: absolute;
  top: -8px;
  right: -10px;
}

/* HERO */
.hero {
  padding: 100px 40px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero .btn {
  background-color: #f06c00;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background-color: #d35600;
}

/* SECTIONS */
.section-title {
  text-align: center;
  margin: 50px 0 20px;
  font-size: 2rem;
  color: #222;
  font-weight: 700;
}

/* PRODUITS */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background-color: #fff4d6;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 15px rgb(255, 255, 255);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.product-card p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.product-card button {
  background-color: var(--jaune-moyen);
  color:#fff4d6;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.product-card button:hover {
  background-color: var(--jaune-clair);
}

/* À PROPOS */
.about {
  background-color: #fff4d6;
  padding: 60px 20px;
  text-align: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  max-width: 700px;
  margin: auto;
  font-size: 1rem;
}

/* CONTACT */
.contact {
  background-color: #fdf1c5;
  padding: 50px 20px;
  text-align: center;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.social-links {
  margin-top: 15px;
}

.social-icon {
  margin: 0 10px;
  font-size: 1.5rem;
  color: #333;
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--jaune-moyen);
}

/* Footer Modernisé */
footer.modern-footer {
  background: #ffffff00;
  color: #000;
  padding: 3rem 1.5rem 2rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #f6b01b;
}

.footer-links a {
  margin: 0 10px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact i {
  margin-right: 8px;
}


.social-links {
  margin-top: 1rem;
}

.social-icon {
  font-size: 1.3rem;
  margin: 0 10px;
  color: #000;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: scale(1.2);
  color: #f6b01b;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #444444;
}


/* PANIER */
.cart-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: #fff9ec;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  z-index: 200;
  padding: 20px;
  overflow-y: auto;
}

.cart-overlay.show {
  right: 0;
}

.cart-header {
  display: flex;
  color:#f4d53f;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.5rem;
}

.cart-total {
  color: #f4d53f;
}

.cart-items {
  color: #f4d53f;
}

.close-cart {
  background: #fff9ec;
  color:#f4d53f;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-item {
  display: flex;
  color: #f4d53f;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.item-info {
  flex: 1;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-quantity button {
  background-color: #f4d53f;
  color:#fff4d6;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}

.item-remove button {
  background: none;
  border: none;
  color: #f6b01b;
  cursor: pointer;
}

.cart-footer {
  margin-top: 20px;
  text-align: center;
}

.total-price {
  font-weight: 700;
  font-size: 1.2rem;
}

.checkout-form {
  margin-top: 20px;
  text-align: left;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.whatsapp-btn {
  width: 100%;
  background-color: #f6b01b;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .products-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .products-container {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    gap: 10px;
  }
}




.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 100%;
  resize: none;
  font-family: 'Montserrat', sans-serif;
}

.checkout-form select {
  background-color: #fff;
}

.checkout-form .whatsapp-btn {
  background-color: #f6b01b;
  color: #fff4d6;
  font-weight: 600;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s;
}

.checkout-form .whatsapp-btn:hover {
  background-color: #f66b1b;
}


