/* BlankSlate Grav
   Minimal reset + base typography */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

html, body {
  height: 100%;
}

body.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1; /* this pushes the footer to the bottom */
}

/* --- Navbar --- */
.site-header {
  width: 100%;
  background: #000;
  color: #fff;
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.site-title__link {
  color: #fff;
  text-decoration: none;
}

.site-title__link:hover {
  color: #d6d6d6;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav__link {
  color: #fff;
  text-decoration: none;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;

  padding: 10px 6px;
  border-radius: 8px;

  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav__link:hover {
  color: #111;
  background: #f5d90a; /* warm yellow */
}

.site-nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

/* --- Main content wrapper --- */
main {
  width: 100%;
  max-width: 960px;

  margin-left: auto;
  margin-right: auto;

  padding-left: 0.5em;
  padding-right: 0.5em;
}

/* Tablet / desktop */
@media (min-width: 768px) {
  main {
    padding-left: 1em;
    padding-right: 1em;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  main {
    max-width: 1100px;
  }
}

/* --- Hamburger button (hidden on desktop) --- */
.site-nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  margin: 0;
  cursor: pointer;
}

.site-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* --- Mobile nav behavior --- */
@media (max-width: 767px) {
  .site-nav__toggle {
    display: inline-block;
  }

  /* Hide the menu by default on mobile */
  .site-nav {
    display: none;
    width: 100%;
  }

  /* When open, show menu under header row */
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 12px;
  }

  .site-nav__link {
    width: 100%;
    padding: 12px 10px;
  }
}

/* --- Footer --- */
.site-footer {
  width: 100%;
  background: #000;
  color: #fff;
  margin-top: 4em;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;

  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.site-footer__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.site-footer__details p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e6e6e6;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #f5d90a; /* same yellow as navbar */
}

.site-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav-item a {
  font-size: 14px;
  font-weight: 600;
}

/* Mobile stacking */
@media (max-width: 767px) {
  .site-footer__inner {
    flex-direction: column;
  }
}
