:root {
    --primary: #1e88e5; /* Bleu ciel vif */
    --secondary: #0d47a1; /* Bleu foncé */
    --accent: #64b5f6; /* Bleu clair */
    --light: #f5f9ff; /* Bleu très clair */
    --dark: #212121;
    --white: #ffffff;
    --success: #4caf50;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Fixe */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Hero Section avec Slider */
.hero-slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
    margin-top: 80px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);*/
    background:rgb(2 21 39 / 88%);
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.slide h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Annonces */
.announcement-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
}

/* Section commune */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-title p {
    max-width: 700px;
    margin: 15px auto 0;
    color: #666;
}

/* Événements récents (slider) */
.recent-events {
    padding: 60px 0;
    background-color: var(--light);
}

.events-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.events-slider::-webkit-scrollbar {
    display: none;
}

.event-slide {
    scroll-snap-align: start;
    min-width: 300px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-img {
    height: 180px;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-slide:hover .event-img img {
    transform: scale(1.1);
}

.event-content {
    padding: 20px;
}

.event-date {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.event-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Section Citation */
.quote-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--light);
    border-radius: 8px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--secondary);
}

.quote-reference {
    font-weight: 600;
    color: var(--primary);
}

/* Section Témoignages/Prières */
.testimony-section {
    padding: 60px 0;
    background-color: var(--light);
}

.testimony-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimony-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimony-box h3 {
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.testimony-box h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.testimony-form .form-group {
    margin-bottom: 20px;
}

.testimony-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.testimony-form input,
.testimony-form textarea,
.testimony-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.testimony-form textarea {
    min-height: 120px;
    resize: vertical;
}

.testimony-form button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimony-form button:hover {
    background-color: var(--secondary);
}

.response-item {
    background-color: var(--white);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
}

.user-message {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.admin-response {
    background-color: var(--light);
    padding: 15px;
    border-radius: 5px;
    position: relative;
}

.admin-response:before {
    content: 'Réponse:';
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.response-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #666;
}

.praise-label {
    display: inline-block;
    background-color: var(--success);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Section Vidéos */
.videos-section {
    padding: 60px 0;
    background-color: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.video-card {
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.video-thumbnail:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

/* Section Musique */
.music-section {
    padding: 60px 0;
    background-color: var(--light);
}

.music-list {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.music-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.music-item:hover {
    background-color: var(--light);
}

.music-info {
    display: flex;
    align-items: center;
}

.music-play {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-play:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

.music-details h4 {
    margin-bottom: 5px;
}

.music-details p {
    font-size: 0.9rem;
    color: #666;
}

.music-duration {
    color: var(--primary);
    font-weight: 600;
}

/* Grille commune */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Carte commune */
.card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    max-width: 900px;
    margin: 50px auto;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.modal-header {
    padding: 20px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-nav button {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav button:hover {
    background-color: var(--primary);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--accent);
}

.footer-links i {
    margin-right: 8px;
    color: var(--accent);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-slider {
        height: 50vh;
    }
    
    .slide h2 {
        font-size: 2.2rem;
    }
    
    .testimony-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: all 0.5s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0 0 25px 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .hero-slider {
        height: 60vh;
        margin-top: 80px;
    }
    
    .slide h2 {
        font-size: 1.8rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 70vh;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .event-slide {
        min-width: 250px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }