/* ============================================================
   LE BAR — styles de page
   Extrait du <style> inline qui se trouvait dans le Blade.
   À déposer dans public/css/pages/bar_custom.css
   ============================================================ */

/* ---------- FAQ ---------- */

.faq-item {
  background: white;
  border: 1px solid #e0d5c7;
  margin: 1rem 0;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background: #f5f0eb;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  color: #5c3317;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #e8ddd2;
}

.faq-toggle {
  font-size: 1.2rem;
  color: #c9a96e;
}

.faq-answer {
  padding: 1.5rem;
  color: #2c1a0e;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* ---------- Direct Answer (intro) ---------- */

.hero-answer {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3020;
  border-left: 3px solid #c9a96e;
  padding: 14px 20px;
  margin: 20px 0 32px;
  background: rgba(201, 168, 76, 0.04);
  max-width: none;
  text-align: left;
  box-sizing: border-box;
}

/* ---------- Fiches cocktails ---------- */

.cocktail {
  margin: 0 0 1.25rem;
}

.cocktail h3 {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: #5c3317;
  margin: 0 0 0.35rem;
}

.cocktail p {
  color: #2c1a0e;
  margin: 0;
}

/* ---------- Bloc CTA (fond sombre) ---------- */

.cta-box {
  background: linear-gradient(135deg, #1a0a00 0%, #5c3317 100%);
  color: #faf6f0;
  padding: 2.5rem;
  border-radius: 4px;
  text-align: center;
  margin: 3rem 0;
}

.cta-box h2 {
  color: #c9a96e !important;
  margin-top: 0;
  border-bottom-color: rgba(201, 169, 110, 0.45);
}

/* Le thème applique une couleur sombre aux <p> du contenu :
   il faut la surcharger ici, sinon le texte disparaît sur le dégradé. */
.cta-box p,
.cta-box p * {
  margin: 1rem 0;
  color: #fff !important;
}

.cta-box a {
  color: #c9a96e !important;
  text-decoration: none;
  font-weight: bold;
}

.cta-box a:hover {
  text-decoration: underline;
}

.cta-box .hero-cta,
.cta-box .hero-cta:hover,
.cta-box .hero-cta:focus {
  display: inline-block;
  background: #c9a96e;
  color: #1a0a00 !important;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}

.cta-box .hero-cta:hover {
  background: #faf6f0;
}
/* ============================================================
   HERO SLIDER (Swiper)
   ============================================================ */

.bar-hero { position: relative; overflow: hidden; }
.bar-hero .barHeroSwiper { width: 100%; }

.bar-hero .swiper-slide {
  position: relative;
  width: 100%;
  height: 700px;          /* REQUIRED — gives __bg something to fill */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;        /* fallback so sides are never beige */
}

.bar-hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;   /* fill, don't rely on inset */
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(.9);
  transform: scale(1.15);      /* hides blurred edges */
  z-index: 1;
}

.bar-hero__img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 62%;
  object-fit: cover;
  margin: 0 auto;
}

.bar-hero__prev,
.bar-hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 300;          /* thin chevron */
  line-height: 1;
  background: rgba(40, 30, 30, .55);   /* dark translucent */
  cursor: pointer;
  user-select: none;
  transition: background .2s ease;
}

.bar-hero__prev:hover,
.bar-hero__next:hover { background: rgba(40, 30, 30, .8); }

.bar-hero__prev { left: 6px; }
.bar-hero__next { right: 6px; }

@media (max-width: 700px) {
  .bar-hero .swiper-slide {
    height: auto;          /* let the image set the height */
  }

  .bar-hero__bg {
    display: none;
  }

  .bar-hero__img {
    width: 100%;
    max-width: 100%;       /* overrides the 62% desktop cap */
    height: 60vh;
    object-fit: cover;
  }

  .bar-hero__prev,
  .bar-hero__next {
    width: 40px;
    height: 48px;
    font-size: 18px;
  }
}