/* Theme variables */
:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --text: #111111;
  --muted: #6b7280;
  --accent: #2962ff; /* Material Indigo A200-like */
  --border: #e5e7eb;
}

body.dark {
  --bg: #0b0b0c;
  --surface: #141416;
  --text: #f5f5f5;
  --muted: #9ca3af;
  --accent: #82b1ff;
  --border: #1f2937;
}

/* Base */
html, body {
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.nav-wrapper a, .sidenav a { color: var(--text); }

.transparent { background: transparent !important; }

.logo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
}

/* Sections */
.section { padding: 64px 0; }
.section-header { margin-bottom: 24px; }
.section-title { display: flex; align-items: center; margin: 0 0 4px 0; }
.section-subtitle { color: var(--muted); margin: 0; }

/* Hero */
.hero { padding: 96px 0 64px; }
.hero-title { font-weight: 700; letter-spacing: -0.5px; }
.hero-subtitle { color: var(--muted); font-size: 1.2rem; }
.hero-cta .btn, .hero-cta .btn-flat { margin-right: 8px; }
.accent { color: var(--accent); }

/* Cards */
.card.outlined { border: 1px solid var(--border); background: var(--surface); }
.card .card-title { font-weight: 600; }
.muted { color: var(--muted); }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* Chips */
.chip-group { margin-top: 12px; }
.chip { background: transparent; border: 1px solid var(--border); color: var(--text); }

/* Timeline */
.timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline li { display: flex; align-items: flex-start; margin-bottom: 16px; }
.timeline-point { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 12px; margin-top: 8px; }
.timeline-content h6 { margin: 0 0 4px 0; font-weight: 600; }

/* Projects */
.project-grid .card { transition: transform .2s ease, box-shadow .2s ease; }
.project-grid .card:hover { transform: translateY(-4px); }
.project-card .card-image img { aspect-ratio: 16/9; object-fit: cover; }
.project-meta { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.footer-content { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-top: 1px solid var(--border); }

/* Dark mode overrides for Materialize components */
body.dark .sidenav { background: var(--surface); }
body.dark .sidenav a { color: var(--text) !important; }

/* Smooth scroll */
html { scroll-behavior: smooth; }
