@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --primary-navy: #0F172A;
  --accent-blue: #3B82F6;
}

/* Body background - mirror black gradient */
body {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* Navbar container */
.navbar {
  background-color: #000000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Navbar brand */
.navbar .brand {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffffff;
}

/* Navbar links */
.navbar .nav-links a {
  color: #eaeaea;
  margin-left: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

/* Hover effect - bright neon blue */
.navbar .nav-links a:hover {
  background-color: rgba(0, 123, 255, 0.2);
  color: #3b82f6; /* Tailwind’s blue-500 */
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

/* Active link stays blue */
.navbar .nav-links a.active {
  color: #3b82f6;
  font-weight: bold;
  border-bottom: 2px solid #3b82f6;
}


/* Page sections */
.page-section {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  background-color: #1F2937;
  border-radius: 0.75rem;
  margin-top: 2rem;
}
.page-title {
  font-size: 2rem;
  font-weight: 800;
  border-bottom: 4px solid var(--accent-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}
.page-text {
  color: #cbd5e1;
}

/* Buttons */
.btn-primary {
  background: var(--accent-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  margin: 0.5rem 0;
}
.btn-primary:hover {
  background: #2563eb;
}
.btn-secondary {
  background: #4b5563;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-align: center;
}
.btn-secondary:hover {
  background: #374151;
}

/* Project cards */
.project-card {
  background: #374151;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.project-card h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.project-card p {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}
.modal-backdrop.show {
  visibility: visible;
}
.modal-content {
  background: #1F2937;
  padding: 2rem;
  border-radius: 0.75rem;
  max-width: 400px;
  text-align: center;
}
/* Modal backdrop visibility & transitions */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 50;
}

/* When .show is present, make it visible */
.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* modalContent pop animation */
#modalContent {
  transition: transform 0.25s ease-in-out;
  transform-origin: center center;
}
