:root{
  --bg:#0f1720;
  --card:#0b1220;
  --muted:#9aa4b2;
  --accent:#7dd3fc;
  --text:#e6eef6;
  --max-width:1000px;
  --radius:10px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg,#071027 0%, #07101a 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:28px;
}

.site-header{
  border-bottom:1px solid rgba(255,255,255,0.03);
  background:rgba(255,255,255,0.01);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.logo{margin:0;font-size:1.05rem}
nav a{color:var(--muted);text-decoration:none;margin-left:18px;font-size:0.95rem}
nav a:hover{color:var(--accent)}

.hero{
  display:flex;
  gap:28px;
  align-items:center;
  justify-content:space-between;
  padding-top:40px;
  padding-bottom:40px;
}
.hero-text{flex:1}
.hero h2{margin:0 0 8px 0;font-size:1.9rem}
.hero p{color:var(--muted);margin:0 0 12px 0}
.hero-photo{width:160px;height:160px;border-radius:8px;object-fit:cover;border:2px solid rgba(255,255,255,0.04)}

.cta{
  display:inline-block;padding:10px 14px;border-radius:8px;background:linear-gradient(90deg,var(--accent),#60a5fa);
  color:#052023;text-decoration:none;font-weight:600;margin-top:8px;
}

.card{background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005)); border-radius:var(--radius); padding:22px; margin-top:20px; box-shadow:0 6px 18px rgba(2,6,23,0.6);} 
.skills{list-style:none;padding:0;margin:10px 0 0 0;display:flex;gap:10px;flex-wrap:wrap}
.skills li{background:rgba(255,255,255,0.03);padding:6px 10px;border-radius:999px;color:var(--muted);font-size:0.9rem}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:18px;
  margin-top:14px;
}

.project-card{background:var(--card);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}
.project-card img{width:100%;height:160px;object-fit:cover}
.project-content{padding:14px}
.project-content h4{margin:0 0 8px 0}
.project-links a{color:var(--accent);text-decoration:none;font-weight:600;font-size:0.95rem}

.site-footer{border-top:1px solid rgba(255,255,255,0.03);margin-top:40px;padding:18px 0;text-align:center;color:var(--muted)}
@media (max-width:700px){
  .hero{flex-direction:column-reverse;align-items:flex-start}
  .hero-photo{width:120px;height:120px}
}
