/* Resume Page Styles */

/* Resume Hero Section */
.resume-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
  }
  
  .resume-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
  }
  
  .resume-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.2s;
  }
  
  .resume-hero p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.4s;
  }
  
  .resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.6s;
  }
  
  .download-icon {
    margin-right: 0.5rem;
  }
  
  /* Resume Content */
  .resume-content {
    padding: 4rem 0 5rem;
  }
  
  .resume-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
  }
  
  /* Resume Sections */
  .resume-section {
    background: var(--background);
    border-radius: 0.75rem;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    transition: all var(--transition-speed);
  }
  
  .resume-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
  }
  
  .resume-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--background-alt);
  }
  
  .section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    flex-shrink: 0;
  }
  
  .resume-section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
  }
  
  .resume-section-content {
    padding: 1.5rem;
  }
  
  /* Profile Section */
  .profile-details {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  
  .profile-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .profile-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
  }
  
  .profile-value {
    color: var(--text);
    font-size: 1rem;
  }
  
  /* Timeline */
  .timeline {
    position: relative;
    padding-left: 1.5rem;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-light);
  }
  
  .timeline-item {
    position: relative;
    padding-bottom: 2rem;
  }
  
  .timeline-item:last-child {
    padding-bottom: 0;
  }
  
  .timeline-dot {
    position: absolute;
    top: 0;
    left: -1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .timeline-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  .timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text);
  }
  
  .timeline-institution {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
  }
  
  /* Languages */
  .language-list {
    display: grid;
    gap: 1rem;
  }
  
  .language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--background-alt);
    border-radius: 0.5rem;
  }
  
  .language-name {
    font-weight: 500;
    color: var(--text);
  }
  
  .language-level {
    color: var(--primary);
    font-size: 0.875rem;
  }
  
  /* Skills */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .skill-item {
    padding: 0.75rem 1rem;
    background: var(--background-alt);
    border-radius: 0.5rem;
    transition: all var(--transition-speed);
  }
  
  .skill-item:hover {
    transform: translateY(-3px);
    background: var(--primary-light);
  }
  
  .skill-name {
    font-weight: 500;
    color: var(--text);
    font-size: 0.9375rem;
  }
  
  /* Projects */
  .projects-section {
    margin-top: 1rem;
  }
  
  .projects-grid {
    display: grid;
    gap: 2rem;
  }
  
  .project-item {
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: 0.75rem;
    transition: all var(--transition-speed);
  }
  
  .project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
  }
  
  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .project-header h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0;
  }
  
  .project-tech {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .project-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
  }
  
  .project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
  }
  
  .project-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .image-placeholder {
    display: none;
  }
  
  .project-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
  }
  
  .project-image:hover {
    transform: scale(1.05);
    box-shadow: var(--card-shadow);
    z-index: 10;
  }
  
  /* For larger screens, make images a bit taller */
  @media (min-width: 768px) {
    .project-image {
      height: 150px;
    }
  }
  
  /* Download Section */
  .download-section {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
  }
  
  .download-resume-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  
  /* Responsive Design */
  @media (min-width: 768px) {
    .resume-grid {
      grid-template-columns: 1fr 1fr;
    }
  
    .profile-details {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .skills-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .project-images {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .skills-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  
    .projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Adjust the grid for PetPal which only has 2 images */
  .project-item:last-child .project-images {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Add media query for better mobile display */
  @media (max-width: 767px) {
    .project-images {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .project-image {
      height: 120px;
    }
  }
  