/* Custom styles for Dwayne Johnson — Bladenboro café & bar */

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

/* Selection color */
::selection {
  background: rgba(79, 168, 154, 0.3);
  color: #ffffff;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A1628;
}
::-webkit-scrollbar-thumb {
  background: rgba(107, 197, 179, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 197, 179, 0.5);
}

/* Hero image fade-in (only below-the-fold content gets animation) */
.hero-img-fade {
  animation: heroFade 1.2s ease forwards;
}
@keyframes heroFade {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

/* Menu item hover */
.menu-item {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-item:hover {
  transform: translateX(4px);
}

/* Button focus */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #6BC5B3;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile menu transition */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobileMenu.open {
  max-height: 400px;
}

/* Image loading placeholder */
img {
  background-color: rgba(255, 255, 255, 0.05);
}
