*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:Wild Sand;
}

header{
background:white;
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 10%;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.logo{
display:flex;
align-items:center;
}

.logo img{
height:70px;
margin-right:10px;
}

nav a{
margin:0 15px;
text-decoration:underline;
color:#333;
font-weight:bold;
}

nav a:hover{
color:#b30000;
}

.hero{
background:#b30000;
background: linear-gradient(rgba(1,0,0,0.1), rgba(1,0,0,0.1)),
url("../images/Car-Detailing.jpg");
background-position:center;
color:white;
text-align:center;
padding:120px 20px;
}

.hero h1{
font-size:45px;
margin-bottom:15px;
}

.hero p{
font-size:20px;
}

.btn{
display:inline-block;
background:#2ecc71;
color:white;
padding:12px 25px;
margin-top:20px;
text-decoration:none;
border-radius:5px;
}

.container{
width:85%;
margin:auto;
padding:60px 0;
}

.services{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.card{
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 4px 12px rgba(0,0,0,0.1);
text-align:center;
}

.card h3{
color:#b30000;
margin-bottom:10px;
}

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.gallery img{
width:100%;
border-radius:8px;
}

form{
max-width:500px;
margin:auto;
}

form input, form select, form textarea{
width:100%;
padding:12px;
margin-bottom:15px;
border:1px solid #ccc;
border-radius:5px;
}

button{
background:#2ecc71;
border:none;
padding:12px 20px;
color:white;
font-size:16px;
cursor:pointer;
border-radius:5px;
}

footer{
background:#111;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}

.scroll-container {
    background:Red;
    align-items:center;
    width:100%;
    overflow: hidden; /* Hides the text outside the container */
    white-space: nowrap; /* Keeps all text on a single line */
    box-sizing: border-box;
}

.scrolling-text {
    /* Duplicates the text and animates the transform property */
    display: inline-block; 
    padding-left: 85%; /* Starts text completely off-screen to the right */
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0); /* Start position */
    }
    100% {
        transform: translateX(-100%); /* End position (moves left by 100% of the container's width) */
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: column;  /* stack links vertically */
        align-items: center;
        gap: 10px;  /* space between links */
    }

    .nav-menu a {
        display: block;
        padding: 10px 15px;
        font-size: 18px;
        text-align: center;
        background: #444;  /* optional background for better tap */
        color: #fff;
        border-radius: 5px;
        text-decoration: none;
    }

    .nav-menu a:hover {
        background: #555;
    }
}