.menu-item:hover .item-image {
  transform: scale(1.05);
}
.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.copy-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 8px;
}
.copy-tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}
.food-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}
@media (max-width: 768px) {
  /* .food-image-container {
    width: 100%;
    height: 200px;
  } */
  .food-right-section {
    width: 100%;
    text-align: center;
    margin-top: 16px;
    margin-right: 15px;
  }
}

/* Submenu styles */
.submenu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
  padding: 8px 0;
}
.submenu a {
  color: #ea580c;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}
.submenu a:hover,
.submenu a.active {
  background-color: #f1f1f1;
}
.nav-item:hover .submenu,
.nav-item.active .submenu {
  display: block;
}
/* Image border */
.food-image {
  border: 2px solid #fde68a;
  /* box-shadow: 10px 10px #fde68a; */
  border-radius: inherit;
}

/* Nav background */
.nav-background {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.9) 0%,
    rgba(234, 88, 12, 0.8) 100%
  );
  backdrop-filter: blur(5px);
}
/* Navigation Icon Styles */
.nav-icon-bg {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-icon-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.nav-icon-bg:hover::before {
  opacity: 0.3;
}

.nav-icon-bg i {
  position: relative;
  z-index: 1;
  color: white;
}

/* Specific background images for each nav item */
.nav-link[href="#burger"] .nav-icon-bg:hover::before {
  background-image: url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1599&q=80");
}

.nav-link[href="#pizza"] .nav-icon-bg:hover::before {
  background-image: url("https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1581&q=80");
}

.nav-link[href="#breakfast"] .nav-icon-bg:hover::before {
  background-image: url("https://images.unsplash.com/photo-1559496417-e7f25cb247f3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1364&q=80");
}

.nav-link[href="#lunch"] .nav-icon-bg:hover::before {
  background-image: url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1480&q=80");
}

.nav-link[href="#dinner"] .nav-icon-bg:hover::before {
  background-image: url("https://images.unsplash.com/photo-1551504734-5ee1c4a1479b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80");
}

.nav-link[href="#juice"] .nav-icon-bg:hover::before {
  background-image: url("https://images.unsplash.com/photo-1603569283847-aa295f0d016a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1587&q=80");
}

.nav-link[href="#drinks"] .nav-icon-bg:hover::before {
  background-image: url("https://images.unsplash.com/photo-1554866585-cd94860890b7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1530&q=80");
}

/* Submenu icons */
.submenu a i {
  width: 20px;
  text-align: center;
}
/* Neon text animation */
.neon-text {
  animation: neon 1.5s ease-in-out infinite alternate, bounce 2s;
}

@keyframes neon {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff5e0e, 0 0 20px #ff5e0e;
  }
  to {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff5e0e,
      0 0 40px #ff5e0e;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Nav item hover effect */
.nav-link {
  position: relative;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-item.active {
  background: rgba(255, 255, 255, 0.2);
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fde68a;
  transition: all 0.3s ease;
}

.nav-link:hover:after {
  width: 80%;
  left: 10%;
}

/* Typewriter effect */
.typewriter-container {
  display: inline-block;
  position: relative;
}

.typewriter-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #fde68a;
  animation: type-writer 4s steps(10) infinite;
}

/* Logo styling */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cafe-logo {
  width: 50px;
  height: 50px;
  /* margin-right: 0; */
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(234, 88, 12, 0.7));
}

/* Mobile menu button */
.mobile-menu-button {
  display: none;
  background: #1e3a8a;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 50;
  transition: all 0.3s ease;
}

.mobile-menu-button:hover {
  background: #1a3176;
  transform: scale(1.05);
}

/* Drawer styles */
.drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.98) 0%,
    rgba(234, 88, 12, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding-top: 70px;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
}

.drawer.open {
  left: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer .nav-link {
  display: block;
  padding: 15px 25px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  transition: all 0.3s ease;
}

.drawer .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 30px;
}

.drawer .nav-icon-bg {
  display: inline-flex;
  margin-right: 15px;
  background-color: rgba(255, 255, 255, 0.3);
}

.drawer .submenu {
  position: static;
  display: none;
  background: transparent;
  box-shadow: none;
  padding-left: 30px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer .submenu a {
  color: #fde68a;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: none;
}

.drawer .submenu a:hover,
.drawer .submenu a.active {
  background: transparent;
  border-bottom: 2px solid orange;
  color: white;
}

.drawer .submenu.open {
  display: block;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.drawer-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-header img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.drawer-header h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Caret rotation */
.rotate-180 {
  transform: rotate(180deg);
}

/* Ensure smooth rotation for caret */
.fa-caret-down {
  transition: transform 0.3s ease;
}

/* Make sure submenu links in drawer work like regular nav links */
.drawer .submenu a {
  padding-left: 60px !important;
}

/* Right-aligned caret */
.nav-link.justify-between {
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    position: fixed;
    top: 30px;
    left: 10px;
  }
}

/* Food card right section */
.food-right-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 150px;
}

.food-image-container {
  width: 150px;
  height: 150px;
  /* border-radius: 50%; */
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 7.5px -7.5px #ea580c;
}

.food-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ea580c;
  margin-bottom: 8px;
}

.food-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}
.food-badge.chicken {
  background-color: #ea580c;
}
/* Search bar styles */
.search-container {
  position: absolute;
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: -20px auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .search-container {
    position: static;
    margin: 20px auto 0;
  }
}
/* Tobe removed 1 */
/* Add these animations to your CSS file */
@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.food-card {
 
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.food-card.animate-left {
  animation: slideInFromLeft 0.6s ease-out forwards;
}

.food-card.animate-right {
  animation: slideInFromRight 0.6s ease-out forwards;
}

/* tobe remooved 1 closed */

/* tobeb removed 2 st */

/* Add to your CSS */
.slider-indicator.active {
  background-color: #ea580c;
  background-opacity: 1;
  transform: scale(1.2);
}
/* tobe rmv 2 cls */

.search-input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #fde68a;
  border-radius: 30px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
  border-color: #ea580c;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.3);
}

.search-input::placeholder {
  color: #999;
}

.no-results {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #666;
}
/* tobe remove 3 promo st */

/* Triangle clip paths */
.clip-left-triangle {
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.clip-right-triangle {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* Simple infinite slide animations */
@keyframes slideLeft {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
}
@keyframes slideRight {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.animate-slide-left {
  animation: slideLeft 5s infinite ease-in-out;
}
.animate-slide-right {
  animation: slideRight 5s infinite ease-in-out;
}

/* tobe remove 3 promo cls */



@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* This triggers the animation */
.animate-left.animated {
  animation: slideInFromLeft 0.6s ease-out forwards;
}
