/* Dough C Dough — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f5f0f8;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7a327a, #f5a623);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #642464, #e08a10);
}

/* Selection color */
::selection {
  background: rgba(122, 50, 122, 0.2);
  color: #4e1a4e;
}

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

/* Menu tabs active state */
.menu-tab.active {
  background: #7a327a !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(122, 50, 122, 0.3);
}

/* Image lazy load fade-in (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  img[loading="lazy"].loaded {
    opacity: 1;
  }
}
