/* FILE: cv.css - The Master Blueprint v1.0 */

.cv-container {
  padding-top: 0;
  max-width: 60rem;
  margin: 0 auto;
}

/* --- The Header: The Grand Entrance --- */
.cv-header {
  text-align: center;
  padding: 0.75rem 1rem 2rem 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #2a2a2e;
}

.cv-header h1 {
  background: linear-gradient(90deg, #d1d5db 0%, #ffffff 50%, #d1d5db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 3.2em;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cv-header p {
  font-size: 1.2em;
  color: #a0a0b0;
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
}

.download-btn {
  font-size: 1em;
  padding: 0.8rem 1.5rem;
}

/* --- The Body: Structure & Life --- */
.cv-section {
  margin-bottom: 3.5rem;
}

.cv-section h2 {
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  text-align: left;
  border-bottom: 1px solid #333;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.summary-section p {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--muted);
  text-align: left;
}

/* --- Project Showcase Styling --- */
.project-item {
  position: relative;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, #111113cc, #161618cc);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  backdrop-filter: saturate(140%) blur(6px);
}

.project-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px #00000080;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-header h3 {
  font-size: 1.2em;
  margin: 0;
}

.project-header h3 a {
  color: #eee;
  text-decoration: none;
  transition: color 0.2s;
}

.project-header h3 a:hover {
  color: var(--accent-2);
}

.project-tag {
  font-size: 0.8em;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.researcher-tag { background-color: #7df2; color: #7df; }
.architect-tag { background-color: #b888ff22; color: #b888ff; }
.engineer-tag { background-color: #80ffea22; color: #80ffea; }

.project-item ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.project-item ul li {
  position: relative;
  padding-left: 25px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.project-item ul li::before {
  content: '›';
  position: absolute;
  left: 5px;
  top: -1px;
  color: var(--accent);
  font-size: 1.2em;
  font-weight: bold;
}

/* --- Experience Section: The Story of Your Past --- */
.experience-item {
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent-2);
  padding-left: 1.5rem;
}

.experience-item h3 {
  font-size: 1.15em;
  color: #eee;
  margin: 0 0 0.25rem 0;
}

.experience-location {
  display: block;
  font-style: italic;
  color: #888;
  margin-bottom: 0.75rem;
}

.experience-item p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

/* --- Print Styles: clean one-page CV --- */
@media print {
  @page { margin: 12mm; }

  body {
    background: #fff !important;
    color: #000 !important;
  }
  a { color: #000 !important; text-decoration: none; }

  nav, footer, .download-btn { display: none !important; }

  .cv-container {
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .cv-header {
    border-bottom: 1px solid #000;
    padding: 0 0 0.75rem 0;
    margin-bottom: 1rem;
  }
  .cv-header h1 {
    background: none !important;
    -webkit-background-clip: initial !important;
    color: #000 !important;
    animation: none !important;
  }
  .cv-header p { color: #000 !important; }

  .cv-section h2 {
    color: #000 !important;
    border-bottom: 1px solid #000;
  }

  .project-item {
    background: #fff !important;
    border-color: #000 !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .project-tag {
    background: transparent !important;
    color: #000 !important;
    border: 1px solid #000;
  }

  .experience-item {
    border-left-color: #000 !important;
  }
  .experience-item p { color: #000 !important; }
}