/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        max-width: 500px;
    }
    
    .title-line {
        font-size: 2.2rem;
    }
    
    .title-sub {
        font-size: 1.3rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Minimal Mobile Navigation */
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: right 0.3s ease;
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        width: 200px;
        text-align: center;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Minimal Mobile Hero */
    .hero {
        padding: 100px 0 60px;
        margin-top: 70px;
    }
    
    .hero-content {
        text-align: right;
        max-width: 100%;
    }
    
    .title-line {
        font-size: 2rem;
        text-align: right;
    }
    
    .title-sub {
        font-size: 1.2rem;
        text-align: right;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: right;
    }
    
    .hero-buttons {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 200px;
        margin-bottom: 1rem;
    }
    
    /* Minimal Mobile Sections */
    .services-section,
    .projects-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
        text-align: right;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        text-align: right;
    }
    
    .section-header p {
        font-size: 1rem;
        text-align: right;
    }
    
    /* Minimal Mobile Grids */
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: right;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    /* Minimal Mobile CTA */
    .cta-section {
        padding: 60px 0;
        text-align: right;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        text-align: right;
    }
    
    .cta-content p {
        font-size: 1rem;
        text-align: right;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 200px;
    }
    
    /* Minimal Mobile Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: right;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 0.8rem 1rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .hero {
        padding: 80px 0 40px;
        margin-top: 60px;
    }
    
    .title-line {
        font-size: 1.8rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .services-section,
    .projects-section,
    .cta-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    .title-line {
        font-size: 3rem;
    }
    
    .title-sub {
        font-size: 1.8rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-title,
    .section-header h2 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-section,
    .hero-buttons,
    .nav-actions,
    .hamburger {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000 !important;
        background: #fff !important;
    }
    
    .container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero {
        margin-top: 0 !important;
        padding: 20px 0 !important;
    }
    
    .services-section,
    .projects-section {
        padding: 20px 0 !important;
    }
    
    .service-card,
    .project-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        margin-bottom: 10pt !important;
        break-inside: avoid;
    }
}