/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar Styling */
.navbar {
    background-color: #007BFF; /* Match sidebar color */
    color: #ffffff; /* Light text */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section */
.logo img {
    max-height: 50px;
}

/* Search Box Styling */
.search-box {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.search-box input {
    padding: 8px 10px;
    width: 60%;
    max-width: 400px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    padding: 8px 15px;
    background-color: #ffc107; /* Accent color (yellow like cart button) */
    border: none;
    border-radius: 0 5px 5px 0;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #e0a800;
}

/* Navigation Links Styling */
.nav-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links ul li a {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 15px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

.nav-links ul li a:hover {
    background-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-box input {
        width: 50%;
    }

    .nav-links ul {
        gap: 10px;
    }

    .nav-links ul li a {
        font-size: 12px;
    }
}
