

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

   
body {
  font-family: 'Poppins';
  background-color: #ffffff;
  color: #333;
}

      .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  
}


        .header {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            gap: 20px;
            position: relative;
           
        }

          .back-arrow {
            position: absolute;
            left: 0;
            width: 24px;
            height: 24px;
            cursor: pointer;
            color: #666;
            transition: color 0.3s ease;
        }

        .back-arrow:hover {
            color: #4ade80;
        }

         .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin-top: 30px;
            margin-bottom: 30px;
         
        }
      .logo svg {
    width: 420px; /* or any desired width */
    height: auto;
    max-width: 100%;
     margin-bottom: 30px;
}
       

        .logo-icon {
            margin-right: 8px;
        }


     .nav-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 30px;
    width: 100%;
}


        .nav-section {
            position: relative;
        }

     .nav-tab {
   padding: 16px 0;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
     background: none; 
     border: none; 
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Full width of grid column */
    min-width: 0; /* Prevents content from forcing it wider */
  
    
       
          
}

        /* Special styling for Matcha section */
        .nav-section.matcha-section {
            grid-column: 1 / -1; /* Span full width */
            margin-top: 8px; /* Small gap above Matcha button */
        }

              .nav-tab.inactive {
    background-color: #2f4f46;
    color: #fff;
}
.nav-tab.active {
    background-color: #00E6AA;
    color: #2D524A;
}

        .nav-tab:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .section-content {
            display: none;
        }

        .section-content.active {
            display: block;
        }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
   padding: 0 1px;
  max-width: 100%; 
   margin: 0 auto 40px auto;
  box-sizing: border-box;

}
.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}
       .menu-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

        .menu-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
.menu-item-desc {
    font-size: 17px;
    color: #666;
    margin-top: 4px;
}
   .menu-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #39544a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}
        .placeholder-icon {
            color: white;
            opacity: 0.7;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .upload-icon {
            width: 40px;
            height: 40px;
        }

       .menu-item-content {
    padding: 18px 18px 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

       .menu-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: black;
    font-weight: bold;
}
        .menu-item-price {
    font-size: 17px;
    font-weight: 600;
    color: black;
    margin-bottom: 0;
}
.menu-item-price::before {
  content: "";
  display: inline-block;
  width: 18px; /* Adjust icon size */
  height: 18px;
  background-image: url('images/aed.svg'); /* Replace with your icon path */
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: -4px;
}


        @media (max-width: 768px) {
            .menu-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 16px;
            }
            
            .nav-tabs {
                flex-wrap: wrap;
                gap: 8px;
                 grid-template-columns: repeat(2, 1fr);
            }
            
            .nav-tab {
                padding: 10px 20px;
                font-size: 13px;
                
            }
            
            
        }

        @media (max-width: 480px) {
              .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .menu-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        border-radius: 20px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.07);
        padding: 0;
        min-height: 120px;
    }
    .menu-item-image {
        width: 40%;
        max-width: 110px;
        aspect-ratio: 1 / 1;
        margin: 0 0 0 12px;
        border-radius: 18px 0 0 18px;
        flex-shrink: 0;
    }
    .menu-item-content {
        flex: 1;
        padding: 18px 12px 18px 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .menu-item-title {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 8px;
        
    }
    .menu-item-price {
        font-size: 16px;
        font-weight: 600;
        
        margin-bottom: 0;
    }
   .menu-item-desc {
    font-size: 15px;
    color: #2D524A;
    margin-top: 4px;
}

    /* Mobile specific adjustments for Matcha section */
    .nav-section.matcha-section {
        margin-top: 9px; /* Slightly larger gap on mobile */
    }
     .logo svg {
    width: 250px; /* or any desired width */
    height: auto;
    max-width: 100%;
}
 .logo {
          
            margin-top: 10px;
         
        }

}

@media (min-width: 769px) {
  .nav-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .nav-tab {
    width: 200px; /* fixed size on desktop */
  }
  
  /* Reset Matcha section styling on desktop */
  .nav-section.matcha-section {
    grid-column: auto;
    margin-top: 0;
  }
}
