/* Hero Section */
/* Animation douce du logo */
@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-logo {
  animation: floatUp 6s ease-in-out infinite;
}

/* Optionnel : légère ombre portée sur les textes pour plus de lisibilité */
#hero p,
#hero .badge {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

#hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('/uploads/img/foireexpo-background.jpg') center center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
#hero h1, #hero h2 {
  text-transform: uppercase;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
}
#hero span.badge {
  font-size: 1.2rem;
  background: #ffc107;
}

/* Section titles */
section h2 {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #2e2f89;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* Fade animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

section {
  scroll-margin-top: 100px;
}

footer {
  background: #111;
  color: #bbb;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}
.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #ffc107 !important;
}

.card-img-top {
  object-fit: contain;
  height: 180px;
  background: #fff;
  padding: 10px;
}

.card-img-top {
  object-fit: contain;
  background-color: #fff;
  padding: 10px;
}
.card .badge {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
}