/* 
 * Navbar Color Fix - Ensure purple navbar consistency 
 * Fixes navbar color to match footer purple instead of black
 */

/* === NAVBAR SPECIFIC FIXES === */
.navbar,
nav.navbar,
.navbar-expand-lg,
.navbar-dark {
    background: #5b21b6 !important; /* Deep purple matching Saturn and footer */
    background-color: #5b21b6 !important;
    border-bottom: 1px solid #7c3aed !important;
}

/* Navbar Brand and Links */
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
    color: #ffffff !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #f3f4f6 !important;
}

.navbar-nav .nav-link.active {
    color: #ddd6fe !important; /* Light purple for active state */
    font-weight: 500;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.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='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dropdown menus in navbar */
.navbar .dropdown-menu {
    background: #4c1d95 !important; /* Slightly darker purple */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar .dropdown-item {
    color: #ffffff !important;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e0e7ff !important;
}

/* Ensure purple consistency with footer */
footer,
.footer {
    background: #5b21b6 !important; /* Same purple as navbar */
    color: #ffffff !important;
}

/* Text color improvements for better readability */
.text-muted {
    color: var(--brand-text-muted) !important;
}

.text-secondary {
    color: var(--brand-text-secondary) !important;
}

/* Fix any remaining dark backgrounds that should be light */
.container-fluid,
.container,
.row,
.col {
    background: transparent !important;
}

/* Ensure consistent purple throughout */
.btn-primary {
    background: #5b21b6 !important;
    border-color: #5b21b6 !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #4c1d95 !important;
    border-color: #4c1d95 !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    color: #5b21b6 !important;
    border-color: #5b21b6 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: #5b21b6 !important;
    border-color: #5b21b6 !important;
    color: #ffffff !important;
}
