/* ============================================================ 
   MOBILE MENU FIX
   ============================================================ */
#mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

/* Utility class for toggling */
#mobile-menu.hidden {
    display: none !important;
}

#mobile-menu:not(.hidden) {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 900px) {
    #mobile-menu {
        display: none !important;
    }
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: #f3f4f6;
    color: #2563eb;
}

.mobile-menu-link.active {
    background: #eff6ff;
    color: #2563eb;
}

.mobile-menu-user {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 600;
    color: #2563eb;
}

/* ============================================================ 
   HAMBURGER BUTTON FIX
   ============================================================ */
/* Force icon color to be visible (dark) instead of white-on-white */
.navbar-toggle svg {
    color: #1f2937 !important;
    /* Dark Gray */
    stroke: #1f2937 !important;
    width: 28px !important;
    height: 28px !important;
}

/* Ensure button is visible on mobile/tablet */
@media (max-width: 1024px) {
    .navbar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
}

/* ============================================================ 
   FOOTER COLOR FIX
   ============================================================ */
/* Force footer to be dark with !important to override any transparent/white styles */
body footer,
.site-footer {
    background-color: #2B2A27 !important;
    background: #2B2A27 !important;
    color: #E5E4E0 !important;
    border-top: 1px solid #3A3937 !important;
}

body footer a,
.site-footer a {
    color: #9CA3AF !important;
    /* gray-400 */
}

body footer a:hover,
.site-footer a:hover {
    color: white !important;
}

body footer h4,
.site-footer h4,
.footer-heading {
    color: white !important;
}

body footer p,
.site-footer p {
    color: #9CA3AF !important;
}