/* ================================================
   TEXT.CSS
   Typography and text styling components
   ================================================ */

/* Normalized Monospace Text */
.normalized-monospace,
.normalized-monospace p,
.normalized-monospace pre {
    font-family: monospace;
    font-size: 18px;
    color: var(--theme-text);
}

/* Preformatted Text */
pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    color: var(--theme-text);
}

/* Text Colors */
.text-primary {
    color: var(--theme-primary) !important;
}

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

.text-accent {
    color: var(--theme-accent) !important;
}

.text-muted {
    color: rgba(var(--theme-text-rgb), 0.6) !important;
}

/* Text Shadows */
.text-glow-primary {
    text-shadow: 2px 2px 8px rgba(var(--theme-primary-rgb), 0.6);
}

.text-glow-secondary {
    text-shadow: 2px 2px 8px rgba(var(--theme-secondary-rgb), 0.6);
}

.text-glow-accent {
    text-shadow: 2px 2px 8px rgba(var(--theme-accent-rgb), 0.6);
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: Heading, 'Segoe UI', sans-serif;
    color: var(--theme-text);
}

h1 {
    color: var(--theme-primary);
    text-shadow: 3px 3px 10px rgba(var(--theme-primary-rgb), 0.6);
}

h2 {
    color: var(--theme-text);
    text-shadow: 2px 2px 6px rgba(var(--theme-primary-rgb), 0.4);
}

/* Paragraph Styles */
p, .paragraph {
    font-size: 22px;
    margin: 0;
    color: var(--theme-text);
}

/* Links */
a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--theme-secondary);
    text-shadow: 0 0 5px rgba(var(--theme-primary-rgb), 0.5);
}

/* Footer Links */
footer a {
    color: var(--theme-secondary);
}

footer a:hover {
    color: var(--theme-primary);
}

/* Code Blocks */
code {
    background: rgba(var(--theme-secondary-rgb), 0.1);
    color: var(--theme-accent);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
}

/* Blockquotes */
blockquote {
    border-left: 3px solid var(--theme-primary);
    padding-left: 1rem;
    margin-left: 0;
    color: rgba(var(--theme-text-rgb), 0.8);
    font-style: italic;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .normalized-monospace,
    .normalized-monospace p,
    .normalized-monospace pre {
        font-size: 16px;
    }
    
    p, .paragraph {
        font-size: 18px;
    }
}

