/* ============================================
   Base Styles - Typography & Globals
   ============================================ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-cream);
  background-color: var(--color-bg-primary);
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  color: var(--color-white);
  font-weight: 700;
}

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

h2 {
  font-size: var(--text-3xl);
  letter-spacing: var(--tracking-tight);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-gold);
}

/* --- Body text --- */
p {
  margin-bottom: var(--space-4);
  color: var(--color-cream-dim);
}

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

strong, b {
  font-weight: 700;
  color: var(--color-cream);
}

em, i {
  font-style: italic;
}

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

/* --- Links --- */
a {
  color: var(--color-gold);
  transition: color var(--transition-fast);
}

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

/* --- Selection --- */
::selection {
  background: var(--color-burgundy);
  color: var(--color-cream);
}

/* --- Scrollbar (Webkit) --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-burgundy);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-burgundy-light);
}

/* --- Horizontal rule --- */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-gold-dark),
    transparent
  );
  margin: var(--space-12) 0;
}

/* --- Section title pattern --- */
.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: var(--space-4);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--color-burgundy), var(--color-gold));
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--color-gray);
  font-size: var(--text-lg);
  margin-top: var(--space-4);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.text-burgundy {
  color: var(--color-burgundy-light);
}
