<?php
/**
 * Display Header.
 * @package Janitorial Cleaning Services
 */

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width">
	<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
	<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
	<?php if ( function_exists( 'wp_body_open' ) ) {
	    wp_body_open();
	} else {
	    do_action( 'wp_body_open' );
	}?>

	
	<!-- <header role="banner" class="banner"> -->
	<header >
		<a class="screen-reader-text skip-link" href="#main"><?php esc_html_e( 'Skip to content', 'janitorial-cleaning-services' ); ?></a>
		<div id="header">
			<div class="header-box">
				<div class="<?php if( get_theme_mod( 'janitorial_cleaning_services_sticky_header', false) != '') { ?>sticky-menubox<?php } else { ?>close-sticky <?php } ?> top-head ">
					<div class="container">	
						<div class="row m-0 p-0">
							<div class="logobx_m">
								<div class="logobx">
									<!-- <div class="logobxinn"></div> -->
									<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
								</div>
							</div>
							<div class="m-mnu">
								<div class="menu-section ">
									<div class="">
										<?php get_template_part( 'template-parts/navigation/site', 'nav' ); ?>
									</div>
								</div>
							</div>
							<div class="phonenum">
								<div class="phonebx">
									<i class="fas fa-phone"></i>
									<a href="tel:<?php echo esc_html(get_theme_mod('janitorial_cleaning_services_header_phonenum', '(123) 456-7890')); ?>">
										
										<span class="tooltiptext">
											<?php echo esc_html(get_theme_mod('janitorial_cleaning_services_header_phonenum', '(123) 456-7890')); ?>
										</span>
									</a>
								</div>
							</div>
							<div class="m-btn"> 
								<a class="bttn2" href="<?php echo esc_url(get_theme_mod('janitorial_cleaning_services_header_btnlink', '#')); ?>">
									<?php esc_html_e('Get Quote', 'janitorial-cleaning-services'); ?>
									<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'>\
										<path d='M5 11h10V8l5 4-5 4v-3H5z'/>\
									</svg>
								</a>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</header>

	<?php if(is_singular()) {?>
	<div class="inner-head">
		<div class="container">
			<div class="row">
				<div class="col-lg-6 col-md-6 align-self-center">
					<div class="header-content">
						<h1><?php single_post_title(); ?></h1>
						<div class="lt-breadcrumbs">
							<?php janitorial_cleaning_services_breadcrumb(); ?>
						</div>
					</div>
				</div>
				<?php if(has_post_thumbnail()){?>
					<div class="col-lg-6 col-md-6 align-self-end">
						
					</div>
				<?php }?>
			</div>
			
		</div>
	</div>
	<?php }?>