<?php
/**
 * Post Theme Options
 *
 * @package the-corporate-business
 */
$wp_customize->add_section( 'the_corporate_business_header_section' , array(

	'title'      => esc_html__( 'Header Section', 'the-corporate-business' ),
	'capability' => 'edit_theme_options',
	'panel' => 'the_corporate_business_theme_section_panel'

	) );

// // ///////// Phone Icon Text Color
$wp_customize->add_setting('the_corporate_business_call_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'the_corporate_business_call_color', array(
    'section' => 'the_corporate_business_header_section',
    'label'      => esc_html__('Call Icon Color', 'the-corporate-business'),
    )));

// // ////////// Phone Icon
$wp_customize->add_setting('the_corporate_business_call_icon', array(
    'default'   => 'fa-phone-volume',
    'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
));
$wp_customize->add_control(new The_Corporate_Business_Custom_Text_Control($wp_customize, 'the_corporate_business_call_icon', array(
    'label'      => esc_html__('Call Icon', 'the-corporate-business'),
    'section'    => 'the_corporate_business_header_section',
    'settings'   => 'the_corporate_business_call_icon',
    'type' => 'text',
))); 

// // ///////// Phone Icon Text Color
$wp_customize->add_setting('Phone_icon_color', array(
    'default'   => '#79F3CF',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Phone_icon_color', array(
    'section' => 'the_corporate_business_header_section',
    'description' => __('Phone Icon Color', 'the-corporate-business'),
    )));


// // //////////  Phone Number 
$wp_customize->add_setting( 'the_corporate_business_head_calltitle' , array(
    'default'   => '408-985-3676',   
    'sanitize_callback' => 'the_corporate_business_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'the_corporate_business_head_calltitle', array(   
    'label'      => esc_html__( 'Phone Number', 'the-corporate-business' ),   
    'section'    => 'the_corporate_business_header_section',   
    'settings'   => 'the_corporate_business_head_calltitle',   
    'type' => 'text',         
) ) );

//  // ///////// Phone Text Color
 $wp_customize->add_setting('Phone_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Phone_color', array(
    'section' => 'the_corporate_business_header_section',
    'description' => __('Text Color', 'the-corporate-business'),
    )));

// 	// ///////// Email Icon Text Color
$wp_customize->add_setting('the_corporate_business_email_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'the_corporate_business_email_color', array(
    'section' => 'the_corporate_business_header_section',
    'label'      => esc_html__('Email Icon Color', 'the-corporate-business'),
    )));

// // ////////// Email Icon
$wp_customize->add_setting('the_corporate_business_email_icon', array(
    'default'   => 'fa-envelope',
    'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
));
$wp_customize->add_control(new The_Corporate_Business_Custom_Text_Control($wp_customize, 'the_corporate_business_email_icon', array(
    'label'      => esc_html__('Email Icon', 'the-corporate-business'),
    'section'    => 'the_corporate_business_header_section',
    'settings'   => 'the_corporate_business_email_icon',
    'type' => 'text',
))); 

// // ///////// Email Icon Text Color
$wp_customize->add_setting('Email_icon_color', array(
    'default'   => '#79F3CF',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Email_icon_color', array(
    'section' => 'the_corporate_business_header_section',
    'description' => __('Email Icon Color', 'the-corporate-business'),
    )));


// // //////////  Email Number 
$wp_customize->add_setting( 'the_corporate_business_email_text' , array(
    'default'   => 'TarshaJBridgers@yta.com',   
    'sanitize_callback' => 'the_corporate_business_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'the_corporate_business_email_text', array(   
    'label'      => esc_html__( 'Email Text', 'the-corporate-business' ),   
    'section'    => 'the_corporate_business_header_section',   
    'settings'   => 'the_corporate_business_email_text',   
    'type' => 'text',         
) ) );

//  // ///////// Email Text Color
 $wp_customize->add_setting('Email_text_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Email_text_color', array(
    'section' => 'the_corporate_business_header_section',
    'description' => __('Email Text Color', 'the-corporate-business'),
    )));

    // ////////// Social icon Color
$wp_customize->add_setting('social_icon_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'social_icon_color', array(
    'section' => 'the_corporate_business_header_section',
    'description' => __('Social Icon Color', 'the-corporate-business'),
    )));

    // ////////// Social icon Color
$wp_customize->add_setting('menu_text_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'menu_text_color', array(
    'section' => 'the_corporate_business_header_section',
    'description' => __('Menu Text Color', 'the-corporate-business'),
    )));

    //Image
$wp_customize->add_setting( 'the_corporate_business_header_image1', array(  
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_url'
        ));
    $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'the_corporate_business_header_image1', array(
            'label'      => __( 'Section Image', 'baseball-sports-club' ),
            'section'    => 'the_corporate_business_header_section',
            'settings'   => 'the_corporate_business_header_image1',
    )));
