body {
    color: #eaeaea;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
}

.bg-image {
    opacity: 0.7;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

h1 {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.product-item {
    margin: 20px;
    background-color: #333; 
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px; 
}

.product-item:hover {
    transform: scale(1.05);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #6f6d6d;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.product-image2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.product-item:hover .product-image {
    opacity: 0;
}

.product-item:hover .product-image2 {
    opacity: 1;
}

.product-info {
    padding: 15px;
    color: #fff;
}

h2 {
    font-size: 18px;
    margin: 10px 0;
}

h2 {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.product-image-container:hover + h2 {
    color: #000000; 
}

.product-price {
    font-size: 16px;
    color: #eaeaea;
    margin-bottom: 10px;
}

button {
    background-color: #838381; 
    margin: 10px;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    transition: transform 0.5s ease-in-out;
}

button:hover {
    background-color: #860808;
    transform: scale(1.2);
}

.product-see-cart {
    color: white;
    margin: 20px;
}