<?php
//==========================Footer Setting============================================//
$wp_customize->add_section('neatnote_footer_setting', array(
	'title' => __('Footer Setting', 'neatnote'),
	'priority' => 40,
	'panel' => 'neatnote_theme_options_panel',
));

$wp_customize->add_setting('neatnote_footer_logo', array(
	'default' => '',
	'sanitize_callback' => 'esc_url_raw',
));

$wp_customize->add_control(new WP_Customize_Image_Control(
	$wp_customize,
	'neatnote_footer_logo',
	array(
		'label' => esc_html__('Footer Logo', 'neatnote'),
		'section' => 'neatnote_footer_setting',
		'settings' => 'neatnote_footer_logo',
		'description' => esc_html__('Upload a logo to display in the footer.', 'neatnote'),
	)
));

$wp_customize->add_setting('neatnote_footer_description', array(
	'default' => '',
	'sanitize_callback' => 'sanitize_textarea_field',
));

$wp_customize->add_control('neatnote_footer_description', array(
	'label' => esc_html__('Footer Description', 'neatnote'),
	'section' => 'neatnote_footer_setting',
	'type' => 'textarea',
));

// Add color customization settings
$wp_customize->add_section('neatnote_footer_setting', array(
	'title' => esc_html__('Footer Setting', 'neatnote'),
	'priority' => 40,
	'panel' => 'neatnote_theme_options_panel',
));

// Footer Background Color
$wp_customize->add_setting('neatnote_footer_background_color', array(
	'default' => '#F1F7FC',
	'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control(
	$wp_customize,
	'neatnote_footer_background_color',
	array(
		'label' => esc_html__('Footer Background Color', 'neatnote'),
		'section' => 'neatnote_footer_setting',
		'settings' => 'neatnote_footer_background_color',
	)
));

// Footer Description Font Color
$wp_customize->add_setting('neatnote_footer_description_font_color', array(
	'default' => '#174474',
	'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control(
	$wp_customize,
	'neatnote_footer_description_font_color',
	array(
		'label' => esc_html__('Footer Description Font Color', 'neatnote'),
		'section' => 'neatnote_footer_setting',
		'settings' => 'neatnote_footer_description_font_color',
	)
));

// Footer Menu Color
$wp_customize->add_setting('neatnote_footer_menu_color', array(
	'default' => '#174474',
	'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control(
	$wp_customize,
	'neatnote_footer_menu_color',
	array(
		'label' => esc_html__('Footer Menu Color', 'neatnote'),
		'section' => 'neatnote_footer_setting',
		'settings' => 'neatnote_footer_menu_color',
	)
));

// Footer Menu Hover Color
$wp_customize->add_setting('neatnote_footer_menu_hover_color', array(
	'default' => '#174474',
	'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control(
	$wp_customize,
	'neatnote_footer_menu_hover_color',
	array(
		'label' => esc_html__('Footer Menu Hover Color', 'neatnote'),
		'section' => 'neatnote_footer_setting',
		'settings' => 'neatnote_footer_menu_hover_color',
	)
));

// Footer Social Media Color
$wp_customize->add_setting('neatnote_footer_social_media_color', array(
	'default' => '#072c50',
	'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control(
	$wp_customize,
	'neatnote_footer_social_media_color',
	array(
		'label' => esc_html__('Footer Social Media Icon Color', 'neatnote'),
		'section' => 'neatnote_footer_setting',
		'settings' => 'neatnote_footer_social_media_color',
	)
));

// Footer Social Media Hover Color
$wp_customize->add_setting('neatnote_footer_social_media_hover_color', array(
	'default' => '#2d5c81',
	'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control(
	$wp_customize,
	'neatnote_footer_social_media_hover_color',
	array(
		'label' => esc_html__('Footer Social Media Icon Hover Color', 'neatnote'),
		'section' => 'neatnote_footer_setting',
		'settings' => 'neatnote_footer_social_media_hover_color',
	)
));
