/* =========================
   HEADER STYLES (Typography-aligned)
   ========================= */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Container */
header {
  background-color: #ffffff;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-family: 'Assistant', sans-serif;
}

/* =========================
   NAVBAR LAYOUT (Desktop)
   ========================= */
.navbar {
  display: flex;
  flex-direction: column; /* Stack logo and nav vertically */
  align-items: center;
  padding: clamp(1rem, 1vw + 1rem, 2rem) 0; /* Top padding only for logo area */
}

/* --- Logo Section --- */
.logo {
  align-self: flex-start; /* Keep logo left-aligned */
  margin-left: clamp(1rem, 4vw, 4rem); /* Push logo slightly inward */
  margin-bottom: clamp(1.5rem, 2vw, 2.5rem); /* Space below logo before gold bar */
}

.logo img {
  height: clamp(100px, 10vw, 140px); /* 2× bigger than before */
  width: auto;
  border: none;
  background: none;
  display: block;
}

/* --- Navigation Line (Gold Bar) --- */
.navbar::after {
  content: "";
  display: block;
  width: 100%;
  height: clamp(0.5rem, 1vw, 0.75rem);
  background-color: #D4AF37; /* Gold divider between logo and nav */
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center; /* Center nav links under logo */
  gap: clamp(1.5rem, 2.5vw, 3.5rem);
  width: 100%;
  background-color: #D4AF37; /* Gold bar background */
  padding: clamp(0.75rem, 1vw, 1rem) 0;
  margin-top: 0;
  border-top: 1px solid #d4af37;
}

/* --- Navigation Links --- */
.nav-links a {
  text-decoration: none;
  color: #04218B; /* Blue text/buttons */
  font-weight: var(--fw-semibold);
  font-size: var(--font-base);
  transition: all 0.3s ease;
  line-height: var(--lh-tight);
  letter-spacing: 0.3px;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  background-color: transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff; /* White text */
  background-color: #D4AF37; /* Gold background on hover */
}

/* --- Keep header text consistent with global type scale --- */
header p,
header span,
header li,
header a {
  font-size: var(--font-base);
  line-height: var(--lh-normal);
  color: var(--color-body);
}
