body {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.hero {
    position: relative;
    height: 100vh;
    background-image: url('images/Mobile-Mechanic-Service.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.summary-section {
    padding: 4rem 2rem;
    background-color: #f9fafb;
}

.contact-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    text-align: center;
    color: #333;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item div {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}