/* 
 * STYLES POUR CATÉGORIE GITHUB
 * Design spécifique pour les certifications GitHub
 * Auteur: Manley.B
 */

/* ==================== CATÉGORIE GITHUB ==================== */

.github-category {
    margin: 3em 0;
    padding: 2em;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 20px;
    border: 2px solid rgba(55, 65, 81, 0.3);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.github-category .category-header {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.github-category .platform-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #ffffff;
    padding: 8px;
}

.github-category .category-header h3 {
    color: #ffffff;
    font-size: 1.8em;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ==================== CARTES GITHUB ==================== */

.github-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid rgba(55, 65, 81, 0.2);
    position: relative;
    overflow: hidden;
}

.github-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1f2937 0%, #374151 100%);
}

.github-card .cert-icon {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #ffffff;
    border: none;
}

.github-card .cert-level {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.1) 0%, rgba(55, 65, 81, 0.1) 100%);
    color: #374151;
    border: 1px solid rgba(31, 41, 55, 0.2);
}

.github-card h4 {
    color: #1f2937;
    font-weight: bold;
}

/* ==================== BOUTON GITHUB ==================== */

.github-btn {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #ffffff;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.github-btn:hover {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.4);
}

/* ==================== RESPONSIVE GITHUB ==================== */

@media (max-width: 57vh) {
    .github-category .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1em;
    }
    
    .github-category .platform-logo {
        width: 80px;
        height: 80px;
    }

    .github-btn {
        font-size: 1.1em;
    }

}

/* ==================== DÉSACTIVATION ZOOM MOBILE GITHUB ==================== */

@media (max-width: 57vh) {
    .github-btn {
        transform: none !important;
        transition: background 0.3s ease, color 0.3s ease !important;
    }

    .github-btn:hover {
        transform: none !important;
        box-shadow: 0 4px 15px rgba(31, 41, 55, 0.2) !important;
    }
}