/* layout.css - Header, navigation, sidebar and main content layout */

/* ============== HEADER ============== */
.header {
  background: rgba(20, 21, 26, 0.95);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: var(--border-style);
  transition: transform 0.3s ease;
}

.header.nav-up {
  transform: translateY(-100%);
}

.header nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary-color);
  text-decoration: none;
}

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

.header nav ul a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header nav ul a:hover {
  color: var(--primary-color);
}

/* ============== CATEGORIES ============== */
.categories-bar {
  display: none; /* Hide the original sidebar */
}

.categories-section {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
  justify-content: center;
  background: rgba(20, 21, 26, 0.9);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.category-item {
  display: flex;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: rgba(20, 21, 26, 0.8);
  font-size: 0.9rem;
}

.category-item:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.category-item i {
  margin-right: 6px;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.category-item .count {
  margin-left: 6px;
  background: rgba(255, 215, 0, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 8px;
  font-size: 0.7rem;
}

/* "All Products" button */
.category-item[data-category="all"] {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  margin-bottom: 0;
}

.category-item[data-category="all"]:hover,
.category-item[data-category="all"].active {
  background: #FFD700;
  color: #000;
}

.category-item[data-category="all"] i {
  color: #FFD700;
}

.category-item[data-category="all"]:hover i,
.category-item[data-category="all"].active i {
  color: #000;
}

.category-item[data-category="all"] .count {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

.category-item[data-category="all"]:hover .count,
.category-item[data-category="all"].active .count {
  background: #000;
  color: #FFD700;
}

/* ============== MAIN CONTENT ============== */
.main-content {
  margin-left: 0;
  padding: 80px 2rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}