* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #000;
  display: flex;
  justify-content: center;
}

/* APP */
.app {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  color: #fff;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.brand h1 {
  font-size: 22px;
}

.brand p {
  font-size: 12px;
  opacity: .7;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 12px;
}

.icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.icon:hover {
  transform: scale(1.1);
}

.insta {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af);
}

.fb {
  background: #1877f2;
}

/* SEARCH */
.search-box {
  position: relative;
  margin-bottom: 22px;
}

.search-box input {
  width: 100%;
  padding: 16px 22px 16px 48px;
  border-radius: 40px;
  border: none;
  background: #2a2a2a;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .6;
}

/* ANIMATED BACKGROUND */
.menu-bg {
  padding: 18px 0 26px;
  background: linear-gradient(120deg,#0b0b0b,#1a1208,#0b0b0b);
  background-size: 300% 300%;
  animation: gradientMove 8s ease-in-out infinite;
  border-radius: 22px;
  margin-bottom: 26px;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* CATEGORIES */
.categories {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 10px;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category {
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all .35s ease;
}

.category:hover {
  transform: translateY(-2px);
}

.category.active {
  background: #f5a623;
  color: #000;
  box-shadow: 0 0 20px rgba(245,166,35,.6);
  transform: scale(1.05);
}

/* SPECIAL CARD */
.special {
  background: linear-gradient(120deg,#4a3515,#120c05);
  border-radius: 26px;
  padding: 30px;
  animation: fadeUp .8s ease;
}

.tag {
  color: #f5a623;
  font-size: 13px;
}

.special h2 {
  font-size: 34px;
  margin: 10px 0;
}

.special p {
  opacity: .8;
}

.food-icons {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.food-icons img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.price-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.old {
  text-decoration: line-through;
  opacity: .6;
}

.price {
  font-size: 36px;
  color: #f5a623;
  font-weight: bold;
}

.save {
  background: #f5a623;
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

/* ANIMATION */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 768px) {
  .special h2 { font-size: 26px; }
  .price { font-size: 30px; }
}

.menu-section {
  margin-top: 40px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 20px;
}

/* GRID */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD */
.dish-card {
  background: linear-gradient(180deg,#1c1c1c,#121212);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(245,166,35,0.25);
}

/* IMAGE BOX (SQUARE) */
.img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* SQUARE */
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* AUTO CROP */
}

/* BADGE */
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #f5a623;
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* VEG DOT */
.veg-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #1db954;
}

.veg-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #1db954;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* INFO */
.dish-info {
  padding: 18px;
}

.dish-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.dish-info p {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 12px;
}

.price {
  color: #f5a623;
  font-size: 20px;
  font-weight: 600;
}

/* MOBILE – 2 ITEMS PER ROW */
@media (max-width: 768px) {
  .dish-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .section-title {
    font-size: 22px;
  }
}

.nonveg-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #e63946;
}

.nonveg-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #e63946;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-title {
  display: none;
}

/* NO RESULT */
.no-result {
  display: none;
  text-align: center;
  margin: 40px 0;
  font-size: 18px;
  color: #aaa;
}

/* SEARCH HIGHLIGHT */
mark {
  background: #f5a623;
  color: #000;
  padding: 2px 4px;
  border-radius: 4px;
}

/* SECTION GAP CONTROL */
.menu-section {
  margin-top: 20px;   /* pehle zyada hoga */
  margin-bottom: 20px;
}

/* TITLE GAP REDUCE */
.section-title {
  margin-bottom: 16px;
}

/* GRID GAP BALANCE */
.dish-grid {
  gap: 16px; /* pehle 24px/30px hoga */
}

/* EMPTY SECTION HEIGHT FIX (IMPORTANT) */
.menu-section:has(.dish-card[style*="display: none"]) {
  margin-bottom: 0;
}

.footer {
  background: linear-gradient(120deg, #0b0b0b, #1a1208);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  border-radius: 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* LEFT */
.footer-left {
  flex: 1;
  text-align: left;
}

/* CENTER */
.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #f5a623;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(245,166,35,0.6);
}

/* RIGHT */
.footer-right {
  flex: 1;
  text-align: right;
}

.footer-right a {
  color: #f5a623;
  text-decoration: none;
  font-weight: 500;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
}
