/* ===========================
   Modern Portfolio - style.css
   Drop-in replacement for your site
   =========================== */

/* Google fonts: Poppins (headings) + Inter (body) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Poppins:wght@600;700&display=swap');

:root{
  --bg: #0f1724;             /* deep background */
  --card: #0b1220;           /* darker card background */
  --muted-card: #071225;     /* behind cards */
  --surface: #0f1724;
  --accent: #6ee7b7;         /* mint accent */
  --accent-2: #60a5fa;       /* blue accent */
  --glass: rgba(255,255,255,0.03);
  --soft: rgba(255,255,255,0.06);
  --text: #e6eef8;
  --muted: #9fb2c8;
  --radius: 14px;
  --maxw: 1100px;
  --transition: 250ms cubic-bezier(.2,.9,.3,1);
}

* { box-sizing: border-box; margin:0; padding:0; }
html,body { height:100%; }
body{
  background:
    radial-gradient(1200px 600px at 5% 10%, rgba(96,165,250,0.06), transparent 8%),
    radial-gradient(900px 400px at 95% 85%, rgba(110,231,183,0.04), transparent 8%),
    var(--bg);
  color:var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  justify-content:center;
  padding:28px 18px;
}

/* page container */
.container{
  width:100%;
  max-width:var(--maxw);
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:24px;
  align-items:start;
}

/* LEFT COLUMN - Profile card */
.site-header{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:22px;
  border-radius:var(--radius);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  position:relative;
  min-height: 220px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.header-left { display:flex; flex-direction:column; gap:6px; }
.header-title{
  font-family: "Poppins", Inter, sans-serif;
  font-weight:700;
  letter-spacing:0.6px;
  font-size:1.35rem;
  color:var(--text);
}
.subline { color:var(--muted); font-size:0.92rem; }

/* Circular profile image with border + glow */
.header-right{
  margin-top:6px;
  align-self:end;
}
.profile-img{
  width:126px;
  height:126px;
  border-radius:999px;
  object-fit:cover;
  display:block;
  border:4px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(96,165,250,0.06), 0 2px 6px rgba(0,0,0,0.6);
  transition: transform var(--transition), box-shadow var(--transition);
}
.profile-img:hover{ transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 40px rgba(96,165,250,0.12); }

/* Right column: main content */
main{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* Card style for all sections */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
  border-radius:12px;
  padding:18px;
  box-shadow: 0 6px 20px rgba(3,7,18,0.6);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Section headings */
h2{
  font-family: "Poppins", Inter, sans-serif;
  font-weight:600;
  font-size:1.05rem;
  color:var(--text);
  margin-bottom:10px;
  position:relative;
}
h2::after{
  content:"";
  display:block;
  height:3px;
  width:56px;
  background: linear-gradient(90deg,var(--accent), var(--accent-2));
  border-radius:3px;
  margin-top:10px;
  opacity:0.95;
}

/* Paragraphs & text */
p, li, td { color:var(--muted); font-size:0.95rem; line-height:1.45; }

/* Education table refined */
.education-table{
  width:100%;
  border-collapse:collapse;
  margin-top:8px;
}
.education-table th, .education-table td{
  padding:10px 12px;
  text-align:left;
  border-bottom:1px dashed rgba(255,255,255,0.03);
}
.education-table thead th{
  color:var(--text);
  font-weight:600;
  background:transparent;
}

/* Skills list with pill style */
.skills-list{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.skills-list li{
  list-style:none;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:8px 12px;
  border-radius:999px;
  color:var(--text);
  font-weight:500;
  font-size:0.92rem;
  border:1px solid rgba(255,255,255,0.03);
  transition: transform var(--transition), box-shadow var(--transition);
}
.skills-list li:hover{ transform: translateY(-4px); box-shadow: 0 12px 30px rgba(2,6,23,0.6); }

/* Projects grid: card style with subtle thumbnail */
#projects .project{
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
  padding:12px;
  border-radius:10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.03);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom:10px;
}
#projects .project:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(2,6,23,0.55); }
#projects .project h3{ font-size:1rem; margin-bottom:6px; color:var(--text); font-weight:600; }

/* Project detail bullets */
.project ul{ margin-left:18px; margin-top:6px; color:var(--muted); }

/* Contact link buttons */
.contact a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  color:var(--bg);
  background: linear-gradient(90deg,var(--accent), var(--accent-2));
  font-weight:600;
  box-shadow: 0 8px 22px rgba(96,165,250,0.08);
  transition: opacity var(--transition), transform var(--transition);
  margin-right:10px;
}
.contact a:hover{ transform: translateY(-4px); opacity:0.95; }

/* Footer */
.site-footer{ text-align:center; color:var(--muted); font-size:0.9rem; padding:10px 0; }

/* Layout tweaks for small screens */
@media (max-width:980px){
  .container{ grid-template-columns: 1fr 1fr; gap:16px; padding:18px; }
  .profile-img{ width:108px; height:108px; }
}
@media (max-width:720px){
  .container{ grid-template-columns: 1fr; }
  .site-header{ flex-direction:row; align-items:center; justify-content:space-between; gap:12px; padding:16px; }
  .header-left{ order:1; }
  .header-right{ order:2; }
  main { margin-top:6px; }
}

/* small accessibility focus style */
a:focus, button:focus { outline: 3px solid rgba(96,165,250,0.18); outline-offset:4px; border-radius:8px; }
