/* Growthfully Typography System
   Playfair Display for headings, Inter for body text */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Typography */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-loose);
  color: var(--charcoal);
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6, .heading {
  font-family: var(--font-heading);
  color: var(--mallard);
  margin: 0;
  line-height: var(--leading-tight);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: 1.25rem;
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
}

h5 {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--charcoal);
  margin-bottom: var(--spacing-xs);
}

h6 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--warm-grey);
  margin-bottom: var(--spacing-xs);
}

/* Body Text */
p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-loose);
  color: var(--charcoal);
  margin: 0 0 var(--spacing-sm) 0;
}

/* Text Variations */
.text-large {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.text-small {
  font-size: var(--text-sm);
  font-weight: var(--weight-normal);
  color: var(--warm-grey);
  line-height: var(--leading-relaxed);
}

.text-xs {
  font-size: var(--text-xs);
  color: var(--warm-grey);
}

/* Text Colors */
.text-primary {
  color: var(--mallard);
}

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

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

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

.text-white {
  color: var(--pure-white);
}

/* Font Weights */
.font-light {
  font-weight: var(--weight-light);
}

.font-normal {
  font-weight: var(--weight-normal);
}

.font-medium {
  font-weight: var(--weight-medium);
}

.font-semibold {
  font-weight: var(--weight-semibold);
}

.font-bold {
  font-weight: var(--weight-bold);
}

/* Links */
a {
  color: var(--mallard);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--chelsea-cucumber);
}

a:focus {
  outline: 2px solid var(--mallard);
  outline-offset: 2px;
}

/* Lists */
ul, ol {
  margin: 0 0 var(--spacing-sm) 0;
  padding-left: var(--spacing-md);
}

li {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: var(--leading-loose);
  margin-bottom: var(--spacing-xs);
}

/* Quotes */
blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--mallard);
  border-left: 4px solid var(--green-mist);
  padding-left: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  line-height: var(--leading-relaxed);
}

blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--warm-grey);
  margin-top: var(--spacing-xs);
}

/* Hero Text Styles */
.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--pure-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--pure-white);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--spacing-lg);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1, .hero-title {
    font-size: var(--text-3xl);
  }
  
  h2 {
    font-size: var(--text-2xl);
  }
  
  h3 {
    font-size: var(--text-xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  h1, .hero-title {
    font-size: var(--text-2xl);
  }
  
  h2 {
    font-size: var(--text-xl);
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}