﻿/*
Developer: Chris Wiley
Date: 2025-11-02
Comment: Professional portfolio styles.
*/

/* --- Professional Navigation Menu --- */
.mud-nav-link {
    margin: 4px 0;
}

    /* A simple background highlight for the active link, no glow */
    .mud-nav-link.active {
        border-radius: 4px;
        background-color: var(--mud-palette-action-default-hover);
    }

.mud-nav-menu {
    padding: 8px;
}

/* Make active text/icons use the primary (blue) color */
.mud-nav-link.active .mud-nav-link-text,
.mud-nav-link.active .mud-nav-link-icon {
    color: var(--mud-palette-primary) !important;
}

/* Make expand icons match the normal text color */
.mud-nav-group .mud-expand-icon {
    color: var(--mud-palette-text-primary) !important;
}

/* Let the theme control the drawer background */
.mud-drawer-content {
    background-color: var(--mud-palette-drawer-background) !important;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .mud-typography-h4 {
        font-size: 1.5rem !important;
    }

    .mud-typography-body1, .mud-typography-body2 {
        font-size: 0.875rem !important;
    }

    .mud-paper {
        padding: 16px !important;
    }
}

/* --- Clean Markdown Styling --- */

/* Headers will now use the Theme's font (Inter) */
.mud-paper h1, .mud-paper h2, .mud-paper h3, .mud-paper h4, .mud-paper h5, .mud-paper h6 {
    color: var(--mud-palette-primary);
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 16px;
}

.mud-paper p, .mud-paper li {
    color: var(--mud-palette-text-secondary);
    line-height: 1.6;
}

.mud-paper a {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.mud-paper hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--mud-palette-lines-default), rgba(0, 0, 0, 0));
    margin-top: 24px;
    margin-bottom: 24px;
}

/* Code blocks */
.mud-paper pre {
    background-color: var(--mud-palette-background-grey);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    padding: 16px;
    white-space: pre-wrap;
    word-break: break-all;
}

.mud-paper code {
    font-family: monospace; /* Use a standard monospace font */
    color: var(--mud-palette-text-secondary);
}

/* Images */
.mud-paper img {
    max-width: 75%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    /* Removed the primary-color border */
}

.mud-paper ul {
    padding-left: 40px;
}
