/*
 * Copyright (c) 2026 Spectral Labs LLC
 * Author: Aaron Tarajos
 * All rights reserved.
 */

/* Layout Components - Navigation, Footer, Container, Page */

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 5, 0.7);
  border-bottom: 1px solid var(--gray-border);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 28px;
}

.nav-logo svg {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green-accent);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--white);
}

/* Page and Container */
.page {
  min-height: 100vh;
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--gray-border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #555;
}

footer a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--white);
}

/* Responsive Layout */
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .container {
    padding: 0 1.5rem;
  }

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