/* =====================================================================
   SHARED MENU + FOOTER STYLING for teachersadvisor.com
   Every page loads this one file. Edit here to change how the menu or
   footer LOOK on all pages at once. (Their wording lives in
   src/_includes/header.njk and footer.njk.)
   Uses the color/font variables (--navy, --gold, etc.) that each page
   defines at the top of its own styles.
   ===================================================================== */

/* ── NAV ── */
nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-light); padding: 0 2rem; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--navy); text-decoration: none; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 9px 22px; border-radius: 4px; font-weight: 600 !important; font-size: 13px !important; letter-spacing: 0.4px; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
/* The Get Started button turns navy on the Get Started page ("you are here") */
.nav-cta.active { background: var(--navy) !important; color: var(--white) !important; }
/* Current page's name in the menu: bold gold. (No plain menu link is a
   separate page today; this is ready if you add pages to the menu.) */
.nav-links a.active:not(.nav-cta),
.mobile-menu a.active:not(.nav-cta) { color: var(--gold); font-weight: 700; }

/* ── MOBILE MENU (hamburger) ── */
.hamburger { display: none; }
.mobile-menu { display: none; }
/* The menu switches to the hamburger icon at 900px wide and below.
   To change the switch point, change the number in the next line. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; border-radius: 6px; }
  .hamburger:hover { background: var(--gray-light); }
  .hamburger span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform 0.2s, opacity 0.2s; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--gray-light);
    padding: 8px 0 16px;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: var(--white);
    z-index: 99;
  }
  .mobile-menu.open { display: flex !important; }
  .mobile-menu a { padding: 14px 4px; font-size: 14.5px; font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gray-light); }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--gold); background: var(--off-white); }
  .mobile-menu a.nav-cta { margin-top: 8px; text-align: center; border-radius: 4px; }
}

/* ── FOOTER ── */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 48px 2rem 36px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px; }
.footer-logo-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-tagline { font-size: 11px; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.footer-about { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-col-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.8); font-weight: 600; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.3); line-height: 1.6; margin-top: 16px; }
.footer-disclaimer a { color: rgba(255,255,255,0.45); text-decoration: underline; }
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
