/* Add these new and updated styles to /assets/css/style.css */

:root {
  --mqv-blue: #1a8ab9;
  --mqv-blue-light: #e6f4f9;
  --mqv-blue-dark: #136a92;
}

body {
  font-family: sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
}

/* --- Header --- */
.site-header {
  background: linear-gradient(135deg, var(--mqv-blue) 0%, var(--mqv-blue-dark) 100%);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  margin-left: -2rem;
  margin-right: -2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(26, 138, 185, 0.15);
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-title {
  font-size: 1.8rem;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

main {
  padding: 0 2rem 2rem 2rem;
}

/* --- Introduction Section --- */
.intro-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e4e8;
}

.intro-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--mqv-blue);
}

.intro-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #586069;
  margin: 0;
}

/* --- Components Section --- */
.components-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e1e4e8;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: var(--mqv-blue);
}

.component-grid {
  display: grid;
  /* Creates 3 columns of equal width. Change '3' to your liking. */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* The space between the boxes */
}

.component-box {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e4e8;
  /* Use flexbox to easily space out header, body, and footer */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

/* --- Header --- */
.component-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 15px;
  gap: 5px;
}

.component-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--mqv-blue-dark);
}

.component-links {
  display: flex;
  flex-direction: row;
}

.component-links a {
  font-size: 0.9rem;
  text-decoration: none;
  margin-right: 8px;
  color: var(--mqv-blue);
  font-weight: 500;
}

.component-links a:hover {
  color: var(--mqv-blue-dark);
  text-decoration: underline;
}

.github-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #586069;
}

.github-stars .stars-icon {
  font-size: 0.9rem;
}

.github-stars .stars-count {
  font-weight: 600;
}

/* --- Body --- */
.component-body {
  flex-grow: 1; /* Allows the body to take up available space */
  line-height: 1.6;
  color: #333;
}

/* --- Footer & Tags --- */
.component-footer {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.component-maintainers span {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

.component-tags {
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 12px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.language {
  background-color: var(--mqv-blue-light);
  color: var(--mqv-blue-dark);
  border: 1px solid var(--mqv-blue);
}

.framework {
  background-color: #f7ebb1;
  color: #d46b08;
  border: 1px solid #d46b08;
}
