/* WARMA NUZAVA - Custom Theme Styles & Motions */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --nuzava-yellow: #F59E0B;
  --nuzava-yellow-hover: #D97706;
  --nuzava-yellow-light: #FEF3C7;
  --nuzava-yellow-bg: #FFFDF5;
  --nuzava-red: #9E2A2B;
  --nuzava-red-dark: #7F1D1D;
  --nuzava-red-light: #FEE2E2;
  --nuzava-dark: #1F2937;
  --nuzava-muted: #6B7280;
  --nuzava-border: #FDE68A;
  --nuzava-card-bg: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--nuzava-yellow-bg);
  color: var(--nuzava-dark);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FEF3C7;
}
::-webkit-scrollbar-thumb {
  background: #F59E0B;
  border-radius: 999px;
}

/* Colors & Badges */
.bg-nuzava-yellow {
  background-color: var(--nuzava-yellow) !important;
}
.bg-nuzava-yellow-light {
  background-color: var(--nuzava-yellow-light) !important;
}
.bg-nuzava-red {
  background-color: var(--nuzava-red) !important;
}
.bg-nuzava-red-light {
  background-color: var(--nuzava-red-light) !important;
}
.bg-nuzava-cream {
  background-color: var(--nuzava-yellow-bg) !important;
}
.text-nuzava-red {
  color: var(--nuzava-red) !important;
}
.text-nuzava-yellow {
  color: var(--nuzava-yellow) !important;
}
.text-nuzava-dark {
  color: var(--nuzava-dark) !important;
}
.border-nuzava-yellow {
  border-color: var(--nuzava-border) !important;
}
.border-nuzava-red {
  border-color: var(--nuzava-red) !important;
}

/* Buttons with tactile feedback */
.btn-nuzava-primary {
  background-color: var(--nuzava-red);
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(158, 42, 43, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-nuzava-primary:hover, .btn-nuzava-primary:focus {
  background-color: var(--nuzava-red-dark);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 22px rgba(158, 42, 43, 0.45);
}
.btn-nuzava-primary:active {
  transform: translateY(0) scale(0.96);
}

.btn-nuzava-secondary {
  background-color: var(--nuzava-yellow);
  color: #1F2937;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-nuzava-secondary:hover, .btn-nuzava-secondary:focus {
  background-color: var(--nuzava-yellow-hover);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45);
}
.btn-nuzava-secondary:active {
  transform: translateY(0) scale(0.96);
}

.btn-nuzava-outline-red {
  background-color: transparent;
  color: var(--nuzava-red);
  font-weight: 700;
  border: 2px solid var(--nuzava-red);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-nuzava-outline-red:hover {
  background-color: var(--nuzava-red);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(158, 42, 43, 0.25);
}
.btn-nuzava-outline-red:active {
  transform: translateY(0) scale(0.96);
}

/* Navbar */
.navbar-nuzava {
  background-color: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
  transition: all 0.3s ease;
}
.nav-link-nuzava {
  color: var(--nuzava-dark);
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.nav-link-nuzava:hover, .nav-link-nuzava.active {
  color: var(--nuzava-red) !important;
  background-color: var(--nuzava-yellow-light);
  transform: translateY(-1px);
}

/* Cards & Badges */
.card-nuzava {
  background: #FFFFFF;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card-nuzava:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 35px -5px rgba(245, 158, 11, 0.22);
  border-color: var(--nuzava-yellow);
}

.badge-pill-nuzava {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}
.badge-pill-nuzava:hover {
  transform: scale(1.05);
}
.badge-enak {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}
.badge-murah {
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}
.badge-fresh {
  background-color: #E0E7FF;
  color: #3730A3;
  border: 1px solid #A5B4FC;
}

.badge-tag-bestseller {
  background: linear-gradient(135deg, #EF4444, #9E2A2B);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(158, 42, 43, 0.3);
}
.badge-tag-recom {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Category Filter Pills */
.category-pill {
  border: 2px solid #E5E7EB;
  background-color: #FFFFFF;
  color: #4B5563;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.category-pill:hover {
  border-color: var(--nuzava-yellow);
  color: var(--nuzava-red);
  transform: translateY(-2px);
}
.category-pill.active {
  background-color: var(--nuzava-red);
  color: #FFFFFF;
  border-color: var(--nuzava-red);
  box-shadow: 0 6px 16px rgba(158, 42, 43, 0.35);
  animation: pillPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pillPop {
  0% { transform: scale(0.94); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Delivery Platform Badges */
.delivery-card {
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.delivery-card:hover {
  transform: translateY(-6px) scale(1.02);
  color: #FFFFFF;
}
.delivery-card:hover .bi-arrow-up-right-circle,
.delivery-card:hover .bi-arrow-right {
  transform: translateX(5px) rotate(-12deg);
  transition: transform 0.25s ease;
}
.delivery-card.gofood {
  background: linear-gradient(135deg, #00AA13, #007A0E);
  box-shadow: 0 6px 20px rgba(0, 170, 19, 0.28);
}
.delivery-card.gofood:hover {
  box-shadow: 0 12px 28px rgba(0, 170, 19, 0.45);
}
.delivery-card.grabfood {
  background: linear-gradient(135deg, #00B14F, #00893D);
  box-shadow: 0 6px 20px rgba(0, 177, 79, 0.28);
}
.delivery-card.grabfood:hover {
  box-shadow: 0 12px 28px rgba(0, 177, 79, 0.45);
}
.delivery-card.shopeefood {
  background: linear-gradient(135deg, #EE4D2D, #C63417);
  box-shadow: 0 6px 20px rgba(238, 77, 45, 0.28);
}
.delivery-card.shopeefood:hover {
  box-shadow: 0 12px 28px rgba(238, 77, 45, 0.45);
}

/* Image Thumbnails & Diagonal Light Glare */
.menu-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #FEF3C7;
}
.menu-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-nuzava:hover .menu-img-wrap img {
  transform: scale(1.1);
}
.menu-img-wrap::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  pointer-events: none;
}
.card-nuzava:hover .menu-img-wrap::after {
  opacity: 1;
  left: 130%;
  transition: all 0.85s ease-in-out;
}

/* Testimonials */
.testimonial-card {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  padding: 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(245, 158, 11, 0.18);
  border-color: var(--nuzava-yellow);
}

/* ========================================================
   KEYFRAME MOTIONS & ANIMATIONS
   ======================================================== */

/* 1. Lively Gerobak / Logo Bobbing Motion */
@keyframes gerobakBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(1deg);
  }
  50% {
    transform: translateY(-12px) rotate(0deg);
  }
  75% {
    transform: translateY(-5px) rotate(-1deg);
  }
}
.motion-gerobak {
  animation: gerobakBob 5s ease-in-out infinite;
  transform-origin: bottom center;
}

/* 2. Breathing Radial Halo Glow */
@keyframes pulseHalo {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1.18);
  }
}
.motion-halo {
  animation: pulseHalo 4s ease-in-out infinite;
}

/* 3. Floating Badges Around Logo */
@keyframes badgeFloat1 {
  0%, 100% {
    transform: translate(-10%, 20%) translateY(0);
  }
  50% {
    transform: translate(-10%, 20%) translateY(-10px);
  }
}
.motion-badge-1 {
  animation: badgeFloat1 3.2s ease-in-out infinite;
}

@keyframes badgeFloat2 {
  0%, 100% {
    transform: translate(10%, -20%) translateY(0);
  }
  50% {
    transform: translate(10%, -20%) translateY(10px);
  }
}
.motion-badge-2 {
  animation: badgeFloat2 3.8s ease-in-out infinite 0.4s;
}

/* 4. Live Open Indicator Ripple */
@keyframes liveRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
.motion-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22C55E;
  animation: liveRipple 1.8s infinite;
}

/* 5. Floating Order Button (Pulse Ring & Gentle Float) */
@keyframes floatingBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(158, 42, 43, 0.5), 0 10px 25px rgba(158, 42, 43, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(158, 42, 43, 0), 0 10px 25px rgba(158, 42, 43, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(158, 42, 43, 0), 0 10px 25px rgba(158, 42, 43, 0.45);
  }
}
.floating-order-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #9E2A2B, #7F1D1D);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(158, 42, 43, 0.45);
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulseRing 2.8s infinite, floatingBob 3.5s ease-in-out infinite;
}
.floating-order-btn:hover {
  animation: none;
  transform: scale(1.06) translateY(-4px);
  color: #FFFFFF;
  box-shadow: 0 16px 32px rgba(158, 42, 43, 0.6);
}

/* 6. Scroll Reveal Animations (IntersectionObserver driven) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.reveal-scale {
  transform: scale(0.92) translateY(24px);
}
.reveal.reveal-left {
  transform: translateX(-40px);
}
.reveal.reveal-right {
  transform: translateX(40px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) translateX(0);
}

/* Stagger animation delays for cards */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* 7. Shimmer on Section Badges */
@keyframes badgeGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0));
  }
  50% {
    filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.35));
  }
}
.badge-enak, .badge-murah, .badge-fresh {
  animation: badgeGlow 4s ease-in-out infinite;
}

/* Hero Decor */
.hero-wrapper {
  background: radial-gradient(circle at 10% 20%, rgba(254, 243, 199, 0.8) 0%, rgba(255, 253, 245, 1) 90%);
  position: relative;
  overflow: hidden;
}
.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  filter: blur(40px);
  pointer-events: none;
}
