/* style.css */
:root {
  --bg: #1a1a1a;
  --text: #e0e0e0;
  --accent: #00ff88;
  --card: #2d2d2d;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

h1 { color: var(--accent); font-size: 2.5rem; }

/* The Index/Grid Layout */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

.page-card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border 0.2s;
  border: 1px solid transparent;
  text-align: center;
}

.page-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
/* Navigation Bar Styling */
.navbar {
  width: 100%;
  background: rgba(45, 45, 45, 0.95); /* Semi-transparent card color */
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(10px); /* Modern frosted glass effect */
  border-bottom: 1px solid var(--accent);
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Adjust body padding so content doesn't hide under the navbar */
body {
  padding-top: 100px; 
}
