/* Luxury Vehicle Showcase - Light White Theme & Responsive */
.luxury-vehicle-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.vehicle-showcase {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 15px 10px;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 transparent;
    cursor: grab;
    user-select: none;
}

.vehicle-showcase:active {
    cursor: grabbing;
}

.vehicle-showcase::-webkit-scrollbar {
    height: 8px;
}

.vehicle-showcase::-webkit-scrollbar-track {
    background: transparent;
}

.vehicle-showcase::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.vehicle-showcase::-webkit-scrollbar-thumb:hover {
    background: #388E3C;
}

.vehicle-card {
    background: rgba(255,255,255,0.95);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    scroll-snap-align: start;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    border-color: #4CAF50;
    box-shadow: 0 8px 25px rgba(76,175,80,0.15);
    background: #ffffff;
}

.image-container {
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .image-container img {
    transform: scale(1.05);
}

.vehicle-title {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 15px;
    color: #2d5016;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.divider {
    width: 60px;
    height: 3px;
    background: #4CAF50;
    margin: 15px auto 25px;
    border-radius: 2px;
}

.vehicle-description {
    font-size: 16px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 30px;
    min-height: 80px;
    transition: color 0.3s ease;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0 30px;
    flex-wrap: wrap;
}

.feature {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 35px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.feature:hover {
    background: #e9ecef;
    border-color: #4CAF50;
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 18px;
    color: #4CAF50;
    flex-shrink: 0;
}

.feature-text {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.feature-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 5px;
}

.feature-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.feature:hover .feature-tooltip {
    opacity: 1;
    visibility: visible;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.view-details-button,
.cta-button {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
    cursor: pointer;
    display: inline-block;
}

.view-details-button {
    background: transparent;
    color: #4CAF50;
    border-color: #4CAF50;
}

.view-details-button:hover {
    background: #4CAF50;
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-button {
    background: #4CAF50;
    color: #ffffff;
    border-color: #4CAF50;
}

.cta-button:hover {
    background: #388E3C;
    border-color: #388E3C;
    transform: translateY(-2px);
}

.navigation-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #4CAF50;
    transform: scale(1.3);
}

/* Large Desktop: 3 cards */
@media (min-width: 1200px) {
    .vehicle-showcase {
        justify-content: flex-start;
    }
    
    .vehicle-card {
        width: calc((100% - 40px) / 3);
        min-width: 350px;
        max-width: 400px;
        flex: 0 0 auto;
    }
}

/* Extra Large Desktop: 3 cards centered */
@media (min-width: 1400px) {
    .vehicle-card {
        width: calc((100% - 40px) / 3);
        min-width: 380px;
        max-width: 450px;
    }
}

/* Large Tablet: 2 cards */
@media (min-width: 992px) and (max-width: 1199px) {
    .vehicle-showcase {
        justify-content: flex-start;
    }
    
    .vehicle-card {
        width: calc((100% - 20px) / 2);
        min-width: 350px;
        max-width: 400px;
        flex: 0 0 auto;
    }
}

/* Tablet: 2 cards */
@media (min-width: 768px) and (max-width: 991px) {
    .vehicle-showcase {
        justify-content: flex-start;
    }
    
    .vehicle-card {
        width: calc((100% - 20px) / 2);
        min-width: 320px;
        max-width: 380px;
        padding: 25px;
        flex: 0 0 auto;
    }
    
    .vehicle-title {
        font-size: 22px;
    }
    
    .image-container {
        height: 180px;
    }
}

/* Mobile: 1 card only */
@media (max-width: 767px) {
    .luxury-vehicle-container {
        padding: 15px 0;
    }
    
    .vehicle-showcase {
        gap: 20px;
        padding: 10px 15px;
        justify-content: flex-start;
    }
    
    .vehicle-card {
        width: calc(100vw - 50px);
        min-width: calc(100vw - 50px);
        max-width: 400px;
        padding: 25px;
        flex: 0 0 auto;
    }
    
    .image-container {
        height: 170px;
        margin-bottom: 20px;
    }
    
    .vehicle-title {
        font-size: 20px;
        margin: 15px 0 12px;
    }
    
    .divider {
        width: 50px;
        margin: 12px auto 20px;
    }
    
    .vehicle-description {
        font-size: 15px;
        min-height: 60px;
        margin-bottom: 25px;
    }
    
    .features-container {
        gap: 10px;
        margin: 20px 0 25px;
    }
    
    .feature {
        padding: 10px 31px;
    }
    
    .feature-text {
        font-size: 13px;
    }
    
    .view-details-button,
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Small Mobile: 1 card optimized */
@media (max-width: 480px) {
    .luxury-vehicle-container {
        padding: 10px 0;
    }
    
    .vehicle-showcase {
        padding: 5px 10px;
    }
    
    .vehicle-card {
        width: calc(100vw - 30px);
        min-width: calc(100vw - 30px);
        max-width: 350px;
        padding: 20px;
    }
    
    .vehicle-title {
        font-size: 18px;
    }
    
    .image-container {
        height: 150px;
    }
    
    .vehicle-description {
        font-size: 14px;
        min-height: 50px;
    }
    
    .features-container {
        gap: 8px;
    }
    
    .feature {
        padding: 10px 32px;
    }
    
    .feature-text {
        font-size: 12px;
    }
    
    .view-details-button,
    .cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}