/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-list {
        gap: 0.5rem;
    }
    
    .nav-list li {
        margin: 0 0.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Header Mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1001;
        padding-top: 80px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem 0;
        height: auto;
    }
    
    .nav-list li {
        margin: 0;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 1.5rem;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: #f97316;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: #f97316;
    }
    
    /* Hero Mobile */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Elevator Animation Mobile */
    .elevator-animation {
        right: 2%;
        top: 15%;
        width: 40px;
        height: 200px;
    }
    
    .elevator-car {
        width: 30px;
        height: 40px;
        left: -13px;
    }
    
    .elevator-car::before,
    .elevator-car::after {
        width: 20px;
        height: 1px;
    }
    
    /* Typography Mobile */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Quick Quote Mobile */
    .quote-form {
        grid-template-columns: 1fr;
    }
    
    /* Products Mobile */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Calculator Mobile */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* CTA Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Loading Screen Mobile */
    .loading-content {
        padding: 2rem;
    }
    
    .logo-icon {
        font-size: 3rem;
    }
    
    .logo-text h1 {
        font-size: 2rem;
    }
    
    .logo-text p {
        font-size: 1rem;
    }
    
    .loading-message {
        font-size: 1.1rem;
    }
    
    .progress-bar {
        width: 200px;
    }
    
    .elevator-shaft-loading {
        width: 80px;
        height: 150px;
    }
    
    .elevator-car-loading {
        width: 50px;
        height: 30px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .product-card,
    .service-card {
        margin: 0 10px;
    }
    
    .calculator-form,
    .calculator-results {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .products-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .hero-cta,
    .quick-quote,
    .cta,
    .back-to-top {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-content {
        color: #333;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .product-card,
    .service-card {
        page-break-inside: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .nav-link::after {
        height: 3px;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Currently not implemented - can be added for future enhancement */
}
