/* Base */
/** { box-sizing: border-box; }*/
:root {
  --bg: #f2f2f2;          /* light grey page background */
  --card: #ffffff;        /* cards / panels */
  --ink: #1f2937;         /* main text */
  --muted: #6b7280;       /* secondary text */
  --brand: #0d3b66;       /* deep blue accent */
  --line: #e5e7eb;        /* subtle borders */
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0,0,0,.06);
}
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

/* Layout helpers */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.two-col {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
}
@media (max-width: 800px) {
  .two-col { flex-direction: column; align-items: center; }
}

/* Navbar */
#navbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
#navbar .brand {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 32px 0 12px;
}
.hero h1 {
  margin: 0 0 8px 0;
  font-size: clamp(22px, 4vw, 34px);
  color: var(--brand);
}
.hero p {
  margin: 0;
  color: var(--muted);
}

/* About */
.about-section h2,
.skill-section h2 { 
  margin: 0 0 10px 0; 
  color: var(--brand); 
}
.about p { margin: 8px 0; }
.about-img img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Skills */
.languages ul {
  list-style: none;
  padding: 0; margin: 0;
}
.languages li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 10px 0;
  box-shadow: var(--shadow);
}
.languages li p { margin: 0; }

/* Image column */
.coding-image {
  flex: 0 0 320px;
  display: flex; justify-content: center;
}
.coding-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.languages { 
  flex: 1 1 520px; 
  max-width: 600px; 
}

/* Contact links */
.contact { text-align: center; }
.contact h3 { margin-bottom: 8px; color: var(--brand); }
.links {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.links a {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.links a:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.08); }

/* Footer */
.footer {
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
}
