/* Print Styles for Faza3 Website */

@media print {
    /* Hide non-essential elements */
    .navbar,
    .footer,
    .nav-controls,
    .hero-buttons,
    .download-buttons,
    .testimonials-controls,
    .contact-form,
    .footer-social,
    .hamburger,
    .lang-toggle {
        display: none !important;
    }
    
    /* Reset page styles */
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Page setup */
    @page {
        margin: 2cm;
        size: A4;
    }
    
    /* Typography adjustments */
    body {
        font-size: 12pt;
        line-height: 1.4;
        font-family: 'Cairo', serif;
        color: #000;
        background: white;
    }
    
    body[dir="ltr"] {
        font-family: 'Poppins', serif;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
        margin-bottom: 0.5em;
        color: #000;
    }
    
    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
    h4 { font-size: 13pt; }
    h5 { font-size: 12pt; }
    h6 { font-size: 11pt; }
    
    p {
        margin-bottom: 0.5em;
        orphans: 3;
        widows: 3;
    }
    
    /* Container adjustments */
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    /* Section adjustments */
    section {
        page-break-inside: avoid;
        margin-bottom: 1em;
        padding: 0;
    }
    
    .section-header {
        margin-bottom: 1em;
        text-align: left;
    }
    
    /* Hero section */
    .hero {
        padding: 0;
        min-height: auto;
        background: none;
    }
    
    .hero-content {
        display: block;
        gap: 0;
    }
    
    .hero-text h1 {
        margin-bottom: 0.5em;
        background: none;
        color: #000;
        -webkit-text-fill-color: initial;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Features section */
    .features-grid {
        display: block;
        gap: 0;
    }
    
    .feature-card {
        display: block;
        padding: 0.5em;
        margin-bottom: 1em;
        border: 1px solid #ccc;
        border-radius: 0;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .feature-icon {
        display: none;
    }
    
    /* How it works section */
    .steps-container {
        display: block;
        gap: 0;
    }
    
    .step {
        display: block;
        margin-bottom: 1em;
        page-break-inside: avoid;
    }
    
    .step-number {
        display: inline-block;
        margin-right: 0.5em;
        background: #000;
        color: white;
        border-radius: 50%;
        width: 1.5em;
        height: 1.5em;
        text-align: center;
        line-height: 1.5em;
        font-size: 10pt;
    }
    
    .step-icon {
        display: none;
    }
    
    /* Testimonials section */
    .testimonials-slider {
        display: block;
        gap: 0;
    }
    
    .testimonial {
        display: block;
        margin-bottom: 1em;
        page-break-inside: avoid;
    }
    
    .testimonial-content {
        padding: 0.5em;
        border: 1px solid #ccc;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
    }
    
    .stars {
        margin-bottom: 0.5em;
    }
    
    .stars i {
        color: #000;
    }
    
    .customer-info {
        justify-content: flex-start;
        gap: 0.5em;
    }
    
    .customer-avatar {
        display: none;
    }
    
    /* Download section */
    .download {
        background: none;
        color: #000;
    }
    
    .download-content {
        display: block;
        gap: 0;
    }
    
    .download-image {
        display: none;
    }
    
    /* Contact section */
    .contact-content {
        display: block;
        gap: 0;
    }
    
    .contact-info {
        gap: 0.5em;
    }
    
    .info-item {
        gap: 0.5em;
        margin-bottom: 0.5em;
    }
    
    .info-item i {
        display: none;
    }
    
    /* Footer */
    .footer {
        background: none;
        color: #000;
        padding: 1em 0;
        border-top: 1px solid #ccc;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5em;
        text-align: left;
    }
    
    .footer-logo img {
        filter: none;
    }
    
    .footer-links {
        gap: 1em;
        justify-content: flex-start;
    }
    
    /* Links */
    a {
        text-decoration: underline;
        color: #000;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Tables */
    .table {
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .table th,
    .table td {
        border: 1px solid #ccc;
        padding: 0.25em;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 0.5em;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.25em;
        font-weight: bold;
    }
    
    .form-group input,
    .form-group textarea {
        border: 1px solid #ccc;
        padding: 0.25em;
        width: 100%;
    }
    
    /* Buttons */
    .btn {
        display: none;
    }
    
    /* Grid system */
    .grid {
        display: block;
        gap: 0;
    }
    
    .grid-cols-1,
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4,
    .grid-cols-6,
    .grid-cols-8,
    .grid-cols-12 {
        grid-template-columns: 1fr;
    }
    
    /* Utility classes */
    .text-center { text-align: left; }
    .text-right { text-align: left; }
    
    /* Page breaks */
    .page-break {
        page-break-before: always;
    }
    
    .no-break {
        page-break-inside: avoid;
    }
    
    /* QR Code for mobile app */
    .print-qr {
        display: block;
        text-align: center;
        margin: 1em 0;
        page-break-inside: avoid;
    }
    
    .print-qr img {
        width: 100px;
        height: 100px;
        border: 1px solid #ccc;
    }
    
    .print-qr p {
        margin-top: 0.5em;
        font-size: 10pt;
        color: #666;
    }
    
    /* Contact information for print */
    .print-contact {
        display: block;
        margin: 1em 0;
        padding: 0.5em;
        border: 1px solid #ccc;
        border-radius: 0;
        background: #f9f9f9;
    }
    
    .print-contact h3 {
        margin-bottom: 0.5em;
        font-size: 14pt;
    }
    
    .print-contact p {
        margin: 0.25em 0;
        font-size: 11pt;
    }
    
    /* Services list for print */
    .print-services {
        display: block;
        margin: 1em 0;
    }
    
    .print-services h3 {
        margin-bottom: 0.5em;
        font-size: 14pt;
    }
    
    .print-services ul {
        list-style: disc;
        margin-left: 1em;
        margin-bottom: 0.5em;
    }
    
    .print-services li {
        margin-bottom: 0.25em;
        font-size: 11pt;
    }
    
    /* Footer for print */
    .print-footer {
        margin-top: 2em;
        padding-top: 1em;
        border-top: 2px solid #000;
        text-align: center;
        font-size: 10pt;
        color: #666;
    }
    
    .print-footer p {
        margin: 0.25em 0;
    }
}

/* Specific print styles for Arabic */
@media print and (dir="rtl") {
    body {
        font-family: 'Cairo', serif;
    }
    
    .section-header {
        text-align: right;
    }
    
    .testimonial-content {
        text-align: right;
    }
    
    .customer-info {
        justify-content: flex-end;
    }
    
    .footer-content {
        text-align: right;
    }
    
    .footer-links {
        justify-content: flex-end;
    }
    
    .text-center { text-align: right; }
    .text-left { text-align: right; }
}

/* Print styles for English */
@media print and (dir="ltr") {
    body {
        font-family: 'Poppins', serif;
    }
    
    .section-header {
        text-align: left;
    }
    
    .testimonial-content {
        text-align: left;
    }
    
    .customer-info {
        justify-content: flex-start;
    }
    
    .footer-content {
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
    
    .text-center { text-align: left; }
    .text-right { text-align: left; }
}
