<?php
/**
 * Service Theme Options
 *
 * @package the-corporate-business
 */
$wp_customize->add_section( 'the_corporate_business_sarvices_section' , array(
    'title'      => esc_html__( 'Services Section', 'the-corporate-business' ),
    'capability' => 'edit_theme_options',
    'panel' => 'the_corporate_business_front_section_panel'
    ) );

    //sarvices Section
    $wp_customize->add_setting( 'the_corporate_business_services_display' , array(
    'default'   => true,
    'sanitize_callback' => 'the_corporate_business_sanitize_switch',
    ) );

    $wp_customize->add_control( new the_corporate_business_Toggle_Switch_Custom_Control( $wp_customize, 'the_corporate_business_services_display_control', array(
    'label'      => esc_html__( 'Display this section', 'the-corporate-business' ),
    'section'    => 'the_corporate_business_sarvices_section',
    'settings'   => 'the_corporate_business_services_display',
    ) ) );

    //seperator
    $wp_customize->add_setting('separator_service3', array(
        'default'           => '',
        'sanitize_callback' => 'esc_html',
        ));
        $wp_customize->add_control(new Separator_Custom_control($wp_customize, 'separator_service3', array(
            'settings'      => 'separator_service3',
            'section'       => 'the_corporate_business_sarvices_section',
        )));

    // Main Heading
    $wp_customize->add_setting('the_corporate_business_service_heading', array(
        'default' => 'ELEVATE YOUR SPACE WITH OUR <span> SERVICE </span>',
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
    ));

    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'the_corporate_business_service_heading', array(
        'label' => esc_html__('Heading', 'the-corporate-business'),
        'section' => 'the_corporate_business_sarvices_section',
        'settings' => 'the_corporate_business_service_heading',
        'type' => 'text',
    )));


    //seperator
    $wp_customize->add_setting('separator_service4', array(
        'default'           => '',
        'sanitize_callback' => 'esc_html',
        ));
        $wp_customize->add_control(new Separator_Custom_control($wp_customize, 'separator_service4', array(
            'settings'      => 'separator_service4',
            'section'       => 'the_corporate_business_sarvices_section',
        )));

    //Image
    $wp_customize->add_setting( 'the_corporate_business_service_img1', array(
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_url',
        'capability' => 'edit_theme_options',
        'type' => 'theme_mod',
    ) );
    $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'the_corporate_business_service_img1', array(
        'label'      => esc_html__( 'Image 1', 'the-corporate-business' ),
        'section'    => 'the_corporate_business_sarvices_section',
        'settings'   => 'the_corporate_business_service_img1',
    ) ) ); 

    // heading 
    $wp_customize->add_setting('the_corporate_business_service_heading1', array(
        'default' => 'LOREM IPSUM',
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
    ));

    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'the_corporate_business_service_heading1', array(
        'label' => esc_html__('Heading 1', 'the-corporate-business'),
        'section' => 'the_corporate_business_sarvices_section',
        'settings' => 'the_corporate_business_service_heading1',
        'type' => 'text',
    )));

    // button txt 
    $wp_customize->add_setting('the_corporate_business_service_btn1', array(
        'default' => 'Read More',
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
    ));

    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'the_corporate_business_service_btn1', array(
        'label' => esc_html__('Button 1', 'the-corporate-business'),
        'section' => 'the_corporate_business_sarvices_section',
        'settings' => 'the_corporate_business_service_btn1',
        'type' => 'text',
    )));

    //seperator
    $wp_customize->add_setting('separator_service5', array(
        'default'           => '',
        'sanitize_callback' => 'esc_html',
        ));
        $wp_customize->add_control(new Separator_Custom_control($wp_customize, 'separator_service5', array(
            'settings'      => 'separator_service5',
            'section'       => 'the_corporate_business_sarvices_section',
        )));

    //Image
    $wp_customize->add_setting( 'the_corporate_business_service_img2', array(
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_url',
        'capability' => 'edit_theme_options',
        'type' => 'theme_mod',
    ) );
    $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'the_corporate_business_service_img2', array(
        'label'      => esc_html__( 'Image 2', 'the-corporate-business' ),
        'section'    => 'the_corporate_business_sarvices_section',
        'settings'   => 'the_corporate_business_service_img2',
    ) ) ); 

    // heading 
    $wp_customize->add_setting('the_corporate_business_service_heading2', array(
        'default' => 'LOREM IPSUM',
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
    ));

    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'the_corporate_business_service_heading2', array(
        'label' => esc_html__('Heading 2', 'the-corporate-business'),
        'section' => 'the_corporate_business_sarvices_section',
        'settings' => 'the_corporate_business_service_heading2',
        'type' => 'text',
    )));

   // button txt 
   $wp_customize->add_setting('the_corporate_business_service_btn2', array(
        'default' => 'Read More',
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
    ));

    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'the_corporate_business_service_btn2', array(
        'label' => esc_html__('Button 2', 'the-corporate-business'),
        'section' => 'the_corporate_business_sarvices_section',
        'settings' => 'the_corporate_business_service_btn2',
        'type' => 'text',
    )));

    //seperator
    $wp_customize->add_setting('separator_service6', array(
        'default'           => '',
        'sanitize_callback' => 'esc_html',
        ));
        $wp_customize->add_control(new Separator_Custom_control($wp_customize, 'separator_service6', array(
            'settings'      => 'separator_service6',
            'section'       => 'the_corporate_business_sarvices_section',
        )));

    //Image
    $wp_customize->add_setting( 'the_corporate_business_service_img3', array(
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_url',
        'capability' => 'edit_theme_options',
        'type' => 'theme_mod',
    ) );
    $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'the_corporate_business_service_img3', array(
        'label'      => esc_html__( 'Image 3', 'the-corporate-business' ),
        'section'    => 'the_corporate_business_sarvices_section',
        'settings'   => 'the_corporate_business_service_img3',
    ) ) ); 

    // heading 
    $wp_customize->add_setting('the_corporate_business_service_heading3', array(
        'default' => 'LOREM IPSUM',
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
    ));

    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'the_corporate_business_service_heading3', array(
        'label' => esc_html__('Heading 3', 'the-corporate-business'),
        'section' => 'the_corporate_business_sarvices_section',
        'settings' => 'the_corporate_business_service_heading3',
        'type' => 'text',
    )));

    // button txt 
    $wp_customize->add_setting('the_corporate_business_service_btn3', array(
        'default' => 'Read More',
        'sanitize_callback' => 'the_corporate_business_sanitise_custom_text',
    ));

    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'the_corporate_business_service_btn3', array(
        'label' => esc_html__('Button 3', 'the-corporate-business'),
        'section' => 'the_corporate_business_sarvices_section',
        'settings' => 'the_corporate_business_service_btn3',
        'type' => 'text',
    )));
