/* SNSYS Brand Website - Navigation & Footer Styles */

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--gutter);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 26px;
  transition: opacity 0.3s;
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a,
.nav-link-about {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 450;
  color: var(--text-secondary);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-link-about:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav-links a.nav-active,
.nav-link-about.nav-active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav-drawer.open {
  right: 0;
}

.drawer-content {
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-content a {
  font-size: 1.1rem;
  font-weight: 450;
  color: var(--text-secondary);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.drawer-content a:hover,
.drawer-content a.nav-active {
  color: var(--accent);
}

.drawer-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.nav-drawer.open ~ .nav-overlay {
  display: block;
}

@media (max-width: 1100px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: var(--section-pad);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
