/* Custom styles — overrides and enhancements beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Hero asymmetric magazine layout adjustments */
#hero .grid > div:first-child {
  padding-top: 2rem;
}

/* Beer card hover glow */
.beer-card:hover {
  border-color: rgba(217, 90, 33, 0.2);
  box-shadow: 0 20px 60px -15px rgba(217, 90, 33, 0.15);
}

/* Navbar glass effect */
#navbar.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5ea;
}
::-webkit-scrollbar-thumb {
  background: #d95a21;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c44417;
}

/* Selection color */
::selection {
  background: rgba(217, 90, 33, 0.2);
  color: #7f2a15;
}

/* Mobile link hover */
.mobile-link:hover {
  color: #d95a21;
}

/* Form select arrow */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #d95a21;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  nav, #contactForm, button { display: none; }
  body { color: #000; background: #fff; }
}
