/*!
 * Arete Performance Design System
 * Bootstrap 5 Custom Theme
 */

/* Import FK Grotesk Neue Trial font */
@font-face {
  font-family: 'FK Grotesk Neue Trial';
  src: url('../fonts/FKGroteskNeueTrial-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue Trial';
  src: url('../fonts/FKGroteskNeueTrial-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue Trial';
  src: url('../fonts/FKGroteskNeueTrial-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue Trial';
  src: url('../fonts/FKGroteskNeueTrial-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FK Grotesk Neue Trial';
  src: url('../fonts/FKGroteskNeueTrial-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Colors */
  --arete-primary: #ECB613;
  --arete-dark: #221D10;
  --arete-light: #FFFEFA;
  --arete-black: #221D10;
  
  /* Text Colors */
  --arete-text-primary: #221D10;
  --arete-text-light: #FFFEFA;
  --arete-text-accent: #ECB613;
  --arete-text-muted: rgba(34, 29, 16, 0.7);
  --arete-text-muted-light: rgba(255, 254, 250, 0.7);
  
  /* Border Colors */
  --arete-border-light: rgba(34, 29, 16, 0.2);
  --arete-border-overlay: rgba(255, 254, 250, 0.2);
  --arete-border-accent: #ECB613;
  
  /* Background Colors */
  --arete-bg-dark: #221D10;
  --arete-bg-light: #FFFEFA;
  --arete-bg-white: #FFFEFA;
  
  /* Border Radius */
  --arete-radius-sm: 12px;
  --arete-radius-md: 48px;
  --arete-radius-lg: 54px;
  --arete-radius-full: 100px;
  
  /* Spacing Scale */
  --arete-spacing-xs: 4px;
  --arete-spacing-sm: 8px;
  --arete-spacing-md: 16px;
  --arete-spacing-lg: 24px;
  --arete-spacing-xl: 32px;
  --arete-spacing-2xl: 40px;
  --arete-spacing-3xl: 48px;
  
  /* Font Family */
  --arete-font-family: 'FK Grotesk Neue Trial', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font Weights */
  --arete-font-black: 900;
  --arete-font-bold: 700;
  --arete-font-medium: 500;
  --arete-font-regular: 400;
  --arete-font-light: 300;
}

/* Base Typography */
body {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  color: var(--arete-text-primary);
  background-color: var(--arete-bg-light);
}

/* Display Styles */
.display-large {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-black);
  font-size: 93.75px;
  line-height: 80px;
  letter-spacing: 0.9375px;
}

.display-medium {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 60px;
  line-height: 68px;
  letter-spacing: 0.6px;
}

/* Heading Overrides */
h1, .h1 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 48px;
  line-height: 56px;
  letter-spacing: 0;
}

h2, .h2 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
}

h3, .h3 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
}

h4, .h4 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0;
}

h5, .h5 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  line-height: 24px;
}

h6, .h6 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 16px;
  line-height: 22px;
}

/* Body Text Styles */
.body-large {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-light);
  font-size: 24px;
  line-height: 32px;
}

.body-medium {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 18px;
  line-height: 28px;
}

.body-regular {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  line-height: 24px;
}

.body-small {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 14px;
  line-height: 20px;
}

p {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 18px;
  line-height: 24px;
}

/* Font Weight Utilities */
.fw-black { font-weight: var(--arete-font-black) !important; }
.fw-bold { font-weight: var(--arete-font-bold) !important; }
.fw-medium { font-weight: var(--arete-font-medium) !important; }
.fw-regular { font-weight: var(--arete-font-regular) !important; }
.fw-light { font-weight: var(--arete-font-light) !important; }

/* Text Color Utilities */
.text-arete-primary { color: var(--arete-text-primary) !important; }
.text-arete-light { color: var(--arete-text-light) !important; }
.text-arete-accent { color: var(--arete-text-accent) !important; }
.text-arete-muted { color: var(--arete-text-muted) !important; }
.text-arete-muted-light { color: var(--arete-text-muted-light) !important; }

/* Background Utilities */
.bg-arete-dark { background-color: var(--arete-bg-dark) !important; }
.bg-arete-light { background-color: var(--arete-bg-light) !important; }
.bg-arete-primary { background-color: var(--arete-primary) !important; }
.bg-arete-white { background-color: var(--arete-bg-white) !important; }

/* Border Utilities */
.border-arete-light { border-color: var(--arete-border-light) !important; }
.border-arete-overlay { border-color: var(--arete-border-overlay) !important; }
.border-arete-accent { border-color: var(--arete-border-accent) !important; }

.rounded-arete-sm { border-radius: var(--arete-radius-sm) !important; }
.rounded-arete-md { border-radius: var(--arete-radius-md) !important; }
.rounded-arete-lg { border-radius: var(--arete-radius-lg) !important; }
.rounded-arete-full { border-radius: var(--arete-radius-full) !important; }

/* Spacing Utilities */
.gap-arete-xs { gap: var(--arete-spacing-xs) !important; }
.gap-arete-sm { gap: var(--arete-spacing-sm) !important; }
.gap-arete-md { gap: var(--arete-spacing-md) !important; }
.gap-arete-lg { gap: var(--arete-spacing-lg) !important; }
.gap-arete-xl { gap: var(--arete-spacing-xl) !important; }
.gap-arete-2xl { gap: var(--arete-spacing-2xl) !important; }
.gap-arete-3xl { gap: var(--arete-spacing-3xl) !important; }

/* Button Styles */
.btn-arete-primary {
  background-color: var(--arete-primary);
  color: var(--arete-dark);
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  line-height: 24px;
  padding: 16px 32px;
  border-radius: var(--arete-radius-md);
  border: none;
  transition: opacity 0.2s ease;
}

.btn-arete-primary:hover,
.btn-arete-primary:focus {
  background-color: var(--arete-primary);
  color: var(--arete-dark);
  opacity: 0.9;
}

.btn-arete-primary:active {
  background-color: var(--arete-primary) !important;
  color: var(--arete-dark) !important;
  opacity: 0.8;
}

.btn-arete-lg {
  padding: 16px 32px;
  border-radius: var(--arete-radius-lg);
}

.btn-arete-sm {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: var(--arete-radius-md);
}

/* Card Components */
.card-arete-light {
  background-color: var(--arete-bg-white);
  border: 1px solid var(--arete-border-light);
  border-radius: var(--arete-radius-sm);
  padding: 32px;
}

.card-arete-featured {
  background-color: var(--arete-bg-dark);
  border: 3px solid var(--arete-border-accent);
  border-radius: var(--arete-radius-sm);
  padding: 32px;
  color: var(--arete-text-light);
}

.card-arete-title {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 16px;
}

.card-arete-text {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 18px;
  line-height: 24px;
}

/* Logo Grid Component */
.logo-grid {
  background-color: var(--arete-bg-dark);
  border-radius: var(--arete-radius-sm);
  overflow: hidden;
}

.logo-cell {
  height: 120px;
  border-right: 1px solid var(--arete-border-overlay);
  border-top: 1px solid var(--arete-border-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .display-large {
    font-size: 48px;
    line-height: 52px;
  }
  
  .display-medium {
    font-size: 36px;
    line-height: 42px;
  }
  
  h1, .h1 {
    font-size: 32px;
    line-height: 38px;
  }
}