/* ----------  BASIC STYLES  ---------- */
:root{
  --bg:          #0f1218;
  --bg-card:     #111827;
  --fg:          #ffffff;
  --fg-muted:    #a0aab4;
  --accent:      #2ce1c0;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--fg);
}

.projects_container{
  max-width:1200px;
  margin:3rem auto;
  padding:0 1rem;
}

/* ----------  FILTER TABS  ---------- */
.projects_tabs{
  display:flex;
  gap:1rem;
  justify-content:center;
  margin-bottom:2rem;
  flex-wrap:wrap;
}
.projects_tab{
  background:#1f2937;
  border:none;
  padding:.5rem 1.25rem;
  font-size:.9rem;
  color:var(--fg);
  border-radius:8px;
  cursor:pointer;
  transition:background .25s;
}
.projects_tab:hover{background:#253047}
.projects_tab.active{
  background:var(--accent);
  color:var(--bg);
  font-weight:600;
}

/* ----------  CARD GRID  ---------- */
.projects_grid{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  justify-content:center;
}
.project_card{
  width:300px;
  background:var(--bg-card);
  border-radius:10px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 0 0 1px #2ce1c033;
  transition:transform .3s;
}
.project_card:hover{transform:translateY(-4px)}
.project_card img{
  width:100%;height:180px;object-fit:cover;
}
.project_content{padding:1.5rem;display:flex;flex-direction:column;flex:1}
.project_title{font-size:1.25rem;font-weight:600;margin-bottom:.25rem}
.project_tag{
  font-size:.75rem;
  font-weight:600;
  color:var(--accent);
  margin-bottom:.75rem;
  text-transform:uppercase;
}
.project_description{
  font-size:.9rem;
  color:var(--fg-muted);
  margin-bottom:1rem;
  line-height:1.4;
}
.project_tech{
  display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.2rem;
}
.tech_badge{
  background:#1f2937;
  font-size:.75rem;
  padding:.3rem .6rem;
  border-radius:6px;
}
.project_actions{display:flex;justify-content:space-between}
.project_btn{
  background:transparent;
  border:none;
  color:var(--accent);
  font-size:.85rem;
  cursor:pointer;
}
.project_btn:hover{text-decoration:underline}

/* ----------  RESPONSIVE  ---------- */
@media(max-width:768px){
 .projects_grid{flex-direction:column;align-items:center}
}