* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background-color: rgb(97, 13, 13);
}
/* NAVBAR */
nav {
    background:black;
    font-size:bold;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    align-items: center;
}

nav h1 {
    color: #ff3c00;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* HERO */
.hero {
    background: url("") center no-repeat ;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 40px;
    background:black;
    padding: 20px;
}

/* SECTION */
.section {
    padding: 40px;
    text-align: center;
}

/* CAR GRID */
.cars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARD */
.card {
    background:white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    margin: 10px 0;
}

.card p {
    color: #555;
}

.price {
    color: green;
    font-weight: bold;
}

/* BUTTON */
.btn {
    display: inline-block;
    background: #ff3c00;
    color: white;
    padding: 10px 15px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
}

/* FORM */
form {
    max-width: 400px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

button {
    background:red;
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
}

/* FOOTER */
footer {
    background: black ;
    color: white;
    text-align: center;
    padding: 20px;
}

/* RESPONSIVE */
@media(max-width: 600px) {
    .hero h2 {
        font-size: 24px;
    }
}
