/* 
  Experience Design Portfolio 
  Design System & Global Styles
*/

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

:root {
  /* Colors */
  --color-primary: #0f172a;
  --color-secondary: #f8fafc;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-white: #ffffff;
  --color-bg: #f1f5f9;
  --color-border: #e2e8f0;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Layout */
  --container-width: 1100px;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout Components */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-bottom: var(--space-sm); }
h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); margin-bottom: var(--space-md); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-sm); }

.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }

/* Navigation */
nav {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Footer */
footer {
  padding: var(--space-lg) 0;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  nav { height: auto; padding: 16px 0; }
  .nav-content { flex-direction: column; gap: 8px; justify-content: center; }
  .nav-links { gap: 24px; display: flex; }
  .logo { font-size: 1.125rem; }
  .footer-content { flex-direction: column; gap: var(--space-md); text-align: center; }
}
