/* ---------------------------------------------------------- */
/* 0. Font - MesloLGM Nerd Font Propo (self-hosted)          */
/* ---------------------------------------------------------- */
@font-face {
    font-family: "MesloLGM Nerd Font Propo";
    src: local("MesloLGM Nerd Font Propo"),
         local("MesloLGMNerdFontPropo-Regular"),
         url("../fonts/MesloLGMNerdFontPropo-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "MesloLGM Nerd Font Propo";
    src: local("MesloLGM Nerd Font Propo Bold"),
         local("MesloLGMNerdFontPropo-Bold"),
         url("../fonts/MesloLGMNerdFontPropo-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

body, html, .md-typeset {
    font-family: "MesloLGM Nerd Font Propo", sans-serif;
}


/* ---------------------------------------------------------- */
/* 1. Custom UI Overrides (Buttons)                          */
/* ---------------------------------------------------------- */
.md-typeset .md-button:hover {
  background-color: var(--md-primary-fg-color);
  border-color: var(--md-primary-fg-color);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.md-typeset .md-button--primary:hover {
  background-color: #2e5de0;
  border-color: #2e5de0;
}

/* ---------------------------------------------------------- */
/* 2. Navigation Bar Styling                                 */
/* ---------------------------------------------------------- */
.md-tabs {
  background: linear-gradient(90deg, #1e3a8a 0%, #11214e 100%);
  height: auto;
}

.md-tabs__list {
  justify-content: left;
}

.md-tabs__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.900);
  transition: all 0.3s ease;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  margin-top: 0;
  height: auto;
}

.md-tabs__link:hover,
.md-tabs__link--active {
  opacity: 1;
  color: #ffffff;
}

.md-tabs__link:hover {
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
  transform: translateY(-1px);
}

.md-tabs__link--active {
   font-weight: bold;
}

/* ---------------------------------------------------------- */
/* 3. Header Logo Spacing                                     */
/* ---------------------------------------------------------- */
.md-header__button.md-logo {
    margin-right: 0rem;
}

.md-header__title {
    align-items: left;
}

/* ---------------------------------------------------------- */
/* 4. Ultra-Compact Engineering Typography Scale             */
/* ---------------------------------------------------------- */
.md-typeset {
  font-size: 0.75rem; /* Ultra-Compact for Nerd Fonts */
  line-height: 1.6;
}

.md-typeset h1 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.md-typeset h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-wrap: balance;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.md-typeset h3 {
  font-size: 1.0rem;
  font-weight: 600;
}
