/* ---- Root ---- */
:root {
  --bg: #071022;
  --card: #0b1220;
  --muted: #9aa4b2;
  --text: #e6eef6;
  --accent: #7cc4ff;
  --glass: rgba(255, 255, 255, 0.04);

  --radius: 14px;
  --maxwidth: 1100px;
  --gap: 20px;
}

/* ----- Body ---- */
html, body {
  height: 100%;
  margin: 0;
  padding: 32px 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.45;
  color: var(--text);
  background-color: var(--bg);
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: var(--maxwidth);
}

/* ---- Header ---- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 8px;
}

nav a:hover {
  color: var(--text);
  background-color: var(--glass);
}

/* ---- Intro ---- */
.intro {
  margin-bottom: 26px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  backdrop-filter: blur(6px);
}

.intro h1 {
  margin: 0 0 6px 0;
  font-size: 1.9rem;
}

.intro p {
  margin: 0 0 14px 0;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  background-color: var(--accent);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

/* ---- Projects ---- */
h2.section-title {
  margin: 18px 0 12px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}

.project {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

.project h3 {
  margin: 0 0 6px 0;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- Dev & Contact ---- */
.two-col {
  display: flex;
  gap: var(--gap);
  margin-top: 18px;
  padding: 0.5rem;
  align-items: flex-start; 
  box-sizing: border-box;
}

.tech-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.language {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}



@media (max-width: 720px) {
  body {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .two-col {
    display: flex;
    flex-direction: column;
    gap: var(--gap); 
  }

  nav {
    display: none;
  }
  
  .two-col > * {
    width: 100%; 
    max-width: 100%;
    box-sizing: border-box;
  }
  
}










