/* Dark green minimalist theme */

:root {
  --bg: #0b0f0d;
  --surface: #111814;
  --surface-soft: rgba(17, 24, 20, 0.5);
  --border: rgba(240, 246, 243, 0.03);
  --text: #f0f6f3;
  --muted: rgba(240, 246, 243, 0.6);
  --accent: #4ade80;
  --radius: 14px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* top bar */
.topbar {
  background: rgba(11, 15, 13, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 246, 243, 0.02);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  font-weight: 650;
  letter-spacing: 0.02em;
}

nav a {
  margin-left: 1.1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--text);
}

/* hero 2-column */
.hero-2col {
  position: relative;
  background: linear-gradient(180deg, #0b1410 0%, #0d1a14 100%);
  padding: 4rem 0 3.2rem;
}

.hero-2col::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.01) 0px,
    rgba(255, 255, 255, 0.01) 2px,
    transparent 2px,
    transparent 8px
  );
  pointer-events: none;
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  z-index: 1;
}

.hero-left,
.hero-right {
  flex: 1 1 320px;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.25);
  margin-bottom: 1.2rem;
}

.hero-left h1 {
  font-size: 1.85rem;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

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

.hero-right h2 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.hero-right p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.button {
  background: var(--accent);
  color: #05140c;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  border: none;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.82rem;
}

/* sections */
.section {
  padding: 3.1rem 0;
}

.section h2 {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

/* cards and repo cards */
.card,
.repo-card {
  background: rgba(17, 24, 20, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.card h3,
.repo-card h4 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.card a,
.repo-card a {
  color: var(--accent);
  font-size: 0.78rem;
  text-decoration: none;
}

.card a:hover,
.repo-card a:hover {
  text-decoration: underline;
}

/* grids */
.grid,
.repo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.05rem;
}

/* timeline */
.timeline .timeline-item {
  border-left: 1px solid rgba(240, 246, 243, 0.03);
  padding-left: 1rem;
  margin-left: 0.3rem;
  margin-bottom: 1.1rem;
}

.time {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

/* contact & footer */
.footer {
  padding: 2.5rem 0 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

/* mobile */
@media (max-width: 700px) {
  nav { display: none; }
  .hero-2col { padding-top: 3.2rem; }
  .hero-right p { max-width: none; }
  .profile-pic { margin-inline: auto; }
  .hero-left { text-align: center; }
  .social-links { justify-content: center; display: flex; gap: 1rem; }
}
