@keyframes heroTextEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageEnter {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.hero-text-enter {
  animation: heroTextEnter 0.8s ease-out 0.1s both;
}

.hero-image-enter {
  animation: heroImageEnter 0.8s ease-out 0.3s both;
}

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

/* Focus states for accessibility */
a:focus, button:focus {
  outline: 2px solid #B45309;
  outline-offset: 2px;
}

/* Remove default focus on mouse click, keep on keyboard */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) {
  outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: #8B4513;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b3410;
}

/* Grain overlay for premium feel */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4"/><feColorMatrix type="saturate" values="0.1"/></filter><rect width="100" height="100" fill="rgba(0,0,0,0.02)" filter="url(%23noise)"/></svg>');
  z-index: -1;
  opacity: 0.5;
}

/* Subtle transition on all interactive elements */
button, a, input, textarea {
  transition: all 0.2s ease;
}

/* Mobile menu smooth opening */
#mobile-menu {
  transition: all 0.3s ease;
}

/* Link hover underline animation */
a[href*="#"]:not(.no-underline) {
  position: relative;
}

/* Card hover elevation */
.hover\:shadow-lg:hover {
  transform: translateY(-2px);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #8B4513 0%, #C9A876 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Remove tap delay on mobile */
button, a {
  -webkit-tap-highlight-color: transparent;
}

