/* Rosales Wear — Custom Styles */

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

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

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #1d8a76;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Subtle pattern for hero background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(29, 138, 118, 0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(29, 138, 118, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

#hero {
  position: relative;
}

/* Testimonial card shimmer on hover */
.bg-teal-900\/50:hover {
  border-color: rgba(124, 211, 192, 0.3);
}

/* Animation for mobile menu close */
.mobile-menu.closing {
  transform: translateX(100%);
}

/* Prevent layout shift on images */
img {
  vertical-align: middle;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in,
  .slide-left,
  .slide-right,
  .line-expand {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-img,
  .card-hover > div > img,
  .service-icon {
    transition: none;
  }
}

/* Print styles */
@media print {
  nav, #mobile-menu, .mobile-menu { display: none; }
  body { color: #000; background: #fff; }
  .bg-teal-950 { background: #fff !important; color: #000 !important; }
}
