/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid #EDE8E2;
  background: #FFFFFF;
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 53px;
  margin-right: 53px;
}

/* Logo */
.logo {
  flex-shrink: 0;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Navigation tabs */
.nav-tabs {
  display: flex;
  gap: 25px;
  margin-left: auto;
  margin-right: 213px;
}

.nav-tab {
  color: #A1A7B3;
  font-family: "Chewie DEMO";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px; /* 162.5% */
  transition: all 0.2s ease;
  position: relative;
  padding-bottom: 5px;
  text-decoration: none;
}

.nav-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ECA455;
  transition: width 0.3s ease;
}

.nav-tab:hover {
  color: #252A34;
}

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

.nav-tab.active {
  color: #252A34;
}

.nav-tab.active::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* Header Buttons */
.header-btn {
  padding: 13px 30px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
}

.header-btn-outline {
  color: #181514;
  border-color: #181514;
  background: transparent;
}

.header-btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.header-btn-primary {
  background: #ECA455;
  color: #181514;
  border-color: #181514;
}

.header-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Hamburger button - hidden on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #252A34;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  display: block;
  opacity: 1;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #EDE8E2;
}

.mobile-drawer-header .logo-img {
  height: 32px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #252A34;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-close:hover {
  color: #ECA455;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.mobile-nav-link {
  color: #A1A7B3;
  font-family: "Chewie DEMO";
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  color: #252A34;
  background: #FDF8F3;
}

.mobile-nav-link.active {
  color: #252A34;
  border-left-color: #ECA455;
  background: #FDF8F3;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 1.5rem;
  margin-top: auto;
  border-top: 1px solid #EDE8E2;
}

.mobile-drawer-actions .header-btn {
  width: 100%;
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .header-content {
    margin-left: 20px;
    margin-right: 20px;
  }

  .nav-tabs {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}
