/* Header Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Logo styling */
.logo {
    height: 100%;
}

.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    margin-top: 8px;
}

/* Search container */
.search-container {
    position: relative;
    display: flex;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 44px;
}

.search-container .input {
    flex: 1;
    height: 100%;
    padding: 0 20px;
    border: none;
    outline: none;
    font-size: 15px;
}

.search-btn {
    width: 60px;
    height: 100%;
    background: #B3343A;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #9a2b30;
}

.search-btn i {
    font-size: 1.1rem;
}

/* Search suggestions */
.search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

.suggestion-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.suggestion-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: cover;
}

.suggestion-item .title {
    font-weight: bold;
}

.suggestion-item .company {
    font-size: 0.8em;
    color: #777;
}

.no-results {
    padding: 10px;
    color: #777;
}

/* Mobile menu styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex !important;
        align-items: center;
        cursor: pointer;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
    }
    
    .menu-toggle i {
        margin-right: 5px;
    }
    
    #responsive-nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    #responsive-nav ul.main-nav {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    #responsive-nav ul.main-nav li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #eee;
        list-style: none;
    }
    
    #responsive-nav ul.main-nav li a {
        display: block;
        padding: 12px 20px;
        color: #333;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }
    
    #responsive-nav ul.main-nav li a:hover {
        background-color: #f8f9fa;
    }
}

/* Hide menu toggle on desktop */
@media (min-width: 992px) {
    .menu-toggle {
        display: none !important;
    }
}