/* ==========================================================================
   Print-Specific Stylesheet for Winifred's Portfolio
   - Hides non-essential elements for a clean document look.
   - Resets layout to a single column.
   - Optimizes for black and white printing.
   ========================================================================== */

@media print {
  /* --- Global Resets --- */
  body {
    font-family: "Times New Roman", Times, serif; /* Classic document font */
    background-color: #fff;
    color: #000;
    line-height: 1.4;
    font-size: 11pt;
    margin: 1in; /* Standard document margins */
  }

  /* --- Hide Unnecessary Elements --- */
  .header,
  .footer,
  .hero-buttons,
  .social-links,
  .hamburger-menu,
  .hero-image,
  .testimonial-author img {
    display: none !important;
  }

  /* --- Layout Adjustments --- */
  .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Reset the two-column layout to a single document flow */
  .main-layout-container,
  .left-column,
  .right-column {
    display: block;
    position: static;
    height: auto;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-sidebar {
    text-align: left;
    margin-bottom: 2rem;
  }

  /* --- Section Styling --- */
  section {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
    page-break-inside: avoid; /* Keep sections from splitting across pages */
  }

  section:last-of-type {
    border-bottom: none;
  }

  .section-heading h2 {
    font-size: 16pt;
    margin-bottom: 10px;
    text-align: left;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
  }

  .section-heading p {
    display: none; /* Hide subheadings */
  }

  /* --- Card & Skill Bar Styling --- */
  .service-cards,
  .skills-container,
  .certification-cards,
  .testimonial-cards {
    display: block; /* Stack all cards vertically */
  }

  .service-card,
  .certification-card,
  .testimonial-card {
    box-shadow: none !important;
    border: 1px solid #eee;
    transform: none !important;
    opacity: 1 !important;
    page-break-inside: avoid;
    margin-bottom: 15px;
  }
}
