<?php require_once __DIR__ . '/../config.php'; $page = $page ?? ''; ?>
<!DOCTYPE html>
<html lang="mr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?= e($title ?? SITE_NAME) ?></title>
<meta name="description" content="<?= e($desc ?? 'मुरलीधर मोहोळ — खासदार, पुणे · केंद्रीय नागरी हवाई वाहतूक व सहकार राज्यमंत्री. अधिकृत संकेतस्थळ.') ?>">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Jost:wght@500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/theme.css">
<link rel="icon" href="<?= img('logo-mm.png') ?>">
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"Person","name":"Murlidhar Mohol","jobTitle":"Union Minister of State for Civil Aviation and Cooperation; Member of Parliament, Pune","sameAs":["<?= SOCIALS['facebook'] ?>","<?= SOCIALS['x'] ?>","<?= SOCIALS['instagram'] ?>","<?= SOCIALS['youtube'] ?>"]}
</script>
</head>
<body>

<div class="topbar">
  <div class="container">
    <div class="left">
      <a href="mailto:<?= EMAIL_PUNE ?>"><?= EMAIL_PUNE ?></a>
      &nbsp;|&nbsp; <a href="tel:<?= PHONE_1 ?>"><?= PHONE_1_DEV ?></a>
      &nbsp; <a href="tel:<?= PHONE_2 ?>"><?= PHONE_2_DEV ?></a>
    </div>
    <div class="socials">
      <a href="<?= SOCIALS['facebook'] ?>" aria-label="Facebook">ⓕ</a>
      <a href="<?= SOCIALS['x'] ?>" aria-label="X">𝕏</a>
      <a href="<?= SOCIALS['instagram'] ?>" aria-label="Instagram">◎</a>
      <a href="<?= SOCIALS['youtube'] ?>" aria-label="YouTube">▶</a>
    </div>
  </div>
</div>

<header class="header">
  <div class="container">
    <a class="brand" href="index.php">
      <img src="<?= img('logo-mm.png','') ?>" alt="<?= SITE_NAME ?>"
           onerror="this.style.display='none';this.nextElementSibling.style.display='block'">
      <span class="brand-fallback"><?= SITE_NAME ?><br><small>खासदार · पुणे</small></span>
    </a>
    <nav class="nav" id="nav">
      <a href="index.php" class="<?= $page==='home'?'active':'' ?>">मुख्यपृष्ठ</a>
      <div class="dropdown">
        <a href="#" class="<?= in_array($page,['about','bio','iso'])?'active':'' ?>">आमच्याविषयी <span class="car">▾</span></a>
        <div class="menu">
          <a href="about.php">आमच्याविषयी</a>
          <a href="bio.php">जीवनचरित्र</a>
          <a href="iso-office.php">आयएसओ प्रमाणित कार्यालय</a>
        </div>
      </div>
      <div class="dropdown">
        <a href="#" class="<?= in_array($page,['gallery','video'])?'active':'' ?>">गॅलरी <span class="car">▾</span></a>
        <div class="menu">
          <a href="gallery.php">छायाचित्रे</a>
          <a href="video-gallery.php">व्हिडिओ</a>
        </div>
      </div>
      <a href="press.php" class="<?= $page==='press'?'active':'' ?>">प्रसारमाध्यमे</a>
      <a href="yojana.php" class="<?= $page==='yojana'?'active':'' ?>">योजना</a>
      <a href="social-work.php" class="<?= $page==='social'?'active':'' ?>">सामाजिक कार्य</a>
      <a href="contact-us.php" class="<?= $page==='contact'?'active':'' ?>">जनसेवा पोर्टल</a>
      <a class="btn btn-primary" href="join.php">सहभागी व्हा</a>
      <div class="lang"><a href="#">English</a><a class="active" href="#">मराठी</a><a href="#">हिंदी</a></div>
    </nav>
    <button class="nav-toggle" id="navToggle" aria-label="Menu">☰</button>
  </div>
</header>
