<?php

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

	'title'      => esc_html__('Header Section', 'prime-construction'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_construction_theme_section_panel'

));

// //////////  Quote 
$wp_customize->add_setting( 'prime_construction_head_quote' , array(
    'default'   => 'Looking for a quality constructor for your next project?',   
    'sanitize_callback' => 'prime_construction_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'prime_construction_head_quote', array(   
    'label'      => esc_html__( 'Quote', 'prime-construction' ),   
    'section'    => 'prime_construction_header_section',   
    'settings'   => 'prime_construction_head_quote',   
    'type' => 'text',         
) ) );

// ////////// Email Icon
$wp_customize->add_setting('prime_construction_email_icon', array(
    'default'   => 'fa-envelope',
    'sanitize_callback' => 'prime_construction_sanitise_custom_text',
));
$wp_customize->add_control(new Custom_Text_Control($wp_customize, 'prime_construction_email_icon', array(
    'label'      => esc_html__('Email Icon', 'prime-construction'),
    'section'    => 'prime_construction_header_section',
    'settings'   => 'prime_construction_email_icon',
    'type' => 'text',
))); 

 // ///////// EmailId Icon Text Color
 $wp_customize->add_setting('Email_icon_color', array(
    'default'   => '#ffffff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Email_icon_color', array(
    'section' => 'prime_construction_header_section',
    'description' => __('Email-Id Icon Color', 'prime-construction'),
    )));

// //////////  Email 
$wp_customize->add_setting( 'prime_construction_head_emailtitle' , array(
    'default'   => 'info@example.com',   
    'sanitize_callback' => 'prime_construction_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'prime_construction_head_emailtitle', array(   
    'label'      => esc_html__( 'Email', 'prime-construction' ),   
    'section'    => 'prime_construction_header_section',   
    'settings'   => 'prime_construction_head_emailtitle',   
    'type' => 'text',         
) ) );

 // ///////// EmailId Text Color
 $wp_customize->add_setting('EmailId_color', array(
    'default'   => '#ffffff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'EmailId_color', array(
    'section' => 'prime_construction_header_section',
    'description' => __('Email-Id Text Color', 'prime-construction'),
    )));

// ////////// Facebook Icon
$wp_customize->add_setting('prime_construction_facebook_icon', array(
    'default'   => 'fa-facebook-f',
    'sanitize_callback' => 'prime_construction_sanitise_custom_text',
));
$wp_customize->add_control(new Custom_Text_Control($wp_customize, 'prime_construction_facebook_icon', array(
    'label'      => esc_html__('Facebook Icon', 'prime-construction'),
    'section'    => 'prime_construction_header_section',
    'settings'   => 'prime_construction_facebook_icon',
    'type' => 'text',
))); 

// ////////// Instagram Icon
$wp_customize->add_setting('prime_construction_instagram_icon', array(
    'default'   => 'fa-instagram',
    'sanitize_callback' => 'prime_construction_sanitise_custom_text',
));
$wp_customize->add_control(new Custom_Text_Control($wp_customize, 'prime_construction_instagram_icon', array(
    'label'      => esc_html__('Instagram Icon', 'prime-construction'),
    'section'    => 'prime_construction_header_section',
    'settings'   => 'prime_construction_instagram_icon',
    'type' => 'text',
))); 

// ////////// Twitter Icon
$wp_customize->add_setting('prime_construction_twitter_icon', array(
    'default'   => 'fa-twitter',
    'sanitize_callback' => 'prime_construction_sanitise_custom_text',
));
$wp_customize->add_control(new Custom_Text_Control($wp_customize, 'prime_construction_twitter_icon', array(
    'label'      => esc_html__('Twitter Icon', 'prime-construction'),
    'section'    => 'prime_construction_header_section',
    'settings'   => 'prime_construction_twitter_icon',
    'type' => 'text',
))); 


    // ///////// Header Menu Bg Color
    $wp_customize->add_setting('Header_menu_bg_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Header_menu_bg_color', array(
    'section' => 'prime_construction_header_section',
    'description' => __('Header Menu Background Color', 'prime-construction'),
    )));

    // ///////// Header Menu Text Color
    $wp_customize->add_setting('Header_menu_text_color', array(
    'default'   => '#000',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Header_menu_text_color', array(
    'section' => 'prime_construction_header_section',
    'description' => __('Header Menu Text Color', 'prime-construction'),
    )));

    // ///////// Header Menu Text Color
    $wp_customize->add_setting('Header_menu_first_bgcolor', array(
    'default'   => '#facc15',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Header_menu_first_bgcolor', array(
    'section' => 'prime_construction_header_section',
    'description' => __('Header Last Menu First Bg Color', 'prime-construction'),
    )));

    // ///////// Header Menu Text Color
    $wp_customize->add_setting('Header_menu_second_bgcolor', array(
    'default'   => '#f97316',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Header_menu_second_bgcolor', array(
    'section' => 'prime_construction_header_section',
    'description' => __('Header Last Menu Second Bg Color', 'prime-construction'),
    )));

    // ///////// Header Menu Text Color
    $wp_customize->add_setting('Header_menu_third_bgcolor', array(
    'default'   => '#facc15',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Header_menu_third_bgcolor', array(
    'section' => 'prime_construction_header_section',
    'description' => __('Header Last Menu Third Bg Color', 'prime-construction'),
    )));

    