/* ===============================
   Reset & Global
   =============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
    background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #333;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===============================
   Informations header
   =============================== */
.information {
  text-align: center;
  font-size: 20px;
  padding: 15px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #0f172a; /* vert-bleuté moderne */
}

.information span {
  text-decoration: underline;
}
/* Page content */
.content {
  padding: 25px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}

/* ===============================
   Navigation
   =============================== */


/* ===============================
   Filtres
   =============================== */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
   background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 2rem auto;
  max-width: 1200px;
  animation: fadeIn 0.6s ease forwards;
}

.filters label {
  font-weight: 600;
  color: #333;
}

.filters select {
  background: #f0f2f5;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.filters select:hover,
.filters select:focus {
  border-color: #0f172a;
  outline: none;
}

/* ===============================
   Produits
   =============================== */
.product-container {box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.product {
  background: #e3f2e1;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.product:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.product img:hover {
  transform: scale(1.05);
}

.product h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color:#2563eb;
}

.product p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #666;
}

.product .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 1rem;
}

.product .button {
   background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: background-color 0.3s ease, transform 0.2s ease;

}

.product .button:hover,
.product .button:focus {
  background-color: #00a18f;
  transform: scale(1.05);
}

/* ===============================
   Animations
   =============================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
