body {
  background-image: url("Assets/top_banner_bg.png"), url("Assets/footer bg.png");
  background-repeat: no-repeat, no-repeat;
  background-position: top right, bottom;
  background-size: 89% auto, 100% auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Welcome heading responsive styles */
.welcome-heading {
  font-size: 50px; /* Default for desktop */
}

/* About heading responsive styles */
.about-heading {
  font-family: "belmonte";
  color: #096e6c;
  font-size: 42px; /* Default for desktop */
}

/* Menu heading responsive styles */
.menu-heading {
  font-family: "belmonte";
  color: #096e6c;
  font-size: 50px; /* Default for desktop */
}

.menu-title-green {
  font-family: "belmonte";
  color: #85c442;
}

.menu-title-blue {
  font-family: "belmonte";
  color: #096e6c;
}

/* Gallery heading responsive styles */
.gallery-heading {
  font-family: "belmonte";
  color: #096e6c;
  font-size: 50px; /* Default for desktop */
}

/* Tablet and smaller screens */
@media (max-width: 968px) {
  body {
    background-size: 400% auto, 500% auto;
    background-position: top right, 9% bottom;
  }

  .welcome-heading {
    font-size: 40px;
  }

  .about-heading {
    font-size: 36px;
  }

  .menu-heading {
    font-size: 42px;
  }

  .gallery-heading {
    font-size: 42px;
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  .welcome-heading {
    font-size: 32px;
  }

  .about-heading {
    font-size: 30px;
  }

  .menu-heading {
    font-size: 36px;
  }

  .gallery-heading {
    font-size: 36px;
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .welcome-heading {
    font-size: 28px;
  }

  .about-heading {
    font-size: 26px;
  }

  .menu-heading {
    font-size: 32px;
  }

  .gallery-heading {
    font-size: 32px;
  }
}

.subheading {
  text-align: center;
  font-size: 24px;
  color: #232323;
  line-height: 30px;
  font-weight: 400;
}

/* Section1 responsive margins - only for large screens */
#section1 {
  /* Default margins for mobile/tablet */
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
  #section1 {
    margin-left: 60px !important;
    margin-right: 60px !important;
  }
}

/* Categories Container */
.categoriesContainer {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  justify-content: center;
  gap: 15px;
  padding: 10px 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  z-index: 99999;
}

/* Hide scrollbars for WebKit browsers (Chrome, Safari) */
.categoriesContainer::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 1100px) {
  .categoriesContainer {
    justify-content: flex-start;
  }
}

/* Category Buttons */
.categoryItem {
  padding: 10px 20px;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  text-align: center;
  color: #096e6c;
  font-size: 30px;
  font-weight: 400;
  font-family: "Belmonte", sans-serif;
  transition: opacity 0.6s linear, color 0.3s ease-in;
  opacity: 40%;
  position: relative;
}

.categoryItem.activeCat {
  opacity: 100%;
}

/* Adding a smooth border-bottom transition */
.categoryItem::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #00706e;
  transition: width 0.4s ease-in-out, left 0.4s ease-in-out;
}

.categoryItem.activeCat::after {
  width: 100%;
  left: 0;
}

/* Category Items Container */
.categoryItemsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 20px 60px;
  opacity: 0;
  border-radius: 20px;
  transition: opacity 0.5s ease-in-out;
}

/* Responsive: Two columns for medium screens */
@media (max-width: 1000px) {
  .categoryItemsContainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 5px;
  }
}

/* Responsive: One column for small screens */
@media (max-width: 600px) {
  .categoryItemsContainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 5px;
  }
  .headingMainColorful {
    font-size: 24px;
  }
  .subheading {
    font-size: 16px;
  }
}

/* Category Item */

.categoryCard {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  width: 310px;
  height: 400px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: height 0.3s ease-in-out, padding 0.3s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

.categoryCard img {
  width: 270px;
  height: 270px;
  border-radius: 20px;
  background-size: cover;
}

.categoryCard h1 {
  font-size: 26px;
  color: #232323;
  font-weight: 700;
  margin: 10px 0;
}

.categoryCard p {
  font-size: 16px;
  color: #232323;
  font-weight: 400;
}

@media screen and (max-width: 500px) {
  .categoryCard img {
    width: 265px;
    height: 265px;
  }
}

/* Expanded Card Styles */
.categoryCard.expanded {
  height: auto;
  padding-bottom: 20px;
}

.categoryCard.expanded img {
  margin-bottom: 15px;
}

.categoryCard.expanded h1 {
  margin-bottom: 10px;
}

.categoryCard.expanded p {
  margin-bottom: 15px;
}

/* Headings for expanded content */
.categoryCard.expanded h2 {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: left;
  color: #000000;
}

/* Description section */
.categoryCard.expanded .description {
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  vertical-align: middle;
  color: #000000;
  text-align: left;
  line-height: 1.3;
}

/* Notes section */
.categoryCard.expanded .notes {
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: #000000;
  text-align: left;
  line-height: 1.4;
}

.categoryCard.expanded .notes ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* Serving & Pricing section */
.categoryCard.expanded .serving-pricing {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  text-align: left;
}

.categoryCard.expanded .serving-pricing .details {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  align-items: center;
}

.categoryCard.expanded .serving-pricing .details div {
  display: flex;
  flex-direction: column;
}

.categoryCard.expanded .serving-pricing .details div h3 {
  /* font-family: Gontserrat; */
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  color: #000000;
}

.categoryCard.expanded .serving-pricing .details span {
  display: block;
  margin-bottom: 5px;
  /* font-family: Gontserrat; */
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #000000;
}

/* Quantity Button Styles */
.quantity-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  background: transparent;
  color: white;
  border: 1px solid #00706e;
  border-radius: 50px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.3s ease;
}

.quantity-btn {
  background-color: transparent;
  border: none !important;
  outline: none !important;
  color: #000000;
  font-size: 30px;
  cursor: pointer;
}

.quantity {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  min-width: 30px;
  text-align: center;
}

/* Add to Cart Button Styles */
.add-to-cart {
  background: #00706e;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  width: 100%;
  transition: background-color 0.3s ease;
  border: none !important;
  outline: none !important;
}

.add-to-cart:hover {
  background-color: #005f5d;
}

/* Toppings Section Styles */
.toppings {
  margin-top: 20px;
}

.toppings h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  color: #000000;
}

.topping-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.topping-item-name-container {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topping-checkbox {
  margin-right: 10px;
}

/* Hide default radio */
.topping-radio {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid black;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.topping-radio:checked {
  border-radius: 3px;
}

.topping-radio:checked::before {
  content: "";
  width: 7px;
  height: 7px;
  background-color: black;
  position: absolute;
  border-radius: 2px;
}

.topping-name {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #000000;
  flex-grow: 1;
  padding-top: 5px;
}

.topping-price {
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  color: #000000;
}

.gramContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Cart Icon Styles */
.cartcontainer {
  position: fixed;
  right: 0;
  z-index: 9999;
  top: 150px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  background-color: whitesmoke;
  padding: 15px 15px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  cursor: pointer;
}

.cart-counter {
  position: absolute;
  bottom: 12px;
  left: 13px;
  background-color: #6ec64c;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  border: 2px solid white;
}

/* Fly-to-cart Animation */
@keyframes flyToCart {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.fly-to-cart {
  position: fixed;
  width: 40px;
  height: 40px;
  background-color: #6ec64c;
  border-radius: 50%;
  animation: flyToCart 0.5s ease-in-out forwards;
  pointer-events: none;
}
