/* Resume Page Styles */

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

.resume-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
}

.resume-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.resume-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

.resume-description {
  color: #374151;
  margin: 0;
  line-height: 1.5;
}

.resume-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-view {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.btn-download {
  background: transparent;
  color: #667eea;
  border-color: #667eea;
}

.btn-download:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-resume i {
  font-size: 0.9rem;
}

/* PDF Preview */
.resume-preview {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
}

.pdf-container {
  position: relative;
  width: 100%;
  min-height: 800px;
}

.pdf-viewer {
  width: 100%;
  height: 800px;
  border-radius: 8px;
}

.pdf-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f9fafb;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 2px dashed #d1d5db;
}

.fallback-content {
  text-align: center;
  padding: 2rem;
}

.fallback-content i {
  font-size: 3rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.fallback-content h4 {
  color: #374151;
  margin: 0 0 0.5rem 0;
}

.fallback-content p {
  color: #6b7280;
  margin: 0 0 1.5rem 0;
}

/* Resume Details */
.resume-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.detail-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-3px);
}

.detail-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.detail-icon i {
  font-size: 1.2rem;
}

.detail-info h4 {
  color: #1f2937;
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.detail-info p {
  color: #6b7280;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.detail-info a {
  color: #667eea;
  text-decoration: none;
}

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

/* Quick Overview */
.quick-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.overview-item {
  display: flex;
  align-items: flex-start;
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease;
}

.overview-item:hover {
  transform: translateY(-3px);
}

.overview-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.overview-icon i {
  font-size: 1.2rem;
}

.overview-content h4 {
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.overview-content p {
  color: #6b7280;
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.overview-content p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .resume-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .resume-info {
    margin-bottom: 1.5rem;
  }
  
  .resume-actions {
    justify-content: center;
  }
  
  .btn-resume {
    flex: 1;
    justify-content: center;
  }
  
  .pdf-viewer {
    height: 600px;
  }
  
  .pdf-container {
    min-height: 600px;
  }
  
  .resume-details {
    grid-template-columns: 1fr;
  }
  
  .quick-overview {
    grid-template-columns: 1fr;
  }
  
  .overview-item,
  .detail-card {
    flex-direction: column;
    text-align: center;
  }
  
  .overview-icon,
  .detail-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .resume-container {
    padding: 1rem 0;
  }
  
  .resume-header {
    padding: 1.5rem;
  }
  
  .resume-actions {
    flex-direction: column;
  }
  
  .pdf-viewer {
    height: 500px;
  }
  
  .pdf-container {
    min-height: 500px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .resume-header,
  .resume-preview,
  .detail-card {
    background: #1f2937;
    border-color: #374151;
  }
  
  .resume-info h3 {
    color: #f9fafb;
  }
  
  .resume-subtitle {
    color: #9ca3af;
  }
  
  .resume-description {
    color: #d1d5db;
  }
  
  .detail-info h4 {
    color: #f9fafb;
  }
  
  .detail-info p {
    color: #9ca3af;
  }
  
  .overview-item {
    background: #1f2937;
    border-color: #374151;
  }
  
  .overview-content h4 {
    color: #f9fafb;
  }
  
  .overview-content p {
    color: #9ca3af;
  }
  
  .pdf-fallback {
    background: #374151;
    border-color: #4b5563;
  }
  
  .fallback-content h4 {
    color: #f9fafb;
  }
  
  .fallback-content p {
    color: #9ca3af;
  }
}