/* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }

    ::-webkit-scrollbar-thumb {
      background: linear-gradient(135deg, #13c61f, #f6e33b);
      border-radius: 20px;
    }

    ::-webkit-scrollbar-track {
      background: #f1f5f9;
    }

    * {
      scrollbar-width: thin;
      scrollbar-color: #ebd425 #f1f5f9;
    }

    html {
      scroll-behavior: smooth;
    }

    /* Header Animation */
    .header-fade {
      animation: fadeInDown 0.8s ease-out;
    }

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

    /* Background Pattern */
    .bg-pattern {
      background-image: 
        radial-gradient(circle at 2px 2px, rgba(37, 99, 235, 0.05) 1px, transparent 0);
      background-size: 40px 40px;
    }

    /* Tab System */
    .tab-active {
      background: linear-gradient(135deg, #df8e0a, #cf1818) !important;
      color: white !important;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(183, 109, 6, 0.3);
      transform: translateY(-1px);
    }

    .tab {
      color: #6b7280;
      font-weight: 500;
      text-decoration: none;
    }

    .tab:hover {
      background: #f3f4f6;
      color: #eb8b25;
    }

    @media (max-width: 768px) {
      .inline-flex {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        width: 100%;
        justify-content: flex-start;
        padding-right: 2rem;
      }
      
      .inline-flex::-webkit-scrollbar {
        display: none;
      }
      
      .tab {
        scroll-snap-align: start;
        flex-shrink: 0;
      }
    }

    /* Section Animations */
    .menu-section {
      margin-bottom: 4rem;
      scroll-margin-top: 140px;
      animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Product Item Enhancements */
    .product-item {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: 16px;
      padding: 1.25rem;
      margin-bottom: 1rem;
      background: white;
      border: 1px solid #f1f5f9;
      position: relative;
      overflow: hidden;
    }

    .product-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(135deg, #df8e0a, #cf1818);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .product-item:hover {
      background: #fefefe;
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
      border-color: #e2e8f0;
    }

    .product-item:hover::before {
      transform: scaleX(1);
    }

    .product-image {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 12px;
      flex-shrink: 0;
      transition: transform 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .product-item:hover .product-image {
      transform: scale(1.05);
    }

    /* Section Headers */
    .section-header {
      background: linear-gradient(135deg, #1f2937, #374151);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
      display: inline-block;
    }

    .section-header::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60px;
      height: 3px;
      background: linear-gradient(135deg, #df8e0a, #cf1818);
      border-radius: 2px;
    }

    /* Price styling */
    .price {
      background: linear-gradient(135deg, #10b981, #059669);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 700;
    }

    /* Responsive adjustments */
    @media (max-width: 640px) {
      .menu-section {
        scroll-margin-top: 120px;
      }
      
      .tab {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
      }
    }

    /* Loading animation */
    .fade-in {
      animation: fadeIn 0.8s ease-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Add-on section styling */
    .addon-section {
      background: linear-gradient(135deg, #f8fafc, #f1f5f9);
      border-radius: 16px;
      padding: 1.5rem;
      margin: 2rem 0;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(8px);
      animation: fadeIn 0.3s ease-out;
    }

    .modal.show {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-content {
      position: relative;
      max-width: 90%;
      max-height: 90%;
      animation: zoomIn 0.3s ease-out;
    }

    .modal-image {
        max-width: 90vw;   /* maksimal 90% lebar layar */
        max-height: 80vh;  /* maksimal 80% tinggi layar */
        width: auto;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        object-fit: contain; 
        }


    .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 22px;         
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

    .modal-close:hover {
        opacity: 0.7;
        }


    @keyframes zoomIn {
      from {
        transform: scale(0.5);
        opacity: 0;
      }
      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* Contact info styles */
    .contact-info {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 100;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .contact-btn {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .contact-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: inherit;
      transition: transform 0.3s ease;
      z-index: -1;
    }

    .contact-btn:hover {
      transform: translateY(-3px) scale(1.1);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .contact-btn:hover::before {
      transform: scale(1.1);
    }

    .whatsapp-btn {
      background: linear-gradient(135deg, #25D366, #128C7E);
    }

    .instagram-btn {
      background: linear-gradient(135deg, #E4405F, #b43a5f, #F77737);
    }

    .contact-tooltip {
      position: absolute;
      right: 70px;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 8px 12px;
      border-radius: 6px;
      font-size: 14px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .contact-tooltip::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 100%;
      margin-top: -5px;
      border-width: 5px;
      border-style: solid;
      border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
    }

    .contact-btn:hover .contact-tooltip {
      opacity: 1;
    }

    /* Mobile adjustments for contact */
    @media (max-width: 640px) {
      .contact-info {
        right: 15px;
        bottom: 15px;
        gap: 10px;
      }

      .contact-btn {
        width: 50px;
        height: 50px;
      }

      .contact-tooltip {
        display: none;
      }
    }
