<?php
/**
 * The header for our theme
 *
 * This is the template that displays all of the <head> section and everything up until <div id="content">
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Prime Beauty Salon
 */
/**
* Hook - prime_beauty_salon_action_doctype.
*
* @hooked prime_beauty_salon_doctype -  10
*/
do_action( 'prime_beauty_salon_action_doctype' );
?>
<head>
    <?php
    /**
    * Hook - prime_beauty_salon_action_head.
    *
    * @hooked prime_beauty_salon_head -  10
    */
    do_action( 'prime_beauty_salon_action_head' );
    ?>

    <?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
    <?php do_action( 'wp_body_open' ); ?>

        <?php
$prime_beauty_salon_preloader_setting = prime_beauty_salon_get_option('prime_beauty_salon_header_donate_preloader_setting', false);
$prime_beauty_salon_loader_layout = get_theme_mod('prime_beauty_salon_loader_layout_setting', 'load');

if ($prime_beauty_salon_preloader_setting && $prime_beauty_salon_loader_layout !== 'none') { ?>
    <div class="preloader">
        <?php if ($prime_beauty_salon_loader_layout === 'both' || $prime_beauty_salon_loader_layout === 'load') { ?>
            <div class="load">
                <div class="loader"></div>
            </div>
        <?php } ?>
        <?php if ($prime_beauty_salon_loader_layout === 'both' || $prime_beauty_salon_loader_layout === 'load-one') { ?>
            <div class="load-one">
                <hr/><hr/><hr/><hr/>
            </div>
        <?php } ?>
        <?php if ($prime_beauty_salon_loader_layout === 'both' || $prime_beauty_salon_loader_layout === 'ctn-preloader') { ?>
        <div id="preloader">
            <div id="ctn-preloader" class="ctn-preloader">
                <div class="animation-preloader">
                    
                    <!-- Spinner -->
                    <div class="spinner"></div>
                    
                    <!-- Start: Text Loading -->
                    <div class="txt-loading">
                        <span data-text-preloader="B" class="letters-loading">B</span>
                        <span data-text-preloader="E" class="letters-loading">E</span>
                        <span data-text-preloader="A" class="letters-loading">A</span>
                        <span data-text-preloader="U" class="letters-loading">U</span>
                        <span data-text-preloader="T" class="letters-loading">T</span>
                        <span data-text-preloader="Y" class="letters-loading">Y</span>
                        <span data-text-preloader="" class="letters-loading">&nbsp</span>
                        <span data-text-preloader="S" class="letters-loading">S</span>
                        <span data-text-preloader="A" class="letters-loading">A</span>
                        <span data-text-preloader="L" class="letters-loading">L</span>
                        <span data-text-preloader="O" class="letters-loading">O</span>
                        <span data-text-preloader="N" class="letters-loading">N</span>
                    </div>
                    <!-- End: Text Loading -->

                </div>

                <!-- Start: Preloader sides - Model 1 -->
                <div class="loader-section section-left"></div>
                <div class="loader-section section-right"></div>
                <!-- End: Preloader sides - Model 1 -->

            </div>
        </div>
        <?php } ?>
    </div>
<?php } ?>
    <?php

    /**
    * Hook - prime_beauty_salon_action_before.
    *
    * @hooked prime_beauty_salon_page_start - 10
    */
    do_action( 'prime_beauty_salon_action_before' );

    /**
    *
    * @hooked prime_beauty_salon_header_start - 10
    */
    do_action( 'prime_beauty_salon_action_before_header' );

    /**
    *
    *@hooked prime_beauty_salon_site_branding - 10
    *@hooked prime_beauty_salon_header_end - 15 
    */
    do_action('prime_beauty_salon_action_header');

    /**
    *
    * @hooked prime_beauty_salon_content_start - 10
    */
    do_action( 'prime_beauty_salon_action_before_content' );

    /**
     * Banner start
     * 
     * @hooked prime_beauty_salon_banner_header - 10
    */
    do_action( 'prime_beauty_salon_banner_header' );  