* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: Verdana, sans-serif;
}

h2 {
  font-family: "Dancing Script", serif;
  padding: 20px 0;
  font-size: 2.6rem;
  font-weight: 500;
  color:#507534;
}
h1 {
  font-family: "Dancing Script", serif;
  padding: 20px 0;
  font-size: 3rem;
  font-weight: 600;
  color:#507534;
  text-align: center;
}
.container {
  width: 100%;
  margin: 0 auto;
}

.menu-sections {
  /* display: flex;
  flex-wrap: wrap;
  gap: 24px; */
  /* justify-content: center; */
  padding-top: 50px;
  background: url('../images/menu-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  mask: 
    linear-gradient(180deg,#0000 30px,#000 0),
    radial-gradient(30px,#000 calc(100% - 1px),#0000) top/55.5px 60px;
}

.menu-list {
  width: 100%;
  max-width: 360px;
  min-width: 220px;
  flex: 1 1 220px; 
  box-sizing: border-box;
  margin: 0 auto;
}

.menu-list h1 {
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.menu-list ul {
  list-style: none;
  padding: 0;
  width: 100%;
}

.menu-list ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 1.1rem;
  flex-wrap: wrap;
  /* font-weight: 600; */
  color: #222;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.item-name {
  /* font-weight: 600; */
  font-size: 1.1rem;
  color: #222;
  flex: 1;
}

.item-price {
  font-weight: bold;
  color: #444;
  font-size: 1.1rem;
  white-space: nowrap;
}

.item-description {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
  padding-right: 10px;
}

section {
  transition: opacity 0.4s ease;
}

.visible {
  opacity: 1;
  pointer-events: auto;
  height: auto;
  display: block;
}

.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  display: none;
}

/* Swiper container spacing and layout */
.swiper-slide a img {
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
}
.swiper {
  padding: 10px 0;
  margin: 0 auto;
  width: 100%;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide a img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  background: #fbc531;
  object-fit: cover;
  transition: transform 0.3s;
}

.swiper-slide a img:hover {
  transform: scale(1.1);
}


/* swiper slides fade */
.swiper-container-fade {
  position: relative;
  overflow: hidden;
  padding: 25px 6px;
}

.swiper-container-fade::before,
.swiper-container-fade::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s;
}

.swiper-container-fade::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.swiper-container-fade::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.swiper-container-fade.at-start::before {
  opacity: 0;
}

.swiper-container-fade.at-end::after {
  opacity: 0;
}


/* Main index page css */
header {
    width: 100%;
    padding: 20px 0;
}
header img {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
#index-h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #0c0c0c;
    margin-top: 20px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px;
}

.menu-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}

.menu-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 18px;
}

.menu-title {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin: 16px 0 12px 0;
  font-weight: 500;
}

/* Whatsapp floating icon */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  z-index: 1000;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  background-color: #25D366; /* Optional: WhatsApp green background */
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.whatsapp-float:hover {
  transform: scale(1.1); /* Smooth scale on hover */
}



/* media */
@media only screen and (max-width: 600px) {
  .container {
    width: 100%;
    margin: 0 auto;
  }
  header img {
    max-width: 100px; /* Even smaller on mobile */
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 20px;
  }
  .menu-card img {
    border-radius: 14px;
  }
  .menu-list ul li {
    flex-direction: column;
    align-items: flex-start;
  }
  .item-row {
    flex-direction: row;
  }
  .item-price {
    text-align: right;
  }
  h1 {
    font-family: "Dancing Script", serif;
    padding: 20px 0;
    font-size: 2rem;
    font-weight: 600;
    color:#507534;
  }

  .whatsapp-float {
    bottom: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
  }
}

/* Tablet responsive styles */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .menu-sections {
    gap: 16px; /* Slightly smaller gap for tablets */
  }
  .menu-list {
    max-width: 45vw;   /* Each card takes up about half the screen width */
    min-width: 200px;
    margin: 0 auto;
  }
  .menu-list ul li {
    font-size: 1.1rem; /* Slightly smaller font for tablets */
  }
}

@media (max-width: 1024px) {
  header img {
    max-width: 120px; /* Smaller logo on tablets */
  }
}