/* =============================================================================
   PAGE DATASHEETS COMPOSANTS
   Styles spécifiques à la page datasheets-composants.php
   ============================================================================= */

/* Hero secondaire pour cette page */
.hero-secondary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 40vh;
}

/* Section principale des composants */
.components-section {
    padding: 4rem 0 2rem;
}

/* Catégories de composants */
.component-category {
    margin-bottom: 4rem;
    background: var(--light-bg, #f8f9fa);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.component-category.category-disabled {
    opacity: 0.6;
}

/* En-têtes des catégories */
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color, #e9ecef);
    padding-bottom: 1rem;
}

.category-title {
    font-size: 2rem;
    color: var(--dark-text, #2c3e50);
    font-weight: 700;
    margin: 0;
}

/* Description des catégories */
.category-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color, #495057);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .components-section {
        padding: 2rem 0;
    }
    
    .component-category {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .grid-auto-fit {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .cta-section {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .grid-auto-fit {
        grid-template-columns: 1fr;
    }
    
    .component-category {
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
}