/* Custom styles for DriverZ SPIDER Driving Schools */

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

/* Selection color */
::selection {
  background: #F44325;
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
  background: #E5A35A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D62A0E;
}

/* Navbar scroll state */
.navbar-scrolled {
  box-shadow: 0 1px 20px rgba(214, 42, 14, 0.08);
}

/* Geometric floating animations */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(-12px) rotate(18deg); }
}
@keyframes float-medium {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-8px) rotate(50deg); }
}
@keyframes pulse-gentle {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.geo-sq {
  animation: float-slow 6s ease-in-out infinite;
}
.geo-sq:nth-child(even) {
  animation: float-medium 4s ease-in-out infinite;
}
.geo-circle {
  animation: pulse-gentle 5s ease-in-out infinite;
}

/* Button ripple effect on hover */
button:hover, a:hover {
  transition: all 0.2s ease;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #FDF8F0 inset !important;
  caret-color: #1C1914;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #F44325;
  outline-offset: 2px;
  border-radius: 4px;
}
