/* Custom styles — complements Tailwind */

/* Smooth focus outlines for keyboard nav */
*:focus-visible {
  outline: 2px solid #d4533f;
  outline-offset: 2px;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf6e8;
}
::-webkit-scrollbar-thumb {
  background: #f4c0b3;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e26e5c;
}

/* Scroll-reveal base state (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar glass effect */
.nav-scrolled {
  background: rgba(255, 252, 245, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Asymmetric hero image tilt */
@media (prefers-reduced-motion: no-preference) {
  .hero-img-tilt {
    transform: rotate(1.5deg);
    transition: transform 0.4s ease;
  }
  .hero-img-tilt:hover {
    transform: rotate(0deg);
  }
}

/* Button ripple-like scale on active */
.btn-press:active {
  transform: scale(0.97);
}

/* Selection color */
::selection {
  background: #f4c0b3;
  color: #6c2921;
}
