/**
 * ============================================
 * Delhi House Typography System
 * Restoria-Inspired Font Styles
 * Cormorant Garamond (Serif) + Jost (Sans-serif)
 * ============================================
 */

/* ============================================
   Font Family Utilities
   ============================================ */

.font-display {
    font-family: 'Cormorant Garamond', serif !important;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif !important;
}

.font-sans {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.font-elegant {
    font-family: 'Cormorant Garamond', serif !important;
}

/* ============================================
   Font Size Utilities
   ============================================ */

.text-xs {
    font-size: 0.7rem !important;
    line-height: 1.4;
}

.text-sm {
    font-size: 0.8125rem !important;
    line-height: 1.5;
}

.text-base {
    font-size: 0.9375rem !important;
    line-height: 1.5;
}

.text-lg {
    font-size: 1.0625rem !important;
    line-height: 1.5;
}

.text-xl {
    font-size: 1.125rem !important;
    line-height: 1.4;
}

.text-2xl {
    font-size: 1.375rem !important;
    line-height: 1.3;
}

.text-3xl {
    font-size: 1.625rem !important;
    line-height: 1.3;
}

.text-4xl {
    font-size: 1.875rem !important;
    line-height: 1.2;
}

.text-5xl {
    font-size: 2.5rem !important;
    line-height: 1.1;
}

/* ============================================
   Font Weight Utilities
   ============================================ */

.font-thin {
    font-weight: 100 !important;
}

.font-extralight {
    font-weight: 200 !important;
}

.font-light {
    font-weight: 300 !important;
}

.font-normal {
    font-weight: 400 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-extrabold {
    font-weight: 800 !important;
}

.font-black {
    font-weight: 900 !important;
}

/* ============================================
   Letter Spacing Utilities
   ============================================ */

.tracking-tighter {
    letter-spacing: -0.05em !important;
}

.tracking-tight {
    letter-spacing: -0.025em !important;
}

.tracking-normal {
    letter-spacing: 0 !important;
}

.tracking-wide {
    letter-spacing: 0.025em !important;
}

.tracking-wider {
    letter-spacing: 0.05em !important;
}

.tracking-widest {
    letter-spacing: 0.1em !important;
}

/* ============================================
   Line Height Utilities
   ============================================ */

.leading-none {
    line-height: 1 !important;
}

.leading-tight {
    line-height: 1.25 !important;
}

.leading-snug {
    line-height: 1.375 !important;
}

.leading-normal {
    line-height: 1.5 !important;
}

.leading-relaxed {
    line-height: 1.7 !important;
}

.leading-loose {
    line-height: 2 !important;
}

/* ============================================
   Text Style Utilities
   ============================================ */

.italic {
    font-style: italic !important;
}

.not-italic {
    font-style: normal !important;
}

.underline {
    text-decoration: underline !important;
}

.line-through {
    text-decoration: line-through !important;
}

.no-underline {
    text-decoration: none !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.lowercase {
    text-transform: lowercase !important;
}

.capitalize {
    text-transform: capitalize !important;
}

.normal-case {
    text-transform: none !important;
}

/* ============================================
   Special Typography Styles
   ============================================ */

.text-elegant {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-feature {
    font-family: 'Jost', sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 500;
}

.text-quote {
    font-family: 'Jost', sans-serif;
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
}

.text-eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.text-hero {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-subhero {
    font-family: 'Jost', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* ============================================
   Responsive Typography
   ============================================ */

.text-responsive {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.heading-responsive {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

/* ============================================
   Text Decoration Effects
   ============================================ */

.text-highlight {
    background: linear-gradient(180deg, transparent 60%, var(--accent-color) 60%);
    padding: 0 0.25rem;
}

.text-underline-primary {
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.text-underline-accent {
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* ============================================
   Card Text Styles
   ============================================ */

.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.card-text {
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.card-meta {
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

/* ============================================
   Price Typography
   ============================================ */

.price-large {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-medium {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-small {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price-currency {
    font-size: 0.7em;
    font-weight: 600;
    opacity: 0.8;
}

/* ============================================
   List Typography
   ============================================ */

.list-elegant {
    list-style: none;
    padding-left: 0;
}

.list-elegant li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.list-elegant li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.list-checkmark li::before {
    content: '✓';
    color: var(--success-color);
}

/* ============================================
   Button Typography
   ============================================ */

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-lg {
    font-size: 0.9375rem;
}

.btn-sm {
    font-size: 0.8125rem;
}

/* ============================================
   Accessibility & Readability
   ============================================ */

.text-readable {
    max-width: 65ch;
    line-height: 1.8;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* ============================================
   Print Typography
   ============================================ */

@media print {
    body {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        font-family: Georgia, serif;
    }
    
    p {
        orphans: 3;
        widows: 3;
    }
}

/* ============================================
   Dark Mode Typography (Future Enhancement)
   ============================================ */

@media (prefers-color-scheme: dark) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

