<?php

/**
 * Sidebar Theme Options
 *
 * @package prime-home-renovation
 */
$wp_customize->add_section('prime_home_renovation_sidebar_section', array(

	'title'      => esc_html__('Sidebar Section', 'prime-home-renovation'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_home_renovation_theme_section_panel'

));

// ///////// Search Background Color
 $wp_customize->add_setting('Search_background_color', array(
    'default'   => '#000',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Search_background_color', array(
    'section' => 'prime_home_renovation_sidebar_section',
    'description' => __('Search Background Color', 'prime-home-renovation'),
    )));

// ////////// Heading Text Color
$wp_customize->add_setting('Heading_text_color', array(
    'default'   => '#000',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Heading_text_color', array(
    'section' => 'prime_home_renovation_sidebar_section',
    'description' => __('Heading Text Color', 'prime-home-renovation'),
    )));

 // ///////// Heading Background Color
 $wp_customize->add_setting('Heading_background_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Heading_background_color', array(
    'section' => 'prime_home_renovation_sidebar_section',
    'description' => __('Heading Background Color', 'prime-home-renovation'),
    )));

     // ///////// Text Color
 $wp_customize->add_setting('Text_color', array(
    'default'   => '#363636',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Text_color', array(
    'section' => 'prime_home_renovation_sidebar_section',
    'description' => __('Text Color', 'prime-home-renovation'),
    )));

    // ///////// Text Icon Color
 $wp_customize->add_setting('Text_icon_color', array(
    'default'   => '#fb5b11',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Text_icon_color', array(
    'section' => 'prime_home_renovation_sidebar_section',
    'description' => __('Text Icon Color', 'prime-home-renovation'),
    )));

    $wp_customize->add_setting('sidebar_headingtext_case',array(
        'default' => 'Capitalize',
        'sanitize_callback' => 'prime_home_renovation_sanitize_choices',
    ));
    $wp_customize->add_control('sidebar_headingtext_case',array(
        'type' => 'select',
        'label' => __('Title Case','prime-home-renovation'),
        'choices' => array (
            'Uppercase' => __('Uppercase','prime-home-renovation'),
            'Lowercase' => __('Lowercase','prime-home-renovation'),
            'Capitalize' => __('Capitalize','prime-home-renovation'),
            'None' => __('None','prime-home-renovation')
        ),
        'section' => 'prime_home_renovation_sidebar_section',
    ));
