/* Custom styles for Royal Label Group */

/* Smooth scroll offset for fixed nav */
html {
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background-color: rgba(212, 85, 61, 0.2);
  color: #3d2b1f;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5eb;
}
::-webkit-scrollbar-thumb {
  background: #d4c0a8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c0a080;
}

/* Button hover micro-interactions */
a, button {
  -webkit-tap-highlight-color: transparent;
}

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

/* Mobile menu transition */
#mobile-menu {
  animation: slideDown 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle pattern for dark section */
.bg-warm-900 {
  position: relative;
}

/* Image placeholder fallback */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
