@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==================================================
             HIGH-END MENU (ETHEREAL GLASS)
================================================== */

:root {
  --font-premium: 'Plus Jakarta Sans', sans-serif;
  --bg-oled: #050505;
  --bg-card-shell: rgba(255, 255, 255, 0.03);
  --bg-card-core: rgba(10, 10, 10, 0.85);
  --gold-glow: rgba(215, 154, 61, 0.15);
  --gold-accent: #d79a3d;
  --shell-border: rgba(255, 255, 255, 0.08);
  --core-border: rgba(255, 255, 255, 0.04);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

body {
  background-color: var(--bg-oled);
  font-family: var(--font-premium);
  color: #fdfdfd;
  overflow-x: hidden;
}

/* ==================================================
   1. HERO SECTION (MACRO-WHITESPACE & MESH)
================================================== */
.menu-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px 0;
  position: relative;
  background: 
    radial-gradient(ellipse 60% 50% at 50% 10%, var(--gold-glow) 0%, transparent 100%),
    var(--bg-oled);
  border-bottom: 1px solid var(--shell-border);
}

.hero-badge {
  display: inline-block;
  background: rgba(215, 154, 61, 0.1);
  border: 1px solid rgba(215, 154, 61, 0.2);
  color: var(--gold-accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  margin-bottom: 24px;
}

.menu-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.menu-hero .hero-title span {
  color: var(--gold-accent);
}

.menu-hero .hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==================================================
   2. TABS (MAGNETIC PILLS)
================================================== */
.menu-section {
  padding: 80px 0 120px 0;
  position: relative;
}

.menu-tabs {
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  border: none;
}

.menu-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 400ms var(--ease-spring);
  cursor: pointer;
}

.menu-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateY(-2px);
}

.menu-tab.active {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #000;
  box-shadow: 0 8px 24px rgba(215, 154, 61, 0.3);
}

/* ==================================================
   3. DOUBLE-BEZEL CARDS (DOUBLE SHELL)
================================================== */
.he-card-shell {
  background: var(--bg-card-shell);
  border: 1px solid var(--shell-border);
  border-radius: 2rem;
  padding: 8px; /* Outer bezel gap */
  transition: transform 500ms var(--ease-spring), border-color 500ms var(--ease-spring);
  height: 100%;
}

.he-card-shell:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) scale(1.01);
}

.he-card-core {
  background: var(--bg-card-core);
  border: 1px solid var(--core-border);
  border-radius: calc(2rem - 8px); /* Inner concentric radius */
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* ==================================================
   4. CARD IMAGE & CONTENT
================================================== */
.he-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c0d10; /* fallback dark background */
}

.he-card-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  transition: transform 800ms var(--ease-spring);
}

.he-card-shell:hover .he-card-image img {
  transform: scale(1.05);
}

/* Gradient overlay to blend image into dark core */
.he-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card-core) 0%, transparent 45%);
  pointer-events: none;
}

.he-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.he-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.he-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.3;
}

.he-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-accent);
  flex-shrink: 0;
  background: rgba(215, 154, 61, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(215, 154, 61, 0.2);
}

.he-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ==================================================
   5. AVAILABILITY BADGES
================================================== */
.he-badge-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.he-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.he-dot.available {
  background-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.he-dot.empty {
  background-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.he-badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.he-badge-text.available { color: #10b981; }
.he-badge-text.empty { color: #ef4444; }

/* ==================================================
   6. INTERPOLATION ANIMATION (FADE-UP)
================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 800ms var(--ease-spring),
              transform 800ms var(--ease-spring),
              filter 800ms var(--ease-spring);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==================================================
   7. SELETOR DE CATEGORIA MOBILE (DROPDOWN MODERNO)
================================================== */
.menu-mobile-select-wrapper {
  max-width: 420px;
  margin: 0 auto 2.5rem;
  padding: 0 4px;
}

.menu-mobile-select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a0aab8;
  margin-bottom: 8px;
}

.menu-select-custom {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(18, 20, 24, 0.85);
  border: 1px solid rgba(215, 154, 61, 0.35);
  border-radius: 1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 300ms var(--ease-spring);
}

.menu-select-custom:focus-within {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(215, 154, 61, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.menu-select-icon {
  position: absolute;
  left: 16px;
  color: var(--gold-accent);
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 2;
}

.menu-select-arrow {
  position: absolute;
  right: 16px;
  color: var(--gold-accent);
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.menu-select-control {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 44px 14px 48px;
  cursor: pointer;
  z-index: 1;
}

.menu-select-control option {
  background: #121418;
  color: #fff;
  padding: 12px;
  font-size: 0.95rem;
}

/* Garante a remoção da rolagem horizontal em telas mobile */
@media (max-width: 767.98px) {
  .menu-tabs {
    display: none !important;
  }
}
