/* ===================================
   Print Stylesheet
   Professional Resume Printing
   =================================== */

@media print {
    /* Reset and General */
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        font-family: 'Times New Roman', serif;
    }

    /* Hide unnecessary elements */
    .navbar,
    .hamburger,
    .theme-toggle,
    .scroll-top-btn,
    .cta-buttons,
    .social-links,
    .contact-form,
    footer,
    nav {
        display: none !important;
    }

    /* Page breaks */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    .timeline-item,
    .project-card,
    .certification-card {
        page-break-inside: avoid;
    }

    /* Sections */
    .section {
        padding: 1rem 0;
    }

    .about-section {
        padding-top: 0 !important;
    }

    /* About Section */
    .about-content {
        display: block;
    }

    .about-image {
        float: left;
        margin-right: 2rem;
        margin-bottom: 1rem;
    }

    .about-image img {
        width: 150px !important;
        height: 150px !important;
        border: 2px solid #000 !important;
    }

    /* Typography */
    .section-title {
        font-size: 18pt;
        border-bottom: 2px solid #000;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }

    .section-title::after {
        display: none;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 18pt;
    }

    h3 {
        font-size: 14pt;
    }

    h4 {
        font-size: 12pt;
    }

    /* Links */
    a {
        text-decoration: none;
        color: #000;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }

    /* Timeline */
    .timeline {
        border-left: 2px solid #000;
    }

    .timeline-dot {
        background: #000 !important;
    }

    .timeline-date {
        font-weight: bold;
        color: #000 !important;
    }

    /* Skills */
    .skill-bar {
        border: 1px solid #000;
    }

    .skill-progress {
        background: #000 !important;
    }

    /* Projects and Certifications */
    .project-card,
    .certification-card {
        border: 1px solid #000;
        margin-bottom: 1rem;
    }

    /* Contact Info */
    .contact-details {
        display: block;
    }

    .contact-item {
        margin-bottom: 0.5rem;
    }

    /* Ensure content fits */
    .container {
        max-width: 100%;
        padding: 0 1cm;
    }

    /* Page margins */
    @page {
        margin: 2cm;
    }

    /* Avoid orphans and widows */
    p, li {
        orphans: 3;
        widows: 3;
    }
}

/* Made with Bob */
