/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .navbar-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    
    .navbar-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .navbar-nav li:last-child {
        border-bottom: none;
    }
    
    .navbar-nav a {
        display: block;
        padding: 1rem 0;
        color: #2c3e50;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    /* About */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* Newsletter */
    .newsletter-text h2 {
        font-size: 2rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    /* Contact */
    .contact-info {
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Cookie Modal */
    .cookie-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .cookie-modal-header {
        padding: 1rem;
    }
    
    .cookie-modal-body {
        padding: 1rem;
    }
    
    .cookie-modal-footer {
        padding: 1rem;
    }
    
    /* Legal Pages */
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Success Page */
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Cookie Table */
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Form Elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Hero */
    .hero-text h2 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Newsletter */
    .newsletter-text h2 {
        font-size: 1.75rem;
    }
    
    .newsletter-text p {
        font-size: 1rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    /* Contact Cards */
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    /* Review Cards */
    .review-card {
        padding: 1.5rem;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 0.75rem;
    }
    
    .cookie-text h3 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        gap: 0.5rem;
    }
    
    .cookie-buttons .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* Success Page */
    .success-content h1 {
        font-size: 2rem;
    }
    
    .success-content > p {
        font-size: 1rem;
    }
    
    .success-details {
        padding: 1.5rem;
    }
    
    .success-details li {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Legal Content */
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
    
    .legal-content ul,
    .legal-content ol {
        padding-left: 1.5rem;
    }
    
    /* SVG Images */
    .hero-equipment-svg,
    .office-building-svg {
        max-width: 350px;
    }
    
    /* Image Placeholders */
    .image-placeholder {
        height: 250px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .image-placeholder p {
        font-size: 1rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-equipment-svg,
    .office-building-svg {
        max-width: 300px;
    }
    
    .image-placeholder {
        height: 200px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .image-placeholder {
        border-width: 2px;
    }
    
    .service-icon,
    .contact-icon {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This is a placeholder for potential dark mode support */
    /* Currently maintaining light theme for professional B2B appearance */
}

/* Print Specific Responsive */
@media print and (max-width: 8.5in) {
    .container {
        padding: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content,
    .about-content,
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
