/* ============================================
   ART DECO DESIGN SYSTEM - Mike Muratore Portfolio
   Luxury Editorial meets Geometric Precision
   ============================================ */

:root {
  /* ========== COLOR PALETTE - Modern Luxury (Light) ========== */
  /* Backgrounds */
  --color-bg-primary: #FFFFFF;
  /* Pure White */
  --color-bg-secondary: #F9FAFB;
  /* Off-White/Light Gray */
  --color-bg-tertiary: #F3F4F6;
  /* Light Gray */
  --color-bg-elevated: #FFFFFF;
  /* White for cards */

  /* Text Colors */
  --color-text-primary: #0B1120;
  /* Deep Navy (almost black) */
  --color-text-secondary: #374151;
  /* Dark Slate */
  --color-text-tertiary: #6B7280;
  /* Medium Gray */
  --color-text-invert: #FFFFFF;
  /* White text for dark backgrounds */

  /* Accents */
  --color-accent-blue: #0044CC;
  /* Royal Blue - Premium Tech */
  --color-accent-blue-light: #3B82F6;
  --color-accent-gold: #D4AF37;
  /* Classic Gold */
  --color-accent-gold-light: #F3E5AB;

  /* Compatibility Aliases */
  --color-accent-primary: var(--color-accent-blue);
  --color-accent-light: var(--color-accent-blue-light);


  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0044CC 0%, #3B82F6 100%);
  /* Royal Blue Gradient */
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B87333 100%);
  /* Gold Gradient */
  --gradient-luxury: linear-gradient(135deg, #0B1120 0%, #0044CC 100%);
  /* Navy to Blue */
  --gradient-metallic-shine: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.4) 50%, transparent 100%);


  /* ========== TYPOGRAPHY ========== */
  --font-display: 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-accent: 'Manrope', sans-serif;
  /* Unifying accent font to Manrope for cleaner look, or keep Bebas if requested. Sticking to plan: Clean. */

  /* Font Sizes */
  --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;
  --text-9xl: 8rem;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;

  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* ========== SPACING ========== */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ========== LAYOUT ========== */
  --container-max: 1280px;
  /* Slightly tighter for modern feel */
  --container-padding: 2rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* ========== SHADOWS ========== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-blue: 0 10px 30px -5px rgba(0, 68, 204, 0.3);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);

  /* ========== ANIMATION ========== */
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-luxury: cubic-bezier(0.25, 1, 0.5, 1);

  /* ========== Z-INDEX ========== */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-loading: 500;
}

/* ========== GLOBAL RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
  background: var(--color-bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* Paper Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/paper-texture.png');
  background-repeat: repeat;
  opacity: 0.02;
  pointer-events: none;
  z-index: 1;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--font-black);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

h1 {
  font-size: var(--text-8xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-6xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-5xl);
}

h4 {
  font-size: var(--text-4xl);
}

h5 {
  font-size: var(--text-3xl);
}

h6 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
}

/* Gold Text Accent */
.text-gold {
  color: var(--color-gold);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accent Font (Bebas Neue) */
.text-accent {
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ========== DIAGONAL GRID UTILITIES ========== */
.diagonal {
  transform: rotate(var(--diagonal-angle));
}

.diagonal-neg {
  transform: rotate(var(--diagonal-angle-neg));
}

.diagonal-container {
  position: relative;
  overflow: hidden;
}

.diagonal-content {
  transform: rotate(var(--diagonal-angle));
}

/* ========== LAYOUT UTILITIES ========== */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  position: relative;
  z-index: 2;
}

.section {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
  min-height: 100vh;
  position: relative;
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ========== METALLIC EFFECTS ========== */
.metallic-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-glow {
  box-shadow: var(--shadow-gold);
}

.gold-glow-strong {
  box-shadow: var(--shadow-gold-strong);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  :root {
    --container-padding: var(--space-6);
  }

  h1 {
    font-size: var(--text-7xl);
  }

  h2 {
    font-size: var(--text-5xl);
  }

  h3 {
    font-size: var(--text-4xl);
  }

  .section {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-4);
    --diagonal-angle: 4deg;
    --diagonal-angle-neg: -4deg;
  }

  h1 {
    font-size: var(--text-6xl);
  }

  h2 {
    font-size: var(--text-4xl);
  }

  h3 {
    font-size: var(--text-3xl);
  }

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

  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .diagonal,
  .diagonal-neg,
  .diagonal-content {
    transform: none !important;
  }
}