/* 
 * ==========================================
 * COMPONENT: Site Header
 * ==========================================
 */

/* 1. Container & Layout */
.d1-site-header {
  background-color: rgba(255, 255, 255, 0.9); /* Translucid for modern feel */
  border-bottom: 1px solid var(--dig-color-border);
  backdrop-filter: blur(8px); /* The "Glassmorphism" effect */
  position: sticky;
  top: 0;
  z-index: var(--dig-z-index-sticky);
  width: 100%;
}

.d1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--dig-header-height, 70px);
  padding-top: 0;
  padding-bottom: 0;
}

/* 2. Branding (Logo) */
.d1-branding {
  flex-shrink: 0;
  margin-right: var(--dig-spacing-xl);
}

.d1-logo-text {
  font-family: var(--dig-font-primary);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dig-color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* 3. Navigation (Desktop) */
.d1-header-nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between; /* Pushes Menu to left, Actions to right */
}

.d1-nav-list {
  display: none; /* Mobile first: Hidden by default */
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--dig-spacing-lg);
}

.d1-nav-list a {
  text-decoration: none;
  color: var(--dig-color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.d1-nav-list a:hover {
  color: var(--dig-color-primary);
}

/* 4. Actions (Buttons) */
.d1-header-actions {
  display: none; /* Hidden on mobile by default, or maybe flex? let's see media query */
  align-items: center;
  gap: var(--dig-spacing-sm);
}

/* 5. Mobile Toggle */
.d1-mobile-toggle {
  display: flex;
  background: none;
  border: none;
  padding: var(--dig-spacing-xs);
  cursor: pointer;
  color: var(--dig-color-text);
}

/* --- RESPONSIVE: DESKTOP (lg breakpoint) --- */
@media (min-width: 992px) {
  .d1-nav-list {
    display: flex; /* Show menu */
  }

  .d1-header-actions {
    display: flex; /* Show buttons */
  }

  .d1-mobile-toggle {
    display: none; /* Hide hamburger */
  }
}

