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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Car Inventory */
.car-grid {
    padding: 3rem 1rem;
    text-align: center;
}

.car-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.car-card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
}

.car-card img {
    max-width: 100%;
    height: auto;
}

/* About and Contact Sections */
.about, .contact {
    padding: 3rem 1rem;
    text-align: center;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact-form input, 
#contact-form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
}

.contact-info {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #34495e;
    margin-bottom: 0.25rem;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}
