/* Background avec nuances de roses */
body {
  background: linear-gradient(
    135deg,
    var(--pink-light) 0%,
    var(--white) 25%,
    var(--pink-medium) 50%,
    var(--beige) 75%,
    var(--pink-light) 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
}

/* Hero Section */
.hero-section {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hero-image-container {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .hero-image-container {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-image-container {
    height: 200px;
  }
}

/* Section Titles */
.section-title {
  font-family: "Lobster Two", cursive;
  font-size: 2.5rem;
  color: var(--pink-accent);
  text-align: center;
  margin-bottom: 3rem;
}

/* Sections */
.cookies-section,
.bestsellers-section,
.reviews-section {
  padding: 4rem 0;
}
.order-section,
.values-section,
.video-section {
  padding: 4rem 0;
}

.bestsellers-section {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

/* Cookie Cards */
.cookie-card-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.cookie-card-link:hover {
  transform: translateY(-10px);
}

.cookie-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(251, 111, 146, 0.2);
  background: var(--white);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.cookie-card:hover {
  box-shadow: 0 12px 30px rgba(251, 111, 146, 0.4);
}

.cookie-card img {
  height: 450px;
  object-fit: cover;
}

.cookie-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.cookie-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.cookie-price {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  color: var(--pink-accent);
  font-weight: 600;
  margin: 0;
}

/* Bestseller Badge */
.bestseller-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--pink-accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 10;
}

/* Avis Clients Section - Carousel styling */
.reviews-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.carousel {
  max-width: 800px;
  margin: 0 auto;
}

.review-card {
  background: linear-gradient(135deg, var(--beige) 0%, var(--white) 100%);
  border: 3px solid var(--pink-accent);
  border-radius: 25px;
  padding: 3rem 2.5rem;
  margin: 0 auto 3rem;
  max-width: 700px;
  box-shadow: 0 10px 30px rgba(251, 111, 146, 0.25);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: none;
  box-shadow: 0 15px 40px rgba(251, 111, 146, 0.35);
}

.review-username {
  font-family: "Lobster Two", cursive;
  font-size: 1.8rem;
  color: var(--pink-accent);
  margin-bottom: 1rem;
  text-align: center;
}

.review-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: var(--brown);
  line-height: 1.8;
  text-align: center;
  font-style: italic;
}

/* Carousel indicators styling */
.carousel-indicators {
  margin-bottom: -2rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--pink-medium);
  border: 2px solid var(--pink-accent);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--pink-accent);
  opacity: 1;
  transform: scale(1.3);
}

/* Carousel controls styling */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: var(--pink-accent);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev {
  left: -60px;
}

.carousel-control-next {
  right: -60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

/* Order Cards */
.order-card {
  border: none;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(111, 78, 55, 0.15);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.order-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.order-title {
  font-family: "Lobster Two", cursive;
  font-size: 1.75rem;
  color: var(--pink-accent);
  margin-bottom: 1rem;
}

.order-description {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* Bouton Commander */
.btn-order {
  background: #f5e6d3 !important;
  color: var(--brown) !important;
  border: 2px solid var(--brown) !important;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-order:hover {
  background: var(--brown) !important;
  color: var(--white) !important;
  border-color: var(--brown) !important;
  transform: scale(1.05);
}

/* Values Section */
.values-section {
  background: rgba(245, 230, 211, 0.5);
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.value-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 1rem;
  font-weight: 600;
}

.value-description {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  color: var(--black);
  line-height: 1.6;
}

/* Video Section */
.video-section {
  background: rgba(255, 255, 255, 0.7);
  padding: 50px 0;
}

.videos-wrapper {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-item {
  flex: 1 1 400px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(251, 111, 146, 0.3);
}

.video-container video {
  width: 100%;
  display: block;
}

.video-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  /* Empêcher le scroll horizontal */
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  body {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Réduire les paddings des sections */
  .cookies-section,
  .bestsellers-section,
  .reviews-section {
    padding: 2rem 0;
  }
  .order-section,
  .values-section,
  .video-section {
    padding: 2rem 0;
  }

  /* Réduire la taille du titre */
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  /* Ajuster les cartes cookies */
  .cookie-card img {
    height: 400px;
  }

  .cookie-name {
    font-size: 1.2rem;
  }

  .cookie-price {
    font-size: 1.1rem;
  }

  /* Réduire la taille du bouton Commander */
  .btn-order {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.95rem !important;
    width: auto;
    max-width: 200px;
  }

  /* Ajuster les cartes de commande */
  .order-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .order-icon {
    font-size: 3rem;
  }

  .order-title {
    font-size: 1.4rem;
  }

  .order-description {
    font-size: 0.95rem;
  }

  /* Ajuster la section valeurs */
  .value-item {
    padding: 1.5rem 1rem;
  }

  .value-icon {
    font-size: 2.5rem;
  }

  .value-title {
    font-size: 1.2rem;
  }

  .value-description {
    font-size: 0.95rem;
  }

  /* Ajuster le container vidéo */
  .video-container {
    margin: 0 1rem;
  }

  /* S'assurer que tous les containers Bootstrap sont responsive */
  .container,
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }

  .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }

  .col,
  [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ajuster la section avis pour mobile */
  .reviews-section {
    padding: 2rem 0;
  }

  .review-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem 2rem;
    min-height: 150px;
  }

  .review-username {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }

  .review-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .carousel-indicators {
    margin-bottom: -1.5rem;
  }

  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }
}
