/* Resume-specific styles */

.nav-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #333;
  background-color: var(--card-bg);
}

.nav-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

.print-btn {
  background-color: var(--accent);
  color: var(--bg-color);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
  font-size: 13px;
}

.print-btn:hover {
  transform: scale(1.05);
}

.resume-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.resume-header {
  text-align: center;
  padding: 2rem 0 3rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 2rem;
}

.name {
  font-size: 3rem;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.contact-info {
  font-size: 1rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

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

.contact-info a:hover {
  text-decoration: underline;
}

.separator {
  color: var(--text-secondary);
}

.resume-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
}

.job {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2a2a2a;
}

.job:last-child {
  border-bottom: none;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.job-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
  font-weight: 600;
}

.company {
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0;
  font-weight: 500;
}

.job-meta {
  text-align: right;
  flex-shrink: 0;
}

.date {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.location {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.company-description {
  color: var(--text-secondary);
  margin: 0.8rem 0;
  line-height: 1.6;
}

.company a {
  color: var(--accent);
  text-decoration: none;
}

.company a:hover {
  text-decoration: underline;
}

.job-details {
  margin: 1rem 0 0 1.2rem;
  color: var(--text-primary);
}

.job-details li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.job-details strong {
  color: var(--accent);
}

.scrivito-link {
  color: var(--accent);
  text-decoration: none;
}

.scrivito-link:hover {
  text-decoration: underline;
}

.education {
  margin-bottom: 1.5rem;
}

.skills-grid {
  display: grid;
  gap: 2rem;
}

.skill-category {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
}

.skill-title {
  font-size: 1.2rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  background-color: #2a2a2a;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid #3a3a3a;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background-color: var(--accent);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.interests-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.resume-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #333;
  color: var(--text-secondary);
  margin-top: 3rem;
}

.resume-footer a {
  color: var(--accent);
  text-decoration: none;
}

.resume-footer a:hover {
  text-decoration: underline;
}

/* Availability Badge */
.availability-badge {
  background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4a 100%);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  margin: 1.5rem auto;
  max-width: fit-content;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
  border: 2px solid rgba(74, 158, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* Professional Summary */
.summary-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
  text-align: justify;
}

/* Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.link-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid #2a2a2a;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.link-card:hover::before {
  transform: scaleX(1);
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(74, 158, 255, 0.2);
}

.link-card strong {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.link-card span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
  }
  50% {
    box-shadow: 0 4px 25px rgba(74, 158, 255, 0.4);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .resume-container {
    padding: 1rem;
  }

  .name {
    font-size: 2rem;
  }

  .contact-info {
    font-size: 0.9rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .separator {
    display: none;
  }

  .job-header {
    flex-direction: column;
  }

  .job-meta {
    text-align: left;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .job-title {
    font-size: 1.1rem;
  }

  .nav-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .skill-tags {
    gap: 0.5rem;
  }

  .skill-tag {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .availability-badge {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .links-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .summary-text {
    text-align: left;
    font-size: 1rem;
  }
}

/* Print styles */
@media print {
  body {
    background-color: white;
    color: black;
  }

  .nav-bar,
  .resume-footer,
  .print-btn {
    display: none;
  }

  .resume-container {
    max-width: 100%;
  }

  .name,
  .section-title,
  .company,
  .skill-title {
    color: black;
  }

  .contact-info a {
    color: black;
  }

  .skill-tag {
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    color: black;
  }

  .availability-badge,
  .links-grid {
    display: none;
  }
}