/* Import Animate.css pour les animations */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Corps général */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fef6d3;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #911507 !important;
}

.nav-link {
    color: #911507 !important;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fdb81b !important;
    transform: scale(1.1);
}



/* Boutons */
.btn-primary {
    background-color: #911507;
    border-color: #911507;
}

.btn-primary:hover {
    background-color: #fdb81b;
    border-color: #fdb81b;
    color: #911507;
}

.btn-success {
    background-color: #f9a106;
    border-color: #f9a106;
}

.btn-success:hover {
    background-color: #fdb81b;
    border-color: #fdb81b;
}

/* Sections */
.section-title {
    color: #911507;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background-color: #911507;
    color: #ffffff;
    padding: 30px 0;
}

footer a {
    color: #fdb81b;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #ffffff;
}

/* Panier compteur */
#cart-count {
    background-color: #fdb81b;
    color: #ffff;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Avis étoiles */
.star-rating {
    color: #f9a106;
    font-size: 1.2rem;
}

/* Formulaires */
input, textarea {
    border-radius: 0.25rem;
    border: 1px solid #ccc;
}

input:focus, textarea:focus {
    border-color: #f9a106;
    box-shadow: 0 0 5px rgba(249, 161, 6, 0.5);
    outline: none;
}

/* Modale */
.modal-content {
    border: 2px solid #fdb81b;
}

/* Animations supplémentaires */
.animate-hover:hover {
    animation: pulse 1s infinite;
}







/* Style général */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

.navbar {
  transition: all 0.3s ease-in-out;
}

.navbar .nav-link {
  font-weight: 500;
  position: relative;
}

.navbar .nav-link:hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fdb81b;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease-in-out;
}

.hero-section {
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}


.hero-section h1 span {
  color: #fdb81b;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: #fdb81b;
  border-color: #fdb81b;
}

.btn-primary:hover {
  background-color: #f9a106;
  border-color: #f9a106;
}

/* Avis clients */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card .text-warning {
  font-size: 1.2rem;
}

/* Footer */
footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fdb81b;
}

footer p {
  margin-bottom: 0.3rem;
}

/* Panier badge */
#cart-button {
  font-size: 1.3rem;
}

#cart-count {
  position: absolute;
  top: -5px;
  right: -10px;
  font-size: 0.75rem;
}

/* Modale Avis */
.modal-content {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}















@keyframes rotateReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.rotate-anticlockwise {
  display: inline-block;
  animation: rotateReverse 2s linear infinite;
}






#avis.bg-light {
  background: var(--beige, #fef6d3) !important;
}

#avis .card {
  border: 2.5px solid var(--jaune, #fdb81b);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(249, 184, 27, 0.07);
  transition: 
    border-color 0.25s,
    box-shadow 0.4s,
    filter 0.35s;
}

#avis .card:hover {
  border-color: #ffed5b;
  box-shadow: 0 0 16px 4px var(--jaune, #fdb81b), 0 2px 20px rgba(145, 21, 7, 0.10);
  filter: brightness(1.05);
  /* plus d'animation classique, c'est le ::before qui anime */
}

@keyframes avisBorderGlow {
  0%   { box-shadow: 0 0 8px 1px var(--jaune, #fdb81b); }
  70%  { box-shadow: 0 0 22px 8px #ffe066, 0 2px 20px rgba(145, 21, 7, 0.13);}
  100% { box-shadow: 0 0 16px 4px var(--jaune, #fdb81b), 0 2px 20px rgba(145, 21, 7, 0.10);}
}















/* Styles généraux */
:root {
  --rouge: #911507;
  --jaune: #fdb81b;
  --orange: #f9a106;
  --beige: #fef6d3;
  --blanc: #ffffff;
}

.btn-fromali { background:var(--rouge); border:none; color:#fff; }
.btn-fromali:hover { background:var(--orange); color:#fff; }

/* Animations cartes */
.card:hover {
  transform: translateY(-10px);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Badge prix */
.price-badge {
  position:absolute;
  top:10px;
  right:10px;
  background:var(--jaune);
  color:var(--rouge);
  padding:5px 10px;
  border-radius:20px;
  font-weight:700
}

/* Boutons */
.btn-add { background:var(--rouge); color:#fff }
.btn-add:hover { background:var(--orange); color:#fff }
.btn-disabled { background:var(--rouge); color:#fff; cursor:pointer }

/* Offcanvas Panier */
#cartOffcanvas { --bs-offcanvas-width:400px }
#cart-items { max-height:calc(100vh - 250px); overflow-y:auto }
.cart-item { border-bottom:1px solid #eee; padding:1rem 0 }
.cart-item:last-child { border-bottom:0 }
.cart-item .qty-btn { cursor:pointer; color:var(--rouge) }
.cart-item-img {
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:8px;
  margin-right:15px;
  box-shadow:0 2px 5px rgba(0,0,0,0.1)
}

/* Toasts */
#toast-container {
  position:fixed;
  bottom:1rem;
  right:1rem;
  z-index:1080
}

/* Animation tristesse (panier vide) */
.icon-sad {
  color: #91150754;
  font-size: 3em;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}