/* Custom styles for Lacoffee Cafe */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle gradient overlay for hero text readability */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(58, 12, 24, 0.4) 0%,
    rgba(58, 12, 24, 0.2) 50%,
    rgba(58, 12, 24, 0.6) 100%
  );
  z-index: 1;
}

#hero > .relative {
  position: relative;
  z-index: 2;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF6F0;
}
::-webkit-scrollbar-thumb {
  background: #d4416e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8264e;
}

/* Nav active state */
#navbar.scrolled {
  box-shadow: 0 1px 20px rgba(151, 29, 65, 0.08);
}

/* Gallery hover */
.grid > div:hover img {
  transform: scale(1.05);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
