/* Geist font */
@import url('https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-sans/style.min.css');
@import url('https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-mono/style.min.css');

:root {
  --md-text-font: "Geist Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --md-code-font: "Geist Mono", monospace;
}

/* Navarch docs theme */

/* Headings - bolder weight and proper color */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  font-weight: 700;
  color: var(--md-default-fg-color);
}

/* Clean header with subtle border */
.md-header {
  background-color: var(--md-default-bg-color);
  color: var(--md-default-fg-color);
  box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

[data-md-color-scheme="slate"] .md-header {
  background-color: var(--md-default-bg-color);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1);
}

/* Header title styling */
.md-header__title {
  font-weight: 500;
}

/* Navigation tabs styling */
.md-tabs {
  background-color: var(--md-default-bg-color);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

[data-md-color-scheme="slate"] .md-tabs {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.md-tabs__link {
  font-weight: 500;
  opacity: 0.7;
}

.md-tabs__link--active {
  opacity: 1;
  border-bottom: 2px solid var(--md-primary-fg-color);
}

/* Sidebar styling */
.md-nav__title {
  font-weight: 500;
}

.md-nav__link {
  font-size: 0.85rem;
}

/* Content area - match ADK docs proportions */
.md-content__inner {
  max-width: 50rem;
  margin: 0 auto;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media screen and (min-width: 76.25em) {
  .md-content__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Code blocks */
.highlight code {
  font-size: 0.8125rem;
}

/* Images */
.md-typeset img {
  max-width: 100%;
}

/* Admonitions - cleaner style */
.admonition {
  border-radius: 4px;
  border-left-width: 4px;
}


/* Tables */
.md-typeset table:not([class]) {
  font-size: 0.85rem;
}

/* Footer */
.md-footer {
  background-color: var(--md-default-bg-color);
  border-top: 1px solid rgba(0,0,0,0.1);
}

[data-md-color-scheme="slate"] .md-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Grid cards for landing page - max 3 columns */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

@media screen and (max-width: 900px) {
  .grid.cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .grid.cards {
    grid-template-columns: 1fr;
  }
}

.grid.cards > ul {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid.cards > ul > li {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.grid.cards > ul > li:hover {
  border-color: var(--md-primary-fg-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

[data-md-color-scheme="slate"] .grid.cards > ul > li {
  border-color: rgba(255,255,255,0.1);
}

[data-md-color-scheme="slate"] .grid.cards > ul > li:hover {
  border-color: var(--md-primary-fg-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.grid.cards > ul > li > p:first-child {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Make entire card clickable */
.grid.cards > ul > li {
  position: relative;
}

.grid.cards > ul > li > p:first-child a {
  text-decoration: none;
  color: inherit;
}

.grid.cards > ul > li > p:first-child a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.grid.cards > ul > li hr {
  margin: 0.75rem 0;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
}

[data-md-color-scheme="slate"] .grid.cards > ul > li hr {
  border-top-color: rgba(255,255,255,0.1);
}

/* Icon sizing in cards */
.grid.cards .lg {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.grid.cards .middle {
  vertical-align: middle;
}

/* Home page slightly wider for cards */
.md-content--home .md-content__inner {
  max-width: 56rem;
}

/* Mobile hero adjustments */
@media screen and (max-width: 600px) {
  .md-content__inner > div:first-child {
    padding: 1.5rem 1rem 1rem !important;
  }
  .md-content__inner > div:first-child img {
    width: 80px !important;
    margin-bottom: 1rem !important;
  }
  .md-content__inner > div:first-child h1 {
    font-size: 2rem !important;
  }
  .md-content__inner > div:first-child > p:nth-of-type(1) {
    font-size: 1.125rem !important;
  }
  .md-content__inner > div:first-child > p:nth-of-type(2) {
    font-size: 0.875rem !important;
    margin-bottom: 1.5rem !important;
  }
}

