/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #f9f9fb;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: url('images/background.jpg') center/cover no-repeat; /* Replace with your Mini image */
    height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55); /* dark overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 15%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    background: #ffcc00;
    color: #222;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* Navigation inside hero */
.hero nav {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 15px;
}

.hero nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.hero nav a:hover {
    color: #ffcc00;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* Grid for cars */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Car card */
.car {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.car h3 {
    margin-bottom: 10px;
    color: #222;
}

.car img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    height: 180px;
}

/* Buttons */
button {
    padding: 10px 18px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

button:hover {
    background: #ffcc00;
    color: #222;
}

/* Forms */
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 6px 0 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}

form textarea {
    min-height: 100px;
}

/* Headings */
h2 {
    margin-bottom: 20px;
    color: #111;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}