/*
===============================================================================
RENT ASSISTENZ - PRINT & DARK MODE SYSTEM
===============================================================================
Complete print and dark mode styling - consolidated from style.css
Professional print layouts and dark mode support
Version: 1.0.0 - Clean Migration
===============================================================================
*/

/* ===== DARK MODE SUPPORT ===== */

/* Dark Mode Color Scheme Support */
@media (prefers-color-scheme: dark) {
    /* REMOVED: Contact dark mode moved to contact-unified.css */
    
    /* Main Content Areas */
    .page-content,
    .section-full {
        background-color: #2c3e50 !important;
        color: #ecf0f1 !important;
    }
    
    /* REMOVED: Hero Banner Dark Mode moved to hero-unified.css */
    
    /* Blue Gallery Section */
    .blue-gallery-section {
        background: #1a252f !important;
    }
    
    /* REMOVED: Navigation Dark Mode moved to navigation-critical-fix.css */
    /* This prevents conflicts between print/dark system and navigation control */
    
    /* Links Dark Mode */
    a:not(.site-button) {
        color: #3498db !important;
    }
    
    a:not(.site-button):hover {
        color: #5dade2 !important;
    }
    
    /* Form Elements Dark Mode */
    input,
    textarea,
    select {
        background-color: #34495e !important;
        color: #ecf0f1 !important;
        border-color: #5d6d7e !important;
    }
    
    input:focus,
    textarea:focus,
    select:focus {
        border-color: #3498db !important;
        box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2) !important;
    }
    
    /* Cards and Content Boxes */
    .content-box {
        background-color: #34495e !important;
        color: #ecf0f1 !important;
        border-color: #5d6d7e !important;
    }
    
    /* REMOVED: Services dark mode moved to services-unified.css */
    
    /* REMOVED: Testimonials dark mode moved to testimonials-unified.css */
}

/* ===== PRINT STYLES ===== */

/* General Print Layout */
@media print {
    /* Hide Interactive Elements */
    /* REMOVED: Navigation elements moved to navigation-critical-fix.css */
    .contact-actions,
    .site-button,
    .owl-nav,
    .owl-dots,
    .sticky-elements {
        display: none !important;
    }
    
    /* Reset Background Images and Colors */
    /* REMOVED: Hero print styles moved to hero-unified.css */
    .blue-gallery-section {
        background: none !important;
        background-image: none !important;
        color: #000000 !important;
        min-height: auto !important;
    }
    
    /* Content Layout Adjustments */
    .page-content {
        margin-top: 0 !important;
        padding: 0 !important;
    }
    
    .section-full {
        padding: 10px 0 !important;
        margin: 0 !important;
    }
    
    /* Typography for Print */
    .blue-gallery-section .section-head h2,
    .blue-gallery-section .section-head p,
    .section-head h2,
    .section-head p {
        color: #000000 !important;
        text-shadow: none !important;
    }
    
    /* Link URLs for Print */
    a[href^="tel:"]::after {
        content: " (" attr(href) ")" !important;
        font-size: 12px !important;
        color: #666666 !important;
    }
    
    a[href^="mailto:"]::after {
        content: " (" attr(href) ")" !important;
        font-size: 12px !important;
        color: #666666 !important;
    }
    
    a[href^="http"]:not(.site-button)::after {
        content: " (" attr(href) ")" !important;
        font-size: 10px !important;
        color: #666666 !important;
        word-break: break-all !important;
    }
    
    /* Gallery and Interactive Elements */
    .owl-location-carousel .owl-nav,
    .carousel-controls,
    .interactive-elements {
        display: none !important;
    }
    
    /* REMOVED: Services print styles moved to services-unified.css */
    
    /* REMOVED: Contact Information print styles moved to contact-unified.css */
    
    /* Footer Print Styles */
    .site-footer {
        background: none !important;
        color: #000000 !important;
        border-top: 2px solid #000000 !important;
        padding: 20px 0 !important;
    }
    
    .site-footer .widget h5,
    .site-footer .widget_getintuch h5,
    .site-footer .footer-bottom {
        color: #000000 !important;
    }
    
    .site-footer .social-icons {
        display: none !important;
    }
    
    /* Page Break Controls */
    .page-break {
        page-break-before: always !important;
    }
    
    .no-break {
        page-break-inside: avoid !important;
    }
    
    /* Print-specific Typography */
    h1, h2, h3, h4, h5, h6 {
        color: #000000 !important;
        page-break-after: avoid !important;
    }
    
    p {
        color: #000000 !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    
    /* REMOVED: Testimonials Print Layout moved to testimonials-unified.css */
    
    /* REMOVED: Services Print Layout moved to services-unified.css */
}

/* ===== PRINT UTILITY CLASSES ===== */

/* Print-only Content */
.print-only {
    display: none !important;
}

@media print {
    .print-only {
        display: block !important;
    }
    
    .screen-only {
        display: none !important;
    }
}

/* ===== DARK MODE UTILITIES ===== */

/* Dark Mode Only Content */
.dark-only {
    display: none !important;
}

@media (prefers-color-scheme: dark) {
    .dark-only {
        display: block !important;
    }
    
    .light-only {
        display: none !important;
    }
}

/* ===== HIGH CONTRAST PRINT ===== */

/* High Contrast Print Mode */
@media print and (prefers-contrast: high) {
    * {
        background: none !important;
        color: #000000 !important;
        border-color: #000000 !important;
    }
    
    /* REMOVED: Contact high contrast moved to contact-unified.css */
    
    /* REMOVED: Services high contrast moved to services-unified.css */
    
    /* REMOVED: Testimonials high contrast moved to testimonials-unified.css */
    
    h1, h2, h3, h4, h5, h6 {
        font-weight: bold !important;
        text-decoration: underline !important;
    }
}

/* ===== FORCED COLORS MODE ===== */

/* Windows High Contrast Mode Support */
@media (forced-colors: active) {
    /* REMOVED: Contact forced colors moved to contact-unified.css */
    
    .site-button {
        background: ButtonFace !important;
        color: ButtonText !important;
        border: 2px solid ButtonBorder !important;
    }
    
    .site-button:hover,
    .site-button:focus {
        background: Highlight !important;
        color: HighlightText !important;
        border-color: Highlight !important;
    }
}