/* ============================================
   Nomagri E-Ticaret - Typography
   Premium tipografi sistemi
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===== BASE ===== */
body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    color: var(--color-gray-800);
    background-color: var(--color-cream);
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
}

h1, .h1 {
    font-size: var(--font-size-5xl);
    letter-spacing: var(--letter-spacing-tight);
}

h2, .h2 {
    font-size: var(--font-size-4xl);
    letter-spacing: var(--letter-spacing-tight);
}

h3, .h3 {
    font-size: var(--font-size-3xl);
}

h4, .h4 {
    font-size: var(--font-size-2xl);
}

h5, .h5 {
    font-size: var(--font-size-xl);
}

h6, .h6 {
    font-size: var(--font-size-lg);
}

/* ===== PARAGRAPHS ===== */
p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-relaxed);
    color: var(--color-gray-600);
}

.small {
    font-size: var(--font-size-sm);
}

.tiny {
    font-size: var(--font-size-xs);
}

/* ===== LINKS ===== */
a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

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

.link-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.link-accent {
    color: var(--color-accent);
}

.link-accent:hover {
    color: var(--color-accent-dark);
}

/* ===== TEXT UTILITIES ===== */

/* Ağırlıklar */
.font-light { font-weight: var(--font-weight-light); }
.font-regular { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Font Aileleri */
.font-display { font-family: var(--font-primary); }
.font-serif { font-family: var(--font-secondary); }
.font-sans { font-family: var(--font-body); }
.font-accent { font-family: var(--font-accent); }

/* Boyutlar */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }
.text-6xl { font-size: var(--font-size-6xl); }
.text-7xl { font-size: var(--font-size-7xl); }

/* Hizalama */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Renkler */
.text-primary { color: var(--color-primary); }
.text-primary-light { color: var(--color-primary-light); }
.text-primary-dark { color: var(--color-primary-dark); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-black { color: var(--color-black); }
.text-gray { color: var(--color-gray-500); }
.text-gray-light { color: var(--color-gray-400); }
.text-gray-dark { color: var(--color-gray-700); }
.text-muted { color: var(--color-gray-500); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }

/* Dönüşümler */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

/* Harf Aralığı */
.tracking-tighter { letter-spacing: var(--letter-spacing-tighter); }
.tracking-tight { letter-spacing: var(--letter-spacing-tight); }
.tracking-normal { letter-spacing: var(--letter-spacing-normal); }
.tracking-wide { letter-spacing: var(--letter-spacing-wide); }
.tracking-wider { letter-spacing: var(--letter-spacing-wider); }
.tracking-widest { letter-spacing: var(--letter-spacing-widest); }

/* Satır Yüksekliği */
.leading-none { line-height: 1; }
.leading-tight { line-height: var(--line-height-tight); }
.leading-snug { line-height: var(--line-height-snug); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }

/* ===== PREMIUM TYPOGRAPHY STYLES ===== */

/* Lüks başlık stili */
.heading-luxury {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-light);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
}

/* Elegant alt başlık */
.heading-elegant {
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: var(--font-weight-regular);
}

/* Gold accent text */
.text-gold {
    color: var(--color-accent);
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BLOCKQUOTE ===== */
blockquote {
    font-family: var(--font-secondary);
    font-size: var(--font-size-xl);
    font-style: italic;
    color: var(--color-gray-600);
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-6);
    margin: var(--space-8) 0;
}

blockquote cite {
    display: block;
    font-size: var(--font-size-sm);
    font-style: normal;
    color: var(--color-gray-500);
    margin-top: var(--space-2);
}

/* ===== LISTS ===== */
.list-styled {
    padding-left: var(--space-6);
}

.list-styled li {
    margin-bottom: var(--space-2);
    position: relative;
}

.list-styled li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: calc(-1 * var(--space-4));
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 768px) {
    h1, .h1 {
        font-size: var(--font-size-4xl);
    }
    
    h2, .h2 {
        font-size: var(--font-size-3xl);
    }
    
    h3, .h3 {
        font-size: var(--font-size-2xl);
    }
    
    h4, .h4 {
        font-size: var(--font-size-xl);
    }
    
    .lead {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    h1, .h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2, .h2 {
        font-size: var(--font-size-2xl);
    }
}
