:root {
    --primary-color: #00aef0;
    --secondary-color: #072834;
}
body {
    font-family: 'Arial', sans-serif;
}
.navbar-custom {
    background-color: var(--secondary-color);
}
.hero-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0;
}
.search-bar {
    border-radius: 30px;
    overflow: hidden;
}
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.category-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}
.logo-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-only {
    color: #00aef0; /* Updated to match the primary color */
    text-transform: uppercase;
}

.logo-models {
    color: #ffffff; /* White color */
    text-transform: uppercase;
    background-color: #00aef0; /* Updated to match the primary color */
    padding: 2px 5px;
    border-radius: 3px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
    height: 56px;
    box-shadow: 0 -2px 5px -2px #333;
    background-color: var(--secondary-color);
}
.mobile-bottom-nav__item {
    flex-grow: 1;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mobile-bottom-nav__item-content {
    display: flex;
    flex-direction: column;
    color: #fff; /* White text color */
    text-decoration: none; /* Remove underline from links */
}
.mobile-bottom-nav__item-icon {
    font-size: 18px;
}
.mobile-bottom-nav__item-text {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 56px; /* Height of the bottom nav */
    }
    .navbar-custom {
        display: none; /* Hide the top navbar on mobile */
    }
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0 0 0.25rem 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

.search-results .list-group-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    text-align: left;
}

.search-results .list-group-item:hover,
.search-results .list-group-item.active {
    background-color: #f8f9fa;
}

.search-results .list-group-item img {
    object-fit: cover;
}

.search-results .list-group-item .fw-bold {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.2;
}

.search-results .list-group-item small {
    font-size: 0.75rem;
    line-height: 1.2;
}

.search-results .flex-grow-1 {
    min-width: 0;
}

.search-results .flex-grow-1 > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .search-results {
        width: calc(100vw - 2rem) !important;
    }
}

/* Specific styles for home search */
#home-search-form {
    position: relative;
}

#home-search-results {
    width: 100%;
}

@media (max-width: 767px) {
    .breadcrumb-text {
        max-width: 140px;
    }
}
