<?php

/**
 * The public-facing functionality of the plugin.
 *
 * @link       https://envytheme.com
 * @since      1.0.5
 *
 * @package    Endless_Addons
 * @subpackage Endless_Addons/public
 */

/**
 * The public-facing functionality of the plugin.
 *
 * Defines the plugin name, version, and two examples hooks for how to
 * enqueue the public-facing stylesheet and JavaScript.
 *
 * @package    Endless_Addons
 * @subpackage Endless_Addons/public
 * @author     EnvyTheme <hello@envytheme.com>
 */
class Endless_Addons_Public {

	/**
	 * The ID of this plugin.
	 *
	 * @since    1.0.5
	 * @access   private
	 * @var      string    $plugin_name    The ID of this plugin.
	 */
	private $plugin_name;

	/**
	 * The version of this plugin.
	 *
	 * @since    1.0.5
	 * @access   private
	 * @var      string    $version    The current version of this plugin.
	 */
	private $version;

	/**
	 * Initialize the class and set its properties.
	 *
	 * @since    1.0.5
	 * @param      string    $plugin_name       The name of the plugin.
	 * @param      string    $version    The version of this plugin.
	 */
	public function __construct( $plugin_name, $version ) {

		$this->plugin_name = $plugin_name;
		$this->version = $version;

	}

	/**
	 * Register the stylesheets for the public-facing side of the site.
	 *
	 * @since    1.0.5
	 */
	public function enqueue_styles() {

		wp_enqueue_style( 'endless-addons-fonts-1', 'https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap' );

		wp_enqueue_style( 'endless-addons-fonts-2', 'https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap' );

		wp_enqueue_style( 'endless-addons-fonts-3', 'https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap' );

		wp_enqueue_style( 'endless-addons-font-awesome', plugin_dir_url( __FILE__ ) . 'css/font-awesome.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-bootstrap', plugin_dir_url( __FILE__ ) . 'css/bootstrap.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-animate', plugin_dir_url( __FILE__ ) . 'css/animate.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-aos', plugin_dir_url( __FILE__ ) . 'css/aos.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-boxicons', plugin_dir_url( __FILE__ ) . 'css/boxicons.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-magnific-popup', plugin_dir_url( __FILE__ ) . 'css/magnific-popup.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-meanmenu', plugin_dir_url( __FILE__ ) . 'css/meanmenu.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-owl-carousel', plugin_dir_url( __FILE__ ) . 'css/owl.carousel.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-owl-theme-default', plugin_dir_url( __FILE__ ) . 'css/owl.theme.default.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-progress-bar', plugin_dir_url( __FILE__ ) . 'css/progressbar.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-main-style', plugin_dir_url( __FILE__ ) . 'css/style.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-odometer', plugin_dir_url( __FILE__ ) . 'css/odometer.min.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-calendar', plugin_dir_url( __FILE__ ) . 'css/calendar.css', array(), $this->version, 'all' );

		wp_enqueue_style( 'endless-addons-responsive', plugin_dir_url( __FILE__ ) . 'css/responsive.css', array(), $this->version, 'all' );

		wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/endless-addons-public.css', array(), $this->version, 'all' );

		if (file_exists(ENDLESS_ADDONS_ASSET_PATH)) {
			wp_enqueue_style( 'endless-addons-demo-style', site_url() . '/wp-content/uploads/endless-addons-data/endless-addons-demo-style.min.css', array(), $this->version, 'all' );
		}

	}

	/**
	 * Register the JavaScript for the public-facing side of the site.
	 *
	 * @since    1.0.5
	 */
	public function enqueue_scripts() {
        

	}

}
