/* Global CSS Variables */
:root {
  --primary-red: #B7202E;
  --dark-red: #8a1a24;
  --light-red: #d63447;
  --accent-red: #ff4757;
  --white: #ffffff;
  --off-white: #fafafa;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #757575;
  --darker-gray: #424242;
  --black: #212121;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-hover: 0 12px 40px rgba(183, 32, 46, 0.2);
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.4s ease;
  --border-radius-sm: 6px;
  --border-radius: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --font-primary: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* CSS Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--off-white);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

/* Global Link Styles */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Global Button Reset */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

button:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

/* Global Input Styles */
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: 1px solid var(--medium-gray);
  transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(183, 32, 46, 0.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-red); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

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

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

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

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

/* Selection Color */
::selection {
  background-color: var(--primary-red);
  color: var(--white);
}
