:root {
  --primary-blue: #003366;
  --secondary-blue: #1a4b8c;
  --gold: #D4AF37;
  --light-gold: #f5e3b1;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #333333;
  --transition: all 0.3s ease;
}

/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: var(--dark-gray);
  background-color: var(--white);
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.top-bar {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.logo img {
  height: 70px;
  width: auto;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav li {
  margin-left: 25px;
  position: relative;
}

.main-nav a {
  color: var(--primary-blue);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  font-size: 0.95rem;
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.main-nav a:hover:after {
  width: 100%;
}

/* Language Switcher */
.language-switch {
  margin-left: 30px;
  display: flex;
  gap: 5px;
  background: rgba(212, 175, 55, 0.1);
  padding: 5px;
  border-radius: 30px;
}

.language-btn {
  background: ffffff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 30px;
  transition: var(--transition);
  color: var(--primary-blue);
  font-size: 0.85rem;
}

.language-btn:hover {
  background: rgba(212, 175, 55, 0.2);
}

.language-btn.active {
  background-color: var(--gold);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Hero Section page acceuille */ 
.hero {
  background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.7)), 
              url('church-hero.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 120px 20px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background-color: var(--light-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-blue);
  font-size: 2.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 15px auto;
}

.bg-light {
  background-color: var(--light-gray);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Style pour la carte de programme */
.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--gold);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.schedule-list {
    padding-left: 1em;
    list-style-type: none;
}

.schedule-list li {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px dashed rgba(0, 51, 102, 0.1);
}

.schedule-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-list strong {
    color: var(--primary-blue);
    font-size: 1.1em;
}

.time {
    display: inline-block;
    min-width: 90px;
    color: var(--gold);
    font-weight: 600;
}

/* Version mobile */
@media (max-width: 768px) {
    .info-card {
        padding: 20px;
    }
    
    .schedule-list li {
        margin-bottom: 1.2em;
        padding-bottom: 0.8em;
    }
    
    .time {
        min-width: 80px;
    }
}

/* Events Section debut */

/* Style pour la liste d'événements à venir (compact) */
/* Style du conteneur du titre pour la ligne de séparation */
.upcoming-events h2 {
    position: relative;
    padding-bottom: 15px; /* Espace pour la ligne en dessous */
    font-size: 2em;
    color: #003366;
}

.upcoming-events h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px; /* Longueur de la ligne */
    height: 5px; /* Épaisseur de la ligne */
    background-color: #FFD700; /* Couleur jaune doré (Gold) */
    border-radius: 2px;
}

/* Rendre les cartes horizontales */

/* Nouvel affichage pour la liste d'événements à venir */
.upcoming-events .events-list {
    display: flex;
    flex-wrap: wrap; /* Permet aux cartes de s'aligner horizontalement et de passer à la ligne */
    justify-content: center; /* Centre les cartes horizontalement */
    gap: 20px; /* Espace entre les cartes */
    margin: 30px auto;
}

/* Style de la nouvelle carte horizontale */
.event-card-compact {
    width: 300px; /* Largeur fixe de la carte */
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.event-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-image-wrapper {
    height: 180px; /* Hauteur de l'image de la carte */
    overflow: hidden;
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details-compact {
    padding: 15px;
    text-align: left;
}

.event-date-compact {
    font-size: 1.1em;
    color: #333;
    margin: 5px 0;
}

.event-date-compact strong {
    font-size: 1.5em; /* Rendre le jour plus grand et audacieux */
    color: #003366;
    margin-right: 5px;
}

.event-weekday-compact {
    font-size: 0.9em;
    color: #888;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
}

.event-category-compact {
    font-size: 0.8em;
    color: #999;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

.event-title-compact {
    font-size: 1.4em;
    font-weight: bold;
    color: #003366;
    margin: 0 0 10px;
}

.event-description-compact {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 10px;
}

.event-time-compact {
    font-size: 0.8em;
    color: #777;
    font-style: italic;
}


/* Style des cartes d'événements fin*/

/* Pour les petits écrans */
@media (max-width: 768px) {
    .upcoming-events .events-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

.text-center {
  text-align: center;
  margin-top: 40px;
}

/* Footer Styles */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
/* Section Contact */
.contact-section {
    background-color: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-card, .form-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.icon-location, .icon-phone, .icon-email {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.social-link.fb {
    background-color: #3b5998;
}

.social-link.tiktok {
    background-color: #000;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Formulaire */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--gold);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
    }
}

/* Give Page Styles */
.give-container {
  max-width: 1000px;
  margin: 0 auto;
}

.give-intro {
  text-align: center;
  margin-bottom: 50px;
}

.give-intro h1 {
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.give-intro .lead {
  font-size: 1.2rem;
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto;
}

.give-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.give-option {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  border-top: 4px solid var(--gold);
}

.give-option h2 {
  color: var(--primary-blue);
  margin-bottom: 25px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-method {
  margin-bottom: 30px;
}

.payment-method h3 {
  color: var(--secondary-blue);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.btn-paypal {
  background: #003087;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-paypal:hover {
  background: #002673;
}

.mobile-money-option {
  background: var(--light-gray);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.mobile-money-option h4 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.mobile-money-option p {
  margin-bottom: 5px;
}

.checklist {
  list-style: none;
  margin-top: 20px;
}

.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.checklist li:before {
  content: "✓";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.bible-verse {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.bible-verse blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary-blue);
  line-height: 1.6;
}

.bible-verse cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--gold);
}


/* Style pour la section "Tous à l'École" */
.tous-a-lecole {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
}

.tous-a-lecole h4 {
    color: #e74c3c; /* Rouge pour faire ressortir l'initiative */
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center;
}

.tous-a-lecole p {
    background-color: #fff;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.tous-a-lecole img {
    width: 80%;
    max-width: 500px; /* Ajustez selon vos besoins */
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Effet de survol pour l'image */
.tous-a-lecole img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}
@media (max-width: 768px) {
    .tous-a-lecole img {
        max-width: 80%; /* Image pleine largeur sur mobile */
    }
}

/* Styles pour la grille des pasteurs/leaders */
.pastors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pastor-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

.pastor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Styles pour les images des leaders */
.pastor-card img {
    width: 100%;
    height: 350px; /* Hauteur fixe pour uniformiser */
    object-fit: cover;
    object-position: top center;
    border-bottom: 3px solid var(--gold);
    display: block;
}

.pastor-card h3 {
    color: var(--primary-blue);
    margin: 20px 0 5px;
    font-size: 1.3rem;
}

.pastor-card h4 {
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.pastor-card p {
    padding: 0 20px 20px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}


        /* Popup d'événement */
        .fc-popover {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            z-index: 1000;
            max-width: 400px;
            width: 90%;
        }
        
        .fc-popover button {
            background: #003366;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            margin-top: 15px;
        }
    

.fc-daygrid-event-dot {
    display: none;
}

/* Header */
.fc-toolbar-title {
    color: var(--primary-blue);
    font-weight: 700;
}

.fc-button {
    background: var(--primary-blue) !important;
    border: none !important;
    text-transform: capitalize;
}

/* Popover Style */
.fc-popover {
    max-width: 300px;
    font-family: 'Montserrat', sans-serif;
}

.fc-popover h3 {
    color: var(--primary-blue);
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pastors-grid {
        grid-template-columns: 1fr;
    }
    
    .pastor-card img {
        height: 300px;
    }
}

.audio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .audio-card {
            background: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .audio-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-weight: bold;
            color: var(--primary-blue);
        }

        .audio-card audio {
            width: 100%;
            margin: 10px 0;
        }

        .audio-card h3 {
            margin-top: 10px;
            font-size: 1.1rem;
        }

        .sunday-recap {
            margin-top: 50px;
        }

        .recap-card {
            max-width: 600px;
            margin: 20px auto;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .recap-header {
            text-align: center;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .recap-card video {
            width: 100%;
            border-radius: 4px;
        }

        @media (max-width: 768px) {
            .audio-grid {
                grid-template-columns: 1fr;
            }
        }

/* Responsive */
@media (max-width: 768px) {
  .give-options {
    grid-template-columns: 1fr;
  }
  
  .give-option {
    padding: 25px;
  }
}


/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
    padding: 80px 30px;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .main-nav li {
    margin: 15px 0;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .hero {
    padding: 100px 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-column h3 {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .footer-column a:hover {
    padding-left: 0;
  }
}








