<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Anti-Inflammation Store Header</title>
  <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=DM+Sans:wght@300;400;500&display=swap" rel="stylesheet"/>
  <style>
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --sage:       #4a7c59;
      --sage-dark:  #2e5040;
      --sage-light: #d6e8dc;
      --cream:      #f9f5ef;
      --warm-brown: #5c3d2e;
      --gold:       #c9a84c;
      --text:       #2d2d2d;
      --muted:      #6b7a6e;
    }

    body {
      background: var(--cream);
      font-family: 'DM Sans', sans-serif;
    }

    /* ── Announcement Bar ── */
    .announcement-bar {
      background: var(--sage-dark);
      color: #e8f3ec;
      text-align: center;
      padding: 10px 20px;
      font-size: 13px;
      letter-spacing: 0.08em;
      font-weight: 400;
      position: relative;
      overflow: hidden;
    }
    .announcement-bar::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.03) 40px,
        rgba(255,255,255,0.03) 41px
      );
    }
    .announcement-bar span {
      position: relative;
      z-index: 1;
    }
    .announcement-bar .leaf {
      margin: 0 8px;
      opacity: 0.7;
    }

    /* ── Main Header ── */
    .site-header {
      background: var(--cream);
      border-bottom: 1px solid #dde8e0;
      padding: 0 40px;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 20px rgba(74, 124, 89, 0.07);
    }

    .header-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      height: 72px;
      gap: 40px;
    }

    /* ── Logo ── */
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }
    .logo-icon {
      width: 38px;
      height: 38px;
      background: var(--sage);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .logo-icon svg {
      width: 20px;
      height: 20px;
      fill: white;
    }
    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }
    .logo-text .brand {
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      font-weight: 700;
      color: var(--sage-dark);
      letter-spacing: 0.04em;
    }
    .logo-text .tagline {
      font-size: 9px;
      color: var(--gold);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 500;
    }

    /* ── Nav ── */
    .main-nav {
      display: flex;
      align-items: center;
      gap: 4px;
      flex: 1;
    }
    .main-nav a {
      text-decoration: none;
      color: var(--muted);
      font-size: 14px;
      font-weight: 400;
      padding: 6px 14px;
      border-radius: 20px;
      transition: all 0.2s ease;
      letter-spacing: 0.02em;
      position: relative;
    }
    .main-nav a:hover,
    .main-nav a.active {
      color: var(--sage-dark);
      background: var(--sage-light);
    }
    .main-nav a.active {
      font-weight: 500;
    }

    /* Dropdown */
    .nav-item { position: relative; }
    .nav-item .dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      background: white;
      border: 1px solid #dde8e0;
      border-radius: 12px;
      padding: 8px;
      min-width: 180px;
      box-shadow: 0 8px 32px rgba(46,80,64,0.12);
      z-index: 200;
    }
    .nav-item:hover .dropdown { display: block; }
    .dropdown a {
      display: block;
      padding: 8px 14px !important;
      font-size: 13px !important;
      border-radius: 8px !important;
    }

    /* ── Right Controls ── */
    .header-controls {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-left: auto;
    }

    .locale-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: var(--muted);
      font-weight: 400;
      padding: 6px 12px;
      border-radius: 20px;
      border: 1px solid #dde8e0;
      background: transparent;
      cursor: pointer;
      transition: all 0.2s;
    }
    .locale-btn:hover {
      border-color: var(--sage);
      color: var(--sage-dark);
    }
    .locale-btn svg { width: 14px; height: 14px; }

    .icon-btn {
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: none;
      background: transparent;
      cursor: pointer;
      color: var(--warm-brown);
      transition: all 0.2s ease;
      position: relative;
      text-decoration: none;
    }
    .icon-btn:hover {
      background: var(--sage-light);
      color: var(--sage-dark);
    }
    .icon-btn svg { width: 20px; height: 20px; }

    .cart-badge {
      position: absolute;
      top: 2px;
      right: 2px;
      background: var(--sage);
      color: white;
      font-size: 9px;
      font-weight: 700;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

    /* ── Search Overlay ── */
    .search-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(46,80,64,0.55);
      z-index: 500;
      backdrop-filter: blur(4px);
      align-items: flex-start;
      justify-content: center;
      padding-top: 120px;
    }
    .search-overlay.open { display: flex; }
    .search-box {
      background: white;
      border-radius: 16px;
      padding: 24px 28px;
      width: 100%;
      max-width: 560px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }
    .search-box label {
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--sage);
      font-weight: 500;
      display: block;
      margin-bottom: 10px;
    }
    .search-input-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .search-input-row input {
      flex: 1;
      border: none;
      border-bottom: 2px solid var(--sage-light);
      padding: 8px 0;
      font-size: 18px;
      font-family: 'Playfair Display', serif;
      color: var(--text);
      background: transparent;
      outline: none;
      transition: border-color 0.2s;
    }
    .search-input-row input:focus { border-color: var(--sage); }
    .search-input-row input::placeholder { color: #bbb; }
    .search-close {
      background: none; border: none; cursor: pointer;
      color: var(--muted); font-size: 22px; line-height: 1;
    }

    /* ── Promo Ticker ── */
    .promo-ticker {
      background: var(--sage-light);
      overflow: hidden;
      height: 32px;
      display: flex;
      align-items: center;
    }
    .ticker-track {
      display: flex;
      gap: 80px;
      animation: ticker 28s linear infinite;
      white-space: nowrap;
    }
    @keyframes ticker {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    .ticker-track span {
      font-size: 11.5px;
      color: var(--sage-dark);
      letter-spacing: 0.06em;
      font-weight: 500;
      text-transform: uppercase;
    }
    .ticker-track .dot {
      color: var(--gold);
      margin: 0 12px;
    }

    /* ── Demo hero ── */
    .demo-section {
      padding: 80px 40px;
      text-align: center;
      background: linear-gradient(160deg, var(--cream) 60%, var(--sage-light));
    }
    .demo-section h1 {
      font-family: 'Playfair Display', serif;
      font-size: 42px;
      color: var(--sage-dark);
      margin-bottom: 14px;
    }
    .demo-section p {
      color: var(--muted);
      font-size: 15px;
      max-width: 480px;
      margin: 0 auto;
      line-height: 1.7;
    }
    .demo-badge {
      display: inline-block;
      background: var(--sage);
      color: white;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 6px 16px;
      border-radius: 20px;
      margin-bottom: 20px;
      font-weight: 500;
    }
  </style>
</head>
<body>

<!-- ANNOUNCEMENT BAR -->
<div class="announcement-bar">
  <span><span class="leaf">🌿</span> Free shipping on orders over $75 β€” naturally yours <span class="leaf">🌿</span></span>
</div>

<!-- PROMO TICKER -->
<div class="promo-ticker">
  <div class="ticker-track">
    <span>Turmeric <span class="dot">✦</span> Ginger <span class="dot">✦</span> Omega-3 <span class="dot">✦</span> Ashwagandha <span class="dot">✦</span> Boswellia <span class="dot">✦</span> Green Tea Extract <span class="dot">✦</span> Curcumin <span class="dot">✦</span> Quercetin</span>
    <span>Turmeric <span class="dot">✦</span> Ginger <span class="dot">✦</span> Omega-3 <span class="dot">✦</span> Ashwagandha <span class="dot">✦</span> Boswellia <span class="dot">✦</span> Green Tea Extract <span class="dot">✦</span> Curcumin <span class="dot">✦</span> Quercetin</span>
  </div>
</div>

<!-- MAIN HEADER -->
<header class="site-header">
  <div class="header-inner">

    <!-- Logo -->
    <a href="#" class="logo">
      <div class="logo-icon">
        <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
          <!-- Leaf icon -->
          <path d="M17 8C8 10 5.9 16.17 3.82 21H5.71C6.38 19.41 6.97 18.34 8 17.43C10.07 18.68 12.84 19.23 16 18.37C16.76 18.16 17.63 17.8 18.5 17.33C19.06 16.28 20.15 14.46 20 12C19.65 7.06 17 8 17 8Z"/>
        </svg>
      </div>
      <div class="logo-text">
        <span class="brand">INFLAMEAWAY</span>
        <span class="tagline">Nature's Remedy</span>
      </div>
    </a>

    <!-- Navigation -->
    <nav class="main-nav">
      <a href="#" class="active">Home</a>

      <div class="nav-item">
        <a href="#">Shop β–Ύ</a>
        <div class="dropdown">
          <a href="#">Supplements</a>
          <a href="#">Herbal Teas</a>
          <a href="#">Topical Creams</a>
          <a href="#">Bundles</a>
        </div>
      </div>

      <div class="nav-item">
        <a href="#">Learn β–Ύ</a>
        <div class="dropdown">
          <a href="#">Blog</a>
          <a href="#">Research</a>
          <a href="#">FAQ</a>
        </div>
      </div>

      <a href="#">About</a>
      <a href="#">Contact</a>
    </nav>

    <!-- Controls -->
    <div class="header-controls">

      <!-- Locale -->
      <button class="locale-btn">
        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
          <circle cx="12" cy="12" r="9"/><path d="M12 3a15 15 0 0 0 0 18M12 3a15 15 0 0 1 0 18M3 12h18"/>
        </svg>
        Pakistan | USD $
        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>
      </button>

      <!-- Search -->
      <button class="icon-btn" id="searchBtn" title="Search">
        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8">
          <circle cx="11" cy="11" r="7"/><path d="M16.5 16.5l4 4"/>
        </svg>
      </button>

      <!-- Account -->
      <a href="#" class="icon-btn" title="Account">
        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8">
          <circle cx="12" cy="8" r="4"/>
          <path d="M4 20c0-4 3.6-7 8-7s8 3 8 7"/>
        </svg>
      </a>

      <!-- Cart -->
      <a href="#" class="icon-btn" title="Cart">
        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8">
          <path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"/>
          <line x1="3" y1="6" x2="21" y2="6"/>
          <path d="M16 10a4 4 0 0 1-8 0"/>
        </svg>
        <span class="cart-badge">3</span>
      </a>

    </div>
  </div>
</header>

<!-- SEARCH OVERLAY -->
<div class="search-overlay" id="searchOverlay">
  <div class="search-box">
    <label>Search products</label>
    <div class="search-input-row">
      <input type="text" placeholder="turmeric, ginger, omega-3…" autofocus />
      <button class="search-close" id="searchClose">βœ•</button>
    </div>
  </div>
</div>

<!-- DEMO HERO (to show header in context) -->
<section class="demo-section">
  <div class="demo-badge">100% Natural β€’ Lab Tested</div>
  <h1>Heal From Within</h1>
  <p>Science-backed anti-inflammation supplements crafted from the finest organic botanicals β€” for a life without limits.</p>
</section>

<script>
  const searchBtn     = document.getElementById('searchBtn');
  const searchOverlay = document.getElementById('searchOverlay');
  const searchClose   = document.getElementById('searchClose');

  searchBtn.addEventListener('click', () => searchOverlay.classList.add('open'));
  searchClose.addEventListener('click', () => searchOverlay.classList.remove('open'));
  searchOverlay.addEventListener('click', (e) => {
    if (e.target === searchOverlay) searchOverlay.classList.remove('open');
  });
</script>

</body>
</html>