/* Custom Styles - Bruxo dos Diesel */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography Improvements */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Logo Header */
header img {
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.05);
}

/* Performance Optimization */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility - Focus States */
a:focus,
button:focus {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Mobile Menu Transition */
#mobile-nav {
  transition: all 0.3s ease-in-out;
}

/* Hover Effects Enhancement */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Print Styles */
@media print {
  header,
  footer,
  #contato {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  body {
    background: #000;
    color: #fff;
  }
  
  .bg-neutral-900 {
    background: #111;
    border: 2px solid #fff;
  }
}
