/* ============================================================
   CHEZ OMER v2 — Styles spécifiques à index.html
============================================================ */

/* ─── Hero vignette radiale ─── */
.hero-vignette {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(28, 21, 18, 0.32) 100%);
}

/* ─── Hero slideshow — Ken Burns crossfade ─── */
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

/* Images des slides (nth-child pour éviter les styles inline) */
.hero-slide:nth-child(1) { background-image: url('../img/ambiance_3.jpeg'); }
.hero-slide:nth-child(2) { background-image: url('../img/plat_fruits_mer_2.jpeg'); }
.hero-slide:nth-child(3) { background-image: url('../img/salle_interieur_1.jpg'); }
.hero-slide:nth-child(4) { background-image: url('../img/tripadvisor_lasagne.jpg'); }
.hero-slide:nth-child(5) { background-image: url('../img/tripadvisor_saumon.jpg'); }

/* ─── Review cards — accent line dorée ─── */
.review-card {
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(197, 154, 101, 0.38), transparent);
}

/* ─── Lightbox index (même polish que galerie) ─── */
#lightbox {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#lightbox-img {
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  animation: lightboxImgIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes lightboxImgIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
#lightbox-caption {
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
}
#lightbox-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.35s ease;
}
#lightbox-close:hover {
  background: rgba(220, 76, 62, 0.75);
  transform: rotate(90deg);
}
