@import url("confidentialite.css");
@import url("header.css");
@import url("footer.css");
@import url("reservations.css");
@import url(responsive.css);

/* ========== 🌍 Base ========== */
:root {
  --main-bg: #fdf6f0;
  --accent: #e8cbb1;
  --text-color: #333;
  --font-family-nav: "Julius Sans One", sans-serif;
  --font-family: "Josefin Sans", sans-serif;
  --green: #9aaf8e; /* Vert sauge — ton header */
  --light-green: #beceb5; /* Vert clair — section collection */
  --beige: #f6f5f0; /* Fond doux — couleur de base */
  --text: #333; /* Couleur du texte principal */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}

body {
  background-color: var(--green);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  margin: 0;
  font-family: var(--font-family);
  padding: 0;
}

.container {
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== HERO ========== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  padding: 1rem 1rem;
  gap: 2rem;
  font-family: var(--font-family);
  text-align: center;
}

.hero h1 {
  font-size: 90px;
  font-style: normal;
  margin-top: 2rem;
  font-weight: 400;
  color: var(--beige);
  position: relative;
  z-index: 2;
}

.hero .img-background {
  background-image: url("/assets/images/photoIllustrations/bougiesRougesAllumesSurSapin.jpg");
  background-size: cover;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 2rem;
  border-radius: 4px;
}

.hero .img-background p {
  font-size: 40px;
  color: var(--beige);
  margin-top: 100px;
  text-align: center;
}

.hero::before {
  background: rgba(0, 0, 0, 0.4);
}

.hero .cta-button,
.marche-noel .cta-button {
  background-color: var(--beige);
  border: solid 1px var(--beige);
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  font-weight: 400;
  font-size: 20px;
  cursor: pointer;
  margin-top: 1rem;
  padding: 12px 24px;
}

.cta-button-little {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border-radius: 15px;
  border: none;
  background-color: var(--beige);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  width: 268px;
  height: 41px;
  font-size: 16px;
  text-decoration: none;
  line-height: 41px;
}

.categorie-content .cta-button-little {
  display: inline-block;
  margin-top: 1rem;
  border-radius: 15px;
  border: none;
  background-color: var(--beige);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  width: 268px;
  height: 41px;
  font-size: 16px;
  color: var(--text-color);
}

.hero .cta-button:hover,
.cta-button-little:hover,
.button-marche .cta-button:hover {
  background-color: var(--light-green);
  border: none;
  color: #fff;
}

.poetic {
  font-style: italic;
  font-family: "Marck Script", cursive;
  font-size: 70px;
}

.button-histoire {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0 auto;
}

.button-histoire .cta-button-little,
.categorie-content .cta-button-little {
  margin: 0 50px;
}

.histoire {
  font-size: 1.2rem;
  margin-top: 1rem;
  text-align: justify;
  line-height: 1.6;
}

/* section marché de noel */

.marche-noel {
  background-color: #beceb5;
  margin: 0 35px;
  padding: 40px;
}

.marche-noel h2 {
  font-size: 65px;
  font-weight: 400;
}

.marche-noel h2 + p {
  font-size: 50px;
  margin: 0;
}

.marche-noel p {
  font-size: 20px;
  margin: 20px 20px;
}

.button-marche {
  display: flex;
  justify-content: space-around;
}

.marche-noel a {
  color: var(--text);
}

/*  ===============================
    COLLECTIONS
    =============================== */

.categories {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 3rem 0;
  flex-wrap: wrap;
}

.categorie-content {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 330px;
  display: flex; /* NEW */
  flex-direction: column; /* NEW */
  align-items: center; /* NEW */
  justify-content: flex-start; /* NEW */
  gap: 1rem; /* NEW */
  padding-bottom: 1.5rem; /* pour éviter que le bouton colle au bord */
  transition: transform 0.3s ease;
  text-align: center;
}

.categorie-content:hover {
  transform: translateY(-6px);
}

.categorie-content img {
  width: 100%;
  height: 260px; /* plus grand */
  object-fit: cover;
  transition: transform 0.4s ease;
}

.categorie-content:hover img {
  transform: scale(1.05);
}

.categorie-content h3 {
  margin: 1rem 0;
  font-size: 1.4rem;
  color: #2f2f2f;
}

.categorie-content a.cta-button-little {
  display: flex; /* transforme le bouton en conteneur flex */
  align-items: center; /* centre verticalement le texte */
  justify-content: center; /* centre horizontalement */
  padding: 0.75rem 1rem; /* espace interne */
  width: 80%; /* largeur souhaitée */
  text-decoration: none; /* enlève soulignement */
}

.produit-card,
.produit-card:visited {
  color: var(--text-color);
}
