:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #f8f9fa;
    --dark: #212529;
    --light: #ffffff;
    --accent: #ffaa00;
    --text-dark: #343a40;
    --text-light: #6c757d;
    --border: #dee2e6;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--dark);
    color: var(--light);
    padding: 8px 0;
    font-size: 0.85rem;
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-bar i {
    margin-right: 5px;
    color: var(--accent);
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.top-links a:hover {
    color: var(--accent);
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

.lang-options {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--light);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
}

.lang-options a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.lang-options a:hover {
    background-color: var(--secondary);
}

.language-dropdown:hover .lang-options {
    display: block;
}

/* Navbar Styles */
.navbar {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 1.5rem;
}

.logo span {
    color: var(--primary);
}

/* Search Bar */
.search-bar {
    flex-grow: 1;
    margin: 0 30px;
    position: relative;
    max-width: 600px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: calc(100% - 10px);
    width: 45px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-bar button:hover {
    background-color: var(--primary-dark);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon {
    color: var(--dark);
    font-size: 1.3rem;
    position: relative;
    transition: color 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.nav-icon i {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.nav-icon:hover {
    color: var(--primary);
}

.nav-text {
    font-size: 0.7rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 5px;
    background-color: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    margin-left: 20px;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    transition: all 0.3s ease;
}

/* Mega Menu Container */
.mega-menu-container {
    background-color: var(--light);
    border-top: 1px solid var(--border);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.main-menu {
    display: flex;
    list-style: none;
    justify-content: space-between;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: block;
    padding: 18px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.menu-item > a:hover {
    color: var(--primary);
}

.menu-item.cta > a {
    background-color: var(--primary);
    color: white;
    border-radius: 6px;
    margin: 10px 0;
    padding: 10px 20px;
}

.menu-item.cta > a:hover {
    background-color: var(--primary-dark);
}

.menu-item > a i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: var(--light);
    padding: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
}

.menu-item:hover .mega-menu {
    display: flex;
}

.menu-column {
    flex: 1;
    padding: 0 15px;
    min-width: 200px;
}

.menu-column h3 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-column h3 i {
    font-size: 1.2rem;
}

.menu-column ul {
    list-style: none;
}

.menu-column li {
    margin-bottom: 10px;
}

.menu-column a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: block;
    padding: 6px 0;
}

.menu-column a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.menu-column.promo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-card {
    background-color: var(--secondary);
    padding: 25px;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    border: 1px solid var(--border);
}

.vehicle-promo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.parts-promo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.promo-card h3 {
    color: var(--primary);
    border: none;
    margin-bottom: 12px;
    font-size: 1.1rem;
    justify-content: center;
}

.promo-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.promo-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s;
    text-decoration: none;
}

.promo-btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .search-bar {
        margin: 0 20px;
    }
    
    .menu-item > a {
        padding: 18px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .navbar .container {
        flex-wrap: wrap;
        padding-bottom: 0;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        margin: 15px 0 0 0;
        max-width: 100%;
    }
    
    .mega-menu-container {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 1001;
    }
    
    .mega-menu-container.active {
        left: 0;
    }
    
    .main-menu {
        flex-direction: column;
        padding: 90px 25px 25px;
    }
    
    .menu-item > a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .menu-item.cta > a {
        margin: 15px 0;
    }
    
    .mega-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 15px 0 15px 20px;
        flex-direction: column;
    }
    
    .menu-item.active .mega-menu {
        display: flex;
    }
    
    .menu-column {
        padding: 0;
        margin-bottom: 25px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .announcement-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .top-links {
        margin-top: 8px;
    }
    
    .top-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.3rem;
    }
    
    .nav-actions {
        gap: 15px;
    }
    
    .mega-menu-container {
        width: 280px;
    }
    
    .nav-text {
        display: none;
    }
    
    .nav-icon i {
        margin-bottom: 0;
    }
}



/* Footer */
.site-footer {
    background-color: #111;
    color: #eee;
    padding: 2rem;
    text-align: center;
    font-size: 0.95rem;
  }
  
  .site-footer a {
    color: #ff0000;
    transition: color 0.3s;
  }
  
  .site-footer a:hover {
    color: #ff5555;
  }
  
  .footer-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .footer-info {
    margin-top: 1.5rem;
    line-height: 1.7;
  }
  
  /* Contact Button */
  .contact-button {
    display: inline-block;
    background-color: #003366;
    color: #fff;
    padding: 12px 24px;
    margin: 10px 10px 0 0;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .contact-button:hover {
    background-color: #0055aa;
  }
  
  /* Floating Button */
  .floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  
  /* Content Area */
  .content {
    padding: 2rem;
    min-height: 200vh;
    max-width: 1200px;
    margin: 0 auto;
  }


  /* Features */
.features {
    background: #eee;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .features h2 {
    margin-bottom: 1rem;
  }
  
  /* Benefits */
  .benefits {
    background-color: #fdfdfd;
    padding: 2rem 1rem;
  }
  
  .benefit {
    margin-bottom: 1rem;
  }
  
  /* Testimonials */
  .testimonials {
    padding: 2rem 1rem;
    background: #fff;
    text-align: center;
  }
  
  .testimonials h2 {
    margin-bottom: 1rem;
  }
  
  .testimonial {
    background: #f0f0f0;
    padding: 1rem;
    margin: 0.5rem auto;
    border-radius: 6px;
    max-width: 600px;
  }
  
  .stars {
    color: gold;
    font-size: 1.2rem;
    letter-spacing: 2px;
  }
  
  /* Save Money */
  .save-money {
    background: url('savemoney.jpg') no-repeat center center/cover;
    color: red;
    padding: 3rem 1rem;
    text-align: center;
    background-color: black;
    position: relative;
  }
  
  .save-money::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
  }
  
  .save-money .hero-buttons {
    position: relative;
    z-index: 1;
  }
  
  /* About Us */
  .about-us {
    padding: 2rem 1rem;
    background: #fff;
    text-align: center;
  }
  
  .about-page {
    max-width: 960px;
    margin: auto;
    padding: 2rem;
  }
  
  .about-section {
    margin-bottom: 3rem;
  }
  
  .about-section h2 {
    margin-bottom: 1rem;
    color: #1a1a1a;
  }
  
  .map-container iframe {
    border-radius: 10px;
    width: 100%;
    height: 400px;
    border: none;
  }

  

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffcc00;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #e60000;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.product-year {
    display: inline-block;
    background: #e60000;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-spec {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-price {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e60000;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.add-to-cart {
    background: #e60000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #990000;
}

.view-details {
    color: #0066cc;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-details:hover {
    color: #e60000;
    text-decoration: underline;
}

.product-details-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #f9fafc;
}

.details-content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.details-description {
    flex: 1;
    min-width: 250px;
}

.details-description h4 {
    margin-bottom: 10px;
    color: #1a1a1a;
    border-bottom: 2px solid #e60000;
    padding-bottom: 5px;
}

.details-description ul {
    list-style-type: none;
}

.details-description li {
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.details-description li:before {
    content: "•";
    color: #e60000;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: #1a1a1a;
    color: white;
    border-radius: 10px 10px 0 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
    
    .details-content {
        flex-direction: column;
    }
}



/* Cart Preview */
 .cart-preview {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--carbon);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: right 0.3s ease-out;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.cart-preview.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: var(--text);
    font-size: 1.2rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart:hover {
    color: var(--secondary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background-color: var(--gray);
    border-radius: 5px;
    margin-right: 15px;
    background-size: cover;
    background-position: center;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text);
}

.cart-item-price {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.qty-btn {
    background-color: var(--gray);
    color: var(--text);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.qty-btn:hover {
    background-color: var(--primary);
}

.qty-input {
    width: 40px;
    text-align: center;
    margin: 0 5px;
    background-color: var(--carbon);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 3px;
}

.cart-item-remove {
    color: var(--secondary);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: #ff0000;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-btn {
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.cart-btn-checkout {
    background-color: var(--secondary);
    color: var(--light);
    border: none;
}

.cart-btn-checkout:hover {
    background-color: #c0102b;
}

.cart-btn-view {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.cart-btn-view:hover {
    background-color: var(--gray);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.top-icons a {
    color: var(--text);
    text-decoration: none;
    position: relative;
}


  
  
.main-img{width:100%;height:250px;object-fit:contain;background:#f5f5f5;border-radius:8px;cursor:pointer;margin-bottom:1rem}
.thumbnails{display:flex;gap:10px;margin-bottom:1rem}
.thumbnail{width:60px;height:60px;object-fit:cover;border:1px solid #ddd;border-radius:4px;cursor:pointer}
.thumbnail:hover{border-color:var(--secondary)}