/**
 * ============================================================================
 * TYPOGRAPHY SYSTEM - PREMIUM BEAUTY BRAND
 * Elegant serif headings with modern sans-serif body text
 * ============================================================================
 */

/* ===========================
   GOOGLE FONTS IMPORT
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Sacramento&display=swap');

/* ===========================
   BASE TYPOGRAPHY
   =========================== */
body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-weight-regular);
    line-height: 1.7;
    color: var(--color-neutral-700);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* ===========================
   HEADINGS - ELEGANT DISPLAY
   =========================== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--color-neutral-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-lg);
}

h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--color-neutral-800);
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-semibold);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

/* ===========================
   DECORATIVE ACCENT TEXT
   =========================== */
.text-accent {
    font-family: var(--font-accent);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary-500);
}

/* Small decorative text above headings */
.eyebrow {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-500);
    margin-bottom: var(--spacing-sm);
    display: block;
}

/* ===========================
   PARAGRAPH STYLES
   =========================== */
p {
    margin-bottom: var(--spacing-lg);
    color: var(--color-neutral-600);
}

p:last-child {
    margin-bottom: 0;
}

p.lead {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-neutral-600);
    line-height: 1.8;
}

/* ===========================
   TEXT UTILITIES
   =========================== */
.text-gradient {
    background: var(--gradient-rose-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-md {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

/* ===========================
   LINKS
   =========================== */
a {
    color: var(--color-primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-700);
}

a:focus-visible {
    outline: 2px solid var(--color-primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ===========================
   TEXT MODIFIERS
   =========================== */
strong, b {
    font-weight: var(--font-weight-semibold);
    color: var(--color-neutral-800);
}

em, i {
    font-style: italic;
}

small {
    font-size: var(--text-sm);
    color: var(--color-neutral-500);
}

mark {
    background: var(--color-primary-100);
    color: var(--color-primary-800);
    padding: 0.125rem 0.25rem;
    border-radius: var(--radius-sm);
}

/* ===========================
   BLOCKQUOTE
   =========================== */
blockquote {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-style: italic;
    line-height: 1.6;
    color: var(--color-neutral-700);
    padding-left: var(--spacing-xl);
    border-left: 4px solid var(--color-primary-500);
    margin: var(--spacing-2xl) 0;
}

blockquote cite {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--color-neutral-500);
    margin-top: var(--spacing-md);
}

/* ===========================
   CODE & PRE (If needed for blog)
   =========================== */
code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    background: var(--color-neutral-100);
    color: var(--color-primary-700);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
}

pre {
    background: var(--color-neutral-900);
    color: var(--color-neutral-100);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--spacing-xl) 0;
}

pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
   =========================== */
@media (max-width: 768px) {
    h1 {
        margin-bottom: var(--spacing-md);
    }
    
    h2, h3 {
        margin-bottom: var(--spacing-md);
    }
    
    p {
        margin-bottom: var(--spacing-md);
    }
    
    blockquote {
        padding-left: var(--spacing-lg);
        margin: var(--spacing-xl) 0;
    }
}