/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    /* Offer Grid */
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .offer-card.featured {
        transform: none;
    }
    
    /* Reviews Grid */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 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;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    /* Thank You Page */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-menu {
        top: 70px;
        padding: 1.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 90px 0 50px;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon img {
        width: 25px;
        height: 25px;
    }
    
    /* About Stats */
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat strong {
        font-size: 1.5rem;
    }
    
    /* Offer Cards */
    .offer-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    /* Review Cards */
    .review-card {
        padding: 1.5rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 0.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    /* Cookie Modal */
    .cookie-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    /* Legal Pages */
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-page h1 {
        font-size: 1.75rem;
    }
    
    .legal-page ul {
        margin-left: 1rem;
    }
    
    /* Thank You Page */
    .thank-you {
        padding: 100px 0 60px;
    }
    
    .thank-you-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .step {
        padding: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .contact-info-quick {
        padding: 1.5rem;
    }
    
    /* Form Elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Social Icons */
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
    }
    
    .social-icons img {
        width: 18px;
        height: 18px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    section {
        padding: 100px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .btn {
        display: none;
    }
    
    .legal-page {
        padding: 0;
    }
    
    section {
        padding: 20px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 {
        font-size: 18pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    h3 {
        font-size: 14pt;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }
    
    .btn-outline {
        border-width: 3px;
    }
    
    .service-card,
    .offer-card,
    .review-card {
        border: 2px solid #000;
    }
}

/* Focus Styles for Better Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #0066cc;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}
