/* style.css */
:root {
  --bg: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22d3ee;
  --border: #1f2937;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(15,23,42,0.85);
  backdrop-filter: saturate(180%) blur(6px);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.logo {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  color: #0b1020;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 18px;
  padding-bottom: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover, .nav a.active {
  color: var(--text);
  background: #0b1222;
  outline: 1px solid #16243f;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.highlights,
.list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

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

.project {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #0e1425;
}

.project h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  color: #0b1020;
  font-weight: 700;
  border: 1px solid #16243f;
  transition: transform 0.06s ease-in-out, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

/* Architecture diagram styling */
.diagram {
  margin: 10px 0 18px;
}
.diagram img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.diagram figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 6px;
  text-align: center;
}

