body {
  background-color: #fff;
  color: #333;
  transition: background 0.5s ease, color 0.5s ease;
  background-image: url("../images/fond.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  transition: background-color 0.6s ease, color 0.6s ease,
    background-image 0.8s ease;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); /* léger voile blanc */
  backdrop-filter: blur(8px); /* effet flou */
  z-index: -1;
  pointer-events: none;
  transition: background-color 0.6s ease, backdrop-filter 0.6s ease;
}

body.dark-mode {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: #f1f1f1;
  position: relative;
}

body.dark-mode::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;

  /* Effets plus légers */
  background-color: rgba(0, 0, 0, 0.25); /* léger voile sombre */
  backdrop-filter: blur(3px) brightness(0.9); /* image + visible */
}

h1,
h2,
h3,
h4,
h5 {
  /* color: #c62828; */
  color: #ffca28;
}

/* ✅ Jaune Ogoko comme accent */
:root {
  --ogoko-yellow: #ffca28;
}

.text-bordered {
  display: inline-block;
  padding: 10px 20px;
  border: 4px solid white;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  color: #c62828;
  font-size: 2rem; /* taille de base */
  text-align: center;
}

/* ✅ Version mobile (moins de 576px) */
@media (max-width: 575.98px) {
  .text-bordered {
    font-size: 1.2rem;
    padding: 8px 14px;
    border-width: 2px;
    border-radius: 20px;
  }
}

.btn-red {
  background-color: #c62828;
  color: white;
  border: 2px solid var(--ogoko-yellow); /* ✅ contour jaune */
}

.btn-red:hover {
  background-color: #b71c1c;
  border-color: var(--ogoko-yellow);
  box-shadow: 0 0 8px var(--ogoko-yellow); /* ✅ lueur jaune */
}

/* Carousel */
.carousel-item img {
  height: 200px;
  object-fit: cover; /* ou 'contain' si tu veux éviter de couper l’image */
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

/* =======================
   RESPONSIVE MOBILE OGOKO FOOD
   ======================= */

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Cards */
.card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(255, 202, 40, 0.3); /* ✅ lueur jaune au hover */
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Pagination */
#loader {
  display: none;
  text-align: center;
  margin: 20px auto;
}

.active-page {
  background-color: var(--ogoko-yellow); /* ✅ jaune pour page active */
  color: black !important;
  font-weight: bold;
  border-color: var(--ogoko-yellow);
  box-shadow: 0 0 8px rgba(255, 202, 40, 0.5);
}

.pagination-container button {
  transition: all 0.2s ease;
}

.pagination-container button:hover {
  transform: scale(1.05);
}

/* Marges générales entre les sections */
.container {
  margin-bottom: 4rem;
}

.reservation-banner {
  background: url("../images/reser.png") center/cover no-repeat;
  position: relative;
  z-index: 1;
}

.reservation-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(220, 53, 69, 0.85); /* rouge semi-transparent */
  z-index: -1;
  filter: blur(3px);
}

.reservation-text h2 {
  animation: slideFadeIn 1s ease-in-out;
  font-size: 2.5rem;
}

.reservation-text p {
  animation: fadeIn 2s ease-in;
  font-size: 1.2rem;
}

.reservation-btn {
  animation: pulse 1.5s infinite;
  transition: all 0.3s ease;
  padding: 0.8rem 2rem;
}

.reservation-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--ogoko-yellow); /* ✅ lueur jaune au hover */
  background-color: var(--ogoko-yellow); /* ✅ fond jaune */
  color: black;
}

@keyframes slideFadeIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ✅ Responsive mobile/tablette */
@media (max-width: 768px) {
  .reservation-text h2 {
    font-size: 1.8rem;
  }

  .reservation-text p {
    font-size: 1rem;
  }

  .reservation-btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem;
  }

  .reservation-banner {
    padding: 3rem 1rem;
  }
}

/* Style général du formulaire */
#reservation-form {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#reservation-form .form-label {
  font-size: 1rem;
  color: #333;
}

#reservation-form .form-control {
  border-radius: 5px;
  border: 1px solid #ddd;
}

#reservation-submit-btn {
  background-color: #c62828; /* Rouge Ogoko */
  color: white;
  border: 2px solid var(--ogoko-yellow); /* ✅ bord jaune */
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#reservation-submit-btn:hover {
  background-color: #b71c1c;
  border-color: var(--ogoko-yellow);
  box-shadow: 0 0 10px var(--ogoko-yellow); /* ✅ lueur jaune */
  cursor: pointer;
}

/* Style des sections */
.container {
  margin-bottom: 3rem;
}

/* Réactive sur mobile */
@media (max-width: 768px) {
  #reservation-form {
    padding: 1rem;
  }

  #reservation-submit-btn {
    font-size: 1rem;
  }
}

.navbar .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--ogoko-yellow); /* ✅ jaune au survol */
}

.navbar .nav-link.active {
  font-weight: bold;
  border-bottom: 2px solid var(--ogoko-yellow); /* ✅ soulignement jaune */
}

.card-link {
  text-decoration: none; /* Enlever le soulignement du lien */
  color: inherit; /* Garder la couleur du texte originale */
}

/* style pub */
.section-padding {
  padding: 60px 0;
}
.parallax-section {
  height: 400px;
  background-image: url("../images/salle.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.zoom-in,
.slide-left,
.slide-right,
.fade-blur {
  opacity: 0;
  transition: all 0.8s ease-in-out;
}
.zoom-in.show {
  transform: scale(1);
  opacity: 1;
}
.slide-left {
  transform: translateX(-100px);
}
.slide-left.show {
  transform: translateX(0);
  opacity: 1;
}
.slide-right {
  transform: translateX(100px);
}
.slide-right.show {
  transform: translateX(0);
  opacity: 1;
}
.fade-blur {
  filter: blur(10px);
}
.fade-blur.show {
  filter: blur(0);
  opacity: 1;
}
.hover-zoom img {
  transition: transform 0.5s ease;
}
.hover-zoom:hover img {
  transform: scale(1.05);
}
/* Bordure dégradée */
.gradient-border {
  background: linear-gradient(135deg, #c62828, #f48c42, #ffd740);
  padding: 4px;
  border-radius: 16px;
  position: relative;
}

.gradient-border > * {
  border-radius: 12px;
  background: white;
  overflow: hidden;
}

/* Arrière-plan avec texture de glace */
.glace-texture {
  position: relative;
  overflow: hidden;
}

.glace-texture .bg-overlay {
  background-image: url("../images/fond.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Bouton animé */
.animated-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(198, 40, 40, 0.5);
}
.zoom-container {
  overflow: hidden;
  border-radius: 12px;
}

.zoom-container img {
  transition: transform 0.4s ease;
}

.zoom-container:hover img {
  transform: scale(1.5);
  cursor: zoom-in;
}

/*  fin style pub */
/* debut style glacier */
.banner {
  position: relative;
  height: 90vh;
  overflow: hidden;
}
.banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.banner-text h1 {
  font-size: 4rem;
  color: #ffd700;
}
.section-title {
  text-align: center;
  margin: 60px 0 30px;
  color: #c62828;
}
.gallery img,
.gallery video {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s;
}
.gallery img:hover,
.gallery video:hover {
  transform: scale(1.05);
}
.flavor-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.flavor-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 15px;
}

.flavor-card:hover img {
  transform: scale(1.1);
}

.flavor-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(198, 40, 40, 0.85); /* Rouge transparent */
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.benefits i {
  font-size: 2rem;
  color: #ffd700;
}
.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1.2rem;
  margin-top: 30px;
  text-decoration: none;
  transition: background 0.3s;
}
.whatsapp-btn:hover {
  background-color: #1ebc5c;
}
/* fin style glacier */
