/* FILE: /css/variables.css */

/* === COLORS === */
:root {
  --black: #0D0D0D;
  --black-soft: #141414;
  --black-card: #1A1A1A;
  --black-border: #2A2A2A;
  --white: #F5F5F0;
  --white-soft: #EDEDE8;

  --gold: #C9A96E;
  --gold-light: #E2C999;
  --gold-dark: #A07840;
  --gold-glow: rgba(201,169,110,0.15);

  --grey-100: #1E1E1E;
  --grey-200: #2C2C2C;
  --grey-300: #3D3D3D;
  --grey-400: #555555;
  --grey-500: #888888;
  --grey-600: #AAAAAA;

  --text-primary: #F0EFE9;
  --text-secondary: #999999;
  --text-muted: #666666;

  --success: #4CAF7D;
  --danger: #E05252;

  /* === TYPOGRAPHY === */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* === SPACING === */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* === LAYOUT === */
  --container-max: 1280px;
  --navbar-height: 72px;
  --announce-height: 40px;

  /* === BORDERS === */
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 100px;

  /* === TRANSITIONS === */
  --ease-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-mid: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* === SHADOWS === */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 20px rgba(201,169,110,0.2);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.6);
}

/* === GLOBAL RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
ul, ol { list-style: none; }
input, textarea { font-family: var(--font-body); }

/* === TYPOGRAPHY SCALE === */
h1 { font-family: var(--font-heading); font-size: clamp(36px, 5vw, 68px); font-weight: 700; line-height: 1.08; letter-spacing: -1.5px; }
h2 { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; line-height: 1.3; }
h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; }
p { font-size: 16px; line-height: 1.75; }

/* === UTILITY CLASSES === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-xl); }
.section-pad { padding: var(--space-4xl) 0; }
.text-gold { color: var(--gold); }
.text-secondary { color: var(--text-secondary); }
.eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.section-divider { width: 48px; height: 1px; background: var(--gold); margin: var(--space-md) auto var(--space-3xl); }
.section-header { text-align: center; margin-bottom: var(--space-3xl); }
.section-header .eyebrow { margin-bottom: var(--space-sm); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 14px 36px; border-radius: var(--radius-sm); transition: all var(--ease-fast); white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }

/* === BADGE === */
.badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-sm); }
.badge-gold { background: var(--gold); color: var(--black); }
.badge-dark { background: var(--black); color: var(--gold); border: 1px solid var(--gold); }
.badge-red { background: var(--danger); color: #fff; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black-card); }
::-webkit-scrollbar-thumb { background: var(--grey-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* === TOAST === */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--black-card); border: 1px solid var(--gold); color: var(--text-primary); padding: 14px 20px; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 13px; transform: translateY(100px); opacity: 0; transition: all var(--ease-mid); z-index: 2000; display: flex; align-items: center; gap: 10px; max-width: 320px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }

/* === BACK TO TOP === */
.back-top { position: fixed; bottom: 80px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--black); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--ease-fast); z-index: 999; }
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold-light); transform: translateY(-2px); }
