/*
Theme Name: Kadence
Theme URI: https://www.kadencewp.com/kadence-theme/
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.4.4
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence
Requires at least: 6.3
Tested up to: 6.9.1
Tags: translation-ready, accessibility-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/

/* ==========================================================================
   FOREX MOTORS - VEHICLE DETAILS STYLES
   ========================================================================== */

:root {
    --fm-red: #E60000;
    --fm-dark: #1a1a1a;
    --fm-gray: #f4f4f4;
    --fm-text: #333333;
    --fm-border: #dddddd;
}

.vehicle-hero {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    background: #000;
}

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

.vehicle-detail-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.vehicle-left {
    flex: 1;
    min-width: 300px;
}

.vehicle-sidebar {
    width: 350px;
    background: var(--fm-gray);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.vehicle-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fm-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.vehicle-category {
    margin-bottom: 30px;
}

.vehicle-category a {
    background: var(--fm-red);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 10px;
    text-decoration: none;
}

.vehicle-left h3 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--fm-red);
    display: inline-block;
    padding-bottom: 5px;
    margin: 40px 0 20px;
    color: var(--fm-dark);
}

.vehicle-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--fm-text);
}

/* ENQUIRY FORM */
.vehicle-sidebar h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--fm-dark);
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--fm-border);
    border-radius: 4px;
    font-family: inherit;
}

.enquiry-form button {
    width: 100%;
    padding: 15px;
    background: var(--fm-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.enquiry-form button:hover {
    background: #c20000;
}

/* SPECIFICATIONS GRID */
.vehicle-specs {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--fm-border);
    border-radius: 4px;
    overflow: hidden;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--fm-border);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:nth-child(even) {
    background: #fafafa;
}

.spec-label {
    font-weight: 700;
    color: var(--fm-dark);
}

.spec-value {
    color: var(--fm-text);
}

/* INVENTORY GRID STYLES (MATCHING SUV PAGE) */
.fm-inventory-container {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 25px;
}

.vehicle-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-5px);
}

.vehicle-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.vehicle-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
}

.vehicle-card-title a {
    text-decoration: none;
    color: inherit;
}

.vehicle-card-meta {
    font-size: 0.85rem;
    color: #00AEEF; /* Light Blue from your SUV page */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.vehicle-card-excerpt {
    display: none; /* Removed for the clean 'SUV' look */
}

.vehicle-card-footer {
    margin-top: auto;
    text-align: right;
}

.fm-view-btn {
    color: #00AEEF !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.fm-view-btn:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .vehicle-sidebar {
        width: 100%;
        position: static;
    }
    .vehicle-title {
        font-size: 2rem;
    }
}
