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

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{% block title %}MedConnect | Medical Recruitment CRM{% endblock %}</title>
  
  <!-- Fonts -->
  <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=Plus+Jakarta+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;600;700&display=swap" rel="stylesheet">
  
  <!-- Bootstrap 5 CDN -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
  
  {% load static %}
  <link rel="stylesheet" href="{% static 'css/custom.css' %}?v={{ deployment_timestamp }}">
  
  {% if project_description %}
  <meta name="description" content="{{ project_description }}">
  {% endif %}
  
  <style>
    :root {
      --primary-color: #0F172A; /* Deep Navy */
      --accent-color: #10B981;  /* Medical Emerald */
      --bg-light: #F8FAFC;     /* Soft Cloud */
      --text-main: #1E293B;
    }
    
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background-color: var(--bg-light);
      color: var(--text-main);
    }
    
    h1, h2, h3, .brand-font {
      font-family: 'Fraunces', serif;
    }
    
    .btn-primary {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
    }
    
    .btn-primary:hover {
      background-color: #1E293B;
      border-color: #1E293B;
    }
    
    .btn-accent {
      background-color: var(--accent-color);
      color: white;
      border: none;
    }
    
    .btn-accent:hover {
      background-color: #059669;
      color: white;
    }
  </style>
  
  {% block head %}{% endblock %}
</head>

<body>
  <nav class="navbar navbar-expand-lg navbar-dark" style="background-color: var(--primary-color);">
    <div class="container">
      <a class="navbar-brand brand-font fs-3" href="/">MedConnect</a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarNav">
        <ul class="navbar-nav ms-auto">
          <li class="nav-item">
            <a class="nav-link active" href="/">Directory</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/admin/">Admin Panel</a>
          </li>
        </ul>
      </div>
    </div>
  </nav>

  {% block content %}{% endblock %}

  <footer class="py-5 text-center text-muted border-top mt-5">
    <div class="container">
      <p class="mb-0">&copy; 2026 MedConnect Outreach Tool. All rights reserved.</p>
    </div>
  </footer>

  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>

</html>