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

    h2 {
        font-size: 1.75rem;
    }

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

    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

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

    .nav-list {
        flex-direction: column;
        padding: 2rem 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Section */
    .hero {
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    /* Cookie Modal */
    .cookie-modal {
        padding: 1rem;
    }

    .cookie-modal-content {
        max-height: 90vh;
    }

    /* Thank You Page */
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .thank-you-actions .btn {
        width: 200px;
    }
}

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

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    /* Hero Section */
    .hero {
        padding: 40px 0;
    }

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

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

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

    .service-card {
        padding: 1.5rem;
    }

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

    /* Contact Items */
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

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

    .social-links {
        justify-content: center;
    }

    /* Cookie Banner */
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-buttons .btn {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    /* SVG Images */
    .hero-svg, .about-svg {
        max-width: 300px;
        max-height: 200px;
    }

    .product-svg {
        height: 150px;
    }

    /* Image Placeholders */
    .image-placeholder {
        padding: 2rem 1rem;
        min-height: 200px;
    }

    .image-placeholder i {
        font-size: 3rem;
    }

    .map-placeholder {
        height: 300px;
        padding: 2rem 1rem;
    }

    /* Legal Content */
    .legal-content {
        padding: 0 1rem;
    }

    /* Form Elements */
    .newsletter-form input,
    .newsletter-form button {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* Large Mobile Styles */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1rem;
    }

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

    .service-icon i {
        font-size: 1.5rem;
    }

    /* SVG Images for small screens */
    .hero-svg, .about-svg {
        max-width: 250px;
        max-height: 150px;
    }

    .product-svg {
        height: 120px;
    }

    .image-placeholder {
        padding: 1.5rem 1rem;
        min-height: 150px;
    }

    .image-placeholder i {
        font-size: 2.5rem;
    }
}

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

    main {
        margin-top: 0;
    }

    .btn {
        border: 1px solid #333;
        background: none !important;
        color: #333 !important;
    }

    .image-placeholder {
        border: 1px solid #333;
        background: none;
    }

    a {
        color: #333 !important;
        text-decoration: underline;
    }

    .legal-content {
        max-width: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .image-placeholder {
        border-width: 1px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }

    .nav-menu {
        height: calc(100vh - 80px);
    }
}

/* Accessibility - 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;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This is kept minimal as the design is intended for light mode */
    .image-placeholder {
        background-color: #374151;
        border-color: #4b5563;
        color: #d1d5db;
    }
}
