/* ═══════════════════════════════════════════
   GLOBAL SITE HEADER — משותף לכל דפי האתר
═══════════════════════════════════════════ */

.global-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 33, 55, 0.10);
  font-family: 'Heebo', sans-serif;
  direction: rtl;
}
.global-header *, .global-header *::before, .global-header *::after { box-sizing: border-box; }

.global-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* לוגו + שם — מוביל לדף הבית */
.gh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.gh-logo {
  height: 46px;
  width: auto;
  max-width: none;
  display: block;
}
.gh-brand-name {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: 1.05rem;
  color: #0d2137;
  white-space: nowrap;
  transition: color 0.15s;
}
.gh-brand:hover .gh-brand-name { color: #b8860b; }

/* תפריט */
.gh-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.gh-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3a3a3a;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.gh-nav a:hover { color: #b8860b; background: rgba(184, 134, 11, 0.08); }
.gh-nav a.gh-active { color: #b8860b; }

/* כפתור המבורגר — מוסתר בדסקטופ */
.gh-nav-toggle { display: none; }
.gh-nav-btn { display: none; }

@media (max-width: 1080px) {
  .gh-nav-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 12px 10px;
    cursor: pointer;
    border-radius: 8px;
  }
  .gh-nav-btn span {
    width: 22px;
    height: 2px;
    background: #0d2137;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .gh-nav-toggle:checked ~ .gh-nav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gh-nav-toggle:checked ~ .gh-nav-btn span:nth-child(2) { opacity: 0; }
  .gh-nav-toggle:checked ~ .gh-nav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gh-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fffdf9;
    border-bottom: 1px solid rgba(13, 33, 55, 0.10);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
    padding: 6px 16px 12px;
  }
  .gh-nav-toggle:checked ~ .gh-nav { display: flex; }
  .gh-nav a {
    padding: 13px 10px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(13, 33, 55, 0.06);
  }
  .gh-nav a:last-child { border-bottom: none; }
}

@media (max-width: 400px) {
  .gh-logo { height: 38px; }
  .gh-brand-name { font-size: 0.92rem; }
  .gh-brand { gap: 8px; }
}
