/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

header {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #e5e7eb;
}

.cart-icon {
    display: flex;
    align-items: center;
}

.cart-icon img {
    width: 24px;
    height: 24px;
}

main {
    padding: 2rem 2rem 4rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(90deg, rgba(255, 119, 168, 1) 0%, rgba(121, 134, 203, 1) 100%);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero .hero-content {
    max-width: 50%;
}

.hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .hero-content button {
    background-color: #333;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.hero .hero-content button:hover {
    background-color: #555;
}

.hero .hero-image {
    position: relative;
    max-width: 50%;
}

.hero .hero-image img {
    max-width: 100%;
    display: block;
}

.hero .motorcycle-details {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero .motorcycle-details .detail {
    font-size: 0.9rem;
}

.hero .trending {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.brands {
    text-align: center;
}

.brands h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.brand-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.brand-selector select {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    appearance: none; /* Removes default dropdown arrow for a cleaner look */
    background: white;
    transition: border-color 0.3s;
}

.brand-selector select:hover, .brand-selector select:focus {
    border-color: #007bff;
}

.brand-selector .search-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.brand-selector .search-btn:hover {
    background-color: #0056b3;
}

.brands .brand-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates 2 columns */
    gap: 1rem;
    justify-content: center;
    align-items: center;
    max-width: 800px; /* Set a max-width for the container */
    margin: 0 auto; /* Center the container */
    padding: 1rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.brands .brand-logos img {
    max-width: 200px; /* Adjust the max width to a reasonable size */
    max-height: 200px; /* Adjust the max height to a reasonable size */
    filter: grayscale(50%);
    transition: filter 0.3s;
    justify-self: center; /* Center each image horizontally */
    align-self: center; /* Center each image vertically */
}

.brands .brand-logos img:hover {
    filter: none;
}


