/* Custom styles for Halo Beauty Salon */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #160e0b;
}
::-webkit-scrollbar-thumb {
  background: #c9a86c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e0c48a;
}

/* Selection color */
::selection {
  background: #c06c4b;
  color: #f2e6d9;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure all text has proper contrast */
.text-halo-sand { color: #e8d5c0; }
.text-halo-sand\/60 { color: rgba(232, 213, 192, 0.6); }
.text-halo-sand\/70 { color: rgba(232, 213, 192, 0.7); }
.text-halo-sand\/80 { color: rgba(232, 213, 192, 0.8); }
.text-halo-sand\/50 { color: rgba(232, 213, 192, 0.5); }
.text-halo-sand\/30 { color: rgba(232, 213, 192, 0.3); }
.text-halo-sand-light { color: #f2e6d9; }

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card:hover { transform: none; }
  img:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
