/* ATY Restaurant — Custom styles that sit on top of Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.015em;
}

/* Menu tab active state */
.menu-tab.is-active {
  background-color: #d4843a;
  color: #131d13;
  border-color: #d4843a;
}

/* Menu panel visibility */
.menu-panel {
  display: none;
}
.menu-panel.is-active {
  display: block;
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sticky menu-page category nav active state */
.sticky-nav-link.is-active {
  color: #d4843a;
  border-color: #d4843a;
}

/* FAQ accordion */
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

/* Header shadow once scrolled */
.site-header--scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #131d13;
}
::-webkit-scrollbar-thumb {
  background: #2a3b2a;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4843a;
}

/* Remove default marker from <summary> */
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Map embed dark styling fallback (overlay) */
.map-frame {
  filter: grayscale(0.2) contrast(0.95);
}

/* Helper: prevent hero from flickering while font loads */
.font-display {
  font-display: swap;
}
