/* variables.css - Pedram Ghassemi Portfolio Design System CSS variables & Reset */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Type Scale */
  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.75rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* Tag Colors */
  --tag-border-green: #66f92f;
  --tag-border-pink: #ff25a0;
  --tag-border-cyan: #36d7f2;
}

/* Light Theme Variables */
:root[data-theme="light"] {
  --bg-color: #fcfcfb;
  --bg-secondary: #f3f2ee;
  --bg-card: #ffffff;
  --bg-dock: rgba(255, 255, 255, 0.65);
  --border-glass: rgba(0, 0, 0, 0.08);
  --shadow-glass: 0 8px 32px -4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.02), inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  --text-main: #1c1e1d;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-active: #0f766e;
  --accent-color: #0f766e;
  --accent-rgb: 15, 118, 110;
  --badge-bg: #f1f5f9;
  --badge-text: #475569;
  --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 -2px rgba(0, 0, 0, 0.1);
  --accent-badge: #f0fdfa;
  --accent-badge-text: #0f766e;
  --tag-border-teal: #0f766e;
}

/* Dark Theme Variables */
:root[data-theme="dark"] {
  --bg-color: #0f1110;
  --bg-secondary: #141615;
  --bg-card: #161818;
  --bg-dock: rgba(18, 20, 20, 0.7);
  --border-glass: rgba(255, 255, 255, 0.09);
  --shadow-glass: 0 8px 32px -4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --border-color: #272a2a;
  --border-active: #14b8a6;
  --accent-color: #14b8a6;
  --accent-rgb: 20, 184, 166;
  --badge-bg: #1e2222;
  --badge-text: #94a3b8;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --accent-badge: rgba(20, 184, 166, 0.15);
  --accent-badge-text: #14b8a6;
  --tag-border-teal: #14b8a6;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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