/* styles.css */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Center the logo and its navigation as one header group. */
.header {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo a {
    display: inline-block;
    vertical-align: top;
    color: #fff;
    text-decoration: none;
}

/* Crop the image's black padding without stretching the wordmark. */
.logo img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: 34px;
    object-fit: cover;
    object-position: center;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
}

.navbar ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

.banner {
    background-color: #f5f5f5;
    text-align: center;
    padding: 50px 20px;
}

.banner h1 {
    margin: 0;
    font-size: 2.5em;
}

.banner p {
    margin: 10px 0;
    font-size: 1.2em;
}

.banner .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.banner .btn:hover {
    background-color: #0056b3;
}

.categories, .popular {
    padding: 20px;
}

.categories h2, .popular h2 {
    text-align: center;
    margin-bottom: 20px;
}

.category-list, .popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;
}

.category-item, .popular-item {
    padding: 15px;
    background-color: #f0f0f0;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: #000;
    color: #fff;
}
