body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  background-image: url("/images/nordschleife-night-fond-light.webp");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  background-color: black;
  color: rgb(204, 204, 204);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#navbar {
  background-color: rgb(0, 0, 0);
}

.logo {
  display: block;
  max-width: 15vw;
}

.headone {
  max-width: 100%;
  max-height: 100%;
  margin: 0%;
  padding: 0%;
}

.fa-bars {
  color: #a20100;
}



.top {
  margin-top: 0px;
  padding: 0px;
}

a {
  color: #a20100;
}

a:hover {
  color: white;
}
ul {
  list-style-type: none;
}

.cover {
  margin: 0px auto;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.601);
  display: block;
  width: 100%;
}

/* Cover dans les sections container - même largeur que le container */
.container .cover {
  max-width: 100%;
}

.container {
  padding: auto;
  max-width: 1140px;
}

/* Cover du carousel - pleine largeur */
.carousel-wrapper {
  position: relative;
  width: 100%;
}

#carouselExampleInterval {
  position: relative;
  margin-bottom: 0;
}

.carousel-cover {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.601);
  z-index: 10;
  margin-top: 4rem;
}

/* ============= carousel ===========*/

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.301);
}

.carousel {
  margin-top: 10rem;
  max-width: 100%;
  min-height: 380px;
}

/* == text over img == */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.titre1 {
  color: #a20100;
  font-size: 8rem;
  font-family: brush-script-std, sans-serif;
  margin-bottom: 2rem;
  line-height: 1.1;
}

@media screen and (max-width: 1200px) {
  .titre1 {
    font-size: 6rem;
  }
}

@media screen and (max-width: 992px) {
  .titre1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .titre1 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-content {
    padding: 1.5rem 1rem;
  }
}

@media screen and (max-width: 576px) {
  .titre1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-content {
    padding: 1rem 0.75rem;
  }
}

.titre2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

@media screen and (max-width: 1200px) {
  .titre2 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 992px) {
  .titre2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .titre2 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 576px) {
  .titre2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
}

/* === Animations personnalisées pour le carousel === */
.article1 {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 2rem 1rem;
}

@media screen and (max-width: 768px) {
  .article1 {
    padding: 1.5rem 0.75rem;
  }
}

@media screen and (max-width: 576px) {
  .article1 {
    padding: 1rem 0.5rem;
  }
}

.animate-title {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpTitle 1s ease-out forwards;
}

.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpText 0.8s ease-out forwards;
}

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

@keyframes fadeInUpTitle {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    text-shadow: 0 0 0 rgba(162, 1, 0, 0);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 0 20px rgba(162, 1, 0, 0.5), 0 0 40px rgba(162, 1, 0, 0.3);
  }
}

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

/* Animation au survol pour un effet subtil */
.titre1 {
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.article1:hover .titre1 {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(162, 1, 0, 0.7), 0 0 50px rgba(162, 1, 0, 0.5);
}

/* Amélioration de la lisibilité du texte */
.animate-content {
  width: 100%;
}

.animate-content .titre2 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Amélioration du responsive pour le carousel */
@media screen and (max-width: 768px) {
  .cover {
    padding: 0.75rem;
  }
}

@media screen and (max-width: 576px) {
  .cover {
    padding: 0.5rem;
  }
}

/*=====Card====*/
.card {
  background-color: #161616;
  margin: 12px;
  border: solid 1px #a20100;
}

.text-red {
  color: #a20100;
  font-size: x-large;
}

.nav-link {
  text-transform: uppercase;
  font-weight: bold;
  font-size: large;
}

.imghead {
  object-fit: cover;
  min-width: 100vw;
  max-height: 1024px;
  margin: 0;
}

.zoomin {
  height: 100%;
  width: 100%;
  margin: 0px;

  transform: scale(0.95);

  transition: transform 3s;
  background-color: black;
}

.zoomin:hover {
  transform: scale(1);
  transform-origin: 50% 50%;
}

.zoom {
  overflow: hidden;
  background-color: black;
}

.img-responsive {
  padding: 1rem;
  border-radius: 10px;
  display: block;
  max-width: 100%;
  transform: scale(1);
  height: auto;
  transition: transform 4s;
  object-fit: cover;
}

/*====titre de section=====*/
.titre {
  margin-top: 5rem;
  text-align: center;
  text-shadow: 5px 5px 5px black;
}

/*=====animation on scroll======*/
.prestations {
  height: 5rem;
  margin-top: 10rem;
}

hr {
  color: rgba(0, 0, 0, 0);
}

/* === Cartes événements === */
.event-card {
  background-color: #161616;
  border: solid 1px #a20100;
  overflow: hidden;
}

/* Animations - ScrollReveal gère l'opacité automatiquement */
.animate-from-left,
.animate-from-right,
.animate-fade-up {
  will-change: transform, opacity;
}

/* Fallback : si JavaScript est désactivé, les éléments restent visibles */
.no-js .animate-from-left,
.no-js .animate-from-right,
.no-js .animate-fade-up {
  opacity: 1;
  transform: none;
}

.event-image {
  object-fit: cover;
  min-height: 300px;
}

@media (max-width: 768px) {
  .event-image {
    min-height: 250px;
  }
}

/* === Section prochainement === */
.section-prochainement {
  scroll-margin-top: 100px;
  padding-top: 50px;
}

.event-info {
  margin-top: 1.5rem;
}

.event-detail.text-center .event-info {
  text-align: center;
}

.event-detail.text-center .event-info ul {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
}

.text-orange {
  color: orange;
}

/* Styles pour les images de la section prochainement */
.image-zoom-container {
  overflow: hidden;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 100%;
  padding: 1rem;
}

.img-responsive2 {
  margin: 0;
  padding: 0;
  border-radius: 10px;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform-origin: center center;
}

.image-zoom-container:hover .img-responsive2 {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .img-responsive2 {
    max-height: 400px;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .img-responsive2 {
    max-height: 300px;
  }
}

/* === Bouton retour en haut === */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: rgba(162, 1, 0, 0.8);
  color: white;
  border: 2px solid #a20100;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #a20100;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(162, 1, 0, 0.6);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .scroll-to-top i {
    font-size: 1rem;
  }
}

/* === Bouton Discord === */
.btn-discord {
  background-color: #a20100;
  color: white !important;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
}

.btn-discord i,
.btn-discord span {
  color: white !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
  font-size: 1.3em;
  vertical-align: middle;
}

.btn-discord:hover {
  background-color: #8a0100;
  color: white !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(162, 1, 0, 0.4);
}

.btn-discord:hover i,
.btn-discord:hover span {
  color: white !important;
}

/* Effet halo au hover */
.btn-discord:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
               0 0 20px rgba(255, 255, 255, 0.6),
               0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-discord:hover i {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
               0 0 20px rgba(255, 255, 255, 0.6),
               0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-discord:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section-prochainement {
    scroll-margin-top: 80px;
    padding-top: 40px;
  }
  
  .event-detail h2 {
    font-size: 1.5rem;
  }
  
  .event-detail h3 {
    font-size: 1.2rem;
  }
  
  .cover {
    padding: 1rem !important;
  }
  
  .btn-discord {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}


