/* Shared site header + footer styles.
   Markup lives in content/_includes/header.njk and footer.njk (single source).
   Scoped under .site-header / .site-footer so they win over older per-page rules. */

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
}

.site-header .header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0;
}

.site-header .logo-container {
  display: flex;
  align-items: center;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-header .logo {
  width: 44px;
  height: 44px;
  margin: 0;
}

.site-header .brand-name {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #5B2BC9;
}

.site-header .brand-name span {
  color: #FF9500;
}

.site-header .nav-menu {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.site-header .nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #666666;
  background: none;
  transition: all 0.2s ease;
}

.site-header .nav-item:hover,
.site-header .nav-item.active {
  background-color: #FAFAFA;
  color: #5A3F84;
}

.site-header .nav-item:hover {
  transform: translateY(-1px);
}

.site-header .nav-item i {
  font-size: 17px;
  color: #1F1640;
  margin: 0;
}

.site-header .nav-item span {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 16px;
  }

  .site-header .header-content {
    height: 64px;
  }

  .site-header .nav-menu {
    gap: 2px;
  }

  .site-header .nav-item {
    padding: 8px 10px;
  }

  .site-header .nav-item span {
    display: none;
  }

  .site-header .brand-name {
    font-size: 20px;
  }

  .site-header .logo {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand-name {
    font-size: 17px;
  }

  .site-header .logo {
    width: 34px;
    height: 34px;
  }

  .site-header .nav-item {
    padding: 8px 7px;
  }
}

/* ===== Shared site footer (content/_includes/footer.njk) =====
   Scoped under .site-footer so older per-page "footer ..." rules can't restyle it. */

.site-footer {
  background: #5A3F84;
  color: #FFFFFF;
  padding: 40px 24px;
  text-align: center;
  margin: 0;
}

.site-footer .site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: block;
}

.site-footer .site-footer-logo {
  width: 56px;
  height: 56px;
  padding: 3px;
  margin: 0 auto 16px;
  display: block;
  background: #FFFFFF;
  border-radius: 50%;
  filter: none;
}

.site-footer .site-footer-tagline {
  margin: 0 0 20px;
  opacity: 0.9;
  color: #FFFFFF;
  font-size: 1rem;
}

.site-footer .site-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 20px;
}

.site-footer .site-footer-links a,
.site-footer .site-footer-social a {
  color: #FF9500;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.site-footer .site-footer-links a:hover,
.site-footer .site-footer-social a:hover {
  opacity: 0.8;
}

.site-footer .site-footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-footer .site-footer-social a {
  font-size: 20px;
}
