/**
 * Pekin Country Club - Typography Standards
 * Google Fonts: Cormorant Garamond (headings), Inter (body)
 */

/* ============================================
   HEADING STYLES
   Classic serif for elegance and tradition
   ============================================ */

h1, .h1 {
  font-family: var(--font-family-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight, 1.25);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text, #1f2937);
  margin-bottom: var(--spacing-6);
}

h2, .h2 {
  font-family: var(--font-family-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight, 1.25);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text, #1f2937);
  margin-bottom: var(--spacing-5);
}

h3, .h3 {
  font-family: var(--font-family-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug, 1.375);
  color: var(--color-text, #1f2937);
  margin-bottom: var(--spacing-4);
}

h4, .h4 {
  font-family: var(--font-family-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug, 1.375);
  color: var(--color-text, #1f2937);
  margin-bottom: var(--spacing-4);
}

h5, .h5 {
  font-family: var(--font-family-base, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal, 1.5);
  color: var(--color-text, #1f2937);
  margin-bottom: var(--spacing-3);
}

h6, .h6 {
  font-family: var(--font-family-base, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal, 1.5);
  color: var(--color-text, #1f2937);
  margin-bottom: var(--spacing-3);
}

/* ============================================
   BODY TEXT STYLES
   Clean sans-serif for readability
   ============================================ */

body {
  font-family: var(--font-family-base, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: var(--font-size-base, 1rem);
  font-weight: var(--font-weight-normal, 400);
  line-height: var(--line-height-relaxed, 1.75);
  color: var(--color-text, #1f2937);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-family: var(--font-family-base, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: var(--font-size-base, 1rem);
  line-height: var(--line-height-relaxed, 1.75);
  color: var(--color-text, #1f2937);
  margin-bottom: var(--spacing-4);
}

.text-lead {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  font-weight: var(--font-weight-normal);
}

.text-small {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.text-xs {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-normal);
}

/* ============================================
   DISPLAY TEXT
   Large hero/banner text
   ============================================ */

.display-1 {
  font-family: var(--font-family-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text, #1f2937);
}

.display-2 {
  font-family: var(--font-family-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.15;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text, #1f2937);
}

/* ============================================
   SPECIALIZED TEXT STYLES
   ============================================ */

.text-emphasis {
  font-family: var(--font-family-heading);
  font-style: italic;
  color: var(--color-primary);
}

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

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

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

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

/* ============================================
   LINKS
   ============================================ */

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration-thickness: 2px;
}

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

.link-clean {
  text-decoration: none;
}

.link-clean:hover {
  text-decoration: underline;
}

/* ============================================
   BUTTONS & UI TEXT
   ============================================ */

.button-text {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

.label-text {
  font-family: var(--font-family-base);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.caption-text {
  font-family: var(--font-family-base);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-normal);
  color: var(--color-text-muted);
}

/* ============================================
   LISTS
   ============================================ */

ul, ol {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--spacing-4);
  padding-left: var(--spacing-6);
}

li {
  margin-bottom: var(--spacing-2);
}

/* ============================================
   BLOCKQUOTES
   ============================================ */

blockquote {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-xl);
  font-style: italic;
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--spacing-6);
  margin: var(--spacing-8) 0;
}

/* ============================================
   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);
  }

  .display-1 {
    font-size: var(--font-size-5xl);
  }

  .display-2 {
    font-size: var(--font-size-4xl);
  }
}

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

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

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

  .display-1 {
    font-size: var(--font-size-4xl);
  }

  .display-2 {
    font-size: var(--font-size-3xl);
  }
}
