/* === FOOTER PRINCIPAL === */
.footer {
  position: relative;
  background: linear-gradient(180deg, #00264d 0%, #004b9a 100%);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  padding: 2.5rem 0;
  overflow: hidden;
}

/* --- Bordure dorée animée en haut --- */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  animation: shimmer 8s linear infinite; /* animation ralentie */
}

/* Animation de la lueur dorée */
@keyframes shimmer {
  0% { transform: translateX(-25%); opacity: 0.6; }
  50% { transform: translateX(25%); opacity: 1; }
  100% { transform: translateX(-25%); opacity: 0.6; }
}

/* Titres de section */
.footer h5 {
  color: #ffd700;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* Liens */
.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #ffd700;
}

/* Listes */
.footer ul.list-unstyled.small li {
  margin-bottom: 0.35rem;
}

/* Sous-liste Check-in/out (dorée + alignée) */
.footer .check-hours {
  list-style: none;
  margin: 0.5rem 0 0.2rem 0.8rem;
  padding: 0.6rem 0.8rem;
  border-left: 2px solid rgba(255, 215, 0, 0.5);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  width: fit-content;
  font-size: 0.9rem;
  color: rgba(255, 230, 180, 0.95);
}

/* Alignement texte + heures */
.footer .check-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0.2rem 0;
  width: 170px;
}

.footer .check-hours li span {
  text-align: right;
  min-width: 60px;
  font-weight: 600;
  color: #ffd700;
}

/* Effet au survol */
.footer .check-hours li:hover {
  color: #fff;
}


/* Animation du footer */
@keyframes footerFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* footer invisible au départ */
.footer {
  opacity: 0;
  transform: translateY(25px);
}

/* classe ajoutée automatiquement quand le footer entre en vue */
.footer-visible {
  animation: footerFadeUp 1.2s ease forwards;
  animation-delay: 0.1s;
}


/* Animation générale : fade + slide-up */
@keyframes footerColumnFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Colonne invisible au départ */
.footer .col {
  opacity: 0;
  transform: translateY(25px);
}

/* Colonne visible */
.footer-visible .col {
  animation: footerColumnFadeUp 0.9s ease forwards;
}

/* Cascade – délais progressifs */
.footer-visible .col:nth-child(1) {
  animation-delay: 0.15s;
}

.footer-visible .col:nth-child(2) {
  animation-delay: 0.35s;
}

.footer-visible .col:nth-child(3) {
  animation-delay: 0.55s;
}

.footer-visible .col:nth-child(4) {
  animation-delay: 0.75s;
}

/* Barre dorée animée sous les titres */
.footer h5 {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #d4af37, #fceabb);
  border-radius: 3px;
  animation: goldLine 1.2s ease forwards;
  opacity: 0.9;
}

/* Animation de la barre dorée */
@keyframes goldLine {
  0% { width: 0%; opacity: 0; }
  60% { width: 100%; opacity: 1; }
  100% { width: 60%; opacity: 1; }
}


@keyframes footerStaggerLeft {
  0% {
    opacity: 0;
    transform: translateY(25px) translateX(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes footerStaggerRight {
  0% {
    opacity: 0;
    transform: translateY(25px) translateX(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

/* Apply animation when footer becomes visible */
/* animation de base */
.footer-col {
  opacity: 0;
  transform: translateY(18px);
  animation: footerFadeIn 0.7s ease forwards;
}

/* cascade — delays */
.footer-col:nth-child(1) { animation-delay: 0.08s; }
.footer-col:nth-child(2) { animation-delay: 0.22s; }
.footer-col:nth-child(3) { animation-delay: 0.36s; }
.footer-col:nth-child(4) { animation-delay: 0.50s; }

@keyframes footerFadeIn {
  to { opacity: 1; transform: translateY(0); }
}


.footer a {
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer a:hover {
  color: #fceabb; /* doré clair */
  transform: translateX(3px);
}

/* Petit trait doré qui apparaît sur les liens au hover */
.footer a::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  width: 6px;
  background: radial-gradient(circle, #fceabb 0%, #d4af37 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer a:hover::after {
  opacity: 1;
}

/* Réseaux sociaux */
.footer .social-link {
  color: white;
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.footer .social-link:hover {
  transform: translateY(-3px);
  color: #0d6efd;
}

/* Ligne séparatrice douce */
.footer hr {
  border-color: rgba(255,255,255,0.2);
}

/* Texte final */
.footer .text-center {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
  .footer .d-flex {
    justify-content: center;
  }
}
