/* ===== GLOBAL DESIGN SYSTEM VARIABLES ===== */
/* All pages must use these variables for consistent theming */

:root {
  /* ===== COLORS ===== */
  /* Primary Brand Colors */
  --gold: #d4af37;
  --gold-light: #e5c34a;
  --gold-dark: #a8892c;
  
  /* Background Colors */
  --dark: #0d0d0d;
  --darker: #0a0a0a;
  --card-bg: #141414;
  --bg-secondary: #111111;
  --bg-tertiary: #151515;
  
  /* Text Colors */
  --text: #ffffff;
  --text-muted: #666666;
  --text-light: #b0b0b0;
  --text-secondary: #cccccc;
  
  /* Border & UI */
  --border: #222222;
  --border-secondary: #333333;
  --border-tertiary: #444444;
  
  /* Status Colors */
  --success: #0f9d58;
  --error: #d9534f;
  --warning: #f2a38d;
  
  /* ===== TYPOGRAPHY ===== */
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3rem;
  
  /* Font Weights */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  
  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.6;
  --lh-loose: 1.8;
  
  /* Letter Spacing */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-widest: 0.3em;
  
  /* ===== SPACING ===== */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 5rem;
  --spacing-5xl: 6rem;
  --spacing-6xl: 8rem;
  
  /* ===== TRANSITIONS ===== */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  
  /* ===== SHADOWS ===== */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.3);
  --shadow-gold-lg: 0 12px 45px rgba(212, 175, 55, 0.45);
  
  /* ===== BORDER RADIUS ===== */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-full: 50%;
  
  /* ===== Z-INDEX ===== */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-fixed: 1000;
  --z-modal: 1050;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  line-height: var(--lh-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin: 0;
}

p {
  margin: 0;
  line-height: var(--lh-relaxed);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-normal);
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
}

input, textarea, select {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.loaded {
  opacity: 1;
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.mt-lg { margin-top: var(--spacing-lg); }
.mt-2xl { margin-top: var(--spacing-2xl); }
.mt-3xl { margin-top: var(--spacing-3xl); }

.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }
.mb-3xl { margin-bottom: var(--spacing-3xl); }

.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }
.p-2xl { padding: var(--spacing-2xl); }

.section-title {
  text-align: center;
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--spacing-3xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: var(--spacing-2xl) auto 0;
}

/* ===== COMMON COMPONENTS ===== */
.btn {
  display: inline-block;
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
}

.divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}
