/* css/design-system.css */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Refined Luxury */
  --bg-dark: #0A0A0A; /* Obsidian Black */
  --bg-surface: #141414; /* Deep Charcoal */
  --bg-surface-light: #1E1E1E; /* Lighter Charcoal for cards/hover */
  
  --gold-primary: #D4AF37; /* Metallic Gold */
  --gold-light: #F3E5AB; /* Champagne */
  --gold-dark: #996515; /* Golden Brown */
  
  --text-primary: #F5F5F5; /* Off-white for better readability */
  --text-secondary: #A3A3A3; /* Warm Gray */
  --text-muted: #737373; /* Muted text */
  
  --border-light: rgba(212, 175, 55, 0.2); /* Subtle gold border */
  --border-strong: rgba(212, 175, 55, 0.5); /* Stronger gold border */

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max-width: 1280px;
  --section-padding-y: clamp(60px, 8vw, 120px);
  --section-padding-x: clamp(20px, 5vw, 60px);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  
  /* Shadows */
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Utilities */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl)); font-weight: 300; line-height: 1.1; }
h2 { font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl)); font-weight: 300; line-height: 1.15; }
h3 { font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl)); }
h4 { font-size: var(--text-2xl); }

em {
  font-style: italic;
  color: var(--gold-primary);
}

p {
  color: var(--text-secondary);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  font-weight: 300;
}

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

a:hover {
  color: var(--gold-light);
}

/* Layout Utilities */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.section {
  padding: var(--section-padding-y) 0;
  position: relative;
}

.bg-surface { background-color: var(--bg-surface); }
.bg-dark { background-color: var(--bg-dark); }

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }
.text-muted { color: var(--text-muted); }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.25em; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 500;
  display: block;
  margin-bottom: var(--space-4);
}
