:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #dee2e6;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: #e9ecef;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.resume-container {
  max-width: 800px;
  margin: 30px auto;
  background: var(--bg-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  color: var(--primary-color);
  font-size: 2.5rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.tagline {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 5px;
}

/* CONTACT INFO - Grouped & Separated */
.contact-info {
  display: flex;
  flex-direction: column; /* Stacks the two groups */
  align-items: center;
  gap: 12px; /* Space between the physical row and link row */
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  font-size: 0.9rem;
}

.contact-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
}

.contact-group p {
  margin: 0;
  display: flex;
  align-items: center;
}

/* Adds the dot ONLY between items in the same group */
.contact-group p + p::before {
  content: '•';
  color: #adb5bd;
  margin-right: 16px;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

section {
  margin-bottom: 35px;
}

h2,
h3 {
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-top: 25px;
  font-family: var(--font-mono);
}

.summary {
  font-size: 1.05rem;
  color: #000;
}

.entry {
  margin-bottom: 25px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  flex-wrap: wrap;
  font-size: 1.1rem;
}

.entry-sub {
  color: #666;
  font-style: italic;
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
  margin: 10px 0;
}

li {
  margin-bottom: 7px;
}

/* SKILLS LISTS */
.skill-list,
.lang-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.skill-list li,
.lang-list li {
  background-color: #f1f3f5;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  color: var(--primary-color);
}

/* AI FOOTER */
.ai-footer {
  margin-top: 50px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  color: #adb5bd;
  text-align: center;
  font-family: var(--font-mono);
}

/* PRINT OPTIMIZATION */
@media print {
  body {
    background-color: #fff;
  }
  .resume-container {
    box-shadow: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
}
