:root {
  --nav-height: 70px;
  --nav-bg: #ffffff;
  --nav-bg-scrolled: #ffffff;
  --nav-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --nav-text: #ffffff;
  --nav-text-hover: #4a6cf7;
  --nav-transition: all 0.3s ease;
  --nav-logo-size: 1.5rem;
  --nav-active-indicator: 2px solid #4a6cf7
}


/* Navbar */
.sticky-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: transparent;
  transition: var(--nav-transition);
  z-index: 1000;
}

.sticky-nav.scrolled {
  background-color: var(--nav-bg-scrolled);
  box-shadow: var(--nav-shadow);
}

.sticky-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-nav-logo {
  display: flex;
  align-items: center;
  font-size: var(--nav-logo-size);
  font-weight: 700;
  color: var(--nav-text);
}

.sticky-nav-logo i {
  margin-right: 0.5rem;
  color: var(--nav-text-hover);
}

.sticky-nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sticky-nav-menu li {
  margin: 0 1rem;
}

.sticky-nav-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--nav-transition);
}

.sticky-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--nav-text-hover);
  transition: var(--nav-transition);
}

.sticky-nav-menu a:hover {
  color: var(--nav-text-hover);
}

.sticky-nav-menu a:hover::after,
.sticky-nav-menu a.active::after {
  width: 100%;
}

.sticky-nav-menu a.active {
  color: var(--nav-text-hover);
}

.sticky-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--nav-text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--nav-transition);
}

.sticky-nav-toggle:hover {
  color: var(--nav-text-hover);
}

.banner-overlay,
.filters,
.menu-item {
  text-align: center
}

.banner,
.footer-circle,
.menu-item,
.typing-text {
  overflow: hidden
}

.banner-overlay,
.toast {
  transform: translateX(-50%)
}


#menu-container,
.menu-item button,
.menu-item h3 {
  display: flex;
  display: flex
}

.banner {
  position: relative;
  height: 70vh;
  max-height: 500px
}

.bannerimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.banner-overlay {
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: 2
}

.typing-text {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  border-right: 3px solid #3498db;
  animation: 3s steps(20) forwards typing, .5s step-end 6 alternate blink;
  margin-bottom: 1rem
}

@keyframes typing {
  0% {
    width: 0
  }

  100% {
    width: 100%
  }
}

@keyframes blink {
  50% {
    border-color: transparent
  }
}

.glowing-button {
  padding: 12px 24px;
  background: 0 0;
  color: #0ef;
  border: 2px solid #0ef;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 5px #0ef, 0 0 10px #0ef;
  transition: .3s
}

.glowing-button:hover {
  background: #0ef;
  color: #000;
  box-shadow: 0 0 10px #0ef, 0 0 20px #0ef, 0 0 40px #0ef
}

.filters button,
.filters select {
  margin-right: 10px;
  padding: 8px 12px
}

.favorite-icon {
  font-size: 18px;
  margin-left: 10px;
  color: #999;
  cursor: pointer
}

.favorite-icon.fas.active {
  color: gold
}

.favorite-icon:hover {
  color: #fc0
}

.fav-badge {
  background: red;
  color: #fff;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 12px;
  margin-left: 6px
}

#menu-container {
  flex-wrap: wrap;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px
}

.menu-item {
  border: 1px solid #ccc;
  width: 240px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  cursor: pointer;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  position: relative
}

.menu-item img {
  max-width: 100%;
  border-radius: 8px;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .3s
}

.menu-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
  box-shadow: 0 12px 25px rgba(0, 0, 0, .15);
  transform: translateY(-6px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .15)
}

.menu-item:hover img {
  transform: scale(1.05)
}

.menu-item h3 {
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin: 12px 0 4px;
  color: #333
}

.menu-item .favorite-icon {
  font-size: 1.1rem;
  cursor: pointer;
  transition: color .2s
}

.menu-item button {
  background: #28a745;
  align-items: center;
  justify-content: center
}

.menu-item button:hover {
  background: #218838;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(74, 108, 247, .6)
}

.cart-sidebar {
  backdrop-filter: blur(10px);
  border-left: 1px solid #ccc;
  box-shadow: -2px 0 12px rgba(0, 0, 0, .1);
  bottom: 0
}

.cart-footer {
  position: sticky;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, .08)
}

.checkout-btn {
  font-size: 1rem
}

.food-name,
.food-price {
  color: #e67e22;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
  font-weight: 700
}

.food-name:hover,
.food-price:hover {
  color: #f39c12;
  cursor: pointer;
  transition: .3s
}

.food-price {
  background: #ffc107;
  padding: 4px 10px;
  border-radius: 12px
}

.menu-item p {
  font-size: 16px;
  margin: 0;
  color: #555;
  font-weight: 700
}

.menu-item span {
  display: inline-block;
  margin: 10px 0 15px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  background-color: #eee;
  color: #666;
  font-weight: 600
}

.filters button,
.filters select {
  font-size: 14px;
  transition: .3s;
  cursor: pointer
}

.menu-item[data-type=veg] span::before {
  content: "🌱 "
}

.menu-item[data-type=non-veg] span::before {
  content: "🍗 "
}

.menu-item[data-type=drinks] span::before {
  content: "🍹 "
}

.menu-item[data-type=dessert] span::before {
  content: "🍰 "
}

.filters {
  margin: 40px 0 20px
}

.filters button {
  background-color: #f5f5f5;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  margin: 0 5px 10px;
  font-weight: 600
}

.filters button.active,
.filters button:hover {
  background-color: #4a6cf7;
  color: #fff
}

.filters select {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: 0
}

.menu-item.skeleton {
  background: linear-gradient(-90deg, #f0f0f0 0, #e6e6e6 50%, #f0f0f0 100%);
  background-size: 400% 400%;
  animation: 1.2s ease-in-out infinite shimmer
}

.menu-item.skeleton h3,
.menu-item.skeleton img,
.menu-item.skeleton p,
.menu-item.skeleton span {
  background-color: transparent;
  color: transparent
}

@keyframes shimmer {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .sticky-nav-menu {
    flex-direction: column;
    align-items: center;
    background-color: var(--nav-bg);
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: all 0.3s ease;
  }

  .sticky-nav-menu.mobile-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .sticky-nav-menu ul {
    flex-direction: column;
    align-items: center;
  }
 .sticky-nav-menu a,
.sticky-nav-toggle {
  color: black;
  transition: var(--nav-transition)
}

  .sticky-nav-menu li {
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .sticky-nav-toggle {
    display: block;
  }

  .typing-text {
    font-size: 18px;
  }

  .typing-text1 {
    font-size: 20px;
    width: 20ch;
  }

  .glowing-button {
    font-size: 16px;
  }

  .banner {
    width: 100%;
    height: 45vh;
  }

  .story-txt {
    font-size: 22px;
  }
}

@media (min-width:769px) and (max-width:1024px) {
  .menu-item {
    width: 45%
  }
}


  .menu-item {
    background-color: #1e1e1e;
    box-shadow: 0 4px 12px rgba(255, 255, 255, .05)
  }

  .menu-item h3,
  .menu-item p {
    color: #eee
  }

  .menu-item span {
    background-color: #333;
    color: #aaa
  }

  .filters button,
  .filters select {
    background-color: #333;
    color: #eee
  }

  .filters button.active,
  .filters button:hover {
    background-color: #4a6cf7;
    color: #fff
  }

  .filters select {
    border: 1px solid #444
  }


.price-range-wrapper {
  margin: 10px 0;
  text-align: center
}

#priceRange {
  width: 40%;
  margin-top: 10px
}

#search {
  display: block;
  margin: 0 auto 20px;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 80%;
  max-width: 400px
}

.cart-sidebar {
  box-shadow: -2px 0 10px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
  padding: 20px
}

#cartSidebar {
  padding-bottom: 100px
}

.cart-sidebar.active {
  right: 0;
  transform: translateX(0)
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.cart-header h2 {
  font-size: 20px;
  margin: 0
}

.close-cart {
  background: 0 0;
  border: none;
  font-size: 24px;
  cursor: pointer
}

.cart-items {
  flex: 1;
  margin-top: 20px
}

.cart-items p {
  font-size: 16px;
  margin: 5px 0
}

.cart-footer,
.summary-footer {
  text-align: right
}

.checkout-btn {
  background: #4a6cf7
}

.checkout-btn:hover {
  background: #3a57d1
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px
}

.cart-item p {
  margin: 0;
  flex: 1
}

.cart-actions {
  display: flex;
  gap: 5px;
  align-items: center
}

.cart-actions button {
  padding: 4px 8px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer
}

.qty-btn {
  background-color: #f0f0f0
}

.remove-btn {
  background-color: #ff4d4d;
  color: #fff
}

.remove-btn:hover {
  background-color: #d11a2a
}

.cart-icon {
  margin-right: 6px
}

#cartTotal.animated {
  animation: .4s ease-in-out pulsePrice;
  color: #27ae60;
  font-weight: 700
}

@keyframes pulsePrice {

  0%,
  100% {
    transform: scale(1);
    color: #000
  }

  50% {
    transform: scale(1.2);
    color: #27ae60
  }
}

.menu-item button {
  margin-top: 8px;
  padding: 8px 14px;
  background-color: #4a6cf7;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .3s
}

.menu-item button.clicked {
  animation: .3s cartClick
}

@keyframes cartClick {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.2)
  }
}

.menu-item {
  background: #fff;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08)
}

.footer-section {
  background: #0c2c27;
  color: #fff;
  text-align: center;
  padding: 50px 20px
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center
}

.footer-circle {
  width: 200px;
  height: 200px;
  border: 2px solid gold;
  border-radius: 50%;
  margin: 20px
}

.footer-img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.footer-center {
  max-width: 500px
}

.footer-logo {
  font-size: 24px;
  margin-bottom: 20px
}

.footer-newsletter form {
  display: flex;
  justify-content: center;
  margin-top: 10px
}

.footer-newsletter input {
  padding: 10px;
  border: none;
  width: 60%
}

.footer-newsletter button {
  background: #f4b41a;
  color: #000;
  border: none;
  padding: 10px 20px
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 14px
}

#orderSummaryItems,
.summary-footer {
  margin-top: 20px
}

.close-summary,
.dark-toggle {
  font-size: 24px;
  cursor: pointer
}

.footer-social a {
  margin: 0 10px;
  color: #f4b41a;
  font-size: 18px
}

.footer-map iframe {
  width: 100%;
  max-width: 100%;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3)
}


.order-summary,
.toast {
  position: fixed;
  left: 50%
}

.dark-toggle:hover {
  background: #444
}

.toast {
  bottom: 30px;
  background-color: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  opacity: 0;
  transition: opacity .3s ease-in-out;
  z-index: 9999
}

.toast.show {
  opacity: 1
}

.hidden,
.order-summary-modal.hidden,
.order-summary.hidden,
.toast.hidden {
  display: none
}

.order-summary-modal {
  display: flex;
  align-items: center;
  justify-content: center
}

.order-summary-content {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2)
}

.order-summary-content p {
  font-size: 16px;
  margin-bottom: 8px
}

.summary-footer button {
  margin-top: 10px
}

.order-summary {
  bottom: 0;
  right: 0;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, .1);
  max-height: 60vh;
  overflow-y: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #333;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
  z-index: 9999;
  display: none
}

.order-summary.show {
  display: block
}

.order-summary button {
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px;
  background: #4caf50;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 6px
}

.order-summary button:nth-child(3) {
  background: #e74c3c
}

.order-summary-modal {
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center
}

.order-summary-content {
  background: #fff;
  position: relative
}

.close-summary {
  position: absolute;
  right: 10px;
  top: 10px
}

.show {
  display: flex
}

.order-summary-modal {
  background-color: rgba(0, 0, 0, .4);
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto
}

.order-summary-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: #333
}

body.dark-mode .order-summary-content {
  background-color: #1e1e1e;
  color: #f1f1f1
}

.order-success {
  text-align: center;
  padding: 20px;
  animation: .6s ease-in-out fadeIn
}

.order-success i {
  font-size: 60px;
  color: #27ae60;
  animation: .6s ease-in-out pop
}

.order-success p {
  font-size: 20px;
  color: #27ae60;
  margin-top: 10px;
  font-weight: 700
}

@keyframes pop {
  0% {
    transform: scale(0);
    opacity: 0
  }

  60% {
    transform: scale(1.2);
    opacity: 1
  }

  100% {
    transform: scale(1)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (max-width:768px) {
  .filters {
    background: #fff;
    padding: 10px;
    position: static !important;
    top: auto !important;
    z-index: auto !important
  }
}

.cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, .2);
  transform: translateX(100%);
  transition: transform .3s ease-in-out;
  display: flex;
  flex-direction: column;
  z-index: 999
}

.cart-footer,
.cart-header {
  position: sticky;
  z-index: 1
}

.cart-header {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
  background: #f8f8f8;
  top: 0
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px
}

.cart-footer {
  padding: 15px;
  border-top: 1px solid #ddd;
  background: #fff;
  bottom: 0
}

.checkout-btn {
  width: 100%;
  padding: 10px;
  background-color: #27ae60;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer
}

.checkout-btn:hover {
  background-color: #219150
}