:root {
  --color-primary: #64748b;
  --color-secondary: #8b5cf6;
  --color-accent: #dc2626;
}

body {
  font-family: 'Open Sans', sans-serif;
}

.font-open-sans {
  font-family: 'Open Sans', sans-serif;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile menu animation */
.mobile-menu {
  transition: all 0.3s ease;
}

.mobile-menu.hidden {
  max-height: 0;
  overflow: hidden;
}

.mobile-menu:not(.hidden) {
  max-height: 500px;
}

/* Form focus styles */
input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary);
}

/* Button hover effects */
button, 
.btn {
  transition: all 0.3s ease;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

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

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

/* Accordion animation */
.accordion-content {
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}

.accordion-content.collapsed {
  max-height: 0;
}

.accordion-content.expanded {
  max-height: 500px;
}

/* Loading animation */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Form validation styles */
.form-error {
  border-color: var(--color-accent);
}

.form-success {
  border-color: #10b981;
}

/* Cookie banner animation */
#cookie-banner {
  transition: transform 0.3s ease-in-out;
}

#cookie-banner.hidden {
  transform: translateY(100%);
}

/* Hero section background overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Card hover effects */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive table */
@media (max-width: 768px) {
  .table-responsive {
    font-size: 14px;
  }
  
  .table-responsive th,
  .table-responsive td {
    padding: 8px;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for better accessibility */
.focus-visible:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000000;
    --color-secondary: #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}