/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-visual {
        height: 400px;
    }

    .services-grid {
        max-width: 800px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .digital-twin-container {
        height: 400px;
    }

    .construction-site {
        width: 150px;
        height: 200px;
    }

    .building-progress {
        width: 130px;
        height: 180px;
    }

    .floor {
        width: 130px;
        height: 35px;
        padding: 0 8px;
    }

    .floor-label,
    .progress-indicator {
        font-size: 0.5rem;
    }

    .crane {
        width: 30px;
        height: 45px;
    }

    .excavator {
        width: 25px;
        height: 15px;
    }

    .worker {
        width: 6px;
        height: 10px;
    }

    .data-dashboard {
        width: 200px;
        top: 15px;
        right: 15px;
    }

    .data-point {
        padding: 0.25rem;
    }

    .data-icon {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.625rem;
    }

    .data-value {
        font-size: 0.75rem;
    }

    .data-label {
        font-size: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 4rem;
        flex-direction: column;
        background: var(--nav-background);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .digital-twin-container {
        height: 300px;
    }

    .construction-site {
        width: 120px;
        height: 150px;
    }

    .building-progress {
        width: 100px;
        height: 120px;
    }

    .floor {
        width: 100px;
        height: 25px;
        padding: 0 5px;
    }

    .floor-label,
    .progress-indicator {
        font-size: 0.4rem;
    }

    .crane {
        width: 25px;
        height: 35px;
    }

    .excavator {
        width: 20px;
        height: 12px;
    }

    .worker {
        width: 4px;
        height: 8px;
    }

    .safety-barrier {
        width: 15px;
        height: 2px;
    }

    .data-dashboard {
        width: 180px;
        top: 10px;
        right: 10px;
        padding: 0.75rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.25rem;
    }

    .metric-card {
        padding: 0.25rem;
    }

    .metric-value {
        font-size: 1rem;
    }

    .data-point {
        padding: 0.25rem;
    }

    .data-icon {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.5rem;
    }

    .data-value {
        font-size: 0.625rem;
    }

    .data-label {
        font-size: 0.5rem;
    }

    .control-panel {
        gap: 0.25rem;
        padding: 0.25rem;
    }

    .control-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 2rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .tech-item {
        padding: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
