/* Body styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #ffffff;
    line-height: 1.6;
}

/* Header styling */
header {
    background-color: #121212;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: auto;
    width: 50%;
    font-size: 2.5em;
    color: #ff6f61;
}

header p {
    margin: 5px 0 0;
    font-size: 1.2em;
    color: #cccccc;
}

/* Navigation bar styling */
nav {
    background-color: #121212;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #ff6f61;
}

nav a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

nav a:hover {
    color: #ff6f61;
}

/* Filter styling */
aside {
    width: 100%;
    background-color: #2e2e2e; 
    padding: 20px;
    border-radius: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

aside h2 {
    color: #ff6f61;
    margin-bottom: 20px;
    text-align: center;
}

aside form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

aside form label {
    font-weight: bold;
    color: #ffffff; 
}

aside select, aside input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background-color: #1e1e1e; 
    color: #ffffff; 
}

aside button {
    padding: 10px;
    background-color: #ff6f61; 
    color: #ffffff; 
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
}

aside button:hover {
    background-color: #e65b54; 
}

/* Main content styling */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Car list styling */
.car-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.car-item {
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    width: 29%; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.car-item img {
    max-width: 100%;
    border-radius: 10px;
}

.car-item h3 {
    margin: 15px 0 10px;
    font-size: 1.5em;
    color: #ff6f61;
}

.car-item p {
    margin: 5px 0;
    color: #cccccc;
}

.car-item .price {
    font-size: 1.3em;
    color: #ff6f61;
    font-weight: bold;
}
.more-info-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 10px;
    background-color: #ff6f61;
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.more-info-btn:hover {
    background-color: #e65b54;
    transform: scale(1.05);
}

.more-info {
    margin-top: 10px;
    background-color: #000000;
    padding: 10px;
    border-radius: 5px;
    font-size: larger;
}

/* Footer */
footer {
    background-color: #121212;
    color: #ffffff;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 2px solid #ff6f61;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.5em;
    color: #ff6f61;
    margin-bottom: 15px;
}

.footer-section p {
    margin: 10px 0;
    color: #cccccc;
}

.footer-section i {
    margin-right: 10px;
    color: #ff6f61;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff6f61;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: #cccccc;
}
