/* Print and PDF Export Styles */

@media print {
    /* Hide non-print elements */
    header,
    nav,
    #download-pdf-btn,
    #theme-toggle,
    #footer-pdf-btn,
    #lang-en,
    #lang-tr,
    .fixed,
    button {
        display: none !important;
    }

    /* Reset colors for print */
    body {
        background: white !important;
        color: black !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
    }

    /* Page setup */
    @page {
        size: A4;
        margin: 15mm;
    }

    /* Remove dark mode styles */
    .dark {
        background: white !important;
        color: black !important;
    }

    /* Card styles for print */
    .bg-surface-dark,
    .bg-white,
    .dark\:bg-surface-dark,
    .dark\:bg-\[\#111518\] {
        background: white !important;
        border: 1px solid #e5e5e5 !important;
        box-shadow: none !important;
    }

    /* Text colors */
    .text-white,
    .dark\:text-white {
        color: black !important;
    }

    .text-text-secondary,
    .dark\:text-text-secondary,
    .text-text-secondary-light {
        color: #666 !important;
    }

    .text-primary {
        color: #2d7a0e !important;
    }

    /* Skill badges */
    .rounded-full {
        border: 1px solid #ddd !important;
        background: #f9f9f9 !important;
    }

    .bg-primary\/10 {
        background: #e8f5e0 !important;
    }

    /* Remove animations and effects */
    .animate-pulse,
    .blur-md,
    .blur-3xl {
        animation: none !important;
        filter: none !important;
    }

    /* Grid layout adjustments */
    .grid {
        display: block !important;
    }

    .lg\:col-span-4,
    .lg\:col-span-8 {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* Section spacing */
    section,
    aside > div {
        page-break-inside: avoid;
        margin-bottom: 15px !important;
    }

    /* Experience cards */
    .group {
        page-break-inside: avoid;
    }

    /* Project cards */
    #projects-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Footer */
    footer {
        border-top: 1px solid #e5e5e5 !important;
        padding-top: 15px !important;
        margin-top: 20px !important;
    }

    /* Links */
    a {
        color: inherit !important;
        text-decoration: none !important;
    }

    a[href]:after {
        content: none !important;
    }
}

/* PDF-specific optimizations when using html2pdf */
.pdf-export {
    background: white !important;
    color: black !important;
}

.pdf-export .dark\:bg-surface-dark {
    background: white !important;
}

.pdf-export .dark\:text-white {
    color: black !important;
}
