/* Custom styles for C'more Movies and Games */

/* Scroll reveal animation */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal="hidden"] {
  opacity: 0;
  transform: translateY(30px);
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #366c17;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a5513;
}

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

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Navbar scroll effect */
.navbar-scrolled {
  background-color: rgba(42, 85, 19, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Hover card lift effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
