/* Oak Hill Driving Academy — Custom Styles */

/* Reset and base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background-color: #fce4d9;
  color: #52180e;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fef9f2;
}
::-webkit-scrollbar-thumb {
  background: #f8c4b0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e55530;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid #e55530;
  outline-offset: 2px;
}

/* Animation keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(12px) rotate(-3deg); }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.float-reverse-animation {
  animation: float-reverse 7s ease-in-out infinite;
}

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

/* Print styles */
@media print {
  nav, #backToTop, .geo-circle, .geo-triangle, .geo-rect, .stripe-pattern {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  a {
    color: black !important;
  }
}
