/* ====================
   1. General Body Styling
==================== */
body {
    font-family: 'Arial', sans-serif; 
    background-color: #fff; 
    color: #333;
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* ====================
   2. Navbar Styling for all pages 
==================== */
.navbar {
    background-color: #e50914; 
}

.navbar-brand {
    display: flex; 
    align-items: center; 
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    font-weight: bold; 
    color: white ; 
}

.navbar-brand img {
    width: 40px; 
    height: auto; 
    margin-right: 10px; 
}

.nav-link {
    color: #fff ; 
    font-weight: 500; 
}

.nav-link:hover {
    color: #000000 ; 
}



/* ====================
   4. Hero Section Styling
==================== */
.hero {
    background-image: url('img/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh; 
    width: 100%; 
    color: red; 
    text-align: center; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

/* ====================
   5. Hero Section for Donate Page 
==================== */
.hero-alt {
    position: relative;
    background-image: url('img/2.jpg'); 
    text-align: center; 
    display: flex; 
    background-size: cover;
    background-position: center;
    height: 100vh;
  }

.hero-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

.hero-alt h1 {
    position: relative;
    color: white; 
    font-size: 3rem; 
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); 
    z-index: 2; 
}

.hero-alt a.btn {
    position: relative;
    z-index: 2;
    padding: 10px 20px; 
    color: white; 
    font-size: 1.25rem; 
    background-color: red; 
    border: none;
    border-radius: 5px; 
    transition: background-color 0.3s ease; 
}

.hero-alt a.btn:hover {
    background-color: rgb(213, 91, 91);
}



/* ====================
   Hero Section for join-club
==================== */


.hero-alt1 {
    position: relative;
    background-image: url('./img/2.webp');
    text-align: center; 
    display: flex; 
    background-size: cover;
    background-position: center;
    height: 100vh;
  }
  
  .hero-alt1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
  }
  
  .hero-alt1 h1 {
    position: relative;
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); 
    z-index: 2; 
  }
  
  .hero-alt1 a.btn {
    position: relative;
    z-index: 2;
  }
  




/* ====================
   Hero Section for Contact Page 
==================== */
.hero-alt2 {
    position: relative;
    background-image: url('img/3.jpg'); 
    text-align: center; 
    display: flex; 
    background-size: cover;
    background-position: center;
    height: 100vh;
  }


.hero-alt2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1; 
}

.hero-alt2 h1 {
    position: relative;
    color: white;
    font-size: 3rem; 
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2; 
}

.hero-alt2 a.btn {
    position: relative;
    z-index: 2; 
    padding: 10px 20px; 
    color: white;
    font-size: 1.25rem; 
    background-color: rgb(255, 0, 0); 
    border: none;
    border-radius: 5px; 
    transition: background-color 0.3s ease; 
}

.hero-alt2 a.btn:hover {
    background-color: rgb(213, 91, 91); 
}

.hero-box {
    text-align: center;
    padding: 20px;
    background-color: rgba(150, 12, 12, 0.6); 
    border-radius: 10px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    display: inline-block; 
    z-index: 2; 
}
.hero-box:hover {
    transform: scale(1.05); 
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}
/* Hero Title Styling */
.hero h1 {
    font-family: 'Playfair Display', serif; 
    font-size: 3rem; 
    font-weight: bold; 
    color: white;
}

/* Hero Paragraph Styling */
.hero .lead {
    font-size: 1.2rem; 
    font-weight: 300; 
    margin-top: 20px; 
    color: white; 
}














/* ====================
   7. Buttons Styling
==================== */

/* Primary Button */
.btn-primary {
    background-color: #e50914; 
    border-color: #e50914; 
    font-weight: 500; 
    font-size: 20px; 
    transition: background-color 0.3s, transform 0.3s;
}

/* Hover effect for Primary Button */
.btn-primary:hover {
    background-color: #c40511; 
    border-color: #c40511; 
    transform: scale(1.05); 
}

/* Border Button */
.btn-bordered {
    border: 2px solid #ffffff; 
    color: #ff000d; 
    background-color: #ffffff; 
    font-weight: 500; 
    padding: 12px 30px;
    font-size: 1.2rem; 
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s; 
}

/* Hover effect for Border Button */
.btn-bordered:hover {
    background-color: #ff0000; 
    color: #ffffff; 
    transform: scale(1.05); 
}

/* ====================
   8. Section Styling
==================== */
.section {
    padding: 50px 0; 
    text-align: center; 
}

/* Section Title */
.section-title {
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem;
    font-weight: 700;
    color: #333; 
}

/* Section Description */
.section-description {
    font-size: 1.2rem; 
    color: #666; 
    margin-top: 20px; 
}

/* ====================
   9. Footer Styling
==================== */
footer {
    background-color: #333;
    color: white; 
    padding: 30px 0; 
    text-align: center;
}

footer a {
    color: #e50914; 
    text-decoration: none; 
}

footer a:hover {
    text-decoration: underline;
}

/* ====================
   10. Animation Styling
==================== */
.animate__animated {
    animation-duration: 1.5s;
    animation-delay: 0.5s; 
}

/* ====================
   11. Special Button for Donation et a propos
==================== */
.btn-don {
    border: 2px solid #ff0000; 
    color: #ffffff; 
    background-color: red; 
    font-weight: 500; 
    padding: 12px 30px; 
    font-size: 1.2rem; 
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s; 
}

.btn-don:hover {
    background-color: #f1f1f1; 
    color: rgb(255, 0, 0);
    transform: scale(1.05); 
}

/* ====================
   12. About Page Specific Styling
==================== */
.about-page .section-title {
    margin-top: 100px; 
}

.event-page .section-title {
    margin-top: 100px;
}

/* ====================
   13. Footer Positioning (Sticky footer)
==================== */
footer {
    margin-top: auto; 
}



/* ====================
   14. Transition des page
==================== */
.page-transition {
    transition: opacity 1s ease, transform 1s ease, filter 1s ease;
    opacity: 0;
    transform: scale(0.95);
    filter: blur(5px);
  }
  
  /* Effet d'entrée avec un fondu et un zoom */
  .page-enter {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    transition: opacity 1s ease, transform 1s ease, filter 1s ease;
  }
  
  /* Effet de transition de sortie de la page */
  @keyframes pageExit {
    0% {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
    }
    100% {
      opacity: 0;
      transform: scale(0.95);
      filter: blur(5px);
    }
  }
  
  /* Effet d'entrée de la nouvelle page */
  @keyframes pageEnter {
    0% {
      opacity: 0;
      transform: scale(1.05);
      filter: blur(5px);
    }
    100% {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
    }
  }
  



/*====================
 15.Style des cartes page about 
 ==================== */

.card {
    border: 1px solid #000000;  
    border-radius: 15px;  
    box-shadow: 0 4px 10px rgb(255, 103, 103); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
  }
  
  /* Effet de survol des cartes */
  .card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgb(255, 0, 0);  
  }
  
  /* Animation d'apparition plus rapide */
  .card.animate__fadeIn {
    animation-duration: 0.6s;  
  }
  
  /* Délai réduit entre les cartes */
  .card.animate__delay-1s {
    animation-delay: 0.5s; 
  }
  
  .card.animate__delay-2s {
    animation-delay: 1s; 
  }
  
  .card.animate__delay-3s {
    animation-delay: 1.5s;
  }
  








/*====================
 16.Style des cartes page events 
 ==================== */
.card1 {
    opacity: 0; 
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

/* Animation d'apparition des événements */
.event-1 {
    animation-name: fadeIn;
    animation-delay: 0.5s; 
}

.event-2 {
    animation-name: fadeIn;
    animation-delay: 1s; 
}

.event-3 {
    animation-name: fadeIn;
    animation-delay: 1.5s; 
}

/* Animation fadeIn définie */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style des cartes d'événements */
.card1 {
    border: 0;
    border-radius: 10px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet de survol pour les cartes */
.card1:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
}
/* Style des titres des cartes */
.card1-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #d9534f; 
}

/* Style du bouton sur les cartes */
.card1 .btn {
    background-color: #d9534f; 
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bouton au survol */
.card1 .btn:hover {
    background-color: #c9302c; 
    color: #fff;
}

/* Espacement et alignement du texte */
.text-center {
    text-align: center;
}

/* Section des événements */
.container {
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Espacement entre les cartes et la section */
.mt-5 {
    margin-top: 3rem;
}




/* Style général pour les barres de progression */
.progress {
    height: 30px;
    margin-bottom: 20px; 
  }
  
  /* Style pour les barres de progression */
  .progress-bar {
    font-weight: bold;
    color: white;
    text-align: center;
    transition: width 2s ease-in-out;
    line-height: 30px; 
    font-size: 14px;  
    background-color: #dc3545 ;
  }
  
  /* Style des titres au-dessus des barres */
  h5 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
  }
  
  /* Espacement général des colonnes */
  .col-md-4 {
    margin-bottom: 20px; 
  }