/*=====================================================
ELITE CAR CUSTOM MUSCLE - Custom Styles
=======================================================*/

/* Fix for product thumbnails */
.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.product-thumbnails .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product-thumbnails .thumbnail:hover,
.product-thumbnails .thumbnail.active {
    border-color: var(--theme-color, #ef1d26);
    transform: scale(1.05);
}

/* Fix for project thumbnails */
.project-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.project-thumbnails .thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-thumbnails .thumbnail:hover,
.project-thumbnails .thumbnail.active {
    border-color: var(--theme-color, #ef1d26);
    transform: scale(1.05);
}

/* Product item improvements */
.product-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-img {
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--theme-color, #ef1d26);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.featured {
    background: var(--color-yellow, #fba707);
    top: 45px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-title a {
    color: var(--color-dark, #111111);
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--theme-color, #ef1d26);
}

.product-price {
    margin: 10px 0;
}

.product-price .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--theme-color, #ef1d26);
}

.product-price .price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.product-price .price-new {
    font-size: 20px;
    font-weight: 700;
    color: var(--theme-color, #ef1d26);
}

/* Car/Project item improvements */
.car-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.car-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.car-img {
    position: relative;
    overflow: hidden;
}

.car-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.car-item:hover .car-img img {
    transform: scale(1.1);
}

.car-btns {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-item:hover .car-btns {
    opacity: 1;
}

.car-btns a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark, #111111);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.car-btns a:hover {
    background: var(--theme-color, #ef1d26);
    color: #fff;
}

.car-content {
    padding: 20px;
}

.car-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Service item improvements */
.service-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-img {
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-title a {
    color: var(--color-dark, #111111);
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: var(--theme-color, #ef1d26);
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--theme-color, #ef1d26);
    margin: 10px 0;
}

/* Blog item improvements */
.blog-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.blog-item-img {
    overflow: hidden;
}

.blog-item-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-item-img img {
    transform: scale(1.1);
}

.blog-item-info {
    padding: 20px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.blog-title a {
    color: var(--color-dark, #111111);
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--theme-color, #ef1d26);
}

/* Category item improvements */
.category-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.category-img {
    margin-bottom: 15px;
}

.category-img img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-item:hover .category-img img {
    transform: scale(1.1);
}

.category-item h5 {
    color: var(--color-dark, #111111);
    font-size: 14px;
    margin: 0;
    transition: color 0.3s ease;
}

.category-item:hover h5 {
    color: var(--theme-color, #ef1d26);
}

/* Brand item improvements */
.brand-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.brand-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Shop sidebar improvements */
.shop-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--theme-color, #ef1d26);
}

.category-list,
.brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.brand-list li {
    margin-bottom: 10px;
}

.category-list a,
.brand-list a {
    color: var(--body-text-color, #757f95);
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.category-list a:hover,
.category-list a.active,
.brand-list a:hover,
.brand-list a.active {
    color: var(--theme-color, #ef1d26);
    padding-left: 10px;
}

/* Shop top bar */
.shop-top-bar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Pagination improvements */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    justify-content: center;
}

.pagination .page-link {
    color: var(--theme-color, #ef1d26);
    border-color: #ddd;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination .page-link:hover {
    background: var(--theme-color, #ef1d26);
    color: #fff;
    border-color: var(--theme-color, #ef1d26);
}

.pagination .page-item.active .page-link {
    background: var(--theme-color, #ef1d26);
    border-color: var(--theme-color, #ef1d26);
    color: #fff;
}

/* Contact form improvements */
.contact-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--theme-color, #ef1d26);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-item .icon i {
    font-size: 20px;
}

.contact-info-item .content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info-item .content p {
    margin: 0;
    color: var(--body-text-color, #757f95);
}

.contact-info-item .content a {
    color: var(--body-text-color, #757f95);
    transition: color 0.3s ease;
}

.contact-info-item .content a:hover {
    color: var(--theme-color, #ef1d26);
}

/* Form improvements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark, #111111);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--theme-color, #ef1d26);
    box-shadow: 0 0 0 3px rgba(239, 29, 38, 0.1);
}

/* Alert improvements */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Breadcrumb improvements */
.breadcrumb-area {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
}

.breadcrumb-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.breadcrumb-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb-inner .page-title {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-list li {
    color: #fff;
}

.page-list li::after {
    content: '/';
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.page-list li:last-child::after {
    display: none;
}

.page-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.page-list a:hover {
    color: #fff;
}

/* Gap utility for flexbox */
.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

/* Product actions improvements */
.product-actions {
    margin-top: 15px;
}

.product-actions .theme-btn {
    flex: 1;
    text-align: center;
}

/* Service actions improvements */
.service-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.service-actions .theme-btn {
    flex: 1;
    text-align: center;
}

/* Project actions improvements */
.project-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.project-actions .theme-btn {
    flex: 1;
    text-align: center;
}

/* Details page improvements */
.product-details-area,
.service-details-area,
.project-details-area,
.blog-details-area {
    background: #fff;
}

.product-info,
.service-details-content,
.project-details-content,
.blog-details-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-sidebar,
.service-sidebar,
.project-sidebar,
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.project-info-list,
.service-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-info-list li,
.service-info-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.project-info-list li:last-child,
.service-info-list li:last-child {
    border-bottom: none;
}

.project-info-list li i,
.service-info-list li i {
    width: 30px;
    color: var(--theme-color, #ef1d26);
    margin-right: 10px;
}

.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-posts-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.latest-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-posts-list .post-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.latest-posts-list .post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-posts-list .post-content h6 {
    font-size: 14px;
    margin-bottom: 5px;
}

.latest-posts-list .post-content h6 a {
    color: var(--color-dark, #111111);
    transition: color 0.3s ease;
}

.latest-posts-list .post-content h6 a:hover {
    color: var(--theme-color, #ef1d26);
}

.latest-posts-list .post-date {
    font-size: 12px;
    color: var(--body-text-color, #757f95);
}

/* Main image improvements */
.main-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive improvements */
/* Language Switcher Styles */
.header-top-social .language-switcher {
    display: inline-flex;
    gap: 8px;
    margin-left: 10px;
    align-items: center;
}

.header-top-social .lang-flag {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 2px;
    border-radius: 4px;
}

.header-top-social .lang-flag:hover {
    transform: translateY(-2px);
}



.header-top-social .lang-flag .lang {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.header-top-social .lang-flag:hover .lang {
    transform: scale(1.1);
    border-color: var(--theme-color, #ef1d26);
}



/* Hero Section Fixes */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-single {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 6, 15, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

.hero-content h1,
.hero-content h6,
.hero-content p {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-img img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 3;
}

@media (max-width: 991px) {
    .hero-single {
        min-height: 80vh;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-img {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .product-thumbnails .thumbnail,
    .project-thumbnails .thumbnail {
        width: 60px;
        height: 60px;
    }

    .breadcrumb-inner .page-title {
        font-size: 28px;
    }

    .shop-sidebar {
        margin-bottom: 30px;
    }

    .product-actions,
    .service-actions,
    .project-actions {
        flex-direction: column;
    }

    .product-sidebar,
    .service-sidebar,
    .project-sidebar,
    .blog-sidebar {
        position: static;
        margin-top: 30px;
    }
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state img {
    max-width: 200px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--color-dark, #111111);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--body-text-color, #757f95);
}

