/* Responsive Design */

/* Large Tablets and Desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .newsletter-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        justify-content: center;
        text-align: center;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Header */
    .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;
        gap: 2rem;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .suggestions-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Forms */
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-card.featured .blog-content {
        grid-template-columns: 1fr;
    }
    
    /* Article */
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-body {
        padding: 0 1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Header */
    .logo {
        font-size: 1.3rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about,
    .services,
    .blog-preview,
    .reviews,
    .newsletter-section,
    .contact-content,
    .newsletter-content,
    .article-content,
    .related-articles,
    .while-you-wait,
    .newsletter-sample,
    .newsletter-testimonials,
    .faq-section,
    .legal-content {
        padding: 60px 0;
    }
    
    .thank-you-content {
        padding: 90px 0 60px;
    }
    
    .page-header {
        padding: 90px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Cards */
    .service-card,
    .blog-card,
    .review-card,
    .related-card,
    .suggestion-card,
    .testimonial-card,
    .faq-item {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-buttons button {
        flex: 1;
        min-width: 0;
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    /* Cookie Modal */
    .cookie-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Forms */
    .checkbox-group {
        gap: 0.75rem;
    }
    
    .checkbox-label {
        align-items: flex-start;
    }
    
    /* Newsletter */
    .newsletter-form {
        padding: 1.5rem;
    }
    
    .newsletter-preview {
        padding: 1.5rem;
    }
    
    /* Article */
    .article-intro {
        font-size: 1.1rem;
    }
    
    .article-icon img {
        width: 60px;
        height: 60px;
    }
    
    .article-tags {
        gap: 0.25rem;
    }
    
    /* Thank You */
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    .thank-you-text {
        font-size: 1.1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .step-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Icons */
    .service-icon,
    .blog-icon,
    .suggestion-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-icon,
    .benefit-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Sample Newsletter */
    .newsletter-header {
        padding: 1.5rem;
    }
    
    .newsletter-body {
        padding: 1.5rem;
    }
    
    /* Legal */
    .legal-text {
        padding: 0 1rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }
}

/* Very Small Phones */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .service-card,
    .blog-card,
    .review-card,
    .related-card,
    .suggestion-card,
    .testimonial-card,
    .faq-item {
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .newsletter-form,
    .newsletter-preview {
        padding: 1rem;
    }
    
    .newsletter-header,
    .newsletter-body {
        padding: 1rem;
    }
    
    .thank-you-actions {
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .newsletter-section,
    .newsletter-signup-section,
    .social-links,
    .hamburger {
        display: none;
    }
    
    .hero,
    .page-header {
        background: none;
        color: #333;
    }
    
    .hero h1,
    .page-header h1 {
        color: #333;
    }
    
    .hero p,
    .page-header p {
        color: #666;
    }
    
    .article-content,
    .legal-content {
        padding: 20px 0;
    }
    
    .service-card,
    .blog-card,
    .review-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    a {
        color: #333;
        text-decoration: underline;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        background: none;
        color: #333;
        border: 1px solid #333;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .service-card,
    .blog-card,
    .review-card,
    .related-card,
    .suggestion-card,
    .testimonial-card,
    .faq-item {
        border: 2px solid #333;
    }
    
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background-color: #666;
        border: 2px solid #666;
    }
    
    .btn-outline {
        border: 2px solid #333;
        color: #333;
    }
}

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