/* Mobile search improvements */
@media (max-width: 991.98px) {
    .navbar {
        position: relative;
    }
    
    /* Hide desktop elements on mobile */
    .d-none.d-lg-flex {
        display: none !important;
    }
    
    #mobileSearch {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        z-index: 1030;
    }
    
    #mobileSearch.show {
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    /* Ensure navigation doesn't overlap with expanded search */
    .navigation-section {
        margin-top: 0;
        border: none !important;
    }
}

/* Desktop improvements */
@media (min-width: 992px) {
    /* Hide mobile elements on desktop */
    .d-lg-none {
        display: none !important;
    }
    
    /* Hide mobile search on desktop */
    #mobileSearch {
        display: none !important;
    }
}

/* Search form improvements */
.form-control[type="search"] {
    min-width: 200px;
}

@media (max-width: 576px) {
    .form-control[type="search"] {
        min-width: 150px;
    }
}