/* Professional resume style for Cloudflare Pages */
:root {
  color-scheme: light;
  color: #111827;
  background: #f7f9fb;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.page-shell {
  width: min(1200px, 100%);
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 40px 120px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}
.sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.branding {
  margin-bottom: 16px;
}
.branding h1 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}
.branding p {
  margin: 0.75rem 0 0;
  color: #94a3b8;
  line-height: 1.75;
}
.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.profile-chip span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #34d399;
}
.sidebar-nav {
  display: grid;
  gap: 0.5rem;
  margin-top: 8px;
}
.nav-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.08);
  color: #e2e8f0;
  font-weight: 600;
  text-align: left;
  transition: all 180ms ease;
  cursor: pointer;
}
.nav-button:hover,
.nav-button.active {
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(148, 163, 184, 0.25);
}
.sidebar-footer {
  margin-top: auto;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}
.content {
  padding: 40px 48px;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.02;
}
.hero-subtitle {
  margin: 1rem 0 0;
  max-width: 52rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.9;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  color: #0f172a;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}
.section {
  margin-top: 3rem;
  animation: fadeIn 0.3s ease;
}
.section h2 {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}
.section p,
.section li,
.section dd {
  color: #334155;
  line-height: 1.8;
}
.section-grid {
  display: grid;
  gap: 1.75rem;
}
.card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 1.6rem;
}
.card strong {
  color: #0f172a;
}
.card-meta {
  margin-top: 0.75rem;
  color: #64748b;
  font-size: 0.95rem;
}
.skills-list,
.projects-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.skills-list li,
.projects-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}
.contact-grid {
  display: grid;
  gap: 1rem;
}
.contact-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.contact-card span {
  color: #475569;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
  }
  .sidebar-nav {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nav-button {
    justify-content: center;
  }
  .content {
    padding: 32px 24px 40px;
  }
}
@media (max-width: 640px) {
  body {
    padding: 1rem;
  }
  .page-shell {
    border-radius: 24px;
  }
  .hero {
    padding-bottom: 0;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
