/* ── Google Fonts ── */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap");

/* ── CSS Variables ── */
:root {
  --primary: #e8521a;
  --primary-dark: #c43e0e;
  --primary-light: #ff7043;
  --accent: #f7c948;
  --accent-dark: #e5b520;
  --bg-cream: #fdfaf6;
  --bg-warm: #f5efe6;
  --surface: #ffffff;
  --text-dark: #1a1208;
  --text-mid: #4a3728;
  --text-muted: #8b7355;
  --border: #e8ddd0;
  --shadow-warm: 0 4px 24px rgba(232, 82, 26, 0.12);
  --shadow-card: 0 2px 16px rgba(26, 18, 8, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 18, 8, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
}

/* ── Base Styles ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 80px; /* Space for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Animations ── */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.85);
    opacity: 0.6;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes cartBounce {
  0%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3);
  }
  60% {
    transform: scale(0.9);
  }
}

@keyframes toastSlide {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }
  15% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  85% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
  }
}

/* ── Scroll Reveal ── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Header ── */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(253, 250, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.main-header.scrolled {
  background: rgba(253, 250, 246, 0.96);
  box-shadow: 0 2px 24px rgba(26, 18, 8, 0.1);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-link-custom {
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: all 0.2s;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary);
  background: rgba(232, 82, 26, 0.08);
}

.cart-btn-nav {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid white;
}

.cart-btn-nav:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(232, 82, 26, 0.2);
}

.order-now-btn {
  background: var(--primary);
  color: #fff !important;
  border-radius: 100px;
  padding: 10px 22px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(232, 82, 26, 0.3);
}

.order-now-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1670819917685-f1040e76b9b7");
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 18, 8, 0.82) 0%,
    rgba(26, 18, 8, 0.5) 50%,
    rgba(232, 82, 26, 0.25) 100%
  );
}

.hero-glass-card {
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: 0 24px 64px rgba(26, 18, 8, 0.2);
  animation: floatUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 82, 26, 0.1);
  color: var(--primary);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ── Marquee ── */
.marquee-container {
  background: var(--primary);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

/* ── Category Cards ── */
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.category-card:hover img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 18, 8, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

/* ── Food Cards (Menu) ── */
.food-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.food-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.food-img-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.food-card:hover .food-img {
  transform: scale(1.08);
}

.veg-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.veg {
  background: #2e7d32;
  border: 2px solid #2e7d32;
}
.dot.non-veg {
  background: #c62828;
  border: 2px solid #c62828;
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--bg-warm);
  border-radius: 100px;
  border: 1.5px solid var(--border);
  overflow: hidden;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-weight: 800;
  color: var(--text-mid);
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--primary);
  color: #fff;
}

.qty-val {
  width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

/* ── Cart Drawer ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 420px;
  max-width: 100vw;
  background: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 8, 0.5);
  z-index: 1050;
  display: none;
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  display: block;
}

/* ── Success Toast ── */
.toast-custom {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: toastSlide 3s forwards;
}

/* ── Footer ── */
footer {
  background: #1a1208;
  color: #fff;
  padding: 64px 0 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--primary);
  background: rgba(232, 82, 26, 0.15);
  color: var(--primary);
}

/* ── Helper ── */
.btn-primary-custom {
  background: var(--primary);
  border: none;
  border-radius: 100px;
  padding: 12px 30px;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(232, 82, 26, 0.3);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: #fff;
}

.form-control-custom {
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(232, 82, 26, 0.1);
  background: #fff;
}

/* ── Menu Specific Button Styles ── */
.size-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: none;
}

.size-btn:hover {
  background: var(--bg-warm);
  border-color: #d8c8b8;
}

.size-btn.active {
  background: transparent;
  border-color: var(--text-dark);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: none;
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--bg-warm);
  border-radius: 100px;
  border: none;
  overflow: hidden;
  height: 38px;
}

.qty-btn {
  width: 32px;
  height: 100%;
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.qty-val {
  width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.AddToCart {
  border-radius: 100px !important;
  background: #E8521A !important;
  border: none !important;
  font-weight: 600 !important;
}
