/*
 * Print Styles for Renato Reis Portfolio Theme
 * Optimized for professional printing
 */

@media print {
    /* Reset and base styles */
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Page setup */
    @page {
        margin: 2cm;
        size: A4;
    }

    /* Typography */
    body {
        font-family: "Times New Roman", serif !important;
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
        page-break-after: avoid;
        font-weight: bold !important;
    }

    h1 { font-size: 18pt !important; }
    h2 { font-size: 16pt !important; }
    h3 { font-size: 14pt !important; }

    /* Hide non-essential elements */
    .no-print,
    .navigation,
    .nav-menu,
    .menu-toggle,
    .scroll-to-top,
    .social-links,
    .contact-form,
    button,
    input[type="submit"],
    .animations,
    .video-container {
        display: none !important;
    }

    /* Layout adjustments */
    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Sections */
    .section {
        page-break-inside: avoid;
        margin-bottom: 1cm !important;
    }

    /* Links */
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }

    /* Images */
    img {
        max-width: 100% !important;
        height: auto !important;
        page-break-inside: avoid;
    }

    /* Lists */
    ul, ol {
        margin: 0.5cm 0 !important;
    }

    li {
        margin-bottom: 0.2cm !important;
    }

    /* Tables */
    table {
        border-collapse: collapse !important;
        width: 100% !important;
    }

    th, td {
        border: 1px solid #000 !important;
        padding: 0.2cm !important;
        text-align: left !important;
    }

    /* Page breaks */
    .page-break {
        page-break-before: always;
    }

    .avoid-break {
        page-break-inside: avoid;
    }
}