@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #f8fafc;        /* Soft off-white / light slate */
  --card-bg: #ffffff;         /* Pure white container */
  --text-color: #1e293b;      /* Deep slate-800 */
  --text-muted: #475569;      /* Muted slate-600 */
  --primary-color: #0f172a;   /* Slate-900 */
  --primary-hover: #4f46e5;   /* Indigo accent on hover */
  --accent-color: #4f46e5;    /* Accent Indigo */
  --border-color: #e2e8f0;    /* Light gray borders */
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  padding: 2.5rem 1.5rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2.5rem;
  background-color: var(--card-bg);
  padding: 3.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
}

header {
  grid-column: span 2;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1.75rem;
  position: relative;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-info a:hover {
  color: var(--accent-color);
}

.contact-info .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-info a:hover .icon {
  transform: translateY(-1px);
  color: var(--accent-color);
}

/* Social glyphs styling (no text) */
.social-glyph {
  padding: 0.25rem;
}

.social-glyph .icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.download-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-1px);
}

.download-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Columns styling */
.main-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

/* Experience block */
.exp-item {
  margin-bottom: 1.75rem;
}

.exp-item:last-child {
  margin-bottom: 0;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.company {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.date {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.role {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

ul {
  list-style-type: none;
}

/* Nested lists style */
.exp-item > ul > li {
  margin-bottom: 1rem;
}

.exp-item > ul > li:last-child {
  margin-bottom: 0;
}

.category-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.category-title::before {
  content: "▹";
  color: var(--accent-color);
  font-weight: bold;
}

.exp-bullets {
  margin-left: 1rem;
  list-style-type: none;
}

.exp-bullets li {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 0.85rem;
}

.exp-bullets li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Education styling */
.edu-item {
  margin-bottom: 1rem;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.degree {
  font-size: 0.95rem;
  color: var(--accent-color);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Skills section */
.skills-group {
  margin-bottom: 1.25rem;
}

.skills-group h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background-color: #f1f5f9;
  color: var(--text-color);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.summary-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 868px) {
  .container {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  
  header {
    grid-column: span 1;
  }
  
  .header-top {
    flex-direction: column;
    gap: 1rem;
  }
  
  .download-btn {
    align-self: flex-start;
  }
}
