/* ========================================
   RESUME PAGE STYLES - IMPROVED LAYOUT
   ======================================== */

   .resume-container {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .resume-content {
    padding: 1rem;
  }
  
  /* -------- Top Row Layout (Headshot + PDF) -------- */
  .resume-top {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 3rem;
    align-items: start;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* -------- LEFT COLUMN -------- */
  .resume-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  /* -------- Headshot Section -------- */
  .headshot-section {
    text-align: center;
  }
  
  .headshot-container {
    width: 100%;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
  }
  
  .headshot-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.4);
  }
  
  .headshot-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
  }
  
  .headshot-caption {
    margin-top: 1.25rem;
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.95rem;
  }
  
  /* -------- Download Box -------- */
  .download-box {
    background: var(--bg-light);
    padding: 1.5rem;            /* ↓ was 2rem */
    border-radius: 14px;        /* slightly tighter */
    border: 2px solid var(--primary-color);
    text-align: center;
    transition: var(--transition-normal);
  }

  .download-box .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    opacity: 0.9;
  }


  .download-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.4);
    opacity: 1;
  }
  
  .download-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .download-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
  }
  
  .download-box p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }
  
  /* -------- RIGHT COLUMN -------- */
  .resume-right {
    width: 100%;
  }
  
  .resume-preview-section {
    width: 100%;
  }
  
  .preview-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    text-align: center;
  }
  
  .resume-image-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
  }
  
  /* -------- PDF Preview -------- */
  .resume-pdf {
    width: 100%;
    height: 850px;
    border: 0;
    border-radius: 8px;
    display: block;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Lightbox PDF size */
  .resume-pdf-large {
    height: 85vh;
    max-height: 1200px;
  }
  
  /* -------- View Full Size Button -------- */
  .zoom-button {
    margin: 1.5rem auto 0;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  }
  
  .zoom-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5);
  }
  
  .zoom-button i {
    font-size: 1.1rem;
  }
  
  /* -------- Skills Section -------- */
  .skills-section {
    padding: 5rem 2rem;
    background: var(--bg-medium);
    margin-top: 3rem;
  }
  
  .skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-family: var(--font-display);
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .skill-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition-normal);
  }
  
  .skill-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(147, 51, 234, 0.3);
  }
  
  .skill-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }
  
  .skill-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  
  .skill-card p {
    color: var(--text-gray);
    line-height: 1.6;
  }
  
  /* -------- Lightbox -------- */
  #resumeLightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    overflow: auto;
    padding: 2rem;
  }
  
  #resumeLightbox.active {
    display: block;
  }
  
  .lightbox-content {
    max-width: 1100px;
    margin: 2rem auto;
  }
  
  .lightbox-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }
  
  .lightbox-close:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
  }
  
  /* -------- Resume CTA -------- */
  .resume-cta {
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .resume-cta .cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
  }
  
  .resume-cta h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-display);
  }
  
  .resume-cta p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  /* -------- Responsive Design -------- */
  @media (max-width: 1200px) {
    .resume-top {
      grid-template-columns: 340px 1fr;
      gap: 2.5rem;
    }
    
    .resume-pdf {
      height: 750px;
    }
  }
  
  @media (max-width: 980px) {
    .resume-top {
      grid-template-columns: 1fr;
      gap: 3rem;
      padding: 1.5rem;
    }
    
    .resume-left {
      max-width: 500px;
      margin: 0 auto;
    }
  
    .resume-pdf {
      height: 700px;
    }
  }
  
  @media (max-width: 768px) {
    .resume-content {
      padding: 0.5rem;
    }
    
    .resume-top {
      padding: 1rem;
      gap: 2rem;
    }
    
    .headshot-container,
    .download-box,
    .resume-image-container {
      padding: 1.5rem;
    }
    
    .resume-pdf {
      height: 600px;
    }
  
    .preview-title {
      font-size: 1.5rem;
    }
  
    #resumeLightbox {
      padding: 1rem;
    }
  
    .lightbox-close {
      top: 1rem;
      right: 1rem;
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
    }
  
    .skills-grid {
      grid-template-columns: 1fr;
    }
  
    .skills-section {
      padding: 3rem 1rem;
    }
    
    .resume-cta .cta-content {
      padding: 2rem;
    }
  }
  
  @media (max-width: 480px) {
    .resume-pdf {
      height: 500px;
    }
    
    .download-box h3 {
      font-size: 1.25rem;
    }
    
    .zoom-button {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
    }
  }