/* Custom styles that complement Tailwind and inline styles */

/* Smooth image loading */
img {
  image-rendering: auto;
  will-change: object-position;
}

/* Selection color */
::selection {
  background: rgba(168, 37, 56, 0.2);
  color: #1a1a1a;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fff8f7;
}

::-webkit-scrollbar-thumb {
  background: #a82538;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #711724;
}

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

/* Subtle pattern overlay for sections */
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(168, 37, 56, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255, 110, 110, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #a82538, #ff6e6e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Noise texture overlay for about section */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
