/* Header Styles */
.bp-header {
  position: relative;
  width: 100%;
  background: var(--bp-bg);
  border-bottom: 1px solid var(--bp-border);
  transition: all 0.3s ease;
  z-index: 1000;
}

.bp-header-sticky {
  position: sticky;
  top: 0;
}

.bp-header-transparent {
  position: absolute;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bp-header-scrolled {
  background: var(--bp-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bp-header-transparent.bp-header-scrolled {
  background: var(--bp-bg);
  border-bottom: 1px solid var(--bp-border);
}

.bp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}

.bp-header-logo {
  flex-shrink: 0;
}

.bp-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.bp-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.bp-nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.bp-nav-link {
  color: var(--bp-text) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.bp-nav-link:hover {
  color: var(--bp-primary);
}

.bp-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bp-primary);
  transition: width 0.3s ease;
}

.bp-nav-link:hover::after {
  width: 100%;
}

.bp-header-transparent .bp-nav-link {
  color: #FFFFFF !important;
}

[data-theme="dark"] .bp-nav-link {
  color: #FFFFFF !important;
}

[data-theme="light"] .bp-nav-link {
  color: #000000 !important;
}

.bp-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bp-theme-toggle,
.bp-lang-switch {
  background: transparent;
  border: 1px solid var(--bp-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
}

.bp-theme-toggle:hover,
.bp-lang-switch:hover {
  border-color: var(--bp-primary);
  transform: scale(1.1);
}

.bp-lang-icon {
  font-weight: 600;
  font-size: 14px;
  color: var(--bp-text);
}

.bp-header-transparent .bp-lang-icon {
  color: #FFFFFF;
}

.bp-mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.bp-hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bp-text);
  position: relative;
  transition: all 0.3s ease;
}

.bp-hamburger::before,
.bp-hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--bp-text);
  transition: all 0.3s ease;
}

.bp-hamburger::before {
  top: -8px;
}

.bp-hamburger::after {
  bottom: -8px;
}

.bp-menu-toggle-active .bp-hamburger {
  background: transparent;
}

.bp-menu-toggle-active .bp-hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.bp-menu-toggle-active .bp-hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Mobile Styles */
@media (max-width: 968px) {
  .bp-header {
    z-index: 1000;
  }
  
  .bp-header-inner {
    padding: 12px 0;
  }
  
  .bp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bp-bg);
    padding: 80px 0 40px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    overflow-y: auto;
  }
  
  [dir="rtl"] .bp-nav {
    transform: translateX(-100%);
  }
  
  .bp-nav.bp-nav-menu-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .bp-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .bp-nav-item {
    border-bottom: 1px solid var(--bp-border);
    margin: 0;
  }
  
  .bp-nav-item:first-child {
    border-top: 1px solid var(--bp-border);
  }
  
  .bp-nav-link {
    display: block;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 500;
    color: var(--bp-text);
    text-align: left;
  }
  
  [dir="rtl"] .bp-nav-link {
    text-align: right;
  }
  
  .bp-nav-link:hover {
    background: var(--bp-card-bg);
  }
  
  .bp-nav-link::after {
    display: none;
  }
  
  .bp-mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 999;
  }
  
  /* Hide CTA button on mobile */
  .bp-header-cta {
    display: none !important;
  }
  
  .bp-header-actions {
    gap: 8px;
  }
  
  .bp-theme-toggle,
  .bp-lang-switch {
    width: 36px;
    height: 36px;
    font-size: 14px;
    z-index: 999;
  }
  
  .bp-mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .bp-logo-img {
    height: 40px;
  }
  
  .bp-header-inner {
    padding: 12px 0;
  }
}

