/* ===== MENU PAGE SPECIFIC STYLES ===== */

/* Menu Hero */
.menu-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-hero-bg {
  position: absolute;
  inset: 0;
}

.menu-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroKen 25s ease-in-out infinite alternate;
}

.menu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,.7) 0%, rgba(78,12,12,.5) 40%, rgba(6,6,6,.9) 100%);
}

.menu-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.menu-hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: .75rem;
  animation: hero3dIn 1s ease .3s both;
}

.menu-hero-sub {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-style: italic;
  animation: fadeInUp 1s ease .6s both;
}

.active-link {
  color: var(--gold) !important;
}

/* Menu Filter Bar */
.menu-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  position: sticky;
  top: 75px;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

.filter-btn {
  padding: .55rem 1.2rem;
  border: 1px solid rgba(212,168,83,.15);
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .4s var(--ease);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transform-style: preserve-3d;
}

.filter-btn:hover {
  color: var(--gold);
  border-color: rgba(212,168,83,.3);
  transform: perspective(400px) rotateX(3deg) translateY(-2px);
  box-shadow: 0 5px 20px rgba(212,168,83,.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--gold);
  border-color: var(--maroon);
  box-shadow: 0 0 25px var(--maroon-glow), inset 0 0 15px rgba(212,168,83,.05);
  transform: perspective(400px) rotateX(3deg) translateY(-2px);
}

.filter-btn i {
  font-size: .7rem;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

/* Menu Item Card */
.menu-item {
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: all .5s var(--ease);
}

.menu-item:hover {
  transform: perspective(800px) rotateY(-3deg) rotateX(2deg) translateZ(15px) translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,.5), 0 0 30px var(--gold-glow);
}

.menu-item-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
}

.menu-item:hover .menu-item-img img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

.drink-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,12,12,.8), rgba(78,12,12,.3));
  font-size: 4rem;
}

.item-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 15px rgba(212,168,83,.3);
  animation: float3d 4s ease-in-out infinite;
}

.item-badge.hot {
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: #fff;
  box-shadow: 0 4px 15px rgba(229,62,62,.3);
}

.item-badge.veg {
  background: linear-gradient(135deg, #38a169, #276749);
  color: #fff;
  box-shadow: 0 4px 15px rgba(56,161,105,.3);
}

.menu-item-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-item-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: .4rem;
  transition: color .3s ease;
}

.menu-item:hover .menu-item-body h3 {
  color: var(--gold);
}

.menu-item-body p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: .75rem;
}

.menu-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid rgba(212,168,83,.08);
}

.price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 5px var(--gold-glow));
}

.tag {
  font-size: .68rem;
  padding: .2rem .65rem;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--gold);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tag.veg-tag {
  background: linear-gradient(135deg, #276749, #1a4731);
  color: #68d391;
}

/* Menu Count */
.menu-count {
  text-align: center;
  margin-top: 3rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: .95rem;
}

.menu-count span {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .menu-hero-title { font-size: 3rem; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  .menu-hero { height: 40vh; min-height: 280px; }
  .menu-hero-title { font-size: 2.4rem; }
  .menu-hero-sub { font-size: 1.1rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-filter-bar { gap: .4rem; padding: 1rem; top: 60px; }
  .filter-btn { padding: .45rem .9rem; font-size: .72rem; }
  .menu-item-img { height: 180px; }
}

@media (max-width: 480px) {
  .menu-hero-title { font-size: 2rem; }
  .filter-btn { padding: .4rem .7rem; font-size: .68rem; }
  .filter-btn i { display: none; }
}
