<?php

/**
 * Header Theme Options
 *
 * @package prime-industry
 */
$wp_customize->add_section('prime_industry_header_section', array(

	'title'      => esc_html__('Header Section', 'prime-industry'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_industry_theme_section_panel'

));

// ////////// Email Icon
$wp_customize->add_setting('prime_industry_location_icon', array(
    'default'   => 'fa-location-dot',
    'sanitize_callback' => 'prime_industry_sanitise_custom_text',
));
$wp_customize->add_control(new prime_industry_Custom_Text_Control($wp_customize, 'prime_industry_location_icon', array(
    'label'      => esc_html__('Email Icon', 'prime-industry'),
    'section'    => 'prime_industry_header_section',
    'settings'   => 'prime_industry_location_icon',
    'type' => 'text',
))); 

// //////////  Email 
$wp_customize->add_setting( 'prime_industry_head_locationtitle' , array(
    'default'   => 'Lorem ipsum dolor New York',   
    'sanitize_callback' => 'prime_industry_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'prime_industry_head_locationtitle', array(   
    'label'      => esc_html__( 'Location', 'prime-industry' ),   
    'section'    => 'prime_industry_header_section',   
    'settings'   => 'prime_industry_head_locationtitle',   
    'type' => 'text',         
) ) );


// ////////// Email Icon
$wp_customize->add_setting('prime_industry_email_icon', array(
    'default'   => 'fa-envelope',
    'sanitize_callback' => 'prime_industry_sanitise_custom_text',
));
$wp_customize->add_control(new prime_industry_Custom_Text_Control($wp_customize, 'prime_industry_email_icon', array(
    'label'      => esc_html__('Email Icon', 'prime-industry'),
    'section'    => 'prime_industry_header_section',
    'settings'   => 'prime_industry_email_icon',
    'type' => 'text',
))); 

 
// //////////  Email 
$wp_customize->add_setting( 'prime_industry_head_emailtitle' , array(
    'default'   => 'info1234@gmail.com',   
    'sanitize_callback' => 'prime_industry_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'prime_industry_head_emailtitle', array(   
    'label'      => esc_html__( 'Email', 'prime-industry' ),   
    'section'    => 'prime_industry_header_section',   
    'settings'   => 'prime_industry_head_emailtitle',   
    'type' => 'text',         
) ) );

$wp_customize->add_setting('prime_industry_time_icon', array(
    'default'   => 'fa-clock',
    'sanitize_callback' => 'prime_industry_sanitise_custom_text',
));
$wp_customize->add_control(new prime_industry_Custom_Text_Control($wp_customize, 'prime_industry_time_icon', array(
    'label'      => esc_html__('Email Icon', 'prime-industry'),
    'section'    => 'prime_industry_header_section',
    'settings'   => 'prime_industry_time_icon',
    'type' => 'text',
))); 

// //////////  Email 
$wp_customize->add_setting( 'prime_industry_head_timetitle' , array(
    'default'   => 'Mon - Sat 10.00 - 18.00',   
    'sanitize_callback' => 'prime_industry_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'prime_industry_head_timetitle', array(   
    'label'      => esc_html__( 'Time', 'prime-industry' ),   
    'section'    => 'prime_industry_header_section',   
    'settings'   => 'prime_industry_head_timetitle',   
    'type' => 'text',         
) ) );




// ////////// Facebook Icon
$wp_customize->add_setting('prime_industry_facebook_icon', array(
    'default'   => 'fa-facebook-f',
    'sanitize_callback' => 'prime_industry_sanitise_custom_text',
));
$wp_customize->add_control(new prime_industry_Custom_Text_Control($wp_customize, 'prime_industry_facebook_icon', array(
    'label'      => esc_html__('Facebook Icon', 'prime-industry'),
    'section'    => 'prime_industry_header_section',
    'settings'   => 'prime_industry_facebook_icon',
    'type' => 'text',
))); 

// ////////// Instagram Icon
$wp_customize->add_setting('prime_industry_youtube_icon', array(
    'default'   => 'fa-youtube',
    'sanitize_callback' => 'prime_industry_sanitise_custom_text',
));
$wp_customize->add_control(new prime_industry_Custom_Text_Control($wp_customize, 'prime_industry_youtube_icon', array(
    'label'      => esc_html__('Youtube Icon', 'prime-industry'),
    'section'    => 'prime_industry_header_section',
    'settings'   => 'prime_industry_youtube_icon',
    'type' => 'text',
))); 

// ////////// Twitter Icon
$wp_customize->add_setting('prime_industry_twitter_icon', array(
    'default'   => 'fa-twitter',
    'sanitize_callback' => 'prime_industry_sanitise_custom_text',
));
$wp_customize->add_control(new prime_industry_Custom_Text_Control($wp_customize, 'prime_industry_twitter_icon', array(
    'label'      => esc_html__('Twitter Icon', 'prime-industry'),
    'section'    => 'prime_industry_header_section',
    'settings'   => 'prime_industry_twitter_icon',
    'type' => 'text',
))); 

// ////////// Instagram Icon
$wp_customize->add_setting('prime_industry_instagram_icon', array(
    'default'   => 'fa-instagram',
    'sanitize_callback' => 'prime_industry_sanitise_custom_text',
));
$wp_customize->add_control(new prime_industry_Custom_Text_Control($wp_customize, 'prime_industry_instagram_icon', array(
    'label'      => esc_html__('Instagram Icon', 'prime-industry'),
    'section'    => 'prime_industry_header_section',
    'settings'   => 'prime_industry_instagram_icon',
    'type' => 'text',
))); 

// ///////// Social Icon Color
$wp_customize->add_setting('social_icon_color', array(
    'default'   => '#ffffff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'social_icon_color', array(
    'section' => 'prime_industry_header_section',
    'description' => __('Social Icons Color', 'prime-industry'),
    )));

    // ///////// Social Icon Color
$wp_customize->add_setting('info_icon_color', array(
    'default'   => '#eb4438',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'info_icon_color', array(
    'section' => 'prime_industry_header_section',
    'description' => __('Info Icons Color', 'prime-industry'),
    )));


    // ///////// Info Text Color
$wp_customize->add_setting('info_text_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'info_text_color', array(
    'section' => 'prime_industry_header_section',
    'description' => __('Info Text Color', 'prime-industry'),
    )));

    // ///////// Menu Text 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' => 'prime_industry_header_section',
    'description' => __('Menu Text Color', 'prime-industry'),
    )));

     // ///////// Menu Bg Color
$wp_customize->add_setting('headermenu_bg_color', array(
    'default'   => '#000',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'headermenu_bg_color', array(
    'section' => 'prime_industry_header_section',
    'description' => __('Menu Background Color', 'prime-industry'),
    )));
