/* ========================================
   GUAC & ROLL - Main Stylesheet
   ======================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Typography */
  --font-primary: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Colors - Mexican Inspired */
  --color-bg-dark: #0a0a0a;
  --color-bg-card: #141414;
  --color-bg-elevated: #1a1a1a;
  --color-gold: #D4A017;
  --color-gold-light: #E8C547;
  --color-gold-dark: #B8860B;
  --color-green: #22c55e;
  --color-green-dark: #16a34a;
  --color-cyan: #22d3ee;
  --color-rose: #fb7185;
  --color-text: #fafafa;
  --color-text-muted: rgba(255, 255, 255, 0.65);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.2);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow-gold: 0 0 40px rgba(212, 160, 23, 0.3);
  --shadow-glow-green: 0 0 40px rgba(34, 197, 94, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Animation Durations */
  --anim-duration-fast: 0.3s;
  --anim-duration-base: 0.6s;
  --anim-duration-slow: 1s;
}

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}


body {
  font-family: var(--font-primary);
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 50%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0.75rem 1rem;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-base), height var(--transition-base);
  display: block;
}

.navbar.scrolled .navbar-logo img {
  height: 42px;
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.navbar-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.navbar-links a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: translateX(-50%);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}

.navbar-links a:hover {
  color: var(--color-text);
  transform: translateY(-2px);
}

.navbar-links a:hover::before {
  width: 100%;
}

.navbar-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.25rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.navbar-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-border-hover);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 2;
  transition: background 3s ease, backdrop-filter 3s ease, -webkit-backdrop-filter 3s ease;
}

.hero-overlay.fade-in {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-content {
  text-align: center;
  z-index: 3;
  position: relative;
}

.hero-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.6));
  opacity: 0;
  animation: fadeInScale 1.5s ease 0.5s forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== CTA CONTAINER & ELLIPSES ===== */
.cta-container {
  position: relative;
  display: inline-block;
}

.ellipse {
  position: absolute;
  width: 200px;
  height: 120px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.ellipse-green {
  background: #00E676;
  top: 50%;
  left: 50%;
  transform: translate(-80%, -50%);
}

.ellipse-purple {
  background: #E040FB;
  top: 50%;
  left: 50%;
  transform: translate(-20%, -70%);
}

.ellipse-yellow {
  background: #FFEA00;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
}

/* Dancing animation - 5s total: 3s dancing + 2s fade-out */
.ellipse.dancing {
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.ellipse-green.dancing {
  animation-name: danceGreen;
}

.ellipse-purple.dancing {
  animation-name: dancePurple;
  animation-delay: 0.1s;
}

.ellipse-yellow.dancing {
  animation-name: danceYellow;
  animation-delay: 0.2s;
}

@keyframes danceGreen {
  0% {
    opacity: 0;
    transform: translate(-80%, -50%) scale(0.5);
  }
  9% {
    opacity: 0.85;
    transform: translate(-90%, -60%) scale(1.1);
  }
  18% {
    opacity: 0.85;
    transform: translate(-70%, -40%) scale(0.9) rotate(10deg);
  }
  30% {
    opacity: 0.85;
    transform: translate(-85%, -55%) scale(1.05) rotate(-5deg);
  }
  42% {
    opacity: 0.85;
    transform: translate(-75%, -45%) scale(0.95) rotate(8deg);
  }
  51% {
    opacity: 0.85;
    transform: translate(-80%, -50%) scale(1);
  }
  60% {
    opacity: 0.85;
    transform: translate(-80%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-80%, -50%) scale(1);
  }
}

@keyframes dancePurple {
  0% {
    opacity: 0;
    transform: translate(-20%, -70%) scale(0.5);
  }
  9% {
    opacity: 0.85;
    transform: translate(-10%, -80%) scale(1.15);
  }
  18% {
    opacity: 0.85;
    transform: translate(-30%, -60%) scale(0.85) rotate(-12deg);
  }
  30% {
    opacity: 0.85;
    transform: translate(-15%, -75%) scale(1.1) rotate(8deg);
  }
  42% {
    opacity: 0.85;
    transform: translate(-25%, -65%) scale(0.9) rotate(-6deg);
  }
  51% {
    opacity: 0.85;
    transform: translate(-20%, -70%) scale(1);
  }
  60% {
    opacity: 0.85;
    transform: translate(-20%, -70%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-20%, -70%) scale(1);
  }
}

@keyframes danceYellow {
  0% {
    opacity: 0;
    transform: translate(-50%, -30%) scale(0.5);
  }
  9% {
    opacity: 0.85;
    transform: translate(-40%, -20%) scale(1.2);
  }
  18% {
    opacity: 0.85;
    transform: translate(-60%, -40%) scale(0.88) rotate(15deg);
  }
  30% {
    opacity: 0.85;
    transform: translate(-45%, -25%) scale(1.08) rotate(-10deg);
  }
  42% {
    opacity: 0.85;
    transform: translate(-55%, -35%) scale(0.92) rotate(5deg);
  }
  51% {
    opacity: 0.85;
    transform: translate(-50%, -30%) scale(1);
  }
  60% {
    opacity: 0.85;
    transform: translate(-50%, -30%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -30%) scale(1);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ellipse.dancing {
    animation: none;
    opacity: 0.4;
  }
  .ellipse.fade-out {
    opacity: 0 !important;
  }
}

.hero-cta {
  position: relative;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.8s ease, filter 220ms ease;
}

.hero-cta.pop-in {
  opacity: 1;
  pointer-events: auto;
}

.hero-cta:hover {
  filter: drop-shadow(0 0 18px rgba(34, 197, 94, 0.9));
}

.hero-cta img {
  max-width: 280px;
  width: 100%;
  height: auto;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ===== HERO SCROLL INDICATOR ===== */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, color 0.3s ease;
}

.hero-scroll-indicator.visible {
  opacity: 1;
  visibility: visible;
}

.hero-scroll-indicator:hover {
  color: var(--color-gold);
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== PRE-MENU SECTION ===== */
.pre-menu {
  position: relative;
  padding: 6rem 2rem;
  background: url('../assets/images/hero/mexican-flags.png') center/cover no-repeat fixed;
  text-align: center;
}

.pre-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.75) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
  backdrop-filter: blur(2px);
}

.pre-menu-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.pre-menu h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(212, 160, 23, 0.4);
  letter-spacing: 0.02em;
}

.pre-menu-logo {
  max-width: 120px;
  margin-bottom: 3rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
  opacity: 0.9;
}

.cards-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cards-card {
  opacity: 0;
  transform: translateY(100px) scale(0.8);
  will-change: transform, opacity;
}

.cards-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(212, 160, 23, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 30px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-slow);
}

.cards-card img:hover {
  transform: scale(1.08) translateY(-8px);
  border-color: var(--color-gold);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(212, 160, 23, 0.25),
    0 0 0 1px rgba(212, 160, 23, 0.3);
}

.cards-card.animate-center {
  animation: popUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cards-card.animate-wave-1-left {
  animation: slideFromCenterLeft 0.95s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.cards-card.animate-wave-1-right {
  animation: slideFromCenterRight 0.95s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.cards-card.animate-wave-2-left {
  animation: slideFromOuterLeft 0.95s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.cards-card.animate-wave-2-right {
  animation: slideFromOuterRight 0.95s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.cards-card.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes popUp {
  0% { opacity: 0; transform: translateY(150px) scale(0.6); }
  60% { opacity: 1; transform: translateY(-10px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideFromCenterLeft {
  0% { opacity: 0; transform: translateX(80px) translateY(40px) scale(0.7); }
  70% { opacity: 1; transform: translateX(-10px) translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes slideFromCenterRight {
  0% { opacity: 0; transform: translateX(-80px) translateY(40px) scale(0.7); }
  70% { opacity: 1; transform: translateX(10px) translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes slideFromOuterLeft {
  0% { opacity: 0; transform: translateX(130px) translateY(20px) scale(0.6); }
  70% { opacity: 1; transform: translateX(-8px) translateY(0) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes slideFromOuterRight {
  0% { opacity: 0; transform: translateX(-130px) translateY(20px) scale(0.6); }
  70% { opacity: 1; transform: translateX(8px) translateY(0) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== MENU SECTION ===== */
.menu-section {
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at top left, #1f2933 0, #020617 40%, #000 100%);
}

.menu-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.menu-category {
  background: radial-gradient(circle at top left, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.98));
  border-radius: 1.2rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.menu-category-header {
  margin-bottom: 1rem;
}

.menu-category-label {
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #22d3ee;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.menu-category-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fb7185;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
  margin-bottom: 0.5rem;
}

.menu-category-subtitle {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.9;
}

.menu-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.menu-item {
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  padding-top: 0.7rem;
}

.menu-item:first-child {
  border-top: none;
  padding-top: 0;
}

.menu-item-main {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 0.8rem;
}

.menu-item-image {
  width: 100%;
  height: 100%;
  max-height: 248px;
  border-radius: 0.7rem;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.menu-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.menu-item-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: #ffffff;
}

.menu-item-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 0.4rem;
}

.tag-spicy { color: #fb923c; }
.tag-veg { color: #4ade80; }

.menu-item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #bef264;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: #f9fafb;
  opacity: 1;
}

.menu-item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.25rem;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.28rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 120ms ease, filter 120ms ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #022c22;
  font-weight: 600;
  border-color: rgba(22, 163, 74, 0.8);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* ===== QUANTITY CONTROL ===== */
.qty-control {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
}

.qty-btn {
  border: none;
  background: rgba(15, 23, 42, 0.9);
  padding: 0.25rem 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: #e5e7eb;
  transition: transform 120ms ease, filter 120ms ease;
}

.qty-btn:active {
  transform: scale(0.96);
}

.qty-input {
  width: 2.4rem;
  text-align: center;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  font-size: 0.9rem;
}

.qty-input:focus {
  outline: none;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.cart-overlay.open {
  display: block;
  opacity: 1;
}

.cart {
  position: fixed;
  right: 0;
  bottom: 0;
  background: linear-gradient(165deg,
    rgba(22, 22, 22, 0.98) 0%,
    rgba(12, 12, 12, 0.99) 100%
  );
  border-radius: var(--radius-xl) 0 0 0;
  border: 1px solid var(--color-border);
  border-right: none;
  border-bottom: none;
  padding: 1.5rem;
  box-shadow:
    -10px -10px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 0, 0, 0.3);
  max-width: 380px;
  width: min(380px, 95vw);
  transform: translateX(110%);
  transition: transform var(--transition-slow);
  z-index: 10001;
}

.cart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(212, 160, 23, 0.4),
    rgba(212, 160, 23, 0.1),
    transparent
  );
  border-radius: var(--radius-xl) 0 0 0;
}

.cart.open {
  transform: translateX(0);
}

.cart-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.cart-subtitle {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.cart-items {
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

.cart-empty {
  font-size: 0.85rem;
  opacity: 0.8;
  padding: 0.6rem 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.85rem;
}

.cart-item-name {
  font-weight: 500;
}

.cart-item-meta {
  opacity: 0.9;
}

.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  overflow: hidden;
}

.cart-qty-btn {
  border: none;
  background: rgba(15, 23, 42, 0.95);
  padding: 0.15rem 0.55rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: #e5e7eb;
}

.cart-qty-btn:hover {
  background: rgba(30, 64, 175, 0.9);
}

.cart-qty {
  padding: 0 0.6rem;
  font-size: 0.85rem;
}

.cart-remove-btn {
  border: none;
  background: transparent;
  font-size: 0.8rem;
  cursor: pointer;
  color: #fb7185;
}

.cart-remove-btn:hover {
  text-decoration: underline;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 0.7rem;
}

.cart-footer strong {
  font-size: 1rem;
}

.cart-breakdown {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.cart-breakdown .row {
  display: flex;
  justify-content: space-between;
  opacity: 0.95;
}

.cart-breakdown .total {
  margin-top: 0.25rem;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ===== TIP SELECTION ===== */
.tip {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.tip-buttons {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tip-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.tip-btn.active {
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.18);
}

.tip-other-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 4.6rem;
}

.tip-other-inputwrap {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.tip-other-btn.active .tip-other-label {
  display: none;
}

.tip-other-btn.active .tip-other-inputwrap {
  display: inline-flex;
}

.tip-other-input {
  width: 2.4rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
  outline: none;
}

.tip-other-suffix {
  font-size: 0.85rem;
  opacity: 0.85;
}

.cart-checkout-btn {
  margin-top: 1rem;
  width: 100%;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #1a1a1a;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
  transition: all var(--transition-base);
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.4);
}

.cart-checkout-btn:active {
  transform: translateY(0);
}

/* ===== CART TOGGLE PILL ===== */
.cart-toggle {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 9999;
  border: 1px solid var(--color-border);
  background: linear-gradient(165deg,
    rgba(25, 25, 25, 0.95) 0%,
    rgba(15, 15, 15, 0.98) 100%
  );
  color: var(--color-text);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base), opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.cart-toggle.visible {
  opacity: 1;
  visibility: visible;
}

.cart-toggle::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.3), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.cart-toggle:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow:
    var(--shadow-xl),
    0 0 30px rgba(212, 160, 23, 0.2);
}

.cart-toggle:hover::before {
  opacity: 1;
}

.cart-toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-gold);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.5);
}

/* ===== MODALS ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10050;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: #020617;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  max-width: 420px;
  width: 90%;
  padding: 1.2rem 1.4rem 1.3rem;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.95);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1rem;
  font-weight: 600;
}

.modal-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.6rem;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.nutrition-table th,
.nutrition-table td {
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.35rem 0.15rem;
}

.nutrition-table th {
  text-align: left;
  font-weight: 600;
}

.nutrition-note {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* ===== CHECKOUT MODAL ===== */
.checkout-modal {
  background: #020617;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  max-width: 480px;
  width: 90%;
  padding: 1.3rem 1.5rem 1.4rem;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.95);
  max-height: 90vh;
  overflow-y: auto;
}

.checkout-list {
  list-style: none;
  max-height: 40vh;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.checkout-item {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.3);
}

.checkout-item-name {
  font-weight: 500;
}

.checkout-item-meta {
  font-size: 0.85rem;
  opacity: 0.8;
}

.checkout-breakdown {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.checkout-breakdown .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-breakdown .row.indent {
  padding-left: 1rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.checkout-breakdown .row.total {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  font-weight: 800;
  font-size: 0.95rem;
}

.checkout-confirm-btn {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.9);
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #022c22;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  cursor: pointer;
  margin-top: 0.7rem;
}

.checkout-confirm-btn:hover {
  filter: brightness(1.05);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  min-height: 100vh;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg,
    var(--color-bg-dark) 0%,
    #0d0d0d 50%,
    var(--color-bg-dark) 100%
  );
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(212, 160, 23, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.contact-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.contact-info {
  background: linear-gradient(165deg,
    rgba(25, 25, 25, 0.9) 0%,
    rgba(15, 15, 15, 0.95) 100%
  );
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(212, 160, 23, 0.3),
    transparent
  );
}

.contact-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.contact-subtitle {
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-details {
  display: grid;
  gap: 0.6rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.contact-label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}

.contact-value {
  font-family: var(--font-primary);
  color: var(--color-text);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-value a {
  color: var(--color-green);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.contact-value a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.contact-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-btn {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
}

.contact-btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.contact-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.4);
}

.contact-btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-hover);
}

.contact-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.contact-image {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.contact-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-slow);
}

.contact-image:hover img {
  transform: scale(1.02);
  box-shadow:
    var(--shadow-xl),
    0 0 60px rgba(212, 160, 23, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .cards-grid::-webkit-scrollbar {
    display: none;
  }

  .cards-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    scroll-snap-align: start;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    position: relative;
  }

  .navbar-links {
    display: none;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-image {
    order: -1;
  }

  .menu-item-main {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0.6rem;
  }

  .menu-item-image {
    width: 180px;
    height: 158px;
    min-width: 180px;
  }

  .cards-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }

  .cards-card img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 478px) {
  /* Single centered scroll indicator - hide text, show only one arrow */
  .scroll-indicator {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: 2.5rem !important;
    animation: none !important;
    opacity: 1 !important;
  }

  .scroll-text {
    display: none !important;
  }

  .scroll-arrow {
    animation: none !important;
  }

  .hero-cta img {
    max-width: 220px;
  }

  .pre-menu h2 {
    font-size: 1.5rem;
  }

  .cards-card {
    flex: 0 0 calc(70% - 0.5rem);
    min-width: calc(70% - 0.5rem);
  }

  .menu-category {
    padding: 1rem;
    border-radius: 0.9rem;
  }

  .menu-category-label {
    font-size: 1.2rem;
    letter-spacing: 0.15rem;
  }

  .menu-category-title {
    font-size: 1.1rem;
  }

  .cart {
    width: 100%;
    max-width: 100%;
    border-radius: 1rem 1rem 0 0;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .contact-buttons {
    flex-direction: column;
  }
}

/* ===== iPHONE 14 PRO MAX OPTIMIZATIONS (430px) ===== */
@media (max-width: 430px) {
  /* Disable vertical scroll snapping on mobile for smooth scrolling */
  html, body, .hero, .pre-menu, .carousel-row, .contact-section, .parallax-menu-section {
    scroll-snap-type: none !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }

  /* Hero video - zoom out to show more of the food truck */
  .hero-video {
    min-width: 100%;
    min-height: 100%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%) scale(0.85);
    top: 50%;
    left: 50%;
  }

  /* Scroll indicator - center on mobile, hide text to show only arrow */
  .scroll-indicator {
    position: absolute;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: 2.5rem;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: none !important;
    opacity: 1 !important;
  }

  .scroll-indicator:hover {
    transform: translateX(-50%) translateY(-4px) !important;
  }

  /* Hide scroll text on mobile, show only the arrow */
  .scroll-text {
    display: none !important;
  }

  /* Disable bouncing animation on mobile to prevent ghost/duplicate arrow */
  .scroll-arrow {
    animation: none !important;
  }

  /* Pre-menu section */
  .pre-menu {
    padding: 3rem 1rem;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: none !important;
  }

  .pre-menu h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cards-card {
    flex: 0 0 calc(33.33% - 0.75rem);
    min-width: calc(33.33% - 0.75rem);
    max-width: calc(33.33% - 0.75rem);
  }

  .cards-card img {
    width: 100px;
    height: 100px;
  }

  .cards-card span {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }

  /* Hero section */
  .hero-cta img {
    max-width: 200px;
  }

  .cta-container {
    padding: 1rem;
  }

  /* Contact section */
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-wrapper {
    gap: 1.5rem;
  }

  .contact-info {
    padding: 1.25rem;
  }

  .contact-title {
    font-size: 1.3rem;
  }

  .contact-subtitle {
    font-size: 0.85rem;
  }

  .contact-detail {
    font-size: 0.9rem;
  }

  .contact-image img {
    border-radius: 0.75rem;
  }

  /* Menu cards - single card visible with peek of next */
  .menu-card {
    width: calc(100vw - 4rem);
    max-width: none;
    flex-shrink: 0;
  }

  .menu-card__title {
    font-size: 1rem;
  }

  .menu-card__desc {
    font-size: 0.8rem;
  }

  .menu-card__price {
    font-size: 1.1rem;
  }

  /* Carousel - enable finger scrolling and show partial cards */
  .carousel-category-label {
    font-size: 1.6rem;
  }

  .carousel-category-subtitle {
    font-size: 1rem;
  }

  .carousel-track {
    padding: 1rem 1rem 1.5rem;
    gap: 0.75rem;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scroll-padding-left: 1rem;
  }

  .carousel-track .menu-card {
    scroll-snap-align: start;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-nav svg {
    width: 16px;
    height: 16px;
  }

  /* Cart button */
  .cart-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  /* Carousel rows - auto height on mobile */
  .carousel-row {
    height: auto;
    min-height: auto;
    padding: 2rem 0;
  }

  /* Contact section - auto height on mobile, solid background */
  .contact-section {
    min-height: auto;
    padding: 3rem 1rem;
    position: relative;
    z-index: 10;
    background: var(--color-bg-dark);
  }

  /* Footer - ensure it stays at bottom */
  .footer {
    position: relative;
    z-index: 11;
    padding: 2rem 1rem;
    margin-top: 0;
    background: var(--color-bg-dark);
  }

  .footer-text {
    font-size: 0.75rem;
  }
}

/* ===== MOBILE NAV MENU ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-panel {
  width: min(500px, 95%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 18px;
  background: #0b0f0c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(20, 83, 45, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-title {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}

.mobile-nav-close {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
}

.mobile-nav-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-nav-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(34, 197, 94, 0.5);
}

.mobile-nav-card img {
  width: 100px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.mobile-nav-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* ========================================
   PARALLAX CAROUSEL MENU SYSTEM
   ======================================== */

/* ===== PARALLAX MENU SECTION ===== */
.parallax-menu-section {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg,
    var(--color-bg-dark) 0%,
    #080808 30%,
    #0a0a0a 70%,
    var(--color-bg-dark) 100%
  );
}

/* Texture/Grain Overlay */
.parallax-menu-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* ===== PARALLAX BACKGROUND LAYERS ===== */
.parallax-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 120%;
  top: -10%;
  will-change: transform;
}

.parallax-layer--far {
  background:
    radial-gradient(ellipse at 15% 85%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(212, 160, 23, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(139, 69, 19, 0.04) 0%, transparent 60%);
}

.parallax-layer--mid {
  background:
    radial-gradient(circle at 25% 75%, rgba(34, 197, 94, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 75% 25%, rgba(34, 211, 238, 0.04) 0%, transparent 25%),
    radial-gradient(circle at 60% 60%, rgba(251, 113, 133, 0.03) 0%, transparent 35%);
}

.parallax-layer--near {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 20%);
}

/* ===== MENU WRAPPER ===== */
.parallax-menu-section .menu-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== CAROUSEL ROW ===== */
.carousel-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 4rem 0;
}

.carousel-row:last-child {
  margin-bottom: 0;
}

/* ===== CAROUSEL HEADER ===== */
.carousel-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
}

.carousel-category-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  text-shadow:
    0 2px 30px rgba(212, 160, 23, 0.4),
    0 0 60px rgba(212, 160, 23, 0.15);
  margin: 0;
  position: relative;
  display: inline-block;
}

.carousel-category-label::after {
  display: none;
}

.carousel-category-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--color-text-muted);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ===== CAROUSEL CONTAINER ===== */
.carousel-container {
  justify-content: center;
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 4rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  width: 100%;

  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* ===== MENU CARD ===== */
.menu-card {
  flex: 0 0 auto;
  width: 260px;
  background: linear-gradient(165deg,
    rgba(30, 30, 30, 0.95) 0%,
    rgba(18, 18, 18, 0.98) 100%
  );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  scroll-snap-align: center;
  position: relative;

  /* 3D Setup */
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all var(--transition-slow);

  /* Base shadow */
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Subtle inner glow on top */
.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

/* Hover lift effect */
.menu-card:hover {
  transform: translateY(-16px) scale(1.02);
  border-color: rgba(212, 160, 23, 0.15);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(212, 160, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ===== FLOATING IMAGE ===== */
.menu-card__image-wrapper {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: radial-gradient(circle at center, rgba(50, 50, 50, 0.5) 0%, transparent 70%);
}

.menu-card__image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;

  /* Floating 3D effect with drop shadow */
  transform: translateZ(20px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7))
          drop-shadow(0 8px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.menu-card:hover .menu-card__image {
  transform: translateZ(40px) scale(1.08) rotate(3deg);
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.8))
          drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

/* ===== CARD CONTENT ===== */
.menu-card__content {
  padding: 0.75rem 1.25rem 1.25rem;
}

/* Star Rating */
.menu-card__rating {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 3px;
}

.menu-card__rating .star {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

.menu-card__rating .star.filled {
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(212, 160, 23, 0.6);
}

.menu-card__rating .star.half {
  position: relative;
  color: rgba(255, 255, 255, 0.2);
}

.menu-card__rating .star.half::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(212, 160, 23, 0.6);
}

/* Title with sweep animation */
.menu-card__title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFEF5;
  margin: 0 0 0.4rem 0;
  line-height: 1.3;

  /* Animation setup */
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Description */
.menu-card__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  min-height: 2.5rem;

  /* Staggered animation */
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease-out 0.1s, transform 0.5s ease-out 0.1s;
}

/* Footer */
.menu-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Price */
.menu-card__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #D4A017;
  text-shadow: 0 0 20px rgba(212, 160, 23, 0.3);

  /* Staggered animation */
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

/* Active state - triggers animations */
.menu-card.is-active .menu-card__title,
.menu-card.is-active .menu-card__desc,
.menu-card.is-active .menu-card__price,
.menu-card:hover .menu-card__title,
.menu-card:hover .menu-card__desc,
.menu-card:hover .menu-card__price {
  opacity: 1;
  transform: translateX(0);
}

/* ===== CARD ACTIONS ===== */
.menu-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Details Button */
.menu-card .btn-details {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-card .btn-details:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Quantity Control */
.menu-card .qty-control {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.2rem;
}

.menu-card .qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.menu-card .qty-btn:hover {
  background: rgba(212, 160, 23, 0.4);
}

.menu-card .qty-input {
  width: 32px;
  text-align: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

/* Add Button */
.menu-card .btn-add {
  background: linear-gradient(135deg, #D4A017 0%, #B8860B 100%);
  color: #1A1A1A;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.menu-card .btn-add:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.5);
}

.menu-card .btn-add:active {
  transform: scale(0.98);
}

/* ===== CAROUSEL NAVIGATION ARROWS ===== */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(25, 25, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.carousel-nav:hover {
  background: rgba(212, 160, 23, 0.9);
  color: #1A1A1A;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(212, 160, 23, 0.4);
}

.carousel-nav svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.carousel-nav--prev {
  left: 1rem;
}

.carousel-nav--next {
  right: 1rem;
}

/* ===== DOT INDICATORS ===== */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #D4A017;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.6);
}

.carousel-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.1);
}

/* ===== RESPONSIVE - PARALLAX CAROUSEL ===== */

/* Hide arrows on mobile/tablet, show on desktop */
@media (max-width: 991px) {
  .carousel-nav {
    display: none;
  }

  .carousel-track {
    padding: 2rem 1.5rem;
  }
}

/* Mobile - Full width cards */
@media (max-width: 576px) {
  .parallax-menu-section {
    height: auto;
  }

  /* Single card visible with peek of next */
  .menu-card {
    width: calc(100vw - 4rem);
    max-width: none;
    flex-shrink: 0;
  }

  .carousel-track {
    padding: 1.5rem 1rem;
    gap: 1rem;
    justify-content: flex-start;
  }

  .carousel-header {
    margin-bottom: 1.5rem;
    padding-top: 2rem;
  }

  .carousel-category-label {
    font-size: 1.6rem;
  }

  .carousel-row {
    min-height: auto;
    height: auto;
    padding: 3rem 0 2rem;
    box-sizing: border-box;
  }

  .menu-card__image-wrapper {
    height: 180px;
    padding: 1rem;
  }

  .menu-card__image {
    width: 150px;
    height: 150px;
  }

  .menu-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-card__actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* Tablet - 2 cards visible */
@media (min-width: 577px) and (max-width: 991px) {
  .menu-card {
    width: calc(50vw - 3rem);
    min-width: 280px;
    max-width: 340px;
  }
}

/* Desktop adjustments */
@media (min-width: 992px) {
  .carousel-track {
    padding: 1rem 4rem 1.5rem;
    gap: 1.5rem;
  }

  .menu-card {
    width: 280px;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .menu-card {
    width: 300px;
  }

  .carousel-track {
    gap: 2rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .menu-card,
  .menu-card__image,
  .menu-card__title,
  .menu-card__desc,
  .menu-card__price,
  .carousel-nav,
  .carousel-dot {
    transition: none;
  }

  .menu-card__title,
  .menu-card__desc,
  .menu-card__price {
    opacity: 1;
    transform: none;
  }

  .parallax-layer {
    display: none;
  }
}

/* ========================================
   ENHANCED ANIMATIONS - Skyfynd Inspired
   ======================================== */

/* ===== COLOR FILL BUTTON EFFECT ===== */
.btn-color-fill {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-color-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    var(--color-gold),
    var(--color-gold-light),
    var(--color-gold)
  );
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-color-fill:hover::before {
  left: 0;
}

/* Apply to Add buttons */
.menu-card .btn-add {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}

.menu-card .btn-add::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.menu-card .btn-add:hover {
  color: #1a1a1a;
  border-color: var(--color-gold);
  transform: scale(1.05);
}

.menu-card .btn-add:hover::before {
  width: 100%;
}

/* ===== LIVE TILE BREATHING ANIMATION ===== */
@keyframes tileBreathing {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.5),
      0 4px 16px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
      0 15px 50px rgba(0, 0, 0, 0.5),
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(212, 160, 23, 0.05);
  }
}

.menu-card.tile-alive {
  animation: tileBreathing 4s ease-in-out infinite;
}

.menu-card:nth-child(2).tile-alive {
  animation-delay: 0.5s;
}

.menu-card:nth-child(3).tile-alive {
  animation-delay: 1s;
}

.menu-card:nth-child(4).tile-alive {
  animation-delay: 1.5s;
}

.menu-card:nth-child(5).tile-alive {
  animation-delay: 2s;
}

/* ===== GLOW PULSE ON CARDS ===== */
@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.5),
      0 0 0 rgba(212, 160, 23, 0);
  }
  50% {
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.5),
      0 0 30px rgba(212, 160, 23, 0.15);
  }
}

.menu-card.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* ===== TEXT REVEAL ANIMATIONS ===== */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.4s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== GRADIENT BORDER ANIMATION ===== */
@keyframes borderGradientRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-border {
  position: relative;
}

.animated-border::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    60deg,
    var(--color-gold),
    var(--color-gold-dark),
    var(--color-green),
    var(--color-gold-light),
    var(--color-gold)
  );
  background-size: 300% 300%;
  animation: borderGradientRotate 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.animated-border:hover::after {
  opacity: 1;
}

/* ===== FLOATING ANIMATION FOR PRE-MENU CARDS ===== */
@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(1deg);
  }
  75% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

.cards-card.floating {
  animation: gentleFloat 4s ease-in-out infinite;
}

.cards-card:nth-child(1).floating { animation-delay: 0s; }
.cards-card:nth-child(2).floating { animation-delay: 0.4s; }
.cards-card:nth-child(3).floating { animation-delay: 0.8s; }
.cards-card:nth-child(4).floating { animation-delay: 1.2s; }
.cards-card:nth-child(5).floating { animation-delay: 1.6s; }

/* ===== SHIMMER EFFECT ===== */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--color-gold) 0%,
    var(--color-gold-light) 25%,
    #fff 50%,
    var(--color-gold-light) 75%,
    var(--color-gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ===== SECTION FADE-IN ON SCROLL ===== */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CAROUSEL HEADER ANIMATIONS ===== */
.carousel-category-label {
  position: relative;
  overflow: hidden;
}

.carousel-header.in-view .carousel-category-label {
  animation: textSlideUp 0.8s ease-out forwards;
}

@keyframes textSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-header.in-view .carousel-category-subtitle {
  animation: textFadeIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTACT INFO HOVER ROWS ===== */
.contact-row {
  position: relative;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.contact-row::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
  border-radius: var(--radius-full);
}

.contact-row:hover::before {
  transform: scaleY(1);
}

.contact-row:hover {
  padding-left: 0.5rem;
}

/* ===== ANIMATED UNDERLINE FOR LINKS ===== */
.animated-underline {
  position: relative;
  text-decoration: none;
}

.animated-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== BACKGROUND GRADIENT ANIMATION ===== */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animated-gradient-bg {
  background: linear-gradient(
    -45deg,
    var(--color-bg-dark),
    #0d0d0d,
    #111,
    var(--color-bg-dark)
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* ===== PRICE TAG BOUNCE ===== */
@keyframes priceBounce {
  0%, 100% {
    transform: translateX(0) scale(1);
  }
  10% {
    transform: translateX(-2px) scale(1.02);
  }
  20% {
    transform: translateX(2px) scale(1.02);
  }
  30% {
    transform: translateX(0) scale(1);
  }
}

.menu-card:hover .menu-card__price {
  animation: priceBounce 0.6s ease-out;
}

/* ===== STAR RATING FILL ANIMATION ===== */
.menu-card__rating .star {
  transition: all 0.3s ease;
  transition-delay: calc(var(--star-index, 0) * 0.05s);
}

.menu-card:hover .menu-card__rating .star.filled {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px rgba(212, 160, 23, 0.8));
}

/* ===== IMAGE REVEAL ON SCROLL ===== */
.image-reveal {
  position: relative;
  overflow: hidden;
}

.image-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-gold);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal.revealed::after {
  transform: scaleX(0);
}

/* ===== CART BADGE PULSE ===== */
@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(212, 160, 23, 0);
  }
}

.cart-toggle-badge.has-items {
  animation: badgePulse 2s ease-in-out infinite;
}

/* ===== BUTTON RIPPLE EFFECT ===== */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.btn-ripple:active::after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: width 0.4s ease-out, height 0.4s ease-out, opacity 0.4s ease-out;
}

/* ===== MAGNETIC HOVER FOR BUTTONS ===== */
.magnetic-hover {
  transition: transform 0.3s ease-out;
}


/* ===== MOUSE GLOW EFFECT ON CARDS ===== */
.menu-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 160, 23, 0.12) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.menu-card:hover::after {
  opacity: 1;
}

/* ===== ENHANCED CARD IMAGE GLOW ===== */
.menu-card__image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(212, 160, 23, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.menu-card:hover .menu-card__image-wrapper::before {
  opacity: 1;
}

/* ===== NAVBAR LINK GLOW ===== */
.navbar-links a::after {
  content: "";
  position: absolute;
  inset: -10px -20px;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 160, 23, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.navbar-links a:hover::after {
  opacity: 1;
}

/* ===== ANIMATED BACKGROUND FOR CONTACT SECTION ===== */
.contact-section {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(212, 160, 23, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.02) 0%, transparent 40%),
    linear-gradient(180deg,
      var(--color-bg-dark) 0%,
      #0d0d0d 50%,
      var(--color-bg-dark) 100%
    );
  animation: gradientShift 20s ease infinite;
  background-size: 100% 100%, 100% 100%, 400% 400%;
}

/* ===== CAROUSEL DOT WAVE ANIMATION ===== */
@keyframes dotWave {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
}

.carousel-dots {
  perspective: 100px;
}

.carousel-dot {
  animation: dotWave 2s ease-in-out infinite;
}

.carousel-dot:nth-child(1) { animation-delay: 0s; }
.carousel-dot:nth-child(2) { animation-delay: 0.1s; }
.carousel-dot:nth-child(3) { animation-delay: 0.2s; }
.carousel-dot:nth-child(4) { animation-delay: 0.3s; }
.carousel-dot:nth-child(5) { animation-delay: 0.4s; }
.carousel-dot:nth-child(6) { animation-delay: 0.5s; }
.carousel-dot:nth-child(7) { animation-delay: 0.6s; }

.carousel-dot.active {
  animation: none;
}

/* ===== FOOTER GRADIENT LINE ===== */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    transparent
  );
  animation: shimmer 3s linear infinite;
}

.footer {
  position: relative;
}

/* ===== ENHANCED CART DRAWER ENTRY ===== */
.cart {
  animation: none;
}

.cart.open {
  animation: cartSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cartSlideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== MOBILE NAV ENHANCED ANIMATION ===== */
.mobile-nav-panel {
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.mobile-nav.open .mobile-nav-panel {
  transform: scale(1);
  opacity: 1;
}

.mobile-nav-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.open .mobile-nav-card:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-nav-card:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-nav-card:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open .mobile-nav-card:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open .mobile-nav-card:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav.open .mobile-nav-card {
  opacity: 1;
  transform: translateY(0);
}
