/* ===== HEADER COMPONENT STYLES ===== */
.header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 1000;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5px 5px;
  width: 100%;
}

.logo-section {
  display: flex;
  flex-direction: column;
}

.logo {
  color: black;
  margin: 0px;
}

.logo img {
  height: 50px;
}

.tagline {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #666;
  text-transform: uppercase;
}

.main-nav {
  position: relative;
}

.nav-menu {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: rgba(0,0,0,0.02);
}

.nav-menu a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: black;
}

.nav-menu a.active {
  font-weight: 500;
}

/* Products Dropdown */
.products-dropdown {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: #E8E6E1;
  border-bottom: 1px solid #e5e5e5;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 100vw;
  
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1001;
}

.nav-item:hover .products-dropdown {
  opacity: 1;
  visibility: visible;
  animation: dropdownFadeIn 0.3s ease forwards;
}

.dropdown-content {
  padding: 0px 0;
  background: #E8E6E1;
  width: 100%;
}

.dropdown-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a {
  color: #666;
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 15px 0;
  display: block;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: black;
}

.dropdown-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-arrow span {
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dropdown-arrow:hover span {
  transform: translateX(3px);
  color: black;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1002;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: black;
  margin: 2px 0;
  transition: 0.3s;
  display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e5e5e5;
  padding: 20px 40px;
  z-index: 1001;
  width: 100%;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block !important;
  animation: slideDown 0.3s ease-out;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 15px;
}

.mobile-nav a {
  color: #666;
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  padding: 12px 0;
  transition: color 0.3s ease;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-nav a:hover {
  color: black;
}

.mobile-products-menu {
  background: #f8f8f8;
  padding: 15px;
  margin-top: 10px;
  border-radius: 4px;
  display: none;
}

.mobile-products-menu.active {
  display: block;
}

.mobile-products-menu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-products-menu a {
  font-size: 9px;
  color: #666;
  padding: 8px 0;
  border-bottom: none;
}

/* Animations */
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design for Header */
@media (max-width: 1024px) {
  .nav-menu {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 20px;
  }
  
  .logo {
    font-size: 20px;
  }
  
  .tagline {
    font-size: 7px;
  }
  
  .mobile-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 15px;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .dropdown-menu {
    gap: 20px;
    padding: 0 20px;
  }
  
  .mobile-nav {
    padding: 20px 15px;
  }
}