<?php 
/**
 * Header Theme Options
 *
 * @package go-mechanic
 */
    
$wp_customize->add_section( 'go_mechanic_topheader_section' , array(
    'title'      => esc_html__( 'Header Section', 'go-mechanic' ),
    'capability' => 'edit_theme_options',
    'panel' => 'go_mechanic_option_theme_panel' 
) );

// Header main text
$wp_customize->add_setting('go_mechanic_main_text', 
    array(
        'default'           => esc_html__('Tips, guides, and shop updates', 'go-mechanic'),
        'type'              => 'theme_mod',
        'capability'        => 'edit_theme_options',	
        'sanitize_callback' => 'sanitize_text_field'
    )
);
$wp_customize->add_control('go_mechanic_main_text', 
    array(
        'label'       => __('Header Main Text', 'go-mechanic'),
        'section'     => 'go_mechanic_topheader_section',   
        'settings'    => 'go_mechanic_main_text',		
        'type'        => 'text'
    )
);

// Header main text
$wp_customize->add_setting('go_mechanic_text', 
    array(
        'default'           => esc_html__('Learn simple ways to extend your vehicle’s life, spot problems early, and understand common repairs—straight from our certified mechanics.', 'go-mechanic'),
        'type'              => 'theme_mod',
        'capability'        => 'edit_theme_options',	
        'sanitize_callback' => 'sanitize_text_field'
    )
);
$wp_customize->add_control('go_mechanic_text', 
    array(
        'label'       => __('Header Text', 'go-mechanic'),
        'section'     => 'go_mechanic_topheader_section',   
        'settings'    => 'go_mechanic_text',		
        'type'        => 'textarea'
    )
);

// Top Header address text
$wp_customize->add_setting('go_mechanic_appointment_text', 
    array(
        'default'           => esc_html__('Book Appointment', 'go-mechanic'),
        'type'              => 'theme_mod',
        'capability'        => 'edit_theme_options',	
        'sanitize_callback' => 'sanitize_text_field'
    )
);
$wp_customize->add_control('go_mechanic_appointment_text', 
    array(
        'label'       => __('Button Text', 'go-mechanic'),
        'section'     => 'go_mechanic_topheader_section',   
        'settings'    => 'go_mechanic_appointment_text',		
        'type'        => 'text'
    )
);
