<?php
/**
 * Trainer Header Template Part
 *
 * Displays navigation and breadcrumbs for trainer pages
 */

if (!defined('ABSPATH')) {
    exit;
}

// Check if user has trainer capabilities
if (!current_user_can('hvac_trainer')) {
    return;
}
?>

<div class="hvac-trainer-header">
    <?php
    // Render navigation
    if (class_exists('HVAC_Trainer_Navigation')) {
        $nav = new HVAC_Trainer_Navigation();
        echo $nav->render_navigation();
    }
    
    // Render breadcrumbs
    if (class_exists('HVAC_Breadcrumbs')) {
        $breadcrumbs = new HVAC_Breadcrumbs();
        echo $breadcrumbs->render_breadcrumbs();
    }
    ?>
</div>