/* =============================================
   Navbar Background - Subtle Orange Tint
   ============================================= */

/* Navbar Background */
#mainNavbar {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 165, 0, 0.08) 50%, rgba(255, 215, 0, 0.05) 100%) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

#mainNavbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 165, 0, 0.12) 50%, rgba(255, 215, 0, 0.08) 100%) !important;
    box-shadow: 0 4px 25px rgba(255, 107, 53, 0.2);
}

/* =============================================
   Custom Navbar Enhancements
   Remove all focus outlines and click borders
   ============================================= */

/* Remove all Bootstrap default outlines and focus states */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler.active,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
}

.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-toggle:focus,
.dropdown-toggle:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove button default focus */
button:focus,
button:active,
button:focus-visible,
.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Mobile Navbar Toggler - Clean */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 107, 53, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6b35' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =============================================
   Dropdown Arrow Icons
   ============================================= */

/* Add arrow icon to dropdown toggles */
.dropdown-toggle::after {
    content: '' !important;
    display: inline-block !important;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-top: -3px;
}

/* Remove default Bootstrap caret */
.dropdown-toggle::before {
    display: none !important;
}

/* Rotate arrow when dropdown is open */
.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

/* Arrow color on hover */
.dropdown-toggle:hover::after {
    border-color: var(--primary-color);
}

/* Arrow color when active */
.dropdown-toggle.active::after {
    border-color: #ffffff;
}

/* =============================================
   Remove All Hover Borders & Underlines
   ============================================= */

/* Remove hover borders/underlines from ALL nav links */
.navbar-nav .nav-link,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active,
.navbar-nav .dropdown-toggle,
.navbar-nav .dropdown-toggle:hover,
.navbar-nav .dropdown-toggle:focus,
.navbar-nav .dropdown-toggle:active {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    text-decoration: none !important;
    text-underline: none !important;
}

/* Remove borders from dropdown menu items */
.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    text-decoration: none !important;
}

/* Remove any pseudo-element borders */
.navbar-nav .nav-link::before,
.navbar-nav .nav-link::after:not(.dropdown-toggle::after),
.dropdown-item::before,
.dropdown-item::after {
    border: none !important;
    border-bottom: none !important;
    display: none !important;
}

/* Remove tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* But allow text selection where needed */
p, span, li, a, h1, h2, h3, h4, h5, h6, input, textarea {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

