/**
 * Typography Styles
 * Font loading and text styles
 *
 * @package Moes_Pizza
 * @since 1.0.0
 */

/* Font Face Declarations - Local Fonts */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-VariableFont_wght.woff2') format('woff2-variations');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-VariableFont.woff2') format('woff2-variations');
    font-weight: 300 600;
    font-style: normal;
    font-display: swap;
}

/* Base Typography */
body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-off-white);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-off-white);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); font-weight: 600; }

/* Paragraphs */
p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--color-cheese-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-pizza-red);
}

a:focus {
    outline: 2px solid var(--color-pizza-red);
    outline-offset: 2px;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--color-pizza-red);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-muted-gray);
}

/* Strong & Em */
strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

/* Code */
code, kbd, pre {
    font-family: 'Courier New', monospace;
    background-color: var(--color-deep-black);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}
