/* Print Stylesheets for JFSN Portfolio */

@media print {
  /* Hide navigation and non-essential elements */
  nav,
  header,
  .navbar,
  .back-to-top,
  .toast-container,
  .view-toggle-group,
  .filter-btn,
  .search-container,
  footer,
  .btn,
  .share-buttons,
  .hover-preview {
    display: none !important;
  }
  
  /* Page setup */
  @page {
    margin: 1.5cm;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    color: #000;
  }
  
  /* Links */
  a {
    color: #000;
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
    color: #666;
  }
  
  /* Artwork Gallery */
  .gallery-grid,
  .gallery-masonry,
  .gallery-list,
  .gallery-large {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1cm !important;
  }
  
  .artwork-card {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #ccc;
    padding: 0.5cm;
    margin-bottom: 1cm;
  }
  
  .artwork-card img {
    max-width: 100%;
    height: auto;
    page-break-inside: avoid;
  }
  
  .artwork-card .card-body {
    padding: 0.5cm 0;
  }
  
  .artwork-card .card-title {
    font-size: 14pt;
    font-weight: bold;
    margin-bottom: 0.25cm;
  }
  
  .artwork-card .card-text {
    font-size: 10pt;
    color: #666;
  }
  
  /* Sections */
  section {
    page-break-inside: avoid;
  }
  
  /* Avoid breaking */
  .card,
  .row,
  .col {
    page-break-inside: avoid;
  }
  
  /* Page breaks */
  .page-break {
    page-break-before: always;
  }
  
  /* No background colors/images */
  * {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  /* Show URLs */
  .breadcrumb a:after {
    content: " (" attr(href) ")";
  }
  
  /* Contact form - hide */
  form {
    display: none;
  }
  
  /* Hero sections */
  .hero-section,
  .gallery-hero,
  .about-hero {
    min-height: auto;
    padding: 1cm 0;
  }
  
  /* Container */
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  /* Print header/footer */
  @page {
    @top-center {
      content: "Jeffrey F. S. Neumann Portfolio";
      font-size: 10pt;
      color: #666;
    }
    @bottom-right {
      content: "Page " counter(page) " of " counter(pages);
      font-size: 10pt;
      color: #666;
    }
  }
}

