/* espace-spirituel.css */
:root {
    --primary-blue: #0047AB;
    --light-blue: #4A90E2;
    --accent-green: #228B22;
    --dark-green: #006400;
    --secondary-yellow: #FFD700;
    --white: #FFFFFF;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header h1 i {
    margin-right: 15px;
    color: var(--secondary-yellow);
}

.page-header p {
    color: var(--white);
    font-size: 1.3rem;
    opacity: 0.9;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light-gray);
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-blue), #003380);
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1), rgba(0, 100, 0, 0.05));
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--accent-green);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.section-badge i {
    margin-right: 8px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-dark .section-title {
    color: var(--white);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-yellow);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== VERSE OF DAY ===== */
.verse-of-day {
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    color: var(--white);
    padding: 70px 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(34, 139, 34, 0.4);
    position: relative;
    overflow: hidden;
}

.verse-of-day::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

.verse-of-day::after {
    content: '"';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 150px;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.verse-of-day i {
    font-size: 4.5rem;
    margin-bottom: 25px;
    opacity: 0.9;
    display: block;
    position: relative;
    z-index: 1;
}

.verse-of-day h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.verse-text {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 300;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.verse-ref {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    position: relative;
    z-index: 1;
    color: var(--secondary-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== MEDITATION GRID ===== */
.meditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.meditation-card {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 5px solid var(--accent-green);
    position: relative;
}

.meditation-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.meditation-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.meditation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.3);
}

.meditation-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.meditation-card p {
    color: var(--dark-gray);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.meditation-author {
    color: var(--accent-green);
    font-weight: 600;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 2px solid var(--light-gray);
}

/* ===== PRIERES GRID ===== */
.prieres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.priere-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s ease;
    position: relative;
}

.priere-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.priere-card:hover::before {
    opacity: 1;
}

.priere-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
}

.priere-card h3 {
    color: var(--secondary-yellow);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.priere-card p {
    color: white;
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.priere-ref {
    color: var(--secondary-yellow);
    font-weight: 600;
    font-style: italic;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== ENSEIGNEMENTS GRID ===== */
.enseignements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.enseignement-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.enseignement-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 71, 171, 0.2);
    border-color: var(--primary-blue);
}

.enseignement-date {
    background: var(--light-blue);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.enseignement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 71, 171, 0.3);
}

.enseignement-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.enseignement-speaker {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.enseignement-card p {
    color: var(--dark-gray);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.enseignement-media {
    margin-top: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.enseignement-media iframe {
    width: 100%;
    min-height: 250px;
    border: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.97);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-yellow);
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--secondary-yellow);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    left: 25px;
    z-index: 0;
}

.testimonial-date {
    background: var(--accent-green);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-video {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.testimonial-video iframe {
    width: 100%;
    height: 280px;
}

.testimonial-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 25px;
    border-top: 3px solid var(--light-gray);
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3);
}

.testimonial-author h4 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--dark-gray);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 70px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .verse-of-day {
        padding: 50px 30px;
    }
    
    .verse-text {
        font-size: 1.4rem;
    }
    
    .verse-ref {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .meditation-grid,
    .prieres-grid,
    .enseignements-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .meditation-card,
    .priere-card,
    .enseignement-card,
    .testimonial-card {
        padding: 30px;
    }

    .enseignement-media iframe,
    .testimonial-video iframe {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .verse-of-day i {
        font-size: 3rem;
    }
    
    .verse-text {
        font-size: 1.2rem;
    }
    
    .meditation-icon,
    .enseignement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}