:root {
    --primary: #8B0000; /* Dark red */
    --primary-light: #B22222;
    --primary-dark: #5E0000;
    --secondary: #F5F5F5;
    --accent: #D4AF37; /* Gold */
    --dark: #222;
    --light: #FFF;
    --text-dark: #333;
    --text-light: #777;
    --border: #DDD;
}
.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)}

/* Age Verification Modal */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.verification-box {
    background-color: var(--dark);
    color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    border: 2px solid var(--accent);
}

.verification-box h2 {
    color: var(--accent);
    margin-bottom: 15px;
}

.compliance-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px 5px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.compliance-btn.exit {
    background-color: #333;
}

/* Compliance Bar */
.compliance-bar {
    background-color: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--accent);
}

.compliance-bar i {
    margin-right: 5px;
    color: var(--accent);
}

.compliance-links a {
    color: white;
    margin-left: 20px;
    font-size: 0.85rem;
}

/* Navbar */
.navbar {
    background-color: var(--light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo span {
    color: var(--primary);
}

/* Promo Cards */
.promo-card {
    background: linear-gradient(135deg, #222 0%, #444 100%);
    color: white;
    border-left: 4px solid var(--accent);
}

.promo-btn {
    background-color: var(--accent);
    color: var(--dark);
}

/* Legal Footer */
.legal-footer {
    background-color: var(--dark);
    color: white;
    padding: 20px 0;
    font-size: 0.8rem;
    margin-top: 30px;
    border-top: 2px solid var(--accent);
}

.legal-footer i {
    color: var(--accent);
    margin-right: 5px;
}

.compliance-badges {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mega-menu {
        flex-direction: column;
    }
    
    .compliance-links {
        display: none;
    }
}
.announcement-bar {
    background-color: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.salvage-btn {
    background-color: var(--accent);
    color: var(--dark);
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 15px;
    font-weight: 600;
}

/* Search Bar with Category Select */
.search-bar {
    position: relative;
    display: flex;
    flex-grow: 1;
    margin: 0 30px;
}

.search-bar select {
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 0 10px;
    background-color: var(--secondary);
    appearance: none;
}

.search-bar input {
    flex-grow: 1;
    border: 1px solid var(--border);
    border-radius: 0 4px 4px 0;
}

/* Salvage Promo Card */
.salvage-promo {
    background: linear-gradient(135deg, #212121 0%, #424242 100%);
    color: white;
    border-left: 4px solid var(--accent);
}

.salvage-promo .promo-btn {
    background-color: var(--accent);
    color: var(--dark);
}

/* Vehicle Icons */
.fa-truck-pickup {
    color: #1976d2; /* Blue for trucks */
}

.fa-car-side {
    color: #388e3c; /* Green for SUVs */
}

.fa-car-burst {
    color: var(--accent);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .search-bar {
        order: 3;
        width: 100%;
        margin: 15px 0;
    }
    
    .salvage-btn {
        display: none;
    }
}
/* 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;
    }
}


.hero {
    background: url('') no-repeat center center/cover;
    padding: 5rem 1rem;
    color: white;
    text-align: center;
    min-height: 60vh;
    background-color: darkred;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    margin-top: 1rem;
  }
  
  .hero-buttons a {
    background-color: #d10000;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 5px;
    display: inline-block;
  }
  
  /* Slideshow */
  .slideshow {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
    background: #000;
    color: white;
  }
  
  .slide-text h2 {
    font-size: 1.5rem;
  }
  
  .slides {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
  }
  
  .slides img {
    width: 80vw;
    max-width: 400px;
    scroll-snap-align: center;
    border-radius: 10px;
  }
  
  .features {
    background: brown;
    padding: 2rem 1rem;
  }
  
  .features h2 {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  /* Benefits */
  .benefits {
    background-color: brown;
    padding: 2rem 1rem;
  }
  
  .benefit {
    margin-bottom: 1rem;
  }
  
  /* Testimonials */
  .testimonials {
    padding: 2rem 1rem;
    background: grey;
  }
  
  .testimonials h2 {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .testimonial {
    background: white;
    color: #1976d2;
    padding: 1rem;
    margin: 0.5rem auto;
    border-radius: 6px;
    max-width: 600px;
  }
  
  .stars {
    color: gold;
    font-size: 1.2rem;
  }
  
  /* Save Money */
  .save-money {
    background: url('') no-repeat center center/cover;
    color: red;
    padding: 3rem 1rem;
    text-align: center;
    background-color: black;
  }
  
  .save-money .hero-buttons {
    margin-top: 1rem;
  }
  
  /* About Us */
  .about-us {
    padding: 2rem 1rem;
    background: #fff;
  }
  
  .about-us h2 {
    text-align: center;
  }
  
  /* Footer */
  .site-footer {
    background-color: #111;
    color: #eee;
    padding: 2rem;
    text-align: center;
    font-size: 0.95rem;
  }
  
  .site-footer a {
    color: #ff0000;
  }
  
  .footer-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .footer-info {
    margin-top: 1.5rem;
    line-height: 1.7;
  }



    /* Products Section */
    .products-section {
        padding: 40px 0;
    }

    .section-title {
        text-align: center;
        margin-bottom: 40px;
        font-size: 2rem;
        color: var(--dark);
    }

    /* Products Grid */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Product Card */
    .product-card {
        background-color: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        position: relative;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .product-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background-color: var(--primary);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 2;
    }

    .product-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-bottom: 1px solid var(--gray);
        transition: transform 0.5s ease;
    }

    .product-card:hover .product-image {
        transform: scale(1.03);
    }

    .product-info {
        padding: 20px;
    }

    .product-name {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--dark);
    }

    .product-spec {
        font-size: 0.9rem;
        color: var(--dark-gray);
        margin-bottom: 12px;
    }

    .product-price {
        margin-bottom: 15px;
    }

    .current-price {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--primary);
    }

    .original-price {
        font-size: 1rem;
        color: var(--dark-gray);
        text-decoration: line-through;
        margin-left: 8px;
    }

    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .add-to-cart {
        background-color: var(--primary);
        color: white;
        border: none;
        padding: 10px;
        border-radius: 5px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .add-to-cart:hover {
        background-color: var(--primary-dark);
    }

    .view-details {
        text-align: center;
        padding: 8px;
        border: 1px solid var(--gray);
        border-radius: 5px;
        color: var(--dark);
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
    }

    .view-details:hover {
        background-color: var(--gray);
        border-color: var(--dark-gray);
    }

    /* Product Details Dropdown */
    .product-details-dropdown {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        background-color: #f8f9fa;
        border-left: 3px solid var(--primary);
    }

    .product-details-dropdown.active {
        max-height: 1000px;
        padding: 20px;
    }

    .details-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .details-specs h4, .details-description h4 {
        margin-bottom: 15px;
        color: var(--dark);
        font-size: 1.1rem;
        border-bottom: 2px solid var(--primary);
        padding-bottom: 5px;
    }

    .details-specs table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.95rem;
    }

    .details-specs th, .details-specs td {
        padding: 8px;
        text-align: left;
        border-bottom: 1px solid var(--gray);
    }

    .details-specs th {
        width: 40%;
        color: var(--dark-gray);
        font-weight: 500;
    }

    .details-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .details-description ul {
        margin: 15px 0 15px 20px;
    }

    .details-description li {
        margin-bottom: 8px;
        position: relative;
    }

    .details-description li::before {
        content: "•";
        color: var(--primary);
        font-weight: bold;
        display: inline-block;
        width: 1em;
        margin-left: -1em;
    }

  