html,
body {
  min-height: 100%;
}

body {
  background-color: #121212;
  color: #f5f5f5;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1 0 auto;
}

.footer {
  margin-top: auto;
}
.navbar {
  background-color: #1e1e1e;
}
.navbar a {
  color: #f5f5f5 !important;
}
.navbar a:hover {
  color: #ff4d4d !important;
}

.navbar-social {
  z-index: 1100;
}

.navbar-logo-inner {
  max-height: 40px;
  width: auto;
}

body.home-page .navbar-brand img {
  position: absolute;
  z-index: 1000;
  width: 450px;
  margin-top: 250px;
}


.background-foreground {
  position: absolute;
  top: 0;
  right: 0;
  width: 700px;
  z-index: 999;
  object-fit: cover;
  pointer-events: none;
}
.hero {
  padding: 250px 20px 0px 20px;
  text-align: center;
}
.hero h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ff653f;
}
.news {
  padding: 8px 0;
  overflow: hidden;
}

.news p {
  padding: 0;
  margin: 0;
  font-style: italic;
}

.news-ticker {
  width: 100%;
  overflow: hidden;
}

.news-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  min-width: 100%;
  white-space: nowrap;
  animation: news-scroll 30s linear infinite;
}

.news-track--static {
  width: 100%;
  animation: none;
  justify-content: center;
  transform: none;
}

.news-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-style: italic;
}

.news-item::after {
  content: "•";
  margin-left: 1.25rem;
  opacity: 0.85;
}

.news-track--static .news-item::after {
  content: none;
  margin-left: 0;
}

.news-item-label {
  font-style: normal;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

@keyframes news-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .news-track {
    gap: 1.5rem;
    animation-duration: 22s;
  }

  .news-item {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-track {
    animation: none;
    flex-wrap: wrap;
    white-space: normal;
    width: 100%;
    justify-content: center;
    padding: 0 0.75rem;
  }

  .news-item::after {
    display: none;
  }
}

.btn-custom {
  background-color: #ff4d4d;
  color: white;
  border-radius: 10px;
  padding: 12px 24px;
}
.btn-custom:hover {
  background-color: #e63e3e;
}
section {
  padding: 20px 20px;
}
.bg-alt {
  background-color: #1e1e1e;
}
.card {
  background-color: #1e1e1e;
  color: #f5f5f5;
  border: none;
  border-radius: 8px;
}
.gallery-item {
  background-color: #2a2a2a;
  border-radius: 12px;
  aspect-ratio: 16/9;
}
footer {
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

footer p {
  padding: 0;
  margin: 0;
}


.bg-danger {
  /* Exemple : rouge personnalisé */
  background-color: #b14328 !important;
  color: #fff !important;
}

.border-danger {
  border-color: #b14328 !important;
}

.contenu-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.contenu-title-image {
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
  body.home-page .navbar-brand img {
    width: 240px;
    margin-top: 120px;
  }
  .hero {
    padding: 120px 20px 0 20px;
  }
  .background-foreground {
    display: none;
  }
  .navbar-social {
    top: 0 !important;
    transform: none !important;
    z-index: 1100;
    padding-top: 10px;
  }

  .navbar-brand-inner {
    margin-left: 86px;
  }

  .navbar-logo-inner {
    width: 200px;
    height: auto;
    max-height: none;
    max-width: none;
  }
}