<?php
/**
 * Displays top header
 *
 * @package Futuristic Architecture
 */
?>

<div class="top-info">
	<div class="container">
		<div class="row m-0">
            <div class="col-lg-8 col-md-7 col-sm-12 align-self-center">
                <div class="topbar-text text-md-start text-center">
                    <?php if ( get_theme_mod('futuristic_architecture_topbar_location') != "" ) {?>
                        <p class="topbar-location mb-0"><i class="fas fa-map-marker-alt me-2"></i><?php echo esc_html(get_theme_mod('futuristic_architecture_topbar_location')); ?></p> 
                    <?php }?>
    				<?php if ( get_theme_mod('futuristic_architecture_topbar_timing') != "" ) {?>
    		            <p class="topbar-time mb-0"><i class="fas fa-calendar me-2"></i><?php echo esc_html(get_theme_mod('futuristic_architecture_topbar_timing')); ?></p>  
    		        <?php }?>
                </div>
			</div>
			<div class="col-lg-4 col-md-5 col-sm-5 col-12 align-self-center right-box">
                <div class="topbar-links text-md-end text-center">
                    <?php if ( get_theme_mod('futuristic_architecture_topbar_terms_link') != "" || get_theme_mod('futuristic_architecture_topbar_privacylink') != "") {?>
                        <a href="<?php echo esc_attr(get_theme_mod('futuristic_architecture_topbar_terms_link')); ?>" ><?php echo esc_html('Terms & Condition', 'futuristic-architecture'); ?></a>
                        <a href="<?php echo esc_attr(get_theme_mod('futuristic_architecture_topbar_privacylink')); ?>" ><?php echo esc_html('Privacy Policy', 'futuristic-architecture'); ?></a>
                    <?php }?>
                </div>
            </div>
		</div>
	</div>
</div>