/* ===== CSS POUR LES PAGES TAWHID DÉTAILLÉES ===== */
/* Fichier: css/tawhid-styles.css */

/* ===== CONTENEUR PRINCIPAL ===== */
.tawhid-detail-page {
    animation: fadeIn 0.5s ease-out;
}

/* ===== HERO SECTION ===== */
.tawhid-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(45, 95, 79, 0.2);
    position: relative;
    overflow: hidden;
}

.tawhid-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tawhid-hero-content {
    position: relative;
    z-index: 1;
}

.tawhid-logo {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.tawhid-hero-title {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.tawhid-hero-arabic {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    direction: rtl;
}

.tawhid-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== SECTION D'INTRODUCTION ===== */
.tawhid-intro-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(45, 95, 79, 0.1);
    border-left: 5px solid var(--accent);
}

.tawhid-intro-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tawhid-intro-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.tawhid-intro-highlight {
    background: linear-gradient(135deg, #FFF9ED 0%, #FFF5E0 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
    margin: 2rem 0;
}

.tawhid-intro-highlight strong {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ===== CARTES DE CONTENU ===== */
.tawhid-content-section {
    margin-bottom: 3rem;
}

.tawhid-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tawhid-section-icon {
    font-size: 2.5rem;
}

.tawhid-section-title {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    color: var(--primary);
}

.tawhid-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tawhid-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(45, 95, 79, 0.08);
    border: 2px solid #E5E3DB;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tawhid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transition: width 0.3s ease;
}

.tawhid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(45, 95, 79, 0.15);
    border-color: var(--accent);
}

.tawhid-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.tawhid-card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.tawhid-card-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tawhid-card-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* ===== PREUVES CORANIQUES ET HADITHS ===== */
.tawhid-proof {
    background: linear-gradient(135deg, var(--bg) 0%, #FDFCF9 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.tawhid-proof-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tawhid-proof-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    color: var(--primary);
    text-align: right;
    direction: rtl;
    margin-bottom: 1rem;
    line-height: 2.2;
}

.tawhid-proof-translation {
    font-size: 1.05rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.tawhid-proof-reference {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tawhid-proof-reference::before {
    content: '📖';
    font-size: 1.2rem;
}

/* ===== EXEMPLES PRATIQUES ===== */
.tawhid-examples {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(45, 95, 79, 0.08);
    margin: 2rem 0;
}

.tawhid-examples-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tawhid-example-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tawhid-example-item:hover {
    background: linear-gradient(135deg, #FFF9ED 0%, #FFF5E0 100%);
    transform: translateX(5px);
}

.tawhid-example-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.tawhid-example-content {
    flex: 1;
}

.tawhid-example-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tawhid-example-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== ERREURS À ÉVITER ===== */
.tawhid-warnings {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid #EF4444;
    margin: 2rem 0;
}

.tawhid-warnings-title {
    font-size: 1.5rem;
    color: #DC2626;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tawhid-warning-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tawhid-warning-icon {
    font-size: 1.5rem;
    color: #EF4444;
    flex-shrink: 0;
}

.tawhid-warning-text {
    color: var(--text);
    line-height: 1.7;
}

/* ===== BIENFAITS ET FRUITS ===== */
.tawhid-benefits {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid #10B981;
    margin: 2rem 0;
}

.tawhid-benefits-title {
    font-size: 1.5rem;
    color: #059669;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tawhid-benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.tawhid-benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.tawhid-benefit-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.tawhid-benefit-content {
    flex: 1;
}

.tawhid-benefit-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tawhid-benefit-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== BOUTONS D'ACTION ===== */
.tawhid-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.tawhid-btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tawhid-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 95, 79, 0.3);
}

.tawhid-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(45, 95, 79, 0.4);
}

.tawhid-btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.tawhid-btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== NAVIGATION ENTRE LES TYPES ===== */
.tawhid-navigation {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(45, 95, 79, 0.08);
    margin: 3rem 0;
}

.tawhid-nav-title {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.tawhid-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tawhid-nav-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tawhid-nav-card:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45, 95, 79, 0.2);
}

.tawhid-nav-card:hover .tawhid-nav-card-title {
    color: white;
}

.tawhid-nav-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tawhid-nav-card-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tawhid-hero {
        padding: 3rem 1.5rem;
    }
    
    .tawhid-logo {
        font-size: 3.5rem;
    }
    
    .tawhid-hero-title {
        font-size: 1.8rem;
    }
    
    .tawhid-hero-arabic {
        font-size: 1.5rem;
    }
    
    .tawhid-intro-section {
        padding: 2rem 1.5rem;
    }
    
    .tawhid-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .tawhid-card {
        padding: 2rem 1.5rem;
    }
    
    .tawhid-proof-arabic {
        font-size: 1.3rem;
    }
    
    .tawhid-example-item,
    .tawhid-warning-item,
    .tawhid-benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .tawhid-actions {
        flex-direction: column;
    }
    
    .tawhid-btn {
        width: 100%;
        justify-content: center;
    }
}