<?php
/**
 * The header for Igaa theme.
 */

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

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

<body <?php body_class(); ?>>
    <?php do_action( 'igaa_before_page_wrapper' ); ?>
    <div id="page" class="site">
    <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'igaa' ); ?></a>
    <?php do_action( 'igaa_before_site_header' ); ?>
	<header id="masthead" class="site-header" role="banner">
		
		<?php get_template_part('template-parts/menu'); ?>
        
        <?php if ( ! is_page_template( 'page-templates/builder.php' ) && ! is_page_template( 'page-templates/template-blank.php' ) && ! is_single() ) : ?>
        
        <?php $image = get_theme_mod( 'igaa_page_title_area_background_image', '' ); ?>
        <div id="page-header" class="hero-area uk-cover-background" style="background-image: url('<?php echo esc_url( $image ); ?>')"> 
            <div class="uk-container uk-container-center">
                <div class="uk-grid">
                    <div class="uk-width-medium-1-1">
                        <h1 class="uk-h3 page-title">
                            <?php igaa_display_page_header(); ?>
                        </h1>
                    </div>
                </div>
            </div>
        </div>
        <?php endif; ?>
    </header><!-- #masthead -->
    <?php do_action( 'igaa_after_site_header' ); ?>
        
    <div id="content" class="site-content">
        <div <?php igaa_container_class( 'uk-container-center' ); ?>>
		  <div class="uk-grid" data-uk-grid-margin>