/* Header specific styles to ensure perfect pixel-for-pixel visual consistency across all pages */

/* Logo & Header Section */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Unified logo styling - one visual unit with no separation */
.header-logo a {
  text-decoration: none;
  white-space: nowrap; /* Prevent line breaks */
  letter-spacing: normal; /* Use normal letter spacing */
  color: #111827; /* Primary dark color */
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
  display: inline-block;
  line-height: 1;
  font-family: var(--font-heading);
  transition: color 0.2s ease;
}

.header-logo a:hover {
  color: #1e3a8a; /* Brand blue on hover */
}

/* Navigation */
.header-nav {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  position: relative;
}

/* Hover effect using primary brand blue with consistent styling */
.nav-link:hover {
  color: #1e3a8a; /* Primary brand blue */
  background-color: rgba(30, 58, 138, 0.05); /* More subtle background */
  transform: translateY(-2px);
}

/* Active state styling */
.nav-link.active {
  color: #1e3a8a; /* Primary brand blue */
  background-color: rgba(30, 58, 138, 0.05); /* More subtle background that matches hover */
  font-weight: 600;
}

/* Consistent bottom border for nav links */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #1e3a8a;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .header-container {
    padding: var(--space-3) 0;
  }
  
  .header-nav {
    gap: var(--space-2);
  }
  
  .nav-link {
    padding: var(--space-2);
    font-size: 0.875rem;
  }
  
  .logo-goud, .logo-plevier, .logo-ai {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 576px) {
  .header-logo {
    font-size: 1.25rem;
  }
  
  .header-nav {
    gap: var(--space-1);
  }

  .nav-link {
    padding: var(--space-1) var(--space-2);
    font-size: 0.75rem;
  }
  
  .logo-goud, .logo-plevier, .logo-ai {
    font-size: 1.1rem;
  }
}
