/* Custom styles for Kitchen Fusion */

/* Hero right clip path */
.clip-hero-right {
  clip-path: polygon(25% 0%, 100% 0, 100% 100%, 0% 100%);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f2ecda;
}
::-webkit-scrollbar-thumb {
  background: #1a5c2a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #134822;
}

/* Nav scroll state */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled {
  background-color: rgba(253, 252, 248, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Selection color */
::selection {
  background-color: #1a5c2a;
  color: #fdfcf8;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid #1a5c2a;
  outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.2s ease;
}

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

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