/* Typography Styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600;700;800&family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--text-xl);
  line-height: 1.1;
}

h2 {
  font-size: var(--text-lg);
  line-height: 1.15;
}

h3 {
  font-size: var(--text-md);
  line-height: 1.2;
}

h4 {
  font-size: var(--text-base);
  line-height: 1.3;
}

h5, h6 {
  font-size: var(--text-sm);
  line-height: 1.4;
}

/* Display Text - For hero sections */
.display-text {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.display-xl {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  line-height: 1.1;
}

/* Body Text */
p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.text-large {
  font-size: var(--text-md);
  line-height: 1.6;
}

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

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

/* Text Styles */
.text-bold {
  font-weight: var(--weight-bold);
}

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

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

/* Color Variants */
.text-primary {
  color: var(--color-primary);
}

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

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

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

.text-white {
  color: white!important;
}

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

a:hover {
  color: var(--color-accent);
}

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

/* Blockquotes */
blockquote {
  font-family: var(--font-accent);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--color-secondary);
  border-left: 4px solid var(--color-accent);
  padding-left: 2rem;
  margin: 2rem 0;
}

/* Lists */
ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

/* Accent Underline */
.underline-accent {
  position: relative;
  display: inline-block;
}

.underline-accent::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
}

/* Text Shadow for overlay text */
.text-shadow {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Line clamp utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
