/* ==========================================
   TYPOGRAPHY
   Стилі для заголовків, параграфів та тексту
   ========================================== */

/* ==========================================
   HEADINGS
   ========================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-family-heading);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* ==========================================
   PARAGRAPHS
   ========================================== */
p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ==========================================
   TEXT UTILITIES
   ========================================== */
.text-primary {
  color: var(--primary) !important;
}

.text-info {
  color: var(--info) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

/* ==========================================
   DISPLAY HEADINGS
   ========================================== */
.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-5 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
}

/* ==========================================
   DARK MODE - TYPOGRAPHY
   ========================================== */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode .display-4,
body.dark-mode .display-5 {
  color: var(--light);
}

body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode strong,
body.dark-mode li {
  color: var(--color-white);
}

body.dark-mode p.text-muted {
  color: var(--text-dark) !important;
}
