body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50; /* Dark blue background */
    color: #ecf0f1;
    overflow: hidden; /* Hide scrollbars */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

.maintenance-content h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.maintenance-content p {
    font-size: 1.3em;
    margin-bottom: 50px;
    color: #bdc3c7;
}

/* --- New Animation --- */

.animation-container {
    position: relative;
    width: 80%;
    max-width: 600px;
    height: 150px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden; /* Important to keep truck within bounds */
}

.road {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: #34495e; /* Darker road color */
    border-top: 5px solid #7f8c8d; /* Guardrail */
}

.road::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        #f1c40f, /* Yellow lines */
        #f1c40f 20px,
        transparent 20px,
        transparent 40px
    );
    animation: move-lines 0.5s linear infinite;
}

@keyframes move-lines {
    from { background-position: 0 0; }
    to { background-position: -40px 0; }
}

.truck {
    position: absolute;
    left: -200px; /* Start off-screen */
    bottom: 30px; /* Position on the road */
    width: 180px;
    height: 80px;
    animation: drive 8s linear infinite;
}

.truck-cab {
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
    height: 70px;
    background: #e74c3c; /* Red cab */
    border-radius: 10px 10px 0 0;
}

.truck-cab::after { /* Cab window */
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 30px;
    background: #aed6f1;
    border-radius: 5px;
}

.truck-body {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 80px;
    background: #95a5a6; /* Grey container */
    border-radius: 5px;
}

.wheel {
    position: absolute;
    bottom: -15px;
    width: 35px;
    height: 35px;
    background: #2c3e50;
    border: 5px solid #7f8c8d;
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
}

.wheel1 {
    left: 20px;
}

.wheel2 {
    right: 20px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes drive {
    from { left: -200px; } /* Start off-screen to the left */
    to { left: 100%; } /* End off-screen to the right */
}