/* === Custom styles for Middle East Shop === */

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

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal delays */
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Hero gradient animation */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #1a5e2a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: #1a5e2a;
  color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f3ee;
}
::-webkit-scrollbar-thumb {
  background: #9cc08f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #528540;
}

/* Product card image container fix */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

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

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

/* Contact form input transitions */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(26, 94, 42, 0.1);
}

/* Subtle hover lift for cards */
.group {
  will-change: transform;
}
