/* Custom styles for Suzie's Gaming Cafe 3 */

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

/* Navigation scroll effect */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(249, 240, 253, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

/* Nav links hover underline */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7B2D8E, #BA6FD8);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
.mobile-link {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
  border-color: #E8C5F5;
  padding-left: 8px;
}

/* Hero floating card animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

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

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

::-webkit-scrollbar-thumb {
  background: #D49AED;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #BA6FD8;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(123, 45, 142, 0.1);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Gradient text fallback */
.text-transparent {
  background-clip: text;
  -webkit-background-clip: text;
}

/* Card hover glow */
.group:hover {
  filter: drop-shadow(0 20px 40px rgba(123, 45, 142, 0.15));
}

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

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

/* Pulse animation for status dot */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.15;
  }
}
