#menuHeroSection {
  display: flex;
  justify-content: center;
  align-items:start; 
  height: 90vh;
  background-image: url(/assets/menu-header0img.webp);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: left;
  width: 100%;
  gap: 20%;

  /* padding-left: 5%;  */
}
:root {
  --main-color: #991C22;
  --secondary-color: #FFD812;
}
body{
    overflow-x: hidden !important;
}
body::-webkit-scrollbar:horizontal {
  height: 1px !important;
}
body::-webkit-scrollbar-track:horizontal {
  background: transparent !important;
}
body::-webkit-scrollbar-thumb:horizontal {
  background: transparent !important; 
}

.MenuheroContentWrapper{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.menuImg{
  margin-top: 5%;
}
.MenuheroTitle{
  margin-top: 15%;
  margin-right: 10%;
}
.logo{
  width: 65px;
  height: auto;
  margin-right: 20px;
}
.imageWrapper {
  position: relative;
}

.menuImg {
  
  position: relative;
  z-index: 1;
}

.animated-img {
  position: absolute;
  z-index: 10000;
  left: 0; 
  top: 50%;
  transform: translateY(-70%);
  width: 300px; 
  offset-path: path(
    "M 0 50 A 150 150 0 0 1 200 50 A 170 170 0 0 1 200 300    "
  );
  offset-rotate: auto;

  animation: fullMotion 7s ease-in-out infinite;
  opacity: 0; 
}

/* Add animation delays for each image */
.img-1 {
  animation-delay: 0s; /* Starts immediately */
}

.img-2 {
  animation-delay: 5s; /* Starts after the first finishes its phase */
}

.img-3 {
  animation-delay: 10s; /* Starts after the second finishes its phase */
}

.img-4 {
  animation-delay: 10s; /* Starts after the third finishes its phase */
}


@keyframes fullMotion {
  0% {
    offset-distance: 0%;
    opacity: 1; 
    transform: translateY(-70%) rotate(-45deg)
  }
  
  
  50% {
    offset-distance: 50%;
    opacity: 1; 
    transform: translateY(-70%) rotate(-35deg)

  }
  80% {
    offset-distance: 100%;
    opacity: 0; 
    transform: translateY(-70%) rotate(-5deg)

  }
}
#menuSection{
  z-index: 100000 !important;
  position: relative;
}
@media screen and (max-width: 768px) {
  .animated-img{
    offset-path: path("M 0 50 A 80 80 0 0 1 100 50 A 90 90 0 0 1 100 140") !important;
  }
  #header {
    align-items:center;
    height: fit-content;
    padding: 15px 20px;
    position: sticky !important;
  }

  .topnav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav .icon {
    display: block;
    align-self: flex-end;
    margin-bottom: 10px;
    margin: auto 0;
  }

  .topnav .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #991C22;
    padding: 10px 0;
  }

  .topnav .nav-links.show {
    display: flex;
  }

  .topnav .nav-links a {
    padding: 12px 20px;
    width: 100%;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  nav a:hover span{
    opacity: 0 !important;
  }
  .tabliye-content{
    height: auto !important;
  }
  body{
    overflow-x: hidden !important;
  }
  .menu-item{
  width: 88% !important;
  margin: 0 6% !important;
  }
  .pasta-section{
    margin: 0 !important;
  }
  .burger-section{
    margin: 0 !important;
  }
  .chicken-card{
    width: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  body {
  overflow-x: hidden !important;
}
  .btnWrapper button{
    transform: scale(0.9);
    margin-bottom: 0 !important;
  }
  .btnWrapper{
    margin: 2% 2% !important;
    gap: 1% !important;
  }
  .menu-card{
    width: 85% !important;
  }
  .menu-grid{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .menuImg{
    height: 450px !important;
    left: 0 !important;
    width :95% !important;
  }
  .MenuheroContentWrapper{
    flex-direction: column-reverse !important;
    align-items: center !important;
  }
  .animated-img {
    position: absolute;
    z-index: 10000;
    left: 0; 
    top: 50%;
    transform: translateY(-70%);
    width: 270px; 
    offset-path: path("M 0 50 A 80 80 0 0 1 150 50 A 100 100 0 0 1 150 200");

    offset-rotate: auto;
  
    animation: fullMotion 7s ease-in-out infinite;
    opacity: 0; 
  }
  #menuHeroSection{
    height: 75vh !important;
  }

}

.btnWrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2%;
  margin: 2% 10%;
  z-index: 10000000000;
}
.btnWrapper button{
  margin-bottom: 20px;
}

.menu-item {
  display: none; 
  margin: 10px 0;
}

.show {
  display: block; 
}


.section-title {
  text-align: center;
  font-size: 25px;
  font-weight: 600;
  color: #7f1d1d;
  margin-bottom: 1.5rem;
}
.menu-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.menu-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.menu-img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
}
.menu-content {
  flex: 1;
}
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.menu-name {
  font-size: 18px;
  font-weight: 600;
  color: black;
}
.menu-heart {
  font-size: 12px;
  color: #d1d5db;
  margin-top: 0.25rem;
}
.menu-description {
  font-size: 14px;
  color: #4b5563;
  margin-top: 0.25rem;
}
.menu-description span {
  font-weight: 600;
}
.menu-price {
  font-size: 11px;
  font-weight: 600;
  color: #0a4d23;
  margin-top: 0.25rem;
}
.discount-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #d0f04a;
  color: #3a5a00;
  font-size: 9px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.price-container {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.price-old {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
}
#pizza_sizes{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}


.sizebtn{
  background-color: var(--main-color);
  border: 1px solid transparent;
  /* border-radius: .75rem; */
  box-sizing: border-box;
  color: var(--secondary-color);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5rem;
  padding: .75rem 1.2rem;
  text-align: center;
  text-decoration: none #6B7280 solid;
  user-select: none;
  width: auto;
}

.sizebtn:hover {
  background-color: #4b0f12;
}
.sizebtn.active {
  background-color: #ae1d1d; /* or any color to indicate selection */
  color: white;
  border: 1px solid #ae1d1d;
}
.tooltip-container {
  position: relative;
  display: inline-block;
  margin: 0 5px; /* optional spacing between buttons */
}

.tooltip {
  position: absolute;
  bottom: 100%; /* place above the button */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color);
  color: var(--secondary-color);
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  margin-bottom: 6px;
  z-index: 10;
}

.tooltip-container:hover .tooltip {
  opacity: 1;
}

.pizza-img{
  width: 150px;
  height: auto;
  border-radius: .75rem;
  box-sizing: border-box;
  object-fit: cover;
}
#pizza_toppings{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
#pizza_toppings_prices{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

#pizza_toppings_title {
  font-weight: bold;
  margin: 10px 0;
  color: var(--secondary-color);
}

#pizza_toppings_prices {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.topping-price {
  background-color: var(--main-color);
  color: var(--secondary-color);
  padding: .5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: .5rem;
  border: 1px solid transparent;
  transition: 0.3s ease;
  opacity: 1;
}

.everyday-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
  border-radius: 1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 2rem;
  text-align: center;
}
.everyday-value-title {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.everyday-value-price {
  color: white;
  font-weight: 800;
  font-size: 3rem;
  margin: 0.25rem 0 1rem;
}
.everyday-value-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.everyday-value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.everyday-value-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}
.everyday-value-item span {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
}
@media screen and (max-width: 768px) {
  .everyday-value {
    max-width: 88%;
  }
}

.title-wrapper {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 20px; /* space between lines and text */
  margin: 40px 0; /* spacing from other elements */
}


.line {
  flex: 1;
  height: 2px;
  background-color: var(--secondary-color);
  border: none;
  margin-left: 5%;
  margin-right: 5%;
}

/* Container remains the same */
.tabliye-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 30px 10px;
}

/* Standard card */
.tabliye-card {
  width: 250px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.tabliye-card:hover {
  transform: scale(1.13);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* Top part with image */
.tabliye-top {
  background-color: var(--main-color);
  text-align: center;
  padding: 15px 10px 10px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Default image style */
.tabliye-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Label */
.tabliye-label {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: bold;
}

/* Content area */
.tabliye-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 40%;
  padding: 15px;
}

/* Items list */
.tabliye-items {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.tabliye-items li {
  margin-bottom: 4px;
}

/* Price */
.tabliye-price {
  align-items: center;
  font-size: 16px;
  font-weight: bold;
}
.tabliye-note {
  font-size: 12px;
  color: var(--main-color);
  font-weight: 600;
  margin-top: 2px;
}

/* FEATURED TABLIYE STYLE */
.featured-tabliye {
  width: 260px;
  transform: scale(1.12);
}

.featured-image {
  border-radius: 0%;

  width: 150px;
  height: 110px;
}
.added_items{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  background-color: var(--main-color);
  color: var(--secondary-color);
  border-radius: 25px;
  padding: 10px 30px;
  font-size: 1.2rem;
  width: fit-content;
  font-weight: 600;
}
.added_items-extra{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 10px;
  background-color: var(--main-color);
  color: var(--secondary-color);
  border-radius: 25px;
  padding: 10px 30px;
  font-size: 0.8rem;
  width: fit-content;
  font-weight: 600;
}
.extra-section{
  display: flex;
  justify-content: center;
  flex-direction: row;
}
.burger-section {
  text-align: center;
  padding: 30px 20px;
  font-family: sans-serif;
  margin: 10px 3rem;
}

.burger-filter {
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 20px;
  margin: 0 5px;
  border: none;
  background-color: var(--main-color);
  color: var(--secondary-color);
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.filter-btn.active {
  background-color: #6e0e0e;
  color: white;
  transform: scale(1.1);
}
.toggle-button {
  padding: 8px 20px;
  margin: 0 5px;
  border: none;
  background-color: var(--main-color);
  color: var(--secondary-color);
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.toggle-button.active {
  background-color: #6e0e0e;
  color: white;
  transform: scale(1.1);
}
.toggle-button-wraps {
  padding: 8px 20px;
  margin: 0 5px;
  border: none;
  background-color: var(--main-color);
  color: var(--secondary-color);
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.toggle-button-wraps.active {
  background-color: #6e0e0e;
  color: white;
  transform: scale(1.1);
}
.wraps{
  margin: 0 3rem;
}
.burger-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* .burger-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  width: 350px;
} */
.burger-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;   /* was center — this was the main bug */
  justify-content: space-between;
  background-color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  width: 350px;
  max-width: 100%;
  box-sizing: border-box;
  gap: 15px;
}

/* give the description its own lighter style, separate from the price */
.pasta-description {
  font-size: 13px;
  font-weight: 400;
  color: #555;
  text-align: left;
  margin-top: 6px;
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  .burger-card {
    width: 100% !important;
  }
}
.burger-name {
  font-size: 18px;
  color: #a52a2a;
  margin-bottom: 10px;
}

.burger-price {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.pasta-price {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.pasta-section {
  padding: 40px 20px;
  text-align: center;
  font-family: sans-serif;
  margin: 0 3rem;
}



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

.pasta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  width: 300px;
  padding: 20px 10px;
  height: 100px;
}

.pasta-name {
  font-size: 26px;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 15px;
}

.pasta-price {
  font-size: 20px;
  color: #333;
}

.price-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}



.chicken-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.chicken-card {
  width: 250px;
  height: 50px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.chicken-name {
  font-size: 16px;
  font-weight: bold;
  color: #a52a2a;
  margin: 10px;
}

.chicken-price {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.platter{
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
}
.platter_item{
  font-size: 15px;
  color: black;
  margin-top: 0;
}
.platter p{
  margin-bottom: 5px;
}


.menu-item-img{
  width: 80px;
  height: 80px;
}
.menu-item-wrapper{
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}
.menu-footer{
  margin-top: 30px;
}
.promo-bar {
  background-color: #ffefc2;
  color: var(--main-color);
  text-align: center;
  padding: 10px;
  font-weight: bold;
  position: sticky;
  top: 70px; 
  z-index: 99999999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.Nutella{
  display: flex;
  flex-direction: column !important;
  gap: 0px !important;
  align-items: center !important;
  justify-content: center !important;
}
.nutella-pizza{
  justify-content: space-around !important;
}

.nutella-pizza1{
  justify-content: space-around !important;
  margin: 20px auto !important;
}

.canadian-card{
  display: flex;
  flex-direction: row !important;
 flex-wrap:wrap; justify-content:space-around; gap:20px;
}