<?php echo $header; ?>
<style>
  legend, h3 {
    font-family: Quicksand;
    font-style: normal;
    padding-top: 50px;
    font-weight: 600;
    font-size: 22px;
    color: #000;
  }
@media (min-width: 768px)
  {
    .bread_backg {
      margin-top: -5px !important;
    }
h1 {
      margin-bottom: 0 !important;
    }
h3.koronamesaj {
      margin: -105px 0 35px !important;
      font-weight: 500 !important;
      font-size: 18px !important;
    }
  }
fieldset {width: 100%;}
@media (max-width: 768px)
  {
    h1 {
      padding: 20px 15px;
    }
h3.koronamesaj {
      margin: -60px 15px 35px !important;
      font-weight: 500 !important;
      font-size: 18px !important;
    }
  }
</style>
<div class="container-fluid p-0 bread_backg">
<div class="container">
<ul class="breadcrumb">
<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
<?php } ?>
</ul>
</div>
</div>
<div class="container">
<div class="row"><?php echo $column_left; ?>
<?php if ($column_left && $column_right) { ?>
<?php $class = 'col-sm-6'; ?>
<?php } elseif ($column_left || $column_right) { ?>
<?php $class = 'col-sm-9'; ?>
<?php } else { ?>
<?php $class = 'col-sm-12'; ?>
<?php } ?>
<div id="content" class="<?php echo $class; ?>"><?php echo $content_top; ?>
<h2><?php echo $heading_title; ?></h2>
<div class="col-sm-10 col-sm-offset-1 col-xs-12">
<h3><?php echo $text_location; ?></h3>
      <hr class="mt-0" />
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<?php if ($image) { ?>
<div class="col-sm-3"><img src="<?php echo $image; ?>" alt="<?php echo $store; ?>" title="<?php echo $store; ?>" class="img-thumbnail" /></div>
<?php } ?>
<div class="col-sm-3"><strong><?php echo $store; ?></strong><br />
<address>
<?php echo $address; ?>
</address>
<?php if ($geocode) { ?>
<a href="https://maps.google.com/maps?q=<?php echo urlencode($geocode); ?>&hl=<?php echo $geocode_hl; ?>&t=m&z=15" target="_blank" class="btn btn-info"><i class="fa fa-map-marker"></i> <?php echo $button_map; ?></a>
<?php } ?>
</div>
<div class="col-sm-3"><strong><?php echo $text_telephone; ?> | E-Posta</strong><br>
0543 547 7734 (Sadece WhatsApp) | mh@deercase.com
<br />
<?php if ($fax) { ?>
<strong><?php echo $text_fax; ?></strong><br>
<?php echo $fax; ?>
<?php } ?>
</div>
<div class="col-sm-3">
<?php if ($open) { ?>
<strong><?php echo $text_open; ?></strong><br />
<?php echo $open; ?><br />
<br />
<?php } ?>
<?php if ($comment) { ?>
<strong><?php echo $text_comment; ?></strong><br />
<?php echo $comment; ?>
<?php } ?>
</div>
</div>
</div>
</div>
<?php if ($locations) { ?>
<h3><?php echo $text_store; ?></h3>
<div class="panel-group" id="accordion">
<?php foreach ($locations as $location) { ?>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title"><a href="#collapse-location<?php echo $location['location_id']; ?>" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion"><?php echo $location['name']; ?> <i class="fa fa-caret-down"></i></a></h4>
</div>
<div class="panel-collapse collapse" id="collapse-location<?php echo $location['location_id']; ?>">
<div class="panel-body">
<div class="row">
<?php if ($location['image']) { ?>
<div class="col-sm-3"><img src="<?php echo $location['image']; ?>" alt="<?php echo $location['name']; ?>" title="<?php echo $location['name']; ?>" class="img-thumbnail" /></div>
<?php } ?>
<div class="col-sm-3"><strong><?php echo $location['name']; ?></strong><br />
<address>
<?php echo $location['address']; ?>
</address>
<?php if ($location['geocode']) { ?>
<a href="https://maps.google.com/maps?q=<?php echo urlencode($location['geocode']); ?>&hl=<?php echo $geocode_hl; ?>&t=m&z=15" target="_blank" class="btn btn-info"><i class="fa fa-map-marker"></i> <?php echo $button_map; ?></a>
<?php } ?>
</div>
<div class="col-sm-3"> <strong><?php echo $text_telephone; ?></strong><br>
<?php echo $location['telephone']; ?><br />
<br />
<?php if ($location['fax']) { ?>
<strong><?php echo $text_fax; ?></strong><br>
<?php echo $location['fax']; ?>
<?php } ?>
</div>
<div class="col-sm-3">
<?php if ($location['open']) { ?>
<strong><?php echo $text_open; ?></strong><br />
<?php echo $location['open']; ?><br />
<br />
<?php } ?>
<?php if ($location['comment']) { ?>
<strong><?php echo $text_comment; ?></strong><br />
<?php echo $location['comment']; ?>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
<?php } ?>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" class="form-horizontal">
<fieldset>
<legend><?php echo $text_contact; ?></legend>
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-name"><?php echo $entry_name; ?></label>
<div class="col-sm-10">
<input type="text" name="name" value="<?php echo $name; ?>" id="input-name" class="form-control" />
<?php if ($error_name) { ?>
<div class="text-danger"><?php echo $error_name; ?></div>
<?php } ?>
</div>
</div>
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-email"><?php echo $entry_email; ?></label>
<div class="col-sm-10">
<input type="text" name="email" value="<?php echo $email; ?>" id="input-email" class="form-control" />
<?php if ($error_email) { ?>
<div class="text-danger"><?php echo $error_email; ?></div>
<?php } ?>
</div>
</div>
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-telephone"><?php echo $entry_telephone; ?></label>
<div class="col-sm-10">
<input type="text" name="telephone" value="<?php echo $telephone; ?>" id="input-telephone" class="form-control" />
<?php if ($error_telephone) { ?>
<div class="text-danger"><?php echo $error_telephone; ?></div>
<?php } ?>
</div>
</div>
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-enquiry"><?php echo $entry_enquiry; ?></label>
<div class="col-sm-10">
<textarea name="enquiry" rows="10" id="input-enquiry" class="form-control"><?php echo $enquiry; ?></textarea>
<?php if ($error_enquiry) { ?>
<div class="text-danger"><?php echo $error_enquiry; ?></div>
<?php } ?>
</div>
</div>
<!-- . -->
          <style>
            .Dogrulama {
              display: inline-block;
              margin-top: 20px;
              width: 100%;
            }
            .Dogrulama legend {
              font-family: Quicksand;
              font-style: normal;
              font-weight: 600;
              font-size: 18px;
              color: #000;
            }
            .Dogrulama label[for="input-captcha"] {
              display: none;
            }
            .Dogrulama .col-sm-10 {
              width: 100%;
            }
            .Dogrulama .col-sm-2 {
              width: 43.666667% !important
          }
            .Dogrulama .col-sm-10 img {
              margin-top: 10px;
            }
          </style>
          <span class="Dogrulama">
              <?= $captcha; ?>
          </span>
          <!-- . -->
</fieldset>
<div class="clearfix"></div>
          <br />
<!-- . -->
          <style>
            .Dugmeler {
              display: inline-block;
              margin-top: -10px;
              width: 100%;
            }
            .Dugmeler .btn {
              background-color: #000 !important;
              font-family: Quicksand !important;
              letter-spacing: .7px !important;
              font-style: normal !important;
              font-weight: bold !important;
              border-radius: 0 !important;
              font-size: 18px !important;
              padding: 12px 0 !important;
              border: none !important;
              width: 100% !important;
              color: #FFF !important;
            }
          </style>
          <span class="Dugmeler">
            <input class="btn btn-primary" type="submit" value="<?php echo $button_submit; ?>" />
          </span>
          <!-- . -->
</form>
<?php echo $content_bottom; ?></div>
</div>
<?php echo $column_right; ?></div>
</div>
<!--Start of Tawk.to Script
<script type="text/javascript">
  var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
  (function(){
    var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
    s1.async=true;
    s1.src='https://embed.tawk.to/5ec547a08ee2956d73a2fedc/default';
    s1.charset='UTF-8';
    s1.setAttribute('crossorigin','*');
    s0.parentNode.insertBefore(s1,s0);
  })();
</script>
End of Tawk.to Script-->
<div id="fixed-whatsapp">
    <a href="https://wa.me/905435477734?text=Merhaba, bilgi almak istiyorum"target="_blank">
    <i class="fa fa-whatsapp" style="color:#01bf33"></i>
    </a>
</div>
<style>     
                #fixed-whatsapp {
                    position: fixed;
                    z-index: 99999;
                    bottom: 58px;
                    right: 17px;
                }
                @media (max-width: 768px) {
                    #fixed-whatsapp {
                        bottom: 100px;
                    }
                }
                .fa-whatsapp {
                    font-size: 48px !important;
                }
</style>
<script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "BreadcrumbList",
      "itemListElement":<?php echo $breadcrumbs1; ?>
    }
</script>
<?php echo $footer; ?>
