body, section {
background: 	#FCF0E4;
}
.custom-toggler {
      background-image: url("data:image/svg+xml;charset=utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'>\
    <path stroke='rgba(120,72,24,1)' stroke-width='2' stroke-linecap='round'\
      d='M4 7h22M4 15h22M4 23h22'/>\
  </svg>");
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.mininav {
  margin-top: 81px;
  margin-bottom: 15px;
  display: grid;
  justify-content: center;
}

.home .title-img {
 background: linear-gradient(to top, rgba(30,35,38,0.8), rgba(30,35,38,1)),
  url(../images/carousel/Assortiment-de-viennoiseries-fraîches.png);
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
}

/* Carousel - fix pour éviter le fond blanc */
#carouselExampleIndicators {
  background-color: #FCF0E4 !important;
}

.carousel-inner {
  background-color: #FCF0E4 !important;
}

.carousel-item {
  background-color: #FCF0E4 !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-item.active {
  position: relative !important;
}

/* Amélioration de la transition fade */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 0;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  z-index: 2;
}

.carousel-fade .carousel-item-next:not(.carousel-item-start),
.carousel-fade .carousel-item-prev:not(.carousel-item-end) {
  opacity: 0;
  z-index: 0;
}

/* S'assurer que les images couvrent bien tout l'espace */
.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Info-card */
.card-stats {
    transition: .5s;
    background: #fff3e0 !important ;
}

.card-stats:hover {
    margin-top: -10px;
    background: #eec07b !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

/* About */
.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 25px solid var(--light);
    border-radius: 6px;
    z-index: -1;
}



/* Produits */
.product-item {
    transition: .5s;
}

.product-item:hover {
    background: #6d3200 !important;
    color: #fff !important;
}



.product-item:hover .border-warning {
    border-color: #fff !important;
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .product-overlay {
    height: 100%;
    opacity: 1;
}

.website-prevnex {
  margin-top: 97px;
  margin-bottom: 150px;

}

/* Galerie */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(109, 50, 0, 0.3) !important;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  background: rgba(109, 50, 0, 0.85);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1.2);
}

/* Modal Lightbox */
#imageModal .modal-dialog {
  max-width: 90%;
}

#imageModal .modal-content {
  background: rgba(0, 0, 0, 0.95) !important;
}

#imageModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  font-size: 1.5rem;
}

#imageModal .btn-close:hover {
  opacity: 1;
}

#imageModal .modal-footer .btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  transition: all 0.3s ease;
}

#imageModal .modal-footer .btn:hover {
  background: #6d3200;
  color: white;
  transform: scale(1.1);
}

#imageModal .modal-body img {
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}
