import { StyleOption } from '../../../types';

export const medievalIlluminated: StyleOption = {
    id: 'medieval-illuminated',
    name: 'Medieval Illuminated',
    category: 'Historical',
    description: 'Manuscript style. Heavy ornate headers mimicking drop caps and blackletter feels.',
    vibe: 'Historic, Religious, Ornate',
    googleFontsImport: 'https://fonts.googleapis.com/css2?family=MedievalSharp&family=Goudy+Bookletter+1911&display=swap',
    
    wordConfig: {
      heading1: { 
        font: "MedievalSharp", size: 36, color: "800000", bold: false, align: 'left',
        spacing: { before: 440, after: 260, line: 240 },
        border: { 
          left: { color: "FFD700", space: 10, style: "thick", size: 24 } 
        }
      },
      heading2: { 
        font: "MedievalSharp", size: 18, color: "556B2F", bold: false, align: 'left',
        spacing: { before: 320, after: 160, line: 240 }
      },
      body: { 
        font: "Goudy Bookletter 1911", size: 13, color: "000000", align: 'both',
        spacing: { before: 0, after: 160, line: 300 } 
      },
      accentColor: "FFD700"
    },

    previewCss: `
      font-family: 'Goudy Bookletter 1911', serif;
      background: #FFF8DC;
      h1 { font-family: 'MedievalSharp', cursive; font-size: 36pt; color: #800000; border-left: 8px solid #FFD700; padding-left: 16px; margin-bottom: 24px; }
      h2 { font-family: 'MedievalSharp', cursive; font-size: 18pt; color: #556B2F; margin-top: 32px; margin-bottom: 16px; }
      p { font-size: 13pt; line-height: 1.6; color: #000000; margin-bottom: 14px; text-align: justify; }
      blockquote { border: 2px double #800000; padding: 16px; margin: 24px 0; background: #FAEBD7; }
    `
  };
