<?php
/**
 * Default theme options.
 *
 * @package voltmaster-electrician
 */

if (!function_exists('voltmaster_electrician_get_default_theme_options')):

	/**
	 * Get default theme options.
	 *
	 * @since 1.0
	 *
	 * @return array Default theme options.
	 */
	function voltmaster_electrician_get_default_theme_options()
	{

		$voltmaster_electrician_defaults = array();


		// $voltmaster_electrician_defaults['header_email'] = esc_html__('Licensed & Insured', 'voltmaster-electrician');
		// $voltmaster_electrician_defaults['header_address'] = esc_html__('Serving Springfield & Surrounding Areas', 'voltmaster-electrician');
		// $voltmaster_electrician_defaults['header_location'] = esc_html__('24/7 Emergency Service Available', 'voltmaster-electrician');
		// $voltmaster_electrician_defaults['header_tellphone'] = esc_html__('(555) 911-ELEC', 'voltmaster-electrician');
		// $voltmaster_electrician_defaults['featured_phoneheading'] = esc_html__('Emergency:', 'voltmaster-electrician');
		// '';
		$voltmaster_electrician_defaults['featured_icon_header1'] = esc_html__(' fa-regular fa-clock', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_header2'] = esc_html__('fa-solid fa-id-badge', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_header3'] = esc_html__('fa-solid fa-location-dot', 'voltmaster-electrician');
		// $voltmaster_electrician_defaults['contact_button_text'] = esc_html__('Get Free Quote', 'voltmaster-electrician');
		// '';


		// Front Page Content
		$voltmaster_electrician_defaults['enable_frontpage_content'] = true;

		// Slider Section	
		$voltmaster_electrician_defaults['enable_featured_slider_section'] = true;
		//$voltmaster_electrician_defaults['show_slider_colors']		    			= false;	
		$voltmaster_electrician_defaults['featured_slider_content_type'] = 'featured_slider_page';
		$voltmaster_electrician_defaults['featured_slider_category_readmore_text'] = esc_html__('Read More', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_slider_section_heading'] = esc_html__('Professional Electrical Services', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['data_slick_speed'] = 1000;
		$voltmaster_electrician_defaults['data_slick_infinite'] = 1;
		$voltmaster_electrician_defaults['data_slick_dots'] = 1;
		$voltmaster_electrician_defaults['data_slick_autoplay'] = 1;
		$voltmaster_electrician_defaults['data_slick_draggable'] = 1;
		$voltmaster_electrician_defaults['data_slick_fade'] = 1;
		$voltmaster_electrician_defaults['number_of_featured_slider_items'] = 6;

		// Features Section
		$voltmaster_electrician_defaults['enable_featured_features_section'] = true;
		//$voltmaster_electrician_defaults['show_feature_colors']						= false;
		$voltmaster_electrician_defaults['number_of_featured_features_items'] = 6;
		$voltmaster_electrician_defaults['featured_features_column'] = 3;
		$voltmaster_electrician_defaults['featured_features_content_type'] = 'featured_features_page';
		$voltmaster_electrician_defaults['feture_section_excerpt'] = 25;


		// About Section	
		$voltmaster_electrician_defaults['voltmasterelectrician_enable_featured_about_section'] = true;
		$voltmaster_electrician_defaults['about_image_show'] = true;
		$voltmaster_electrician_defaults['featured_about_section_aboutus_subheading'] = esc_html__('About ElectricPro', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_aboutus_heading'] = esc_html__('Your Trusted Local Electrical Experts Since 1998', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_aboutus_heading1'] = esc_html__("We pride ourselves on transparent pricing, timely service, and workmanship that exceeds industry standards. Every project is backed by our comprehensive warranty and satisfaction guarantee.", 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_aboutus_description'] = esc_html__("With over 25 years of experience serving the community, ElectricPro has become the most trusted name in residential and commercial electrical services. Our team of licensed electricians is committed to delivering safe, reliable, and efficient electrical solutions.", 'voltmaster-electrician');

		$voltmaster_electrician_defaults['featured_about_section_bxtitle1'] = esc_html__('Licensed & Insured', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxtitle3'] = esc_html__('Satisfaction Guaranteed', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxtitle2'] = esc_html__('Transparent Pricing', 'voltmaster-electrician');

		$voltmaster_electrician_defaults['featured_about_section_bxtext1'] = esc_html__('Fully licensed electricians with comprehensive insurance coverage', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxtext2'] = esc_html__('Upfront quotes with no hidden fees or surprise charges', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxtext3'] = esc_html__('100% satisfaction guarantee on all our electrical work', 'voltmaster-electrician');

		$voltmaster_electrician_defaults['featured_icon_about1'] = esc_html__('fas fa-solid fa-circle-check', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_about2'] = esc_html__('fas fa-solid fa-circle-check', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_about3'] = esc_html__('fas fa-solid fa-circle-check', 
		'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_about4'] = esc_html__('fas fa-award', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_about5'] = esc_html__('fas fa-user ', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_about6'] = esc_html__('fab fa-500px', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_icon_about7'] = esc_html__('fas fa-clock', 'voltmaster-electrician');

		$voltmaster_electrician_defaults['featured_about_section_bxtitle4'] = esc_html__('25+', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxicon2_number'] = esc_html__('1000+', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxicon3_number'] = esc_html__('100%', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxicon4_number'] = esc_html__('24/7', 'voltmaster-electrician');

		$voltmaster_electrician_defaults['featured_about_section_bxtext4'] = esc_html__('Years of Experience', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxticon2_text'] = esc_html__('Happy Customers', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxticon3_text'] = esc_html__('Satisfaction Rate', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_about_section_bxticon4_text'] = esc_html__('Emergency Service', 'voltmaster-electrician');

		// service Section	

		$voltmaster_electrician_defaults['voltmasterelectrician_enable_featured_services_section'] = true;
		$voltmaster_electrician_defaults['featured_services_section_maintaitle'] = esc_html__('Our Services', 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_services_section_subtitle'] = esc_html__("Complete Electrical Solutions", 'voltmaster-electrician');
		$voltmaster_electrician_defaults['featured_services_section_text'] = esc_html__("From routine maintenance to complex installations, we provide comprehensive electrical services for residential and commercial properties.", 'voltmaster-electrician');
		$voltmaster_electrician_defaults['services_excerpt_mainpagelength'] = 11;




		// Inner Blog Page	
		$voltmaster_electrician_defaults['featured_bloginn_botton_text'] = esc_html__('Read More', 'voltmaster-electrician');

		return $voltmaster_electrician_defaults;

	}

endif;

/**
 *  Get theme options
 */
if (!function_exists('voltmaster_electrician_get_option')):

	/**
	 * Get theme option
	 *
	 * @since 1.0
	 *
	 * @param string $key Option key.
	 * @return mixed Option value.
	 */
	function voltmaster_electrician_get_option($key)
	{

		$default_options = voltmaster_electrician_get_default_theme_options();
		if (empty($key)) {
			return;
		}

		$theme_options = (array) get_theme_mod('theme_options');
		$theme_options = wp_parse_args($theme_options, $default_options);

		$value = null;

		if (isset($theme_options[$key])) {
			$value = $theme_options[$key];
		}

		return $value;

	}

endif;
