.breadcrumb-container {
    background-color: #f0f0f0;
    /* Light gray from screenshot */
    padding: 15px 40px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.breadcrumb-container a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #666;
    font-weight: bold;
}

.breadcrumb-current {
    font-weight: 700;
}

.models-section {
    padding: 40px;
    max-width: 1700px;
    margin: 0 auto;
}

.models-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.models-header img {
    height: 20px;
    margin-right: 15px;
}

.models-header h1 {
    font-size: 19px;
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #000;
}

.models-divider {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.model-card {
    position: relative;
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 20px 20px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: #000;
    transition: transform 0.2s, all 0.2s;
    min-height: 220px;
    /* Uniform height for better alignment */
}

.model-image-container {
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: -15px;
    margin-top: -30px;
    /* This ensures all cars 'sit' on the same baseline */
}

.model-card:hover {
    outline: 3px solid #ff9900;
}

.model-card:hover .model-image-container img {
    transform: scale(calc(var(--base-scale, 1.0) * 1.05));
}

.model-card img {
    transition: transform 0.2s, all 0.2s;
    max-width: 90%;
    transform: scale(var(--base-scale, 1.0));
    transform-origin: bottom center;
    /* Pinning to bottom ensures wheels stay on same level during scaling */
}

.model-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.model-attrage .model-image-container img {
    position: relative;
    top: -5%;
    --base-scale: 0.85 !important;
}

.model-mirage .model-image-container img {
    position: relative;
    top: -5%;
    --base-scale: 0.85 !important;
}

.model-pajero .model-image-container {
    padding-bottom: 5px;
}

.model-pajero-sport .model-image-container {
    padding-bottom: 5px;
}

.model-asx .model-image-container img {
    position: relative;
    top: -5%;
    --base-scale: 0.92 !important;
}

.model-lancer .model-image-container img {
    position: relative;
    top: -5%;
    --base-scale: 0.92 !important;
}

.model-l200 .model-image-container {
    padding-bottom: 5px;
}

.model-l300 .model-image-container {
    padding-bottom: 5px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .breadcrumb-container {
        padding: 15px 20px;
    }

    .models-section {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
}