/* Two Generations Boutique and More — Custom Styles */

/* Smooth focus styles for accessibility */
*:focus-visible {
  outline: 2px solid #a11631;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf9f7;
}
::-webkit-scrollbar-thumb {
  background: #d8d0c3;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a89888;
}

/* Selection color */
::selection {
  background: #fce7eb;
  color: #6d152a;
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger animation */
.menu-line {
  transition: all 0.3s ease;
}
#menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}
#menu-toggle.active .menu-line:nth-child(3) {
  width: 1.5rem;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar shadow on scroll */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card-hover:hover {
    transform: none;
  }
  img {
    transition: none;
  }
}
