/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 100%);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: top 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        top: 70px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Hero Section */
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 200px;
        justify-content: center;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* About Section */
    .about-text {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .about-text ul,
    .about-text ol {
        padding-right: 1.5rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Cities */
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .city-card {
        padding: 1.5rem;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 150px;
        font-size: 2.5rem;
    }
    
    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        font-size: 1.8rem;
    }
    
    /* Floating Action Button */
    .fab-container {
        bottom: 20px;
        left: 20px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fab-item {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content h3 {
        font-size: 1.3rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        width: 180px;
    }
    
    .service-card,
    .city-card {
        padding: 1.2rem;
    }
    
    .service-card h3,
    .city-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p,
    .city-card p {
        font-size: 0.9rem;
    }
    
    .about-text {
        font-size: 0.95rem;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-item h3 {
        font-size: 1rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
    
    .fab-container {
        bottom: 15px;
        left: 15px;
    }
    
    .fab-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .fab-item {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Large Screen Styles */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .fab-container,
    .hero-buttons {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
        background: none !important;
        color: #000 !important;
    }
    
    .hero::before {
        display: none;
    }
    
    .contact {
        background: none !important;
        color: #000 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        color: #000 !important;
    }
    
    .btn {
        border: 1px solid #000 !important;
        color: #000 !important;
        background: none !important;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero {
        background: #000 !important;
        color: #fff !important;
    }
    
    .service-card,
    .city-card,
    .portfolio-item {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background: #000 !important;
        color: #fff !important;
        border: 2px solid #fff;
    }
    
    .btn-secondary {
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .about {
        background: #2a2a2a;
    }
    
    .services {
        background: #1a1a1a;
    }
    
    .cities {
        background: #2a2a2a;
    }
    
    .service-card,
    .city-card,
    .portfolio-item {
        background: #333;
        color: #e0e0e0;
    }
    
    .service-card h3,
    .city-card h3 {
        color: #fff;
    }
    
    .section-title {
        color: #fff;
    }
}
