.vehicle-showcase {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h1 {
    color: #0a0e31;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
}

.section-title h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0a0e31, #3a4a8a);
    border-radius: 2px;
}

.section-title p {
    color: #5a6577;
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Category Filter Bar */
.category-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 15px;
    background: #f8fafd;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(10, 14, 49, 0.08);
}

.category-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e0e4ee;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #5a6577;
    box-shadow: 0 4px 12px rgba(10, 14, 49, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.category-btn:hover, .category-btn.active {
    background: linear-gradient(135deg, #0a0e31 0%, #3a4a8a 100%);
    color: white;
    border-color: #0a0e31;
    box-shadow: 0 6px 15px rgba(10, 14, 49, 0.2);
    transform: translateY(-2px);
}

.category-btn i {
    font-size: 1.2rem;
}

/* Vehicle Grid */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    transition: all 0.4s ease;
    align-items: stretch;
}

.vehicle-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 14, 49, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(10, 14, 49, 0.15);
}

.vehicle-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.vehicle-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vehicle-content {
    padding: 25px;
}

.vehicle-header {
    
    margin-bottom: 15px;
    display: block;
    justify-content: 
    space-between; align-items: 
    center; margin-bottom: 15px;
}

.vehicle-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a0e31;
    margin: 0;
    line-height: 1.3;
}

.vehicle-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a0e31;
}

.vehicle-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.vehicle-details li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f7;
}

.vehicle-details li:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #5a6577;
}

.detail-value {
    font-weight: 600;
    color: #0a0e31;
}

.view-btn {
    background: linear-gradient(135deg, #0a0e31 0%, #3a4a8a 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 15px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.view-btn:hover {
    background: linear-gradient(135deg, #1a1f4a 0%, #4a5baa 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 14, 49, 0.2);
}

/* Vehicle Modal */
.vehicle-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 1200px;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-gallery {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.main-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px 0 0 0;
}

.thumbnail-container {
    display: flex;
    padding: 15px;
    overflow-x: auto;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-details {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0a0e31;
    margin: 0 0 10px;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a0e31;
    margin-bottom: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.spec-item {
    background: #f8fafd;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #0a0e31;
}

.spec-label {
    font-size: 0.9rem;
    color: #7a8599;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a0e31;
}

.features-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0a0e31;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.feature-item i {
    color: #0a0e31;
    margin-right: 10px;
    width: 20px;
}

.colors-container {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.color-option:hover, .color-option.active {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #0a0e31;
}

.warranty-info {
    background: #f8fafd;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 3px solid #0a0e31;
}

.pre-order-btn {
    background: linear-gradient(135deg, #0a0e31 0%, #3a4a8a 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 30px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.pre-order-btn:hover {
    background: linear-gradient(135deg, #1a1f4a 0%, #4a5baa 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 14, 49, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .vehicle-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .main-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    
    .main-image {
        border-radius: 15px 15px 0 0;
    }
    
    .category-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .category-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ===== Pre-Order Section Styling ===== */
/* Pre-Order Vehicle Grid */
.preorder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    transition: all 0.4s ease;
}

.preorder-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 14, 49, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.preorder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(10, 14, 49, 0.15);
}

.preorder-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.preorder-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.preorder-content {
    padding: 25px;
}

.preorder-header {
    margin-bottom: 15px;
    display: block;
    justify-content: 
    space-between; align-items: 
    center; margin-bottom: 15px;
}

.preorder-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a0e31;
    margin: 0;
    line-height: 1.3;
}

.preorder-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a0e31;
}

.preorder-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.preorder-details li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f7;
}

.preorder-details li:last-child {
    border-bottom: none;
}

.preorder-label {
    font-weight: 600;
    color: #5a6577;
}

.preorder-value {
    font-weight: 600;
    color: #0a0e31;
}

.preorder-btn {
    background: linear-gradient(135deg, #0a0e31 0%, #3a4a8a 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 15px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.preorder-btn:hover {
    background: linear-gradient(135deg, #1a1f4a 0%, #4a5baa 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 14, 49, 0.2);
}
