body {
    margin: 0;
    padding: 0;
    background-color: #534f4f;
}

/* ******************************************* */
/* HEADER                                      */
/* ******************************************* */

#menu {
    background-color: white;
    height: 100px;
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
} 

#menu li {
    margin-left: 20px;
}

#menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    display: flex;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#menu a {
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
    color: #0F172A;

    padding: 10 20px;
}

#menu a:hover {
color:#f15e1a;
}


#menu img{
    height: 100px;
}

/* ******************************************* */
/* BANNER                                     */
/* ******************************************* */

.banner {
    height: 400px;
    background: url('images/wallpaper.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    text-align: center;
    color: white;
    
}

.banner h3 {
    font-size: 50px;
    margin-bottom: 15px;
    box-shadow: #f4f4f4;
    text-shadow: 2px 2px 4px #ff5a00;
}

.banner p {
    font-size: 22px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px #ff5a00;
}

.button {
    background-color: #ff5a00;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 10px;
}

/* ******************************************* */
/* ABOUT SECTION                               */
/* ******************************************* */

.about {
    padding: 60px;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
    line-height: 1.8;
}

/* ******************************************* */
/* FEATURED VEHICLES SECTION                   */
/* ******************************************* */
 
.featured {
padding: 60px;
}

.cars {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
gap: 30px;
padding: 40px;
}

.card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,.2);
text-align: center;
transition: .3s;
}

.card img {
width: 100%;
height: 220px;
object-fit: cover;
}

.card h3 {
margin: 15px 0;
}

.card p {
padding-bottom: 10px;
}

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

/* ******************************************* */
/* COPYRIGHT                                   */
/* ******************************************* */

#copyright {
    width: 100%;
    height: 80px;
    background-color: #0F172A;
    text-align: center;
    padding-top: 55px;
    clear: both;
}

#copyright p{
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff5a00;
}


/* ******************************************* */
/* VEHICLES SECTION                            */
/* ******************************************* */

.vehicles {
    background-color: #ff5a00;
    width: 90%;
    max-width: 1200px;
    margin: 45px auto;
}

/* ******************************************* */
/* VEHICLE CARD                                */
/* ******************************************* */

.vehicle-card {
    background-color: white;
    width: 100%;
    margin-bottom: 35px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: 50% 50%;
}

.vehicle-images {
    padding: 18px;
    background-color: #0F172A;
}

.main-image { 
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

#small-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

#small-images img {
    height: 100px;
    object-fit: cover;
    border-radius: 7px;
    display: block;

    width: 160px;
    margin: 12px;
    margin-left: 80px;

    transition: transform 0.5s ease-in;
    -moz-transition:  0.5s ease-in;
	-webkit-transition: -webkit-transform 0.5s ease-in;
	-o-transition: -o-transform 0.5s ease-in;
}

#small-images img:hover {
    transform: scale(3);

	-moz-transform: scale(3);
	-webkit-transform: scale(3);
	-o-transform: scale(3);
}

/* ******************************************* */
/* VEHICLE INFORMATION                         */
/* ******************************************* */

.vehicle-info {
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vehicle-info h3 {
    color: #ff5a00;
    font-size: 26px;
    margin-bottom: 20px;
}

.description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;
}

.specs p {
    font-size: 14px;
    color: #555;
}

/* ******************************************* */
/* CONTACT Page                                */
/* ******************************************* */

.contact {
width: 60%;
margin: 40px auto;
background: #0F172A;
padding: 30px;
border-radius: 10px;
box-shadow: 0 5px 10px rgba(0,0,0,.2);
color: #ff5a00;
}

.contact p {
margin-bottom: 10px;
}

form {
display: flex;
flex-direction: column;
margin-top: 20px;
}

input,
textarea {
padding: 12px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}

textarea {
height: 150px;
resize: none;
}

input[type=submit] {
background: #003366;
color: white;
cursor: pointer;
border: none;
}

input[type=submit]:hover {
background: #ff9900;
}

