/* Responsive Design */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        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);
        padding: 2rem 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

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

    .section-subtitle {
        font-size: 1.1rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    /* Locations */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Article */
    .main-article {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

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

    .contact-cta {
        flex-direction: column;
        align-items: center;
    }

    .contact-cta .cta-button {
        width: 100%;
        max-width: 300px;
    }

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

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

    .nav-container {
        padding: 0 15px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .service-card,
    .location-card {
        margin: 0 10px;
    }

    .main-article {
        margin: 0 10px;
        padding: 1.5rem;
    }

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

    .contact-item {
        padding: 1rem;
    }

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

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

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

    .hero-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .contact-section,
    .footer {
        display: none;
    }

    .main-article {
        box-shadow: none;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .article-title {
        font-size: 18pt;
        color: #000;
    }

    .section-title {
        font-size: 16pt;
        color: #000;
    }
}

/* Accessibility */
@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 can be implemented if needed */
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.cta-button:focus,
.location-button:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .location-card:hover {
        transform: none;
    }

    .cta-button:hover,
    .location-button:hover {
        transform: none;
    }
}

