/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }

/* ── Navbar scroll state ── */
#nav { transition: background 0.3s, box-shadow 0.3s, padding 0.3s; }
#nav.scrolled {
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

/* ── Nav links ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #059669;
  border-radius: 1px;
  transition: width 0.25s;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile menu ── */
#mobile-menu { animation: slideDown 0.25s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
}

/* ── Floating cards ── */
@media (prefers-reduced-motion: no-preference) {
  .animate-float-slow    { animation: float 6s ease-in-out infinite; }
  .animate-float-medium { animation: float 4.5s ease-in-out infinite 0.5s; }
  .animate-float-fast   { animation: float 3.5s ease-in-out infinite 1s; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
  }
  .animate-scroll-dot {
    animation: scrollDot 1.8s ease-in-out infinite;
  }
  @keyframes scrollDot {
    0%   { top: 0; opacity: 1; }
    50%  { top: 20px; opacity: 0.4; }
    100% { top: 0; opacity: 1; }
  }
}

/* ── Beer card hover glow ── */
.group:hover .w-12 { transform: scale(1.08); }
.w-12 { transition: transform 0.25s; }

/* ── Focus visible ── */
*:focus-visible { outline: 2px solid #059669; outline-offset: 2px; border-radius: 8px; }
