<?php

/**
 * Header Theme Options
 *
 * @package prime-fitness-gym
 */
$wp_customize->add_section('prime_fitness_gym_header_section', array(

	'title'      => esc_html__('Header Section', 'prime-fitness-gym'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_fitness_gym_theme_section_panel'

));

// ////////// Phone Icon
$wp_customize->add_setting('prime_fitness_gym_call_icon', array(
    'default'   => 'fa-phone-volume',
    'sanitize_callback' => 'prime_fitness_gym_sanitise_custom_text',
));
$wp_customize->add_control(new prime_fitness_gym_Custom_Text_Control($wp_customize, 'prime_fitness_gym_call_icon', array(
    'label'      => esc_html__('Call Icon', 'prime-fitness-gym'),
    'section'    => 'prime_fitness_gym_header_section',
    'settings'   => 'prime_fitness_gym_call_icon',
    'type' => 'text',
))); 

 // ///////// EmailId Icon Text Color
 $wp_customize->add_setting('Phone_icon_color', array(
    'default'   => '#C2FC85',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Phone_icon_color', array(
    'section' => 'prime_fitness_gym_header_section',
    'description' => __('Phone Icon Color', 'prime-fitness-gym'),
    )));

// //////////  Phone Number 
$wp_customize->add_setting( 'prime_fitness_gym_head_calltitle' , array(
    'default'   => '00-123-567-8901',   
    'sanitize_callback' => 'prime_fitness_gym_sanitise_custom_texttitle',    
    ) );

    $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'prime_fitness_gym_head_calltitle', array(   
    'label'      => esc_html__( 'Phone Number', 'prime-fitness-gym' ),   
    'section'    => 'prime_fitness_gym_header_section',   
    'settings'   => 'prime_fitness_gym_head_calltitle',   
    'type' => 'text',         
) ) );

 // ///////// Phone Text Color
 $wp_customize->add_setting('Phone_color', array(
    'default'   => '#C2FC85',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Phone_color', array(
    'section' => 'prime_fitness_gym_header_section',
    'description' => __('Phone Number Text Color', 'prime-fitness-gym'),
    )));

    // ///////// Header Bg Color
 $wp_customize->add_setting('Header_bg_color', array(
    'default'   => '#0b2239',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Header_bg_color', array(
    'section' => 'prime_fitness_gym_header_section',
    'description' => __('Header Background Color', 'prime-fitness-gym'),
    )));

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

    //Image
$wp_customize->add_setting( 'prime_fitness_gym_header_image1', array(  
        'sanitize_callback' => 'prime_fitness_gym_sanitise_custom_url'
        ));
    $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'prime_fitness_gym_header_image1', array(
            'label'      => __( 'Section Image', 'prime-fitness-gym' ),
            'section'    => 'prime_fitness_gym_header_section',
            'settings'   => 'prime_fitness_gym_header_image1',
    )));

