/* Common styles for NGAFTA website */

/* Base styles */
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* Navigation styles */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: black;
}

.nav-logo-box {
  width: 2rem;
  height: 2rem;
  background: black;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-text {
  font-weight: 600;
  font-size: 1.125rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #4B5563;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: black;
}

/* Mobile menu styles */
.mobile-menu-button {
  display: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #4B5563;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: black;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
}