/* ========================================
   HEADER & NAVIGATION
   Desktop and mobile header styles
   ======================================== */

header {
  background: var(--header-bg);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1001;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

/* === LOGO === */
.header-left {
  flex: 0 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-light { display: none; }
.logo-dark { display: block; }

/* === DESKTOP NAVIGATION === */
.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-items {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header-items a {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.header-items a:hover {
  color: var(--accent-blue-light);
  text-decoration: none;
}

.header-items a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.header-items a:hover::after {
  width: 100%;
}

/* === HEADER RIGHT === */
.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-menu-toggle:hover {
  background: var(--bg-hover);
}

/* === ICON BUTTONS === */
.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.icon-btn:hover {
  background: var(--bg-hover);
}

.icon {
  width: 20px;
  height: 20px;
  filter: invert(1) brightness(1.5);
}

/* === FOOTER === */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--accent-blue-light);
  margin: 0 0.5rem;
}

footer a:hover {
  color: var(--accent-blue);
}
