/* Vehicle Listings Styles */

.wrapper.style1 h2 {
    color: #3d4449;
}

.vehicle-listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin: 0;
    padding: 0;
}

.vehicle-card {
    background: #ffffff;
    border: solid 1px rgba(160, 160, 160, 0.3);
    height: 100%;
    transition: transform 0.2s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.vehicle-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.vehicle-details {
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vehicle-details h3 {
    font-size: 1.2em;
    margin: 0 0 0.5em 0;
    color: #3d4449 !important;
    font-family: "Raleway", Arial, Helvetica, sans-serif;
}

.key-features {
    margin: 0.5em 0;
}

.key-features p {
    margin: 0 0 0.5em 0;
    color: #7f888f;
    font-size: 0.9em;
}

.key-features p i {
    width: 1.5em;
    color: #f56a6a;
}

.vehicle-price {
    font-size: 1.5em;
    font-weight: 700;
    color: #f56a6a;
    margin: 0.75em 0;
    font-family: "Raleway", Arial, Helvetica, sans-serif;
}

.vehicle-card .button {
    background-color: #f56a6a !important;
    border: 0 !important;
    color: #ffffff !important;
    padding: 0 1.5em !important;
    height: 2.75em !important;
    line-height: 2.75em !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 1.5em !important;
    text-align: center !important;
}

.vehicle-card .button:hover {
    background-color: #e45d5d !important;
}

/* Responsive styles */
@media screen and (max-width: 1280px) {
    .vehicle-listings {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 736px) {
    .vehicle-listings {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    .vehicle-details {
        padding: 1.25em;
    }
    
    .vehicle-details h3 {
        font-size: 1.1em;
    }
    
    .vehicle-price {
        font-size: 1.3em;
    }
}

/* Vehicle Details Page Styles */
.vehicle-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2em;
    margin-top: 2em;
}

.vehicle-info h1 {
    color: #3d4449;
    margin: 0 0 0.5em 0;
}

.price-tag {
    font-size: 2em;
    font-weight: 700;
    color: #f56a6a;
    margin-bottom: 1em;
}

.vehicle-gallery {
    width: 100%;
    margin-bottom: 30px;
}

.main-image {
    width: 100%;
    height: 450px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

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

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.thumbnail {
    flex: 0 0 150px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s;
}

.thumbnail:hover {
    opacity: 0.9;
}

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

@media (max-width: 1024px) {
    .main-image {
        height: 400px;
    }
    
    .thumbnail {
        flex: 0 0 120px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }
    
    .thumbnail {
        flex: 0 0 100px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 250px;
    }
    
    .thumbnail {
        flex: 0 0 80px;
        height: 60px;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5em;
    margin: 2em 0;
}

.feature-item {
    text-align: center;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 4px;
}

.feature-item i {
    font-size: 1.5em;
    color: #f56a6a;
    margin-bottom: 0.5em;
}

.feature-item .label {
    display: block;
    color: #7f888f;
    font-size: 0.9em;
    margin-bottom: 0.25em;
}

.feature-item .value {
    display: block;
    color: #3d4449;
    font-weight: 600;
}

.detail-section {
    margin: 2em 0;
    padding: 2em;
    background: #ffffff;
    border: 1px solid rgba(160, 160, 160, 0.3);
    border-radius: 4px;
}

.detail-section h3 {
    color: #3d4449;
    margin: 0 0 1em 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.detail-row .label {
    color: #7f888f;
}

.detail-row .value {
    color: #3d4449;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.features-list li {
    margin-bottom: 0.5em;
    break-inside: avoid;
}

.features-list i {
    color: #f56a6a;
    margin-right: 0.5em;
}

/* Dealer Info Styles */
.dealer-info {
    position: sticky;
    top: 2em;
    align-self: start;
}

.contact-box {
    background: #ffffff;
    border: 1px solid rgba(160, 160, 160, 0.3);
    border-radius: 4px;
    padding: 1.5em;
    margin-bottom: 2em;
}

.contact-box h3 {
    color: #3d4449;
    margin: 0 0 1em 0;
}

.contact-details p {
    margin: 0.5em 0;
    color: #7f888f;
}

.contact-details i {
    width: 1.5em;
    color: #f56a6a;
}

.contact-buttons {
    margin-top: 1.5em;
    display: grid;
    gap: 1em;
}

.map-container {
    border-radius: 4px;
    overflow: hidden;
}

/* Responsive Styles */
@media screen and (max-width: 980px) {
    .vehicle-detail-container {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dealer-info {
        position: static;
    }
}

@media screen and (max-width: 736px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        columns: 1;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
} 

.thumbnail-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    max-width: 100%;
    overflow: hidden;
}

.thumbnail-slider .slick-list {
    padding: 0 !important; /* Fixes extra margin */
}

.thumbnail-slider .slick-track {
    display: flex !important;
    align-items: center;
}

.thumbnail-slider .slick-slide {
    width: 200px !important; /* Force correct width */
    height: auto !important; /* Set height */
    overflow: hidden;
    margin: 0 5px; /* Space between thumbnails */
}

.thumbnail-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.thumbnail-slider img:hover {
    transform: scale(1.1);
}




