<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">

  <title><?php echo $title; ?></title>
  <meta content="<?php echo $description; ?>" name="description">
  <meta content="<?php echo $keywords; ?>" name="keywords">

  <!-- Favicons -->
  <link href="assets/img/favicon.png" rel="icon">
  <link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">

  <!-- Vendor CSS Files -->
  <link href="assets/vendor/animate.css/animate.min.css" rel="stylesheet">
  <link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
  <link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
  <link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
  <link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">

  <!-- Template Main CSS File -->
  <link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<!-- start Header -->
 <?php $activePage = basename($_SERVER['PHP_SELF'], ".php"); ?>
 
 <?php
    function getBaseUrl() {
    $currentPath = $_SERVER['PHP_SELF']; 
    $pathInfo = pathinfo($currentPath); 
    $hostName = $_SERVER['HTTP_HOST']; 
    $protocol = strtolower(substr($_SERVER["SERVER_PROTOCOL"],0,5))=='https'?'https':'http';
    return $protocol.'://'.$hostName.$pathInfo['dirname'];
}
 ?>
 
  <header id="header" class="fixed-top d-flex align-items-center">
    <div class="container d-flex align-items-center">
      <a href="https://74state.satvatech.com/" class="logo me-auto"><img src="assets/img/logo1.jpg" alt="74 State Hotel" class="img-fluid"></a>
      <nav id="navbar" class="navbar">
        <ul>
          <li><a class="<?= ($activePage == 'index') ? 'active':''; ?>" href="https://74state.satvatech.com/" class="active">Home</a></li>
          <li><a href="https://gc.synxis.com/rez.aspx?Hotel=44983" target="_blank">Reservations</a></li>
          <li><a class="<?= ($activePage == 'accommodations') ? 'active':''; ?>" href="/accommodations.php">Accommodations</a></li>
          <li><a class="<?= ($activePage == 'features_and_amenities') ? 'active':''; ?>"href="/features_and_amenities.php">Features/Amenities</a></li>
          <li><a class="<?= ($activePage == 'discover_albany') ? 'active':''; ?>"href="/discover_albany.php">Our Neighborhood</a></li>
          <li><a class="<?= ($activePage == 'location') ? 'active':''; ?>" href="/location.php">Location</a></li>
        </ul>
        <i class="bi bi-list mobile-nav-toggle"></i>
      </nav>
    </div>
  </header>
<!-- End Header -->
