body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #fff;
}

header {
    background: linear-gradient(to right, #111, #444);
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #f39c12;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    color: #f39c12;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f39c12;
}

main {
    padding: 40px 20px;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    color: #f39c12;
    margin-bottom: 40px;
}

.vehicle-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vehicle-gallery {
    position: relative;
    width: 80%;
    margin-bottom: 20px;
    border: 2px solid #444;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.vehicle-gallery .slide {
    display: none;
}

.vehicle-gallery .slide.active {
    display: block;
    animation: fadein 1s;
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

button.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.vehicle-info {
    text-align: center;
}

.vehicle-info h3 {
    font-size: 2em;
    color: #f39c12;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.contact-form label {
    margin: 5px 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

.contact-form button {
    padding: 10px;
    border: none;
    background-color: #f39c12;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e67e22;
}

footer {
    background: linear-gradient(to right, #111, #444);
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #f39c12;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-media a {
    margin: 0 10px;
}

.social-media img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-media img:hover {
    transform: scale(1.2);
}

footer p {
    margin: 10px 0 0 0;
    color: #fff;
}
