<?php

$hair_spa_salon_tp_theme_css = '';

//theme-color
$hair_spa_salon_tp_color_option = get_theme_mod('hair_spa_salon_tp_color_option');

// 1st color
$hair_spa_salon_tp_color_option = get_theme_mod('hair_spa_salon_tp_color_option', '#FAA1B5');
if ($hair_spa_salon_tp_color_option) {
	$hair_spa_salon_tp_theme_css .= ':root {';
	$hair_spa_salon_tp_theme_css .= '--color-primary1: ' . esc_attr($hair_spa_salon_tp_color_option) . ';';
	$hair_spa_salon_tp_theme_css .= '}';
}

// logo tagline color
$hair_spa_salon_site_tagline_color = get_theme_mod('hair_spa_salon_site_tagline_color');

if($hair_spa_salon_site_tagline_color != false){
$hair_spa_salon_tp_theme_css .='.logo h1 a, .logo p a{';
$hair_spa_salon_tp_theme_css .='color: '.esc_attr($hair_spa_salon_site_tagline_color).';';
$hair_spa_salon_tp_theme_css .='}';
}

$hair_spa_salon_logo_tagline_color = get_theme_mod('hair_spa_salon_logo_tagline_color');
if($hair_spa_salon_logo_tagline_color != false){
$hair_spa_salon_tp_theme_css .='p.site-description{';
$hair_spa_salon_tp_theme_css .='color: '.esc_attr($hair_spa_salon_logo_tagline_color).';';
$hair_spa_salon_tp_theme_css .='}';
}

// footer widget title color
$hair_spa_salon_footer_widget_title_color = get_theme_mod('hair_spa_salon_footer_widget_title_color');
if($hair_spa_salon_footer_widget_title_color != false){
$hair_spa_salon_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{';
$hair_spa_salon_tp_theme_css .='color: '.esc_attr($hair_spa_salon_footer_widget_title_color).';';
$hair_spa_salon_tp_theme_css .='}';
}

// copyright text color
$hair_spa_salon_footer_copyright_text_color = get_theme_mod('hair_spa_salon_footer_copyright_text_color');
if($hair_spa_salon_footer_copyright_text_color != false){
$hair_spa_salon_tp_theme_css .='#footer .site-info p, #footer .site-info a {';
$hair_spa_salon_tp_theme_css .='color: '.esc_attr($hair_spa_salon_footer_copyright_text_color).';';
$hair_spa_salon_tp_theme_css .='}';
}

// header image title color
$hair_spa_salon_header_image_title_text_color = get_theme_mod('hair_spa_salon_header_image_title_text_color');
if($hair_spa_salon_header_image_title_text_color != false){
$hair_spa_salon_tp_theme_css .='.box-text h2{';
$hair_spa_salon_tp_theme_css .='color: '.esc_attr($hair_spa_salon_header_image_title_text_color).';';
$hair_spa_salon_tp_theme_css .='}';
}

// menu color
$hair_spa_salon_menu_color = get_theme_mod('hair_spa_salon_menu_color');
if($hair_spa_salon_menu_color != false){
$hair_spa_salon_tp_theme_css .='.main-navigation a{';
$hair_spa_salon_tp_theme_css .='color: '.esc_attr($hair_spa_salon_menu_color).';';
$hair_spa_salon_tp_theme_css .='}';
}

//Footer Font Weight
$hair_spa_salon_footer_copyright_title_font_weight = get_theme_mod( 'hair_spa_salon_footer_copyright_title_font_weight','');
if($hair_spa_salon_footer_copyright_title_font_weight == '100'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 100;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '200'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 200;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '300'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 300;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '400'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 400;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '500'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 500;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '600'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 600;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '700'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 700;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '800'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 800;';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_footer_copyright_title_font_weight == '900'){
$hair_spa_salon_tp_theme_css .='#footer .site-info p {';
    $hair_spa_salon_tp_theme_css .='font-weight: 900;';
$hair_spa_salon_tp_theme_css .='}';
}