/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000000;
    color: #FFFFFF;
}

/* Header styles */
header {
    background: #0f0f0f;
    color: #ffffff;
    padding: 1rem 0;
}

.logo a {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar nav ul li {
    margin-left: 1rem;
}

.navbar nav ul li a {
    color: #48befe;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.navbar nav ul li a:hover {
    background-color: #000000;
    color: #aed7fb;
    box-shadow: 0 0 5px rgb(0, 242, 255);
    border-radius: 4px;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 0.5rem;
    border: none;
    border-radius: 0.25rem;
}

.search-bar button {
    padding: 0.5rem 1rem;
    border: none;
    background: #3741d2;
    color: #FFFFFF;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.auth-buttons .login,
.auth-buttons .signup {
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    background-color: #3741d2;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.auth-buttons .login:hover,
.auth-buttons .signup:hover {
    background-color: #1a237e;
}

/* Main content styles */
main {
    padding: 20px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-box {
    background-color: #1c1c1c;
    border: 1px solid #ade2fb;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box:hover {
    transform: scale(1.05); /* Zoom in effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-box img {
    width: 100%;
    height: 200px; /* Ensures all images are the same height */
    object-fit: cover; /* Ensures images cover the area without distortion */
    border-bottom: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.product-box:hover img {
    transform: scale(1.05); /* Slightly zooms in the image on hover */
}

.product-box h3 {
    margin: 15px 0 10px;
}

.product-box p {
    color: #aaaaaa;
}

.product-box .price {
    font-size: 1.2em;
    color: #48befe;
    margin-top: 10px;
    font-weight: bold;
}
