/* Shear Bliss Salon — Custom Styles */

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

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

/* Selection color */
::selection {
  background: #d44a1c;
  color: white;
}

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

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

/* Base utility overrides */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Geometric accent line */
.geo-line {
  position: absolute;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #d44a1c, #e0be70);
  border-radius: 2px;
}

/* Card hover effects */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d44a1c, #e0be70);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* Testimonial card hover */
.bg-white.rounded-3xl {
  position: relative;
}

/* Button active states */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Reduce motion preference */
@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;
  }
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .geo-shape.w-96 {
    display: none;
  }
  .geo-shape.w-64 {
    display: none;
  }
}

/* Small phone adjustments */
@media (max-width: 360px) {
  .font-display.text-4xl {
    font-size: 2rem;
    line-height: 1.2;
  }
}
