*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #e63946;
  --green: #2d6a4f;
  --gold: #f4a261;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: #f5f5f5; color: var(--dark); }

/* NAVBAR */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.navbar {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.flag { font-size: 2.2rem; }
.brand { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); font-family: 'Playfair Display', serif; }
.since { display: block; font-size: 0.75rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.nav-right { display: flex; gap: 12px; align-items: center; }
.call-btn {
  background: transparent; border: 2px solid var(--gold); color: var(--gold);
  padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: all 0.3s;
}
.call-btn:hover { background: var(--gold); color: var(--dark); }
.cart-btn {
  background: var(--red); color: var(--white); border: none;
  padding: 10px 22px; border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s; position: relative;
}
.cart-btn:hover { background: #c1121f; transform: scale(1.05); }
.cart-count {
  background: var(--gold); color: var(--dark); border-radius: 50%;
  padding: 2px 7px; font-size: 0.75rem; font-weight: 700; margin-left: 6px;
}

/* HERO CONTENT */
.hero-content {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px; position: relative; z-index: 5;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white); line-height: 1.1; margin-bottom: 16px;
}
.hero-content p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.hero-badges span {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  padding: 8px 18px; border-radius: 50px; font-size: 0.9rem; font-weight: 500;
}
.order-now-btn {
  background: linear-gradient(135deg, var(--red), #c1121f);
  color: var(--white); text-decoration: none; padding: 16px 48px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 8px 32px rgba(230,57,70,0.4); transition: all 0.3s;
  letter-spacing: 0.5px;
}
.order-now-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(230,57,70,0.5); }

/* CATEGORY BAR */
.category-bar {
  background: var(--white); position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 0 20px;
}
.categories {
  display: flex; gap: 4px; overflow-x: auto; padding: 12px 0;
  scrollbar-width: none; max-width: 1200px; margin: 0 auto;
  justify-content: center; flex-wrap: wrap;
}
.categories::-webkit-scrollbar { display: none; }
.cat-btn {
  background: transparent; border: 2px solid #e9ecef; color: #666;
  padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: all 0.25s; font-family: 'Poppins', sans-serif;
}
.cat-btn:hover { border-color: var(--red); color: var(--red); }
.cat-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* MENU */
.menu-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px; }

.menu-section { margin-bottom: 50px; }
.section-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.section-icon { font-size: 2rem; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--dark);
}
.section-line { flex: 1; height: 2px; background: linear-gradient(to right, var(--red), transparent); }

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
}

@media (min-width: 769px) {
  .items-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    justify-content: center;
  }
}

/* ITEM CARD */
.item-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  width: 100%;
}
.item-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.item-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0f0f0;
}
.item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.item-card:hover .item-img { transform: scale(1.06); }
.item-emoji {
  background: linear-gradient(135deg, #fff5f5, #fff0e6);
  font-size: 3.5rem; text-align: center; padding: 24px;
}
.item-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.item-name { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.item-desc { font-size: 0.78rem; color: #888; margin-bottom: 12px; line-height: 1.5; flex: 1; }
.item-footer { display: flex; align-items: center; justify-content: space-between; }
.item-price { font-size: 1.1rem; font-weight: 800; color: var(--red); }

/* SIZE SELECTOR */
.size-selector { display: flex; gap: 6px; margin-bottom: 12px; }
.size-btn {
  border: 2px solid #e9ecef; background: transparent; color: #666;
  padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: 'Poppins', sans-serif;
}
.size-btn.selected { border-color: var(--red); background: var(--red); color: var(--white); }

.add-btn {
  background: var(--red); color: var(--white); border: none;
  width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.add-btn:hover { background: #c1121f; transform: scale(1.1); }

.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  background: #f0f0f0; border: none; width: 30px; height: 30px;
  border-radius: 50%; font-size: 1rem; cursor: pointer; font-weight: 700;
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--red); color: var(--white); }
.qty-num { font-weight: 700; font-size: 1rem; min-width: 20px; text-align: center; }

/* PARTY PACK */
.party-card {
  background: linear-gradient(135deg, var(--dark), #16213e);
  border-radius: var(--radius); padding: 30px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.party-info h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 8px; }
.party-info p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 4px; }
.party-price { text-align: center; }
.party-old { font-size: 1.1rem; color: rgba(255,255,255,0.4); text-decoration: line-through; }
.party-new { font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.party-add-btn {
  background: var(--gold); color: var(--dark); border: none;
  padding: 12px 28px; border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s; font-family: 'Poppins', sans-serif;
}
.party-add-btn:hover { transform: scale(1.05); }

/* CART SIDEBAR */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; right: -420px; top: 0; bottom: 0; width: 400px;
  background: var(--white); z-index: 201; box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  display: flex; flex-direction: column; transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid #f0f0f0;
}
.cart-header h2 { font-size: 1.3rem; font-weight: 700; }
.close-cart {
  background: #f0f0f0; border: none; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; font-weight: 700;
}
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; min-height: 0; }
.empty-cart { text-align: center; padding: 60px 20px; color: #aaa; }
.empty-cart span { font-size: 3rem; display: block; margin-bottom: 12px; }
.empty-cart p { font-size: 1rem; font-weight: 600; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #f5f5f5;
}
.cart-item-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; }
.cart-item-size { font-size: 0.75rem; color: #888; }
.cart-item-price { font-size: 0.95rem; font-weight: 700; color: var(--red); }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.cart-qty-btn {
  background: #f0f0f0; border: none; width: 26px; height: 26px;
  border-radius: 50%; cursor: pointer; font-weight: 700; font-size: 0.9rem;
}
.cart-qty-btn:hover { background: var(--red); color: var(--white); }

.cart-footer { padding: 16px 24px; border-top: 1px solid #f0f0f0; overflow-y: auto; max-height: 55vh; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.95rem; }
.cart-total.delivery { color: var(--green); font-weight: 600; }
.cart-total.grand { font-size: 1.1rem; font-weight: 800; border-top: 2px solid #f0f0f0; padding-top: 10px; margin-top: 4px; }
.place-order-btn {
  width: 100%; background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white); border: none; padding: 16px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 16px;
  transition: all 0.3s; font-family: 'Poppins', sans-serif;
}
.place-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.or-call { text-align: center; margin-top: 10px; font-size: 0.85rem; color: #888; }
.or-call a { color: var(--red); font-weight: 600; text-decoration: none; }

/* FOOTER */
.footer { background: var(--dark); color: var(--white); padding: 40px 20px 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { font-size: 1.2rem; font-family: 'Playfair Display', serif; }
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-contact p { margin-bottom: 6px; font-size: 0.9rem; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-copy { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; max-width: 1200px; margin: 0 auto; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { padding: 14px 16px; }
  .brand { font-size: 1.1rem; }
  .flag { font-size: 1.8rem; }
  .cart-sidebar { width: 100%; right: -100%; }
  .items-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .party-card { flex-direction: column; text-align: center; }
  .call-btn { display: none; }
}

@media (max-width: 480px) {
  /* HERO */
  .hero { min-height: 92vh; }
  .navbar { padding: 12px 16px; }
  .hero-content { padding: 24px 16px 40px; }
  .hero-content h1 { font-size: 2.2rem; margin-bottom: 10px; }
  .hero-content p { font-size: 0.95rem; margin-bottom: 20px; }
  .hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
  }
  .hero-badges span { font-size: 0.78rem; padding: 6px 12px; }
  .order-now-btn { padding: 14px 36px; font-size: 1rem; }

  /* CATEGORY BAR */
  .category-bar { padding: 0 12px; }
  .cat-btn { padding: 7px 14px; font-size: 0.8rem; }

  /* MENU */
  .menu-container { padding: 24px 12px 100px; }
  .section-title { font-size: 1.4rem; }
  .section-icon { font-size: 1.6rem; }
  .items-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ITEM CARD - compact 2-col on mobile */
  .item-img-wrap { height: 120px; }
  .item-emoji { font-size: 2.4rem; padding: 16px 10px; }
  .item-body { padding: 10px; }
  .item-name { font-size: 0.85rem; }
  .item-desc { font-size: 0.72rem; margin-bottom: 8px; }
  .item-price { font-size: 0.95rem; }
  .add-btn { width: 30px; height: 30px; font-size: 1.1rem; }
  .size-btn { padding: 3px 7px; font-size: 0.68rem; }

  /* PARTY CARD */
  .party-card { padding: 20px 16px; gap: 14px; }
  .party-info h3 { font-size: 1.2rem; }
  .party-new { font-size: 2rem; }

  /* CART SIDEBAR */
  .cart-header { padding: 16px 18px; }
  .cart-items { padding: 12px 16px; }
  .cart-footer { padding: 12px 16px; }
  .cart-item-emoji { font-size: 1.4rem; }
  .cart-item-name { font-size: 0.85rem; }
  .place-order-btn { padding: 14px; font-size: 0.95rem; }

  /* STICKY CART BAR at bottom when cart has items */
  .sticky-cart-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--dark);
    padding: 12px 16px;
    z-index: 150;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  }
  .sticky-cart-bar .scb-info { color: #fff; font-size: 0.85rem; }
  .sticky-cart-bar .scb-info span { color: var(--gold); font-weight: 700; }
  .sticky-cart-bar .scb-btn {
    background: var(--red); color: #fff; border: none;
    padding: 10px 20px; border-radius: 50px; font-weight: 700;
    font-size: 0.9rem; cursor: pointer; font-family: 'Poppins', sans-serif;
  }

  /* FOOTER */
  .footer { padding: 28px 16px 80px; }
  .footer-content { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* FLOAT CALL - move up so it doesn't overlap sticky bar */
  .float-call-btn { bottom: 80px; right: 16px; width: 50px; height: 50px; font-size: 1.2rem; }
}

/* Customer fields in cart */
.customer-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: 12px;
}
.customer-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  background: #f9f9f9;
  color: #1a1a2e;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  box-sizing: border-box;
  transition: border 0.2s;
}
.customer-input::placeholder { color: #aaa; }
.customer-input:focus { border-color: var(--red); background: #fff; }

/* Floating call button - all views */
.float-call-btn {
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  font-size: 1.4rem;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 300;
  transition: transform 0.2s;
}
.float-call-btn:hover { transform: scale(1.1); }

@media (max-width: 768px) {
  .call-btn { display: none; }
}

/* Detect location button */
.detect-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Location detect button */
.location-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 2px dashed #e63946;
  background: #fff5f5;
  color: #e63946;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
  text-align: center;
}
.location-btn:hover { background: #ffe0e0; }
.location-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.location-status {
  font-size: 0.8rem;
  color: #555;
  padding: 4px 2px;
  line-height: 1.5;
}

/* Scroll to top - left floating button */
.float-top-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 300;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: all 0.2s;
  align-items: center;
  justify-content: center;
}
.float-top-btn:hover { background: var(--red); transform: scale(1.1); }
.float-top-btn.visible { display: flex; }

/* ANNOUNCEMENT BAR */
.announce-bar {
  background: linear-gradient(90deg, var(--red), #c1121f);
  color: #fff;
  padding: 9px 0;
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}
.announce-track {
  display: inline-block;
  animation: marquee 22s linear infinite;
}
.announce-track span { display: inline-block; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (min-width: 769px) {
  .announce-bar { text-align: center; }
  .announce-track { animation: none; }
  .announce-track span:last-child { display: none; }
}

/* HERO TAG */
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

/* HERO STATS */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 20px 36px;
  position: relative;
  z-index: 5;
  flex-wrap: wrap;
  gap: 8px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* ITEM BADGE */
.item-emoji { position: relative; }
.item-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-bestseller { background: var(--gold); color: var(--dark); }
.badge-spicy { background: var(--red); color: #fff; }
.badge-chef-special { background: #7b2d8b; color: #fff; }

/* VEG DOT */
.veg-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 2px solid #2d6a4f;
  background: #fff;
}
.veg-dot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d6a4f;
  margin: 2px auto;
}

/* FOOTER IMPROVEMENTS */
.footer-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-col { min-width: 140px; }
.footer-heading {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col p { margin-bottom: 5px; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }

@media (max-width: 480px) {
  .announce-bar { font-size: 0.72rem; padding: 8px 12px; }
  .categories { justify-content: flex-start; flex-wrap: nowrap; }
  .hero-stats { gap: 4px; padding-bottom: 28px; }
  .stat { padding: 0 12px; }
  .stat-num { font-size: 1.1rem; }
  .stat-divider { height: 28px; }
  .footer-info { gap: 20px; }
  .footer-col { min-width: 120px; }
}

/* Hero badge buttons */
.hero-badge-btn {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
}
.hero-badge-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
