* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f4f6f8;

    color: #222;

}



/* HEADER */

header {

    background: #111827;

    color: white;

    padding: 30px 20px;

    text-align: center;

}


header h1 {

    margin: 0;

    font-size: 30px;

}


header p {

    margin-top: 10px;

    font-size: 16px;

}


/* HERO */

.hero {

    background: white;

    padding: 60px 20px;

    text-align: center;

}


.hero h2 {

    font-size: 42px;

    margin-bottom: 10px;

}


.hero p {

    color: #555;

    font-size: 18px;

}


/* SEARCH */

.search-area {

    max-width: 1100px;

    margin: 30px auto;

    padding: 0 20px;

    display: flex;

    gap: 15px;

}


.search-area input {

    flex: 1;

}


.search-area input,
.search-area select {

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 10px;

    font-size: 16px;

}


/* SECTION */

.section-title {

    text-align: center;

    margin: 40px 0 20px;

}


/* VEHICLE GRID */

.vehicle-grid {

    max-width: 1200px;

    margin: auto;

    padding: 20px;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 25px;

}


/* CARD */

.vehicle-card {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 5px 20px
        rgba(0,0,0,0.08);

}


.vehicle-image {

    width: 100%;

    height: 350px;

    object-fit: cover;

}


.vehicle-content {

    padding: 20px;

}


.vehicle-content h3 {

    margin-top: 0;

    font-size: 22px;

}


.price {

    font-size: 25px;

    font-weight: bold;

    margin: 12px 0;

}


.description {

    color: #555;

    line-height: 1.5;

}

.vehicle-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.call-btn,
.share-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.call-btn {
    background: #168a3a;
    color: white;
}

.share-btn {
    background: #333;
    color: white;
}

.call-btn:hover,
.share-btn:hover {
    opacity: 0.85;
}
/* WHATSAPP */

.whatsapp-button,
.whatsapp-main {

    display: inline-block;

    background: #25D366;

    color: white;

    text-decoration: none;

    padding: 13px 20px;

    border-radius: 10px;

    font-weight: bold;

}


.whatsapp-main {

    margin-top: 20px;

}


/* SELL */

.sell-section {

    margin-top: 50px;

    background: white;

    padding: 60px 20px;

    text-align: center;

}


/* FOOTER */

footer {

    background: #111827;

    color: white;

    text-align: center;

    padding: 35px 20px;

}


footer a {

    color: white;

}


/* MOBILE */

@media (max-width: 600px) {

    header h1 {

        font-size: 21px;

    }


    .hero h2 {

        font-size: 30px;

    }


    .search-area {

        flex-direction: column;

    }


    .vehicle-grid {

        padding: 15px;

    }

}
.details-btn {
display: inline-block;
padding: 12px 18px;
background: #007bff;
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
text-align: center;
}

.details-btn:hover {
background: #0056b3;
}

.vehicle-buttons {
display: flex;
gap: 10px;
margin-top: 15px;
}

.vehicle-buttons a {
flex: 1;
}
.terms-button {
display: inline-block;
margin-top: 15px;
padding: 10px 22px;
background: #007bff;
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
}

.terms-button:hover {
background: #0056b3;
}
