<?php 

$web_startup_agency_color_scheme_gradiant1 = get_theme_mod('web_startup_agency_color_scheme_gradiant1');
$web_startup_agency_color_scheme_gradiant2 = get_theme_mod('web_startup_agency_color_scheme_gradiant2');
$web_startup_agency_color_scheme_css = "";

/*------------------ Global First Color -----------*/

if ($web_startup_agency_color_scheme_gradiant1) {
  $web_startup_agency_color_scheme_css .= ':root {';
  $web_startup_agency_color_scheme_css .= '--first-theme-color: ' . esc_attr($web_startup_agency_color_scheme_gradiant1) . ' !important;';
  $web_startup_agency_color_scheme_css .= '} ';
}

/*------------------ Global Second Color -----------*/

if ($web_startup_agency_color_scheme_gradiant2) {
  $web_startup_agency_color_scheme_css .= ':root {';
  $web_startup_agency_color_scheme_css .= '--second-theme-color: ' . esc_attr($web_startup_agency_color_scheme_gradiant2) . ' !important;';
  $web_startup_agency_color_scheme_css .= '} ';
}

$web_startup_agency_color_scheme_css .= '.pagecontent, #commentform input#submit, .pagemore a, nav.woocommerce-MyAccount-navigation ul li, .woocommerce ul.products li.product .button, span.onsale, .woocommerce button.button.alt{';
  $web_startup_agency_color_scheme_css .= 'box-shadow: 0 13px 22px 0px '. esc_attr($web_startup_agency_color_scheme_gradiant2).' !important';
$web_startup_agency_color_scheme_css .= '}'; 

$web_startup_agency_color_scheme_css .='.contact-us a, .pagemore a, .serv-btn a, .woocommerce ul.products li.product .button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit, #commentform input#submit,nav.woocommerce-MyAccount-navigation ul li,.listarticle, .logo,.header-top,#sidebar input.search-submit,  #footer input.search-submit, form.woocommerce-product-search button,.img-box, span.color-inner-box img,span.design-box,.thumbbx,span.onsale, .breadcrumb a, .widget_calendar caption, #button, .tagcloud a:hover, .site-main .wp-block-button__link, #sidebar .wp-block-search__button,
.breadcrumb a, .page-links span, .page-links a, .wc-block-components-totals-coupon__button.contained, .woocommerce button.button.alt, button.wc-block-components-checkout-place-order-button, .postsec-list .search-form input.search-submit, #services_section .text-inner-box {';
$web_startup_agency_color_scheme_css .='background-image: linear-gradient(to right, '.esc_attr($web_startup_agency_color_scheme_gradiant1).' , '.esc_attr($web_startup_agency_color_scheme_gradiant2).') , linear-gradient(to right, '.esc_attr($web_startup_agency_color_scheme_gradiant1).' , '.esc_attr($web_startup_agency_color_scheme_gradiant2).') !important ';
$web_startup_agency_color_scheme_css .='}';

$web_startup_agency_color_scheme_css .= '.slider-box {';
$web_startup_agency_color_scheme_css .= 'background-image: linear-gradient(to right, ' . esc_attr($web_startup_agency_color_scheme_gradiant1) . ', ' . esc_attr($web_startup_agency_color_scheme_gradiant2) . ') !important;'; 
$web_startup_agency_color_scheme_css .= '}';

$web_startup_agency_color_scheme_css .= '.pagecontent, #commentform input#submit, .pagemore a, nav.woocommerce-MyAccount-navigation ul li, .woocommerce ul.products li.product .button, span.onsale, .woocommerce button.button.alt{';
  $web_startup_agency_color_scheme_css .= 'box-shadow: 0 13px 22px 0px '. esc_attr($web_startup_agency_color_scheme_gradiant2).' !important';
$web_startup_agency_color_scheme_css .= '}'; 

$web_startup_agency_color_scheme_css .='.contact-us a, .pagemore a, .serv-btn a, .woocommerce ul.products li.product .button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit, #commentform input#submit,nav.woocommerce-MyAccount-navigation ul li,.listarticle, .logo,.header-top,#sidebar input.search-submit,  #footer input.search-submit, form.woocommerce-product-search button,.img-box, span.color-inner-box img,span.design-box,.thumbbx,span.onsale, .breadcrumb a, .widget_calendar caption, #button, .tagcloud a:hover, .site-main .wp-block-button__link, 
.breadcrumb a, .page-links span, .page-links a, .wc-block-components-totals-coupon__button.contained, .woocommerce button.button.alt, button.wc-block-components-checkout-place-order-button, .postsec-list .search-form input.search-submit, #services_section .text-inner-box, .woocommerce-account .addresses .title .edit, a.wc-block-components-checkout-return-to-cart-button, .wc-block-cart__submit .wc-block-cart__submit-container a, .woocommerce a.added_to_cart {';
$web_startup_agency_color_scheme_css .='background-image: linear-gradient(to right, '.esc_attr($web_startup_agency_color_scheme_gradiant1).' , '.esc_attr($web_startup_agency_color_scheme_gradiant2).') , linear-gradient(to right, '.esc_attr($web_startup_agency_color_scheme_gradiant1).' , '.esc_attr($web_startup_agency_color_scheme_gradiant2).') !important ';
$web_startup_agency_color_scheme_css .='}';
