/* Campfire Marketing Site - Utility Classes */
/* This file contains utility classes to replace inline styles */

/* ===== TYPOGRAPHY UTILITIES ===== */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

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

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

.line-height-tight { line-height: 1.2; }
.line-height-normal { line-height: 1.5; }
.line-height-relaxed { line-height: 1.6; }

/* ===== COLOR UTILITIES ===== */
.text-neutral-50 { color: var(--neutral-50); }
.text-neutral-100 { color: var(--neutral-100); }
.text-neutral-200 { color: var(--neutral-200); }
.text-neutral-300 { color: var(--neutral-300); }
.text-neutral-400 { color: var(--neutral-400); }
.text-neutral-500 { color: var(--neutral-500); }
.text-neutral-600 { color: var(--neutral-600); }
.text-neutral-700 { color: var(--neutral-700); }
.text-neutral-800 { color: var(--neutral-800); }
.text-neutral-900 { color: var(--neutral-900); }

.text-primary-50 { color: var(--primary-50); }
.text-primary-100 { color: var(--primary-100); }
.text-primary-200 { color: var(--primary-200); }
.text-primary-300 { color: var(--primary-300); }
.text-primary-400 { color: var(--primary-400); }
.text-primary-500 { color: var(--primary-500); }
.text-primary-600 { color: var(--primary-600); }
.text-primary-700 { color: var(--primary-700); }
.text-primary-800 { color: var(--primary-800); }
.text-primary-900 { color: var(--primary-900); }

.text-white { color: white; }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }

/* ===== BACKGROUND UTILITIES ===== */
.bg-neutral-50 { background-color: var(--neutral-50); }
.bg-neutral-100 { background-color: var(--neutral-100); }
.bg-accent-50 { background-color: rgba(255, 152, 0, 0.1); }
.bg-neutral-200 { background-color: var(--neutral-200); }
.bg-neutral-300 { background-color: var(--neutral-300); }
.bg-primary-50 { background-color: var(--primary-50); }
.bg-primary-100 { background-color: var(--primary-100); }
.bg-primary-200 { background-color: var(--primary-200); }
.bg-primary-600 { background-color: var(--primary-600); }
.bg-white { background-color: white; }

/* ===== SPACING UTILITIES ===== */
.m-0 { margin: 0; }
.m-auto { margin: 0 auto; }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }
.mt-24 { margin-top: var(--space-24); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-20 { margin-bottom: var(--space-20); }
.mb-24 { margin-bottom: var(--space-24); }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: var(--space-1); }
.ml-2 { margin-left: var(--space-2); }
.ml-3 { margin-left: var(--space-3); }
.ml-4 { margin-left: var(--space-4); }
.ml-auto { margin-left: auto; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: var(--space-1); }
.mr-2 { margin-right: var(--space-2); }
.mr-3 { margin-right: var(--space-3); }
.mr-4 { margin-right: var(--space-4); }
.mr-auto { margin-right: auto; }

.mx-0 { margin-left: 0; margin-right: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mb-4 { margin-bottom: var(--space-4); }

.my-0 { margin-top: 0; margin-bottom: 0; }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }
.p-12 { padding: var(--space-12); }
.p-16 { padding: var(--space-16); }

.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.p-20 { padding: var(--space-20); }
.p-24 { padding: var(--space-24); }

.pt-0 { padding-top: 0; }
.pt-6 { padding-top: var(--space-6); }
.pt-20 { padding-top: var(--space-20); }

.pb-0 { padding-bottom: 0; }
.pb-20 { padding-bottom: var(--space-20); }

.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }

.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }

/* ===== LAYOUT UTILITIES ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }

/* ===== SIZING UTILITIES ===== */
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-80 { width: 80px; }
.w-64 { width: 64px; }

.h-auto { height: auto; }
.h-80 { height: 80px; }
.h-64 { height: 64px; }

.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* ===== BORDER UTILITIES ===== */
.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 50%; }

.border { border: 1px solid var(--neutral-200); }
.border-0 { border: none; }

/* ===== SHADOW UTILITIES ===== */
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ===== COMPONENT UTILITIES ===== */
.icon-container {
  background-color: var(--primary-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
}

.icon-container-sm {
  width: 48px;
  height: 48px;
  font-size: var(--text-xl);
}

.icon-container-md {
  width: 50px;
  height: 50px;
  font-size: var(--text-xl);
}

.icon-container-lg {
  width: 80px;
  height: 80px;
  font-size: var(--text-3xl);
}

.icon-container-xl {
  width: 96px;
  height: 96px;
  font-size: var(--text-4xl);
}

/* ===== LIST UTILITIES ===== */
.list-none { list-style: none; }

.list-item {
  color: var(--neutral-700);
}

.list-item-left {
  text-align: left;
}

/* ===== HOVER UTILITIES ===== */
.hover-transform:hover {
  transform: translateY(-4px);
}

.transition {
  transition: all 0.3s ease;
}

/* ===== GRADIENT UTILITIES ===== */
.bg-gradient-forest {
  background: linear-gradient(135deg, var(--forest-600), var(--forest-500));
}

.bg-gradient-campfire {
  background: linear-gradient(135deg, var(--campfire-orange), var(--sunset-orange));
}

.text-gradient {
  background: linear-gradient(135deg, var(--forest-600), var(--campfire-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ENHANCED SHADOW UTILITIES ===== */
.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-medium {
  box-shadow: var(--shadow-medium);
}

.shadow-large {
  box-shadow: var(--shadow-large);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

/* ===== GLASS EFFECT UTILITIES ===== */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== BORDER UTILITIES ===== */
.border-gradient {
  border-image: linear-gradient(135deg, var(--forest-400), var(--campfire-orange)) 1;
}

/* ===== PATTERN BACKGROUNDS ===== */
.bg-pattern-topo {
  background-image: var(--pattern-topo);
  background-size: 200px 200px;
  background-position: center;
}

.bg-pattern-dots {
  background-image: radial-gradient(circle, var(--neutral-400) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.bg-gradient-mesh {
  background:
    radial-gradient(ellipse at top left, var(--khaki-100) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, var(--forest-100) 0%, transparent 50%),
    white;
}

/* ===== OPACITY UTILITIES ===== */
.opacity-90 { opacity: 0.9; }

/* ===== DECORATIVE SVG ELEMENTS ===== */
.decoration-mountain {
  position: absolute;
  opacity: 0.2;
  pointer-events: none;
}

.decoration-tree {
  position: absolute;
  opacity: 0.3;
  pointer-events: none;
}

.decoration-campfire {
  position: absolute;
  opacity: 0.4;
  pointer-events: none;
}

/* Position helpers for decorations */
.decoration-top-left {
  top: 10%;
  left: 5%;
}

.decoration-top-right {
  top: 10%;
  right: 5%;
}

.decoration-bottom-left {
  bottom: 10%;
  left: 5%;
}

.decoration-bottom-right {
  bottom: 10%;
  right: 5%;
}

/* ===== POSITION UTILITIES ===== */
.relative { position: relative; }
.absolute { position: absolute; }

/* ===== OVERFLOW UTILITIES ===== */
.overflow-hidden { overflow: hidden; }

/* ===== CURSOR UTILITIES ===== */
.cursor-pointer { cursor: pointer; }

/* ===== DISPLAY UTILITIES ===== */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* ===== WHITESPACE UTILITIES ===== */
.whitespace-nowrap { white-space: nowrap; }

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0.25rem;
}

.badge-primary {
    background-color: var(--primary);
    color: white;
}

.badge-accent {
  background-color: var(--campfire-orange);
  color: white;
}

.badge-sm {
    padding: 0.125rem 0.5rem;
    font-size: 0.625rem;
}

/* ===== FEATURED CARD ===== */
.card-featured {
    border: 2px solid var(--primary);
    position: relative;
}

.card-featured .badge {
    position: absolute;
    top: -0.75rem;
    right: 1rem;
}

/* ===== PRICING TABLE ===== */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--gray-light);
    background-color: var(--neutral-50);
    font-weight: 600;
}

.pricing-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.pricing-table .check {
    color: var(--secondary);
    font-weight: bold;
}

.pricing-table .x {
    color: var(--gray);
}

/* ===== ADDITIONAL UTILITIES FOR INLINE STYLE REPLACEMENT ===== */

/* Extra large text sizes */
.text-6xl { font-size: var(--text-6xl); }
.text-7xl { font-size: 6rem; }
.text-8xl { font-size: 8rem; }

/* Font style utilities */
.font-italic { font-style: italic; }
.font-normal-style { font-style: normal; }

/* Line height */
.line-height-1 { line-height: 1; }

/* Max width utilities */
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }

/* Background gradients */
.gradient-bg-primary {
  background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
}

.gradient-bg-primary-dark {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
}

/* Special background colors */
.bg-forest-dark { background-color: #2D5016; }
.bg-transparent { background-color: transparent; }

/* Border utilities */
.border-white { border-color: white; }
.border-2 { border-width: 2px; }
.border-top-light {
  border-top: 1px solid var(--neutral-200);
}
.border-top-white-30 {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Special borders for FAQ sections */
.border-top-none {
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Icon containers with specific sizes */
.icon-circle-40 {
  width: 40px;
  height: 40px;
  background-color: var(--primary-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image utilities */
.img-full {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Special card borders */
.card-primary-border {
  border: 1px solid var(--primary-200);
}

/* Opacity utilities for text on dark backgrounds */
.opacity-95 { opacity: 0.95; }

/* Padding utilities */
.pt-8 { padding-top: var(--space-8); }

/* Min height */
.min-h-60vh { min-height: 60vh; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Alignment utilities */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

/* Color utilities for specific sections */
.text-white { color: white; }

/* Button color overrides */
.bg-accent-orange { 
  background-color: var(--accent-orange); 
  border-color: var(--accent-orange);
}

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

/* Button styles for dark backgrounds */
.btn.bg-white {
  background-color: white !important;
}

.btn.bg-white.text-primary-500 {
  color: var(--forest-600) !important;
}

.btn.bg-white:hover {
  background-color: var(--neutral-100) !important;
  color: var(--forest-700) !important;
}