/* Brunch & Beyond - Custom Styles
   Additional polish beyond Tailwind CDN
*/

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

/* Elegant serif for headings accent */
.heading-serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Brand colors matching the official logo (deep burgundy + gold) */
:root {
  --brand-red: #8B1E1E;
  --gold: #D4AF37;
  --sage: #8FAE8B;
  --cream: #FDF6E9;
  --deep-brown: #3F2A1D;
}

/* Card hover lift for menu and reviews */
.menu-card, .review-card, .gallery-item {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.menu-card:hover, .review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Lightbox Modal */
#lightbox {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
}

#lightbox img {
  max-height: 85vh;
  max-width: 92vw;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

/* Navbar subtle shadow on scroll */
.nav-scrolled {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  background-color: rgba(253, 246, 233, 0.96) !important; /* cream with opacity */
}

/* Mobile menu slide */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

#mobile-menu.open {
  transform: translateX(0);
}

/* Review quote styling */
.review-quote::before {
  content: '“';
  font-size: 4rem;
  line-height: 0;
  position: absolute;
  top: 0.6rem;
  left: -0.1rem;
  color: #8B1E1E;
  opacity: 0.18;
  font-family: Georgia, serif;
}

/* Hours table nice alternating */
.hours-row:nth-child(even) {
  background-color: #f8f1e3;
}

/* Footer subtle */
footer {
  border-top: 1px solid #e5d9c8;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid #C65D3B;
  outline-offset: 2px;
}

/* Print styles (nice if someone prints the menu page) */
@media print {
  .no-print {
    display: none !important;
  }
  .menu-card {
    break-inside: avoid;
  }
}