/* Print Stylesheet for NET-AV Website */

/* Reset margins and remove background colors */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }
  
  body {
    margin: 0;
    padding: 0;
    line-height: 1.4;
    font-size: 12pt;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  
  /* Hide unnecessary elements */
  header nav, 
  footer, 
  .cta-section,
  .contact-popup,
  .cta-button,
  .cta-wrapper,
  .mobile-menu-toggle,
  .social-icons {
    display: none !important;
  }
  
  /* Show the logo */
  header .logo {
    display: block !important;
    margin: 0 auto 20px;
    max-width: 200px;
  }
  
  /* Make sure links are underlined and show URLs */
  a, a:visited {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }
  
  /* Don't show URLs for internal or javascript links */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  
  /* Page breaks */
  h1, h2, h3, 
  .testimonial-item, 
  .service-item {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  /* Improve layout */
  .content-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Ensure text is readable */
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  
  /* Add a header with the site URL */
  @page {
    margin: 2cm;
  }
  
  @page :first {
    margin-top: 3cm;
  }
  
  /* Add website URL at the bottom of each page */
  @page :left {
    margin-bottom: 2cm;
  }
  
  @page :right {
    margin-bottom: 2cm;
  }
  
  /* Add website URL in the footer */
  body:after {
    content: "Visit us online at https://net-av.com";
    display: block;
    text-align: center;
    font-size: 10pt;
    margin-top: 2cm;
  }
}
