/* ===================== HEADER ===================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background-color: var(--nav-bg);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  color: var(--text-color);
  border: none;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}
.site-nav a {
  font-size: 1.1rem;        /* Bigger text for desktop */
  font-weight: 500;         /* Makes it a bit bolder */
  padding: 0.5rem 0.75rem;  /* Comfortable spacing */
}

/* ===================== FOOTER ===================== */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--card-color);
  color: var(--text-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  font-size: 1rem;
}

.footer-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 1.5rem;
}

.footer-icons a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: var(--link-color);
}
.site-footer p {
  font-size: 1rem;
  text-align: center;
  margin: 0.5rem 0;
}
/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Ensure global scale */
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    font-size: 1rem;
  }

  .site-brand {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: inline-block;
    font-size: 1.5rem;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
  }

  .site-footer {
    font-size: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    line-height: 1.6;
  }

  .site-footer p {
    font-size: 1rem;
    margin: 0.5rem 0;
  }

  .footer-icons {
    font-size: 1.5rem;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .footer-icons a {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
  }

  .footer-icons a:hover {
    color: var(--link-color);
  }

.layout-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
}


.layout-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

