<?php
/**
 * Displays top header
 *
 * @package Interior Decor Studio
 */
?>

<div class="top-info text-end pb-2">
	<div class="container">
		<div class="row">
			<div class="col-lg-4 col-md-4 col-sm-6 align-self-center">
				<?php if ( get_theme_mod('interior_decor_studio_topbar_phone_text') != "" ) {?>
			        <div class=" text-lg-start text-center py-2">
			            <p class="location m-0"><i class="fas fa-phone-volume me-2"></i><?php esc_html_e('Call Us ','interior-decor-studio'); ?><a href="tell:<?php echo esc_attr(get_theme_mod('interior_decor_studio_topbar_phone_text')); ?>"><?php echo esc_html(get_theme_mod('interior_decor_studio_topbar_phone_text')); ?></a></p>  
			        </div>
		        <?php }?>
			</div>
			<div class="col-lg-4 col-md-5 col-sm-6 align-self-center">
				<?php if ( get_theme_mod('interior_decor_studio_topbar_mail_text') != "" ) {?>
			        <div class=" text-center py-2">
			            <p class="location m-0"><i class="fas fa-envelope me-2"></i><a href="mailto:<?php echo esc_attr(get_theme_mod('interior_decor_studio_topbar_mail_text')); ?>"><?php echo esc_html(get_theme_mod('interior_decor_studio_topbar_mail_text')); ?></a></p>  
			        </div>
		        <?php }?>
			</div>
			<div class="col-lg-4 col-md-3 col-sm-6 align-self-center btn-main">
				<?php if ( get_theme_mod('interior_decor_studio_header_button') != "" || get_theme_mod('interior_decor_studio_header_button_url') != ""  ) {?>
	                <span class="head-btn"><a href="<?php echo esc_url(get_theme_mod('interior_decor_studio_header_button_url')); ?>"><?php echo esc_html(get_theme_mod('interior_decor_studio_header_button')); ?></a></span>
	            <?php }?>
			</div>
		</div>
	</div>
</div>