/* Responsive Styles */

/* Large Devices (Desktops) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .banner-content h1 {
        font-size: 2.4rem;
    }
}

/* Medium Devices (Tablets) */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .banner {
        padding: 80px 0;
    }
    
    .banner .container {
        flex-direction: column;
    }
    
    .banner-content, .banner-image {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
    
    .banner-content {
        margin-bottom: 40px;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-articles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo, .footer-nav-column {
        min-width: 100%;
    }
    
    .footer-nav {
        justify-content: space-between;
    }
}

/* Small Devices (Mobile) */
@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: var(--shadow-md);
        padding: 20px 0;
        transform: translateY(-100%);
        z-index: 999;
        transition: transform var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .related-articles {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .modal-content {
        margin: 50px 20px;
    }
    
    .thank-you-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Extra Small Devices */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .banner {
        padding: 50px 0;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
}

/* Specific Navigation Toggle Styles */
@media screen and (max-width: 768px) {
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-links a.btn {
        display: inline-block;
        margin-top: 10px;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .cookie-consent, .modal, .banner, .contact-form, .social-links, .testimonials, .article-related {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    h1 {
        font-size: 20pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    h3 {
        font-size: 14pt;
    }
    
    img {
        max-width: 100% !important;
    }
}
