/* ============================================================
   1. TRC BRAND TOKENS
   ============================================================ */
:root {
  --bg: #FAF7F2;          /* Light Cream */
  --text-dark: #3E2F24;   /* Deep Roast Brown */
  --accent: #8b5e3c;      /* Mountain Bark Brown */
  --gold: #C6923C;        /* Golden Saddle */
  --copper: #D17F3F;      /* Burnt Copper */
  --white: #FFFFFF;
}

/* ============================================================
   2. GLOBAL LAYOUT & TYPOGRAPHY
   ============================================================ */
html, body {
  max-width: 100%;
  overflow-x: hidden; 
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ============================================================
   3. NAVBAR COMPONENTS (FIXED FOR CONTACT PAGE)
   ============================================================ */
#navbar-container .navbar {
  background-color: var(--text-dark); /* Solid brown for visibility */
  position: relative;                 /* Stays at top, pushes content down */
  width: 100%;
  box-sizing: border-box; 
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

#navbar-container .brand-toggle-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

#navbar-container .nav-logo {
  max-height: 50px;
  width: auto;
}

#navbar-container .brand-divider {
  color: var(--gold);
  font-weight: bold;
  font-size: 1.5rem;
}

#navbar-container .cv-logo-inactive {
  max-height: 40px;
  width: auto;
  opacity: 0.8;
}

#navbar-container .nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

#navbar-container .nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

#navbar-container .nav-links a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* --- Animated Hamburger --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
}

/* ============================================================
   4. SHARED UI (CLEANED)
   ============================================================ */
footer {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.875rem;
  color: #777;
  background: #f1ede6;
}

/* ============================================================
   5. RESPONSIVE (MOBILE) ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  #navbar-container .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; 
    right: 20px; 
    min-width: 180px;
    background-color: rgba(62, 47, 36, 0.98); 
    padding: 1rem;
    text-align: right; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  #navbar-container .nav-links.active { display: flex; }
}