/* styles.css — Modern/portfolio-like CV (separate file) */
:root{
  --bg:#0f1724;
  --card:#0b1220;
  --accent:#a06b8f;
  --muted:#c3c5c9;
  --max-width:1000px;
}
html{
  font-family: 'EB Garamond', 'Cormorant Garamond', serif;
  font-size: 115%;
}
*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  background:linear-gradient(90deg,#28212B 10%, #040F3A 100%);
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:2rem;
  color:#e6eef8;
}

.wrap{
  width:100%;
  max-width:var(--max-width);
  display:grid;
  grid-template-columns:280px 1fr;
  gap:1.25rem;
}

.side{
  background:linear-gradient(180deg, rgba(54, 49, 56, 0.197), rgba(255,255,255,0));
  border-radius:12px;
  padding:1rem;
  border:1px solid rgba(255,255,255,0.04);
}

.avatar img{
  width: 200px;      
  height: auto;    
  border-radius: 50%; 
}

.name{margin:0;font-size:1.15rem}
.job{margin:.15rem 0 .6rem 0;color:var(--muted);font-size:.95rem}

.contact h2,.tech h2{margin:0 0 .4rem 0;font-size:.95rem;color:var(--accent)}
.contact p, .tech ul{margin:0;font-size:.95rem;color:var(--muted)}
.tech ul{padding-left:1rem;margin-top:.35rem}

.main{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-radius:12px;
  padding:1rem;
  border:1px solid rgba(255,255,255,0.04);
}

.main h2{color:var(--accent);margin:0 0 .5rem 0}
.item{margin-bottom:.6rem}
.item h3{margin:.05rem 0;font-size:1rem}
.muted{color:var(--muted);font-weight:500;font-size:.95rem}

.pills{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.4rem;margin:0}
.pills li{background:rgba(255,255,255,0.03);padding:.35rem .6rem;border-radius:999px;color:var(--muted);font-size:.9rem}

/* Responsive */
@media(max-width:880px){
  .wrap{grid-template-columns:1fr;align-items:stretch}
  .side{order:2}
  .main{order:1}
}
