/* ================================================
   PIXEL HUB HOST – Header + Footer (Dark Blue Theme)
   Shared across all pages. Single source of truth.
   ================================================ */

/* TOPBAR */
.phh-topbar {
  width: 100%;
  padding: 8px 20px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  background: #102136;
  border-bottom: 1px solid rgba(56,189,248,0.10);
  text-align: center;
}

/* HEADER */
.phh-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  background: #0f172a;
  border-bottom: 1px solid rgba(56,189,248,0.10);
}
.phh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: relative;
}
.phh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f7fa;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .2px;
  text-decoration: none;
  white-space: nowrap;
}
.phh-logo:hover { text-decoration: none !important; }
.phh-logo img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
}
.phh-logo span { font-size: 17px; }

/* NAV */
.phh-nav { margin: 0; }
.phh-menu {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.phh-menu a {
  color: #f5f7fa;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 4px;
  transition: color .2s;
  font-family: "AR One Sans", system-ui, sans-serif;
}
.phh-menu a i, .phh-mobile-menu a i { color: #38bdf8; }
.phh-menu a:hover, .phh-menu a:focus-visible { color: #38bdf8; }

/* BURGER */
.phh-burger {
  margin-left: 8px;
  display: none;
  background: transparent;
  border: 1px solid rgba(56,189,248,0.10);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.phh-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f5f7fa;
  margin: 3px 0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.phh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.phh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.phh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* MOBILE MENU */
.phh-mobile {
  background: #0f172a;
  border-bottom: 1px solid rgba(56,189,248,0.10);
}
.phh-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 8px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phh-mobile-menu a {
  display: block;
  padding: 12px 10px;
  color: #f5f7fa;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}
.phh-mobile-menu a:hover { background: rgba(56,189,248,0.06); color: #38bdf8; }

/* SCROLL SHRINK */
body.phh-scrolled .phh-container { padding-top: 14px; padding-bottom: 14px; }
body.phh-scrolled .phh-logo img { width: 44px; height: 44px; }

/* FOOTER */
.phh-footer {
  background: #0b1120;
  border-top: 1px solid rgba(56,189,248,0.10);
  padding: 50px 20px 20px;
  color: #94a3b8;
}
.phh-foot-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.phh-foot-brand { flex: 1; min-width: 260px; }
.phh-foot-brand .phh-logo img { width: 55px; height: 55px; border-radius: 8px; }
.phh-foot-brand p { color: #94a3b8; margin-top: 12px; font-size: 14px; line-height: 1.5; }
.phh-foot-links { flex: 1; min-width: 160px; }
.phh-foot-links h4 { color: #38bdf8; font-size: 15px; margin-bottom: 12px; }
.phh-foot-links a { color: #f5f7fa; display: block; margin-bottom: 6px; font-size: 14px; transition: color .2s; text-decoration: none; }
.phh-foot-links a:hover { color: #38bdf8; }
.phh-foot-social h4 { color: #38bdf8; font-size: 15px; margin-bottom: 12px; }
.phh-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(56,189,248,0.06);
  transition: 0.3s;
  text-decoration: none;
}
.phh-socials a img { width: 24px; height: 24px; filter: drop-shadow(0 0 6px rgba(56,189,248,0.3)); }
.phh-socials a:hover { background: #1E8FD6; transform: scale(1.05); box-shadow: 0 0 10px rgba(56,189,248,0.4); }
.phh-copy {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  margin-top: 40px;
  border-top: 1px solid rgba(56,189,248,0.10);
  padding-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .phh-menu { display: none; }
  .phh-burger { display: flex; width: 48px; height: 48px; }
  .phh-burger span { width: 24px; height: 2px; margin: 4px 0; }
  .phh-foot-container { flex-direction: column; align-items: center; text-align: center; }
}
