/* Custom styles for Manoj Jonna Hotels & Lodging */

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

/* Room card hover glow */
.room-card:hover {
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.15);
}

/* Testimonial card hover */
.testimonial-card:hover {
  transform: translateY(-4px);
}

/* Nav scroll state */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

/* Subtle pattern overlay for cream sections */
.bg-cream-50::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(6, 78, 59, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.3s ease-out;
}

@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;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate-bounce {
    animation: none;
  }
}

/* Scroll reveal base — content is visible by default, JS adds animation */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.revealed {
    opacity: 0;
    transform: translateY(30px);
  }
}
