:root {
  --bg-dark: #0f172a;
  --bg-card: #111827;
  --accent: #38bdf8;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --glow-color: rgba(56, 189, 248, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

header {
  padding: 4rem 2rem 2rem;
  max-width: 1100px;
  margin: auto;
}

header h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
}

nav {
  margin: 1em auto 3em auto;
  display: flex;
  gap: 3rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  align-items: center;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  transition: transform 3s ease, box-shadow 3s ease, scale 3s ease;
}

.project-card:hover {
  transform: translateY(-4px); /* Slight lift on hover */
  box-shadow: 0 0px 40px var(--glow-color);
  scale: 1.05;

}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tech {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
} 

.links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-right: 1rem;
}

.links a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid #1f2937;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2.2rem;
  }
}
