/* Design Tokens */
:root {
  --color-primary: #dc2626;
  --color-secondary: #1e40af;
  --color-accent: #059669;
  --color-background: #ffffff;
  --color-surface: #f3f4f6;
  --color-text: #111827;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --radius-base: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

p {
  color: var(--color-text-light);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #991b1b;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
}

.light-gray {
  background-color: var(--color-surface);
}

/* Navigation */
.nav-link {
  padding: 0.5rem 1rem;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
  border-radius: var(--radius-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Buttons */
button {
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-base);
  transition: all 0.3s ease;
}

/* Form Controls */
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-base);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }
}

/* Hero Background Carousel */
.bg-hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-bg-image.active {
  opacity: 0.5;
}

/* Print Styles */
@media print {
  header,
  footer,
  [role="navigation"] {
    display: none;
  }
}
