/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background: #2b2b2b;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    font-size: 1.6em;
    text-decoration: none;
    font-weight: bold;
}

.main-nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #2b2b2b;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

/* Main Layout */
.main-content {
    min-height: 70vh;
}

/* Car Grid */
.car-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.car-card {
    background: white;
    border: 1px solid #ddd;
    padding: 16px;
    width: calc(33.333% - 20px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    border-radius: 4px;
}

.car-card:hover {
    transform: translateY(-4px);
}

.car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.car-card h3 {
    margin-bottom: 8px;
}

.car-card p {
    margin-bottom: 6px;
    font-size: 14px;
}

/* Forms */
form {
    margin-top: 20px;
    max-width: 600px;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form input[type="date"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background: #2b2b2b;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

form button:hover {
    background: #444;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

/* Media Queries */
@media (max-width: 900px) {
    .car-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .car-card {
        width: 100%;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        margin-top: 10px;
    }

    .main-nav a {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 5px;
    }
}
.cta-button {
    display: inline-block;
    background: #2b2b2b;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.2s;
    margin-top: 10px;
}

.cta-button:hover {
    background: #444;
}

