/* =========================================
   GLOBAL HEADER COMPONENT (RTL תואם בנט)
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

/* תפריט ניווט בימין */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-list a:hover {
  color: #0052cc;
}

.nav-list a.active {
  color: #0033aa;
  font-weight: 800;
}

.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 100%;
  height: 2.5px;
  background-color: #0052cc;
  border-radius: 2px;
}

/* צד שמאל: לוגו בלבד */
.header-left {
  display: flex;
  align-items: center;
}

/* מונוגרמה מעוצבת ומינימליסטית (Fancy Badge) */
.header-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #0033aa;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 51, 170, 0.08);
  transition: all 0.25s ease;
}

.brand-monogram {
  font-family: 'Assistant', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #002255;
  line-height: 1;
}

.brand-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.header-brand-badge:hover {
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.header-brand-badge:hover .brand-dot {
  transform: scale(1.3);
}

/* כפתור המבורגר למובייל */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: #002255;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* רספונסיביות למובייל ולטאבלט */
@media (max-width: 880px) {
  .menu-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.75rem 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
    gap: 1.5rem;
  }

  .header-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1.25rem;
    text-align: center;
  }
}
