/* Custom styles for The Tile Monkey */

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

/* Scroll reveal base — content is visible by default, JS adds the animated state */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.is-revealed {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Nav shadow on scroll */
nav.scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

/* Selection color */
::selection {
  background-color: #0d9488;
  color: white;
}

/* Subtle image hover */
img {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Form focus ring animation */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* 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;
}
