/* style.css */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-nav {
  display: flex;
  gap: 0;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    position: relative;
  }

.navbar-nav .nav-link {
  margin: 0 10px;
  font-weight: 500;
  position: relative;
  padding-right: 15px;
  margin-right: 15px;
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }  

  @media (max-width: 991.98px) {
    .navbar-nav {
      align-items: flex-start !important;
    }
  
    .navbar-nav .nav-link {
      text-align: left;
      width: 100%;
      padding-left: 1rem;
      padding-right: 1rem;
    }
  
    .navbar-nav .nav-item {
      width: 100%;
      border-bottom: 1px solid #ccc;
    }
  }
  
.dropdown-menu {
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
  }

@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: none !important;
      float: none !important;
      margin-top: 0.5rem;
      background-color: transparent;
      border: none;
      box-shadow: none;
      text-align: left;
      padding-left: 1rem;
      width: 100%;
    }
  
    .navbar-nav .dropdown-item {
      color: #333;
      padding: 0.4rem 0;
      padding-left: 0;
    }
  
    .navbar-nav .dropdown {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  
  .dropdown-menu .dropdown-item {
    padding: 8px 16px;
  }
  

.nosproduits{
    background-color: #048149;
    border-radius: 2px;
}

.nosproduits:hover{
    background-color: #11a462;
}

.navbar-nav .nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: #ccc;
  }

  @media (max-width: 991.98px) {
    .navbar-nav .nav-item:not(:last-child)::after {
      display: none;
    }
  }

  @media (max-width: 991.98px) {
    .navbar-nav .nav-item {
      border-bottom: 1px solid #ddd;
      padding-bottom: 0.5rem;
      margin-bottom: 0.5rem;
    }
  
    .navbar-nav .nav-item:last-child {
      border-bottom: none;
    }
  
    .navbar-nav .nav-item::after {
      display: none;
    }
  }
  

.banner {
  height: 500px;
  overflow: hidden;
  position: relative;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.banner .text-center {
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
    .banner .text-center {
      width: 90%;
      padding: 1rem;
    }
  
    .banner .text-center h1 {
      font-size: 1.5rem;
    }
  
    .banner .text-center h2 {
      font-size: 1.1rem;
    }
  
    .banner .text-center p {
      font-size: 0.9rem;
      padding: 0 0.5rem;
    }
  }
  

section {
  position: relative;
  z-index: 1;
  background-color: white;
  padding-top: 60px;
}

section h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

section img {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  background-color: white;
  transition: transform 0.2s ease;
}



/* Carousel arrows custom */

#carouselProduits .carousel-control-prev-icon,
#carouselProduits .carousel-control-next-icon {
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
  background-image: none;
  mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: black;
}

#carouselProduits .carousel-control-next-icon {
  transform: rotate(180deg);
}

#carouselProduits img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Responsive carousel for 2 items per slide */
@media (max-width: 768px) {
  #carouselProduits .carousel-item .row {
    flex-wrap: wrap;
  }

  #carouselProduits .carousel-item .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  section img {
    max-width: 80%;
  }
}

.carousel-indicators [data-bs-target] {
  background-color: #ec1f26;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.5;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #ec1f26;
}

#carouselProduits .carousel-control-prev,
#carouselProduits .carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
}

#carouselProduits .carousel-control-prev {
  left: -30px;
}

#carouselProduits .carousel-control-next {
  right: -30px;
}


.footer {
    background-image: url("../img/footer.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    height: 450px;
  }
  
  .footer-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  .contact-box {
    background-color: white;
    color: black;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    line-height: 1.2;
    word-break: keep-all;
  }  
  
  .contact-box .bi {
    color: #000;
  }
  
  .contact-box .text-danger {
    color: #ec1f26 !important;
  }

  @media (max-width: 768px) {
    .footer{
      height: 750px;
    }
    .footer .row > div {
      text-align: center;
      margin-bottom: 1.5rem;
    }
  
    .footer .row > div ul {
      padding: 0;
    }
  
    .footer .row > div ul li {
      display: inline-block;
      margin: 0 8px;
    }
  
    .footer .contact-box {
      margin: 0 auto;
    }
  }
  
  /* Nos produits */

  .gamme-img {
    display: block;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .gamme-card {
    height: 200px;
    position: relative;
    line-height: 0;
    cursor: pointer;
  }  
  
  .gamme-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: none;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  
  
  .gamme-card .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gamme-card:hover .overlay {
    opacity: 1;
  }
  
  .gamme-card:hover img {
    transform: none;
  }

  .gamme-card .overlay {
    user-select: none;
  }

  @media (max-width: 767.98px) {
    .gamme-card .overlay {
      opacity: 1 !important;
      background-color: rgba(0, 0, 0, 0.4);
    }
  }
  
  /* Section de presentatioon */
  .presentation-ladda {
    position: relative;
    height: 400px;
    background-image: url("../img/presentation.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 0;
    margin-top: 50px;
  }
  
  .presentation-ladda .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  
  .presentation-ladda h5,
  .presentation-ladda p {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  }
  
  .presentation-ladda .btn {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 500;
  }
  
/* Diagonal */
.diagonal-info-section {
  padding: 0;
  margin: 0;
}

.diagonal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
}

.diagonal-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.diagonal-image {
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

@media (max-width: 768px) {
  .diagonal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .diagonal-text,
  .diagonal-image {
    min-height: 300px;
  }

  .diagonal-text:nth-child(1) {
    order: 1;
  }

  .diagonal-image:nth-child(2) {
    order: 0;
  }

  .diagonal-image:nth-child(3) {
    order: 2;
  }

  .diagonal-text:nth-child(4) {
    order: 3;
  }
}

/* Certifs */

.certif-strip {
  padding: 10px 0;
}

.certif-icon {
  height: 90px;
  object-fit: contain;
  border: none;
}

@media (max-width: 768px) {
  .certif-icon {
    height: 60px;
  }
}



/* Charcuterie Banner */
.charcuterie-banner {
  position: relative;
  height: 300px;
  background-image: url('../img/Charcuterie-Banner.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 0px;
}

.charcuterie-banner .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.charcuterie-banner h1 {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  font-size: 3rem;
  font-weight: bold;
}

/* Poulet Banner */
.poulet-banner {
  position: relative;
  height: 300px;
  background-image: url('../img/Poulet-Banner.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 0px;
}

.poulet-banner .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.poulet-banner h1 {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  font-size: 3rem;
  font-weight: bold;
}

/* Dinde Banner */
.dinde-banner {
  position: relative;
  height: 300px;
  background-image: url('../img/Dinde-Banner.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 0px;
}

.dinde-banner .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dinde-banner h1 {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  font-size: 3rem;
  font-weight: bold;
}

/* Delice Banner */
.delice-banner {
  position: relative;
  height: 300px;
  background-image: url('../img/Delice-Banner.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 0px;
}

.delice-banner .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.delice-banner h1 {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  font-size: 3rem;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .charcuterie-banner .text-center h1 {
    font-size: 2.5rem;
  }
  .charcuterie-banner {
    height: 200px;
  }
  .charcuterie-banner h1 {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    font-size: 3rem;
    font-weight: bold;
  }

  .poulet-banner .text-center h1 {
    font-size: 2.5rem;
  }
  .poulet-banner {
    height: 200px;
  }
  .poulet-banner h1 {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    font-size: 3rem;
    font-weight: bold;
  }
  
  .dinde-banner .text-center h1 {
    font-size: 2.5rem;
  }
  .dinde-banner {
    height: 200px;
  }
  .dinde-banner h1 {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    font-size: 3rem;
    font-weight: bold;
  }
  
  .delice-banner .text-center h1 {
    font-size: 2.5rem;
  }
  .delice-banner {
    height: 200px;
  }
  .delice-banner h1 {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    font-size: 3rem;
    font-weight: bold;
  }  
}


/* Style général pour la carte du produit */
.product-card {
  border: 1px solid #ddd;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  justify-content: flex-start;
  align-items: center;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
  width: 330px;
  background-color: #fff;
  text-align: left;
  position: relative;
  padding: 10px;

  flex-grow: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 15px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.row.equal-height {
  display: flex;
  flex-wrap: wrap;
}

.row.equal-height > [class*="col-"] {
  display: flex;
}

.product-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: none;
  margin-right: 20px;
}

.product-info {
  padding: 10px;
  width: 100%;
}

.product-info h5 {
  font-weight: bold;
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

@media (max-width: 768px) {
  .product-card {
    flex-direction: column;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .product-card img {
    width: 80%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
  }
}

