/* Custom styles for Simmering Soups */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
  background: #d4a8b2;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b82944;
}

/* Selection color */
::selection {
  background: #f0a8b2;
  color: #571727;
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(254, 253, 251, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 20px rgba(184, 41, 68, 0.08);
}

/* Mobile menu animation */
.mobile-link {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.2s ease;
}
.mobile-link:hover {
  padding-left: 8px;
}

/* Subtle entrance animations for below-fold sections */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Image hover parallax-like effect */
.group img {
  will-change: transform;
}

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

/* Button ripple-like hover glow */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Prevent layout shift on images */
img {
  content-visibility: auto;
}

/* Custom gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #b82944 0%, #d44a62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
