<?php
/**
 *
 * @package Luzuk Premium
 */
if(get_theme_mod('appointment_section_disable') != 'on' ){ ?>
	<section id="ht-appintment-section" class="ht-section lz-appintment-section"> 
			<div class=" wow fadeInUp" data-wow-duration="1s">
				<div class="row contact-box">
					<div class="overlay">
						<div class="container">
					<?php 
						$appointment_title = get_theme_mod('appointment_title', 'BOOK APPOINTMENT');	
						?>
						<div class="ht-section-title-tagline">
							<?php if($appointment_title){ ?>
							<?php if($appointment_title){ ?>
								<h2 class="ht-section-title lz-appointment-heading"><?php echo ($appointment_title); ?></h2>
							<?php } ?> 
								<div class="titleborder"></div>
								<div class="border-separator-outer">
									<div class="outerborder-separator"></div>
							        <div class="innerborder-separator"></div>
							    </div>
							 <?php } ?> 
						</div>
						<?php
						$appointment_form_shortcode = get_theme_mod('appointment_form_shortcode', 'Add your form shortcode on customiser');
						?>
						<div class="ht-appintment-member-wrap">
							<?php echo do_shortcode($appointment_form_shortcode);?>
							<div class="clearfix"></div>
						</div>
					</div>
				</div>
				<div class="clearfix"></div>
			</div>
			<div class="container">
				<div class="contactdetails">
					<?php 
						$contact_phone = get_theme_mod('contact_phone', '012 345 6789');
						$contact_phone1 = get_theme_mod('contact_phone1', '123 456 7890');
						$contact_emailid = get_theme_mod('contact_emailid', 'info@example.com');
						$contact_emailid1 = get_theme_mod('contact_emailid1', 'contact@yourdomain.com');
						$contact_location = get_theme_mod('contact_location', '322 Willis Avenue <br> LOs Angeles, California, US');
					
						$facebook = get_theme_mod('contact_facebook', '//facebook.com/');
						$twitter = get_theme_mod('contact_twitter', '//twitter.com/');
						$instagram = get_theme_mod('contact_instagram', '//www.instagram.com/');
						$linkedIn = get_theme_mod('contact_linkedin', '//linkedin.com/');
						$pintrest = get_theme_mod('contact_pintrest', 'https://in.pinterest.com/');
					?>
					<div class="row row-eq-height">	
						<?php if($contact_location){ ?>
						<div class="col-md-4 col-sm-4 col-xs-12 contact-small-box wow fadeInRight small-box">
							<div class="inside-full-height">
								
								<div class="contact-icon col-md-2">
									<span class="fa fa-map-marker"></span> 
								</div>	
								<div class="contact-content col-md-10">
									<?php echo ($contact_location);?>
								</div>
								
							</div>
						</div>
						<?php } ?>

						<?php if($contact_emailid || $contact_emailid1){ ?>
						<div class="col-md-4 col-sm-4 col-xs-12 contact-small-box wow fadeInRight small-box">
							<div class="inside-full-height">
								<div class="contact-icon col-md-2">
									<span class="fa fa-envelope-o"></span> 
								</div>	
								<div class="contact-content col-md-10">
									<a href="mailto:<?php echo $contact_emailid;?>"><?php echo ($contact_emailid);?></a><br>
									<a href="mailto:<?php echo $contact_emailid1;?>"><?php echo ($contact_emailid1);?></a>
								</div>
							</div>
						</div>
						<?php } ?>

						<?php if($contact_phone){ ?>
						<div class="col-md-4 col-sm-4 col-xs-12 contact-small-box wow fadeInRight">
							<div class="inside-full-height">

								<div class="contact-icon col-md-2">
									<span class="fa fa-phone"></span> 
								</div>	
								<div class="contact-content col-md-10">
									<a href="tel:<?php echo $contact_phone;?>"><?php echo ($contact_phone);?></a><br>
									<a href="tel:<?php echo $contact_phone1;?>"><?php echo ($contact_phone1);?></a>
								</div>
								
							</div>
						</div>
						<?php } ?>
						</div>
						
						<div class="contactsocial-box wow fadeInRight">
								<?php if($facebook || $twitter || $instagram || $linkedIn){ ?>

								<ul class="contactsection-links">
									<?php if(!empty($facebook)){ ?>
										<li><a target="_blank" href="<?php echo $facebook ?>" title="Facebook" class="fb"><span class="fa fa-facebook"></span></a></li>
									<?php }?>
									<?php if(!empty($twitter)){ ?>
										<li><a target="_blank" href="<?php echo $twitter ?>" title="Twitter"><span class="fa fa-twitter"></span></a></li>
									<?php }?>
									<?php if(!empty($instagram)){ ?>
										<li><a target="_blank" href="<?php echo $instagram ?>" title="Instagram"><span class="fa fa-instagram"></span></a></li>
									<?php }?>
									<?php if(!empty($linkedIn)){ ?>
										<li><a target="_blank" href="<?php echo $linkedIn ?>" title="Linked In"><span class="fa fa-linkedin"></span></a></li>
									<?php }?>
									<?php if(!empty($pintrest)){ ?>
										<li><a href="<?php echo $pintrest ?>" target="_blank" title="pintrest"><span class="fa fa-pinterest"></span></a></li>
									<?php }?>	
								</ul>


								<?php } ?>
						</div>
						</div>
							<div class="clearfix"></div>
						</div>

				<div class="clearfix"></div>

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

