/* Base */
@import 'base/reset.css';
@import 'base/utilities.css';

/* Components */
@import 'components/utilities.css';
@import 'components/cards.css';
@import 'components/hero.css';
@import 'components/sections.css';
@import 'components/timeline.css';

/* Layout */
@import 'layout/header.css';
@import 'layout/content.css';
@import 'layout/footer.css';

/* Main CSS file that imports all other CSS files */

/* ====== CSS Variables ====== */
:root {
  /* Colors */
  --color-primary: #2c3e50;
  --color-primary-dark: #1a252f;
  --color-accent: #e74c3c;
  --color-text: #2c3e50;
  --color-text-muted: #7f8c8d;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-border: #e0e0e0;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --color-error: #e74c3c;
  --color-gold: #d4af37;
  --color-black: #0b0c0e;
  --color-black-80: rgba(11, 12, 14, 0.8);
  --color-gold-dark: #b48f2c;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --elev-1: 0 2px 6px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --elev-2: 0 8px 20px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  --elev-3: 0 16px 32px rgba(0,0,0,0.14), 0 6px 12px rgba(0,0,0,0.10);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Container */
  --container-width: 1200px;
}

/* Imports moved to top */

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global Styles */
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Subtle grid background texture */
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px),
    radial-gradient(60rem 60rem at 20% 0%, rgba(212,175,55,0.04), transparent 55%),
    radial-gradient(80rem 80rem at 80% 10%, rgba(0,0,0,0.03), transparent 60%);
  background-size: 24px 24px, 24px 24px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

/* Selection */
::selection {
  background-color: var(--color-gold);
  color: var(--color-black);
  text-shadow: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* Focus Styles */
:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Print Styles */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  pre,
  blockquote {
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* We'll add these as we create them
   @import 'components/buttons.css';
   @import 'components/forms.css';
   @import 'pages/home.css';
