/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 200px;
        text-align: center;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    /* Newsletter Form */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Cookie Banner */
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-buttons .btn {
        width: 200px;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Spacing */
    .services,
    .about,
    .testimonials,
    .blog-preview {
        padding: 3rem 0;
    }

    .newsletter {
        padding: 2rem 0;
    }

    /* Cards */
    .service-card,
    .testimonial-card,
    .blog-card {
        padding: 1.5rem;
    }

    /* About Stats */
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    /* Icons */
    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon img {
        width: 30px;
        height: 30px;
    }

    .about-icon {
        width: 150px;
        height: 150px;
    }

    /* Blog Icons */
    .blog-icon img {
        width: 40px;
        height: 40px;
    }

    /* Social Links */
    .social-links {
        justify-content: center;
    }

    /* Footer Links */
    .footer-links {
        font-size: 0.8rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .newsletter {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High Contrast */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #333;
    }

    .footer {
        border-top: 3px solid #60a5fa;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e5e5e5;
        --card-bg: #2d2d2d;
    }

    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        background-color: var(--card-bg);
        color: var(--text-color);
    }

    .header {
        background-color: #fff !important;
    }

    .nav-menu a {
        color: #333 !important;
    }
}
