/*  ═══════════════════════════════════════════════════════════════════
 *  Click IT Connect — shell.css
 *  Shared header & footer styles for all pages.
 *  Loaded alongside shell.js on every page.
 *  ───────────────────────────────────────────────────────────────────
 *  PROPRIETARY AND CONFIDENTIAL — Motherboard, Inc.
 *  Protected under the Defend Trade Secrets Act (18 U.S.C. § 1836).
 *  Unauthorized use, reproduction, or distribution is prohibited.
 *  Contact: legal@bymotherboard.com
 *  ═══════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════ */
/* HEADER                                                            */
/* ══════════════════════════════════════════════════════════════════ */
#connect-header-slot {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.connect-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease;
}
.connect-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,35,75,0.15);
}
.connect-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height 0.35s ease;
}
.connect-header.scrolled .connect-header-inner {
  height: 64px;
}

/* ── Logo (white pill so it pops on navy) ─────────────────────── */
.connect-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  background: rgba(255,255,255,0.92);
  padding: 8px 18px 8px 10px;
  border-radius: 10px;
  transition: padding 0.35s ease;
}
.connect-header.scrolled .connect-logo {
  padding: 4px 12px 4px 6px;
}
.connect-logo-img {
  height: 80px;
  width: auto;
  transition: height 0.35s ease;
}
.connect-header.scrolled .connect-logo-img {
  height: 38px;
}

/* ── Navigation ───────────────────────────────────────────────── */
.connect-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.connect-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.15s;
  text-decoration: none;
}
.connect-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.connect-nav-active {
  color: #fff !important;
}

/* ── Header CTA ───────────────────────────────────────────────── */
.connect-header-cta {
  background: var(--green);
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.connect-header-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(129,215,66,0.3);
}

/* ── Mobile toggle ────────────────────────────────────────────── */
.connect-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.connect-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}

/* ══════════════════════════════════════════════════════════════════ */
/* FOOTER                                                            */
/* ══════════════════════════════════════════════════════════════════ */
.connect-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}
.connect-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}
.connect-footer .connect-logo {
  background: rgba(255,255,255,0.92);
  padding: 4px 10px 4px 5px;
  border-radius: 8px;
}
.connect-footer .connect-logo-img {
  height: 36px;
}
.connect-footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.7;
}
.connect-footer-address {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.7;
}
.connect-footer-phone {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}
.connect-footer-phone a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.connect-footer-phone a:hover {
  color: var(--green);
}
.connect-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.connect-footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.connect-footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  text-decoration: none;
}
.connect-footer-col a:hover {
  color: var(--green);
}
.connect-footer-legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  opacity: 0.5;
  text-align: center;
}
.connect-footer-legal a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                        */
/* ══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .connect-nav,
  .connect-header-cta {
    display: none;
  }
  .connect-mobile-toggle {
    display: flex;
  }
  .connect-nav.connect-nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
    transition: top 0.35s ease;
  }
  .connect-header.scrolled .connect-nav.connect-nav-open {
    top: 64px;
  }
  .connect-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .connect-footer-links {
    grid-template-columns: 1fr;
  }
}
