*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Layout Variable */
:root {
    --content-width: 1400px;
    --primary-color: #cc0000;
    --secondary-color: #2c3e50;
    --border-color: #e0e0e0;
    --bg-light: #f5f7fa;
    --bg-dark: #333;
    --text-light: #666;
    --text-dark: #111;
    --radius-sm: 4px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

h1, h2, h3 {
    font-weight: 700;
    margin-top: 0;
}

a {
    color: #2c5aa0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}




.vdp-container {
    max-width: var(--content-width);
    margin: 0 auto;
    width: 100%;
    padding:0 2rem;
}

.vdp-page-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.breadcrumb-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-link {
    color: #cc0000;
    text-decoration: none;
    transition: all 0.2s ease;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #666;
    margin: 0 4px;
}

.current-vehicle {
    color: #333;
    font-weight: 500;
}

.vehicle-slider {
    width: 100%;
    height: auto;
    background-color: #e9e9e9;
}

.vehicle-slider iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.vehicle-title-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0.2rem;
    padding: 1rem 0;
}

/* Vehicle Title Section */
.vehicle-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vehicle-badge {
    display: flex;
    gap: 0.5rem;
    margin-right: 100px;
}

.vehicle-badge .year {
    border: solid 1px #c9c9c9;
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-badge .condition {
    border: solid 1px #c9c9c9;
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.5px;
}

.vehicle-subtitle {
    color: #6c757d;
    margin: 0;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.2px;
}

.vehicle-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;

}

.highlight-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5aa0;
    position: relative;
    padding-left: 0; /* Removed padding since icon is now inline */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-item i {
    color: #28a745;
    font-size: 0.9rem;
}

/* Enhanced Price Section */
.price-section {
    text-align: right;
}

.price-main {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.price-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color:#000000;
    line-height: 0.9;
    letter-spacing: -1px;
    text-shadow: 0 1px 2px rgba(40, 167, 69, 0.1);
}

.savings {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 700;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.vehicle-details-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
}

.vehicle-core-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.price-item span:last-child {
    font-weight: bold;
}
.price-item .discount {
    color: #28a745;
}
.price-details hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 1rem 0;
}
.final-price span {
     font-size: 1.1rem;
}

.cta-buttons {
    display: grid;
    gap: 0.75rem;
}

.btn {
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    letter-spacing: 0.2px;
}

/* .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
} */

.btn-primary {
    background-color: #2c5aa0;
    color: #fff;
}
.btn-primary:hover {
    background-color: #1e3d6f;
}
.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}
.btn-secondary:hover {
    background-color: #5a6268;
}

.vehicle-key-specs h3 {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.vehicle-key-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}
.vehicle-key-specs li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}
.vehicle-key-specs li:last-child {
    border-bottom: none;
}
.vehicle-key-specs li:hover {
    background-color: rgba(44, 90, 160, 0.02);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    border-radius: 4px;
}
.vehicle-key-specs li i {
    color: #2c5aa0;
    width: 16px;
    text-align: center;
    transition: transform 0.2s ease;
}
.vehicle-key-specs li:hover i {
    transform: scale(1.1);
}
.vehicle-key-specs li strong {
    color: #555;
    margin-right: auto;
    min-width: 85px;
}



.vehicle-tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}
.tab-link {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #666;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.tab-link:hover {
    color: #2c5aa0;
    background-color: rgba(44, 90, 160, 0.05);
}
.tab-link.active {
    color: #2c5aa0;
}
.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2c5aa0;
}
.tab-content {
    display: none;
    padding:0.5rem 1.5rem;
}
.tab-content.active {
    display: block;
}
.tab-content h3 {
    margin-bottom: 0rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-category h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}
.feature-category h4 i {
    color: #2c5aa0;
}
.feature-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: #555;
}
.feature-category li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
}
.feature-category li:hover {
    color: #2c5aa0;
}
.feature-category li i {
    color: #28a745;
    width: 16px;
    text-align: center;
    transition: transform 0.2s ease;
}
.feature-category li:hover i {
    transform: scale(1.1);
    color: #2c5aa0;
}
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}
.specs-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #2c5aa0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.spec-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.spec-category:hover {
    background: #f1f3f4;
    border-color: #2c5aa0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.08);
}

.spec-category h4 {
    margin: 0 0 1rem 0;
    color: #2c5aa0;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

.spec-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

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

.spec-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
}





.vehicle-features-wrapper {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.price-details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.vehicle-key-specs {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


* {
    transition: color 0.3s ease, background-color 0.3s ease;
}




/* Loading Overlay */
.iframe-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.iframe-loading.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
    color: #2c5aa0;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.loading-spinner p {
    margin: 0;
    font-weight: 600;
}

.vehicle-slider {
    position: relative;
    overflow: hidden;
}

/* .loading-spinner i {
    font-size: 2rem;
    margin-bottom: var(--space-3);
    display: block;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 2s linear infinite;
} */


@media (max-width: 1200px) {
    .vehicle-details-grid {
        grid-template-columns: 250px 1fr;
    }
    .header-container {
        padding: 1rem;
    }
}

@media (max-width: 992px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-contact {
        display: none;
    }
    .vehicle-details-grid {
        grid-template-columns: 1fr;
    }
    .vehicle-title-bar {
         grid-template-columns: 1fr;
         text-align: center;
         gap: 1rem;
         padding: 1rem;
    }
    .vehicle-title-section {
        text-align: center;
    }
    .vehicle-highlights {
        justify-content: center;
    }
    .price-section {
        text-align: center;
    }
    .price-main {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .vdp-container {
        padding: 1rem;
    }
    
    .breadcrumb-navigation {
        font-size: 13px;
        margin: 15px 0;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav.mobile-open {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        padding: 15px 0;
    }
    
    .header-cta {
        display: flex;
        align-items: center;
        gap: 15px;
        order: 3;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .cta-button {
        padding: 10px 16px;
        font-size: 14px;
        order: 1;
        font-weight: 600;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .vehicle-title {
        font-size: 1.6rem;
    }
    .vehicle-subtitle {
        font-size: 1rem;
    }
    .price {
        font-size: 2.2rem;
    }
    .vehicle-title-bar {
        padding: 0.75rem 0;
        gap: 1rem;
    }
    .vehicle-highlights {
        justify-content: center;
    }
    
    .footer-content {
        padding: 40px 0 20px;
    }
    
    .footer-sections {
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    .highlight-item {
        font-size: 0.8rem;
    }
    

}
