
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
}

/* Header */
header {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text overlay */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-align: center;

    background: rgba(0, 0, 0, 0.4);
    padding: 15px 25px;
    border-radius: 5px;
}
/* Car Grid */
.car-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

/* Card */
.car-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding-bottom: 15px;
}

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

.car-card h3 {
    margin: 10px 0;
}

.car-card ul {
    list-style: none;
    padding: 0 15px;
    text-align: left;
}

.car-card li {
    margin: 5px 0;
    font-size: 14px;
}

/* Price */
.price {
    margin: 10px 0;
    font-size: 18px;
    color: #d60000;
    font-weight: bold;
}

/* Button */
button {
    background: #111;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #d60000;
}







.highlights {
    padding: 40px 20px;
    background: #fff;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 10px;
}

/* Buttons */
.scroll-controls {
    text-align: center;
    margin-bottom: 15px;
}

.scroll-controls button {
    background: #111;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

/* Scroll container */
.scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

/* Hide scrollbar (optional) */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Cards */
.highlight-card {
    min-width: 250px;
    flex: 0 0 auto;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

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

.highlight-card h3 {
    margin: 10px 0;
}

.highlight-card p {
    color: #d60000;
    font-weight: bold;
}

/* Button */
.order-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}




/* Real Estate Section */
.real-estate {
    padding: 40px 20px;
    background: #f9f9f9;
}

.real-estate h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Property layout */
.property {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Image */
.property-image {
    flex: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details */
.property-details {
    flex: 1;
    padding: 20px;
}

.property-details h3 {
    margin-bottom: 10px;
}

.property-details p {
    margin: 5px 0;
}

/* Button */
.property-btn {
    display: inline-block;
    margin-top: 15px;
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.property-btn:hover {
    background: #1ebe5d;
}

/* Keep desktop layout even on mobile */
@media (max-width: 768px) {

    .property {
        flex-direction: row; /* stay side-by-side */
        gap: 10px;
    }

    .property-image {
        flex: 1;
    }

    .property-details {
        flex: 1;
        padding: 10px;
        font-size: 14px;
    }

    .property-details h3 {
        font-size: 16px;
    }

    .property-image img {
        height: 100%;
        min-height: 150px;
        object-fit: cover;
    }

    .property-btn {
        padding: 8px 10px;
        font-size: 13px;
    }
}

.property-details p {
    font-size: 13px;
    line-height: 1.4;
}

