
:root {
    --jdm-red: #E31E25;
    --jdm-black: #1A1A1A;
    --jdm-gray: #333;
}

body {
    font-family: 'Oxanium', 'Arial Narrow', sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: var(--jdm-black);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.jdm-red {
    color: var(--jdm-red);
}


.jdm-header {
    background: var(--jdm-black);
    color: rgb(253, 253, 253);
    padding: 1rem 0;
    text-align: center;
    border-bottom: 3px solid var(--jdm-red);
}

.jdm-header h1 {
    font-size: 2.2rem;
    margin: 0;
    letter-spacing: 1px;
}

.jdm-header p {
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

.jdm-header nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.jdm-header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.jdm-header nav a:hover {
    color: var(--jdm-red);
}

.cart-btn {
    background: var(--jdm-red);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
}


.jdm-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://via.placeholder.com/1920x600?text=JDM+Garage') no-repeat center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.jdm-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.jdm-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


.jdm-btn {
    display: inline-block;
    background: var(--jdm-red);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jdm-btn:hover {
    background: rgb(0, 0, 0);
    transform: translateY(-3px);
}


.jdm-products {
    padding: 4rem 0;
    background: white;
}

.jdm-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY}
   

.product-card img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    object-position: center; 
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}


.product-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card h3, 
.product-card p, 
.product-card .price {
    margin: 0.5rem 0;
}

.product-card .jdm-btn {
    margin-top: auto; }
