        /* Global Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Helvetica Neue', Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            user-select: none;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: #000;
            color: #fff;
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
            width: 100%;
            max-width: 100vw;
        }
        
        a {
            user-select: none;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }
        
        /* Header Styles */
        header {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .header-content {
            text-align: center;
            z-index: 2;
            padding: 0 20px;
            width: 100%;
        }
        
        .logo-container {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto 20px;
            border: 3px solid #4a8c3f;
            transform: translateY(30px);
            opacity: 0;
            animation: fadeInUp 1s ease forwards 0.3s;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        }
        
        .logo {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        h1 {
            font-size: 3.5rem;
            margin-bottom: 10px;
            color: #fff;
            transform: translateY(30px);
            opacity: 0;
            animation: fadeInUp 1s ease forwards 0.5s;
            text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        }
        
        .tagline {
            font-size: 1.3rem;
            margin-bottom: 30px;
            color: #ccc;
            max-width: 600px;
            transform: translateY(30px);
            opacity: 0;
            animation: fadeInUp 1s ease forwards 0.7s;
            margin-left: auto;
            margin-right: auto;
        }
        
        .address, .contact {
            font-size: 1rem;
            margin-bottom: 10px;
            color: #999;
            transform: translateY(30px);
            opacity: 0;
        }
        
        .address {
            animation: fadeInUp 1s ease forwards 0.9s;
        }
        
        .contact {
            animation: fadeInUp 1s ease forwards 1.1s;
        }
        
        .contact a {
            color: #4a8c3f;
            text-decoration: none;
        }








        .customer-name-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 2px solid #4a8c3f;
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.customer-name-input:focus {
    outline: none;
    border-color: #3a7c2f;
    box-shadow: 0 0 5px rgba(74, 140, 63, 0.5);
}

.send-order-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #4a8c3f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.send-order-btn:hover {
    background-color: #3a7c2f;
    transform: translateY(-2px);
}

.send-order-btn:active {
    transform: translateY(0);
}

.send-order-btn .loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}





        /* Add these styles to your existing CSS */

        .menu-item.special {
  border: 3px solid;
  border-image: linear-gradient(135deg, #8B6B23, #B38728, #8B6B23, #B38728) 1;
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  0% {
    border-image: linear-gradient(0deg, #8B6B23, #B38728, #8B6B23, #B38728) 1;
  }
  25% {
    border-image: linear-gradient(90deg, #8B6B23, #B38728, #8B6B23, #B38728) 1;
  }
  50% {
    border-image: linear-gradient(180deg, #8B6B23, #B38728, #8B6B23, #B38728) 1;
  }
  75% {
    border-image: linear-gradient(270deg, #8B6B23, #B38728, #8B6B23, #B38728) 1;
  }
  100% {
    border-image: linear-gradient(360deg, #8B6B23, #B38728, #8B6B23, #B38728) 1;
  }
}

/* Special badge - keeping original lighter gold */
.special-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  color: #000;
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 2;
  animation: specialBadgePulse 2s ease-in-out infinite;
}

/* Hover state for special category button */
.category-btn.special:hover {
  background: linear-gradient(135deg, #8B6B23, #B38728, #8B6B23, #B38728, #8B6B23);
  background-size: 400% 400%;
  animation: goldGradient 10s ease infinite;
  color: #fff;
  border: 2px solid #BF953F;
}

/* Gold gradient animation */
@keyframes goldGradient {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

/* Special badge pulse animation */
@keyframes specialBadgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


/* Category button special styling */
.category-btn.special {
  background: transparent;
  border: 2px solid #BF953F;
  color: #BF953F;
  position: relative;
  overflow: hidden;
}

/* Active state for special category button */
.category-btn.special.active {
  background: linear-gradient(135deg, #8B6B23, #B38728, #8B6B23, #B38728, #8B6B23);
  background-size: 400% 400%;
  animation: goldGradient 10s ease infinite;
  color: #fff;
  border: 2px solid #BF953F;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Update the special-badge style to work on slides too */
.special-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    color: #000;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
    animation: specialBadgePulse 2s ease-in-out infinite;
}

.slide-content {
    position: relative; /* Add this to ensure badge positioning works */
}


.customer-name-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 2px solid #4a8c3f;
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(20, 20, 20, 0.95);
    color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.customer-name-input:focus {
    outline: none;
    border-color: #3a7c2f;
    box-shadow: 0 0 5px rgba(74, 140, 63, 0.5);
}

/* Checkbox container */
.pickup-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

/* Custom checkbox */
.pickup-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #4a8c3f;
    border-radius: 4px;
    background-color: rgba(20, 20, 20, 0.95);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.pickup-checkbox:checked {
    background-color: #4a8c3f;
}

.pickup-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

/* Checkbox label */
.pickup-label {
    color: #fff;
    font-size: 1rem;
    user-select: none;
    cursor: pointer;
}




        
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    opacity: 1;
}
        
        .scroll-indicator i {
            font-size: 2rem;
            color: #4a8c3f;
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
                opacity: 1;
            }
            40% {
                transform: translateY(-20px) translateX(-50%);
                opacity: 1;
            }
            60% {
                transform: translateY(-10px) translateX(-50%);
                opacity: 1;
            }
        }
        
        /* Background Video/Image */
        .bg-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('https://t3.ftcdn.net/jpg/04/41/20/18/360_F_441201852_XQqp1wbAQj9udOC3iT7D0ahKgaf71bns.jpg');
            background-size: cover;
            background-position: center;
            z-index: -1;
        }
        
        /* Menu Section Styles */
        .menu-section {
            padding: 100px 0;
            position: relative;
            width: 100%;
        }
        
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 50px;
            text-align: center;
            color: #fff;
            position: relative;
            display: block;
            margin: 0 auto 50px auto;
            width: auto;
            text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: #4a8c3f;
        }
        
        /* Search bar styles */
        .search-container {
            max-width: 600px;
            margin: 0 auto 30px;
            position: relative;
            width: 100%;
        }
        
        .search-input {
            width: 100%;
            padding: 15px 20px 15px 50px;
            border-radius: 30px;
            border: none;
            background-color: rgba(30, 30, 30, 0.8);
            color: #fff;
            font-size: 16px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            background-color: rgba(40, 40, 40, 0.9);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        }
        
        .search-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #4a8c3f;
            font-size: 18px;
        }
        
        /* Special items slider - FIXED for swipe and infinite loop */
        .specials-slider {
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
            padding: 0 20px;
            touch-action: pan-y;
            width: 100%;
            max-width: 100vw;
        }
        
        .specials-title {
            font-size: 2rem;
            margin-bottom: 30px;
            color: #4a8c3f;
            text-align: center;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        }
        
        .slides-container {
            display: flex;
            overflow: hidden;
            transition: transform 0.5s ease;
            width: 100%;
            will-change: transform;
            position: relative;
            touch-action: pan-x; /* Allow horizontal swiping only */
            -webkit-overflow-scrolling: touch; /* Smoother scrolling on iOS */
        }
        
        .slides-container::before,
        .slides-container::after {
            content: '';
            position: absolute;
            top: 0;
            width: 50px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }
        
        .slides-container::before {
            left: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
        }
        
        .slides-container::after {
            right: 0;
            background: linear-gradient(to left, rgba(0,0,0,0.7), transparent);
        }
        
        .slide {
            flex: 0 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 5px; /* Reduced padding to decrease gap */
            cursor: pointer;
            box-sizing: border-box;
            position: relative;
        }
        
        .slide-content {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            width: 100%;
            max-width: 500px;
            height: 350px;
            position: relative;
            margin: 0 auto;
        }
        
        .slide-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            pointer-events: none; /* Prevent image from receiving touch events */
        }
        
        /* Show slide name for better visibility */
        .slide-name {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 15px;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            font-size: 1.2rem;
            text-align: center;
        }
        
        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
            margin-bottom: 10px;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #444;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        
        .slider-dot.active {
            background-color: #4a8c3f;
            transform: scale(1.2);
        }

        /* Category buttons - UPDATED for mobile scrolling */
        .category-buttons {
            display: flex;
            justify-content: flex-start;
            gap: 15px;
            margin-bottom: 40px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 10px;
            padding-top: 20px;
            margin-top: 20px;
            scrollbar-width: none; /* For Firefox */
            -ms-overflow-style: none; /* For Internet Explorer and Edge */
            width: 100%;
        }
        
        .category-buttons::-webkit-scrollbar {
            display: none; /* For Chrome, Safari, and Opera */
        }
        
        .category-btn {
            padding: 12px 25px;
            background-color: rgba(30, 30, 30, 0.8);
            border: 2px solid #333;
            border-radius: 30px;
            color: #fff;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .category-btn:hover, .category-btn.active {
            background-color: #4a8c3f;
            border-color: #4a8c3f;
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }
        
        .menu-items {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            width: 100%;
        }
        
        .menu-item {
            background-color: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            transition: transform 0.5s ease, box-shadow 0.5s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(50px);
            will-change: transform, opacity;
            cursor: pointer;
            width: 100%;
        }
        
        .menu-item:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }
        
        .item-image-container {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .item-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            pointer-events: none; /* Prevent image from receiving touch events */
        }
        
        .menu-item:hover .item-image {
            transform: scale(1.1);
        }
        
        .item-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        
        .item-name {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #fff;
        }
        
        .item-description {
            font-size: 0.9rem;
            color: #ccc;
            margin-bottom: 15px;
            flex-grow: 1;
        }
        
        .item-price {
            font-size: 1.1rem;
            color: #4a8c3f;
            font-weight: bold;
        }
        
        .price-tag {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .price-label {
            font-size: 0.9rem;
            color: #999;
        }
        
        .add-to-cart-btn {
            background-color: #4a8c3f;
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            margin-left: 10px;
        }
        
        .add-to-cart-btn:hover {
            background-color: #3a7c2f;
            transform: scale(1.1);
        }
        
        /* Day availability display - UPDATED */
        .day-availability {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .day-badge {
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
            background-color: #4a8c3f;
            color: white;
        }
        
        /* Item modal styles */
        .item-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .item-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .item-modal {
            background-color: #1e1e1e;
            border-radius: 15px;
            overflow: hidden;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            transform: translateY(50px);
            opacity: 0;
            transition: transform 0.3s, opacity 0.3s;
        }
        
        .item-modal-overlay.active .item-modal {
            transform: translateY(0);
            opacity: 1;
        }
        
        .modal-image-container {
            width: 100%;
            height: 250px;
            position: relative;
            overflow: hidden;
        }
        
        .modal-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none; /* Prevent image from receiving touch events */
        }
        
        .modal-content {
            padding: 25px;
        }
        
        .modal-name {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #fff;
        }
        
        .modal-description {
            font-size: 1rem;
            color: #ccc;
            margin-bottom: 20px;
        }
        
        .modal-price-container {
            margin-bottom: 20px;
        }
        
        .modal-price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .modal-price-label {
            font-size: 1rem;
            color: #999;
        }
        
        .modal-price {
            font-size: 1.3rem;
            color: #4a8c3f;
            font-weight: bold;
        }
        
        .modal-add-btn {
            background-color: #4a8c3f;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            margin-left: 10px;
        }
        
        .modal-add-btn:hover {
            background-color: #3a7c2f;
            transform: scale(1.1);
        }
        
        .modal-add-btn.unavailable {
            background-color: #2a5c1f;
            cursor: not-allowed;
        }
        
        .size-quantity-row {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .quantity-selector {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: auto;
        }
        
        .quantity-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: #333;
            color: #fff;
            border: none;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .quantity-btn:hover {
            background-color: #4a8c3f;
        }
        
        .quantity-display {
            font-size: 1.2rem;
            font-weight: bold;
            color: #fff;
            width: 30px;
            text-align: center;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 35px;
            height: 35px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
            z-index: 1;
        }
        
        .modal-close:hover {
            background-color: #e74c3c;
        }
        
        /* Current order panel - UPDATED for right side */
        .order-panel {
            position: fixed;
            top: 0;
            right: -350px;
            width: 350px;
            height: 100%;
            background-color: rgba(20, 20, 20, 0.95);
            box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
            z-index: 1002;
            transition: right 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .order-panel.active {
            right: 0;
        }
        
        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #333;
        }
        
        .order-title {
            font-size: 1.3rem;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .order-count {
            background-color: #4a8c3f;
            color: white;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }
        
        .order-toggle {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .order-items {
            flex: 1;
            overflow-y: auto;
            padding: 0 20px;
        }
        
        .order-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #333;
        }
        
        .order-item-details {
            flex: 1;
        }
        
        .order-item-name {
            font-size: 1rem;
            color: #fff;
            margin-bottom: 5px;
        }
        
        .order-item-price {
            font-size: 0.9rem;
            color: #4a8c3f;
        }
        
        .order-item-quantity {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .order-quantity-btn {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background-color: #333;
            color: #fff;
            border: none;
            font-size: 0.8rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .order-quantity-btn:hover {
            background-color: #4a8c3f;
        }
        
        .order-quantity-display {
            font-size: 1rem;
            font-weight: bold;
            color: #fff;
            width: 25px;
            text-align: center;
        }
        
        .order-item-remove {
            background: none;
            border: none;
            color: #e74c3c;
            cursor: pointer;
            margin-left: 15px;
            transition: transform 0.3s ease;
        }
        
        .order-item-remove:hover {
            transform: scale(1.2);
        }
        
        .order-footer {
            display: flex;
            flex-direction: column;
            padding: 15px 20px;
            border-top: 1px solid #333;
        }
        
        .order-total {
            font-size: 1.2rem;
            color: #fff;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
        }
        
        .order-total-amount {
            font-weight: bold;
            color: #4a8c3f;
        }
        
        .tax-disclaimer {
            font-size: 0.8rem;
            color: #999;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .clear-order-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .clear-order-btn:hover {
            background-color: #c0392b;
        }
        
        /* Order toggle button - UPDATED for left position on mobile */
        .order-toggle-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #4a8c3f;
            color: white;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: background-color 0.3s ease, transform 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .order-toggle-btn:hover {
            background-color: #3a7c2f;
            transform: scale(1.1);
        }
        
        .order-badge {
            position: absolute;
            top: 0;
            right: 0;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: #e74c3c;
            color: white;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translate(30%, -30%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .order-badge.active {
            opacity: 1;
        }
        
        /* Gallery Section Styles */
        .gallery-section {
            padding: 100px 0;
            background-color: #0c0c0c;
            width: 100%;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            width: 100%;
        }
        
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            height: 300px;
            opacity: 0;
            transform: translateY(50px);
            will-change: transform, opacity;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        
        .gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            pointer-events: none; /* Prevent image from receiving touch events */
        }
        
        .gallery-item:hover .gallery-image {
            transform: scale(1.1);
        }
        
        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: #fff;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }
        
        /* Contact Section Styles */
        .contact-section {
            padding: 100px 0;
            background-color: #000;
            position: relative;
            width: 100%;
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
            width: 100%;
        }
        
        .contact-info {
            color: #fff;
            opacity: 0;
            transform: translateY(50px);
            will-change: transform, opacity;
        }
        
        .contact-info h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: #4a8c3f;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        }
        
        .contact-detail {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .contact-detail i {
            font-size: 1.5rem;
            color: #4a8c3f;
            margin-right: 15px;
            width: 30px;
            text-align: center;
        }
        
        .contact-detail a {
            color: #0078ff;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .map-container {
            height: 400px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            opacity: 0;
            transform: translateY(50px);
            will-change: transform, opacity;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        /* Footer Styles */
        footer {
            background-color: #0c0c0c;
            padding: 30px 0;
            text-align: center;
            width: 100%;
        }
        
        .copyright {
            color: #777;
            font-size: 0.9rem;
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
            
            .tagline {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .menu-items, .gallery-grid {
                grid-template-columns: 1fr;
            }
            
            .logo-container {
                width: 150px;
                height: 150px;
            }
            
            .item-image-container {
                height: 180px;
            }
            
            .slide-content {
                max-width: 90%;
                height: 250px;
            }
            
            /* Adjust order panel for mobile */
            .order-panel {
                width: 280px;
                right: -280px;
            }
            
            /* Position the order toggle button more to the left on mobile */
            .order-toggle-btn {
                right: 15px;
            }
        }
        
        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 0;
            z-index: 999;
            transition: background-color 0.3s ease, padding 0.3s ease;
        }
        
        .navbar.scrolled {
            background-color: rgba(0, 0, 0, 0.9);
            padding: 15px 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .nav-logo {
            display: flex;
            align-items: center;
        }
        
        .nav-logo img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .nav-logo span {
            font-size: 1.5rem;
            font-weight: bold;
            color: #fff;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            color: #fff;
            text-decoration: none;
            font-size: 1.1rem;
            transition: color 0.3s ease;
        }
        
        .nav-links a:hover {
            color: #4a8c3f;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background-color: rgba(0, 0, 0, 0.95);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right 0.5s ease;
                z-index: 1001;
            }

            .nav-container {
        padding-right: 90px; /* Add padding to prevent overlap with order toggle */
    }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links li {
                margin: 20px 0;
            }
            
            .mobile-menu-btn {
                display: block;
                z-index: 1002;
            }
        }
        
        /* Animation classes */
        .fade-in-up {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 1s ease, transform 1s ease;
        }
        
        .fade-in-up.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .fade-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 1s ease, transform 1s ease;
        }
        
        .fade-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }
        
        .fade-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 1s ease, transform 1s ease;
        }
        
        .fade-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }
        
        .scale-in {
            opacity: 0;
            transform: scale(0.8);
            transition: opacity 1s ease, transform 1s ease;
        }
        
        .scale-in.visible {
            opacity: 1;
            transform: scale(1);
        }
        
        /* Unavailable items styling */
        .menu-item.unavailable {
            background-color: rgba(30, 30, 30, 0.5);
            position: relative;
        }
        
        .menu-item.unavailable .item-image-container::after {
            content: 'unavailable today';
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            text-align: center;
            transform: translateY(-50%) rotate(-10deg);
            font-size: 1.3rem;
            font-weight: bold;
            color: white;
            background-color: rgba(0, 0, 0, 0.7);
            padding: 10px 0;
            opacity: 0.8;
            z-index: 1;
        }
        
        .menu-item.unavailable .item-image {
            filter: brightness(0.5);
        }
        
        /* Unavailable modal image styling */
        .modal-image-container.unavailable::after {
            content: 'unavailable today';
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            text-align: center;
            transform: translateY(-50%) rotate(-10deg);
            font-size: 1.5rem;
            font-weight: bold;
            color: white;
            background-color: rgba(0, 0, 0, 0.7);
            padding: 15px 0;
            opacity: 0.8;
            z-index: 1;
        }
        
        .modal-image-container.unavailable .modal-image {
            filter: brightness(0.5);
        }
        
        /* Contact section order online button */
        .contact-order-btn {
            display: inline-flex;
            align-items: center;
            margin-top: 20px;
        }
        
        /* Contact section order button styling */
        .contact-detail .order-online-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: background-color 0.3s ease, transform 0.3s ease;
            text-decoration: none;
            margin-left: 5px;
        }
        
        .contact-detail .order-online-btn:hover {
            background-color: #c0392b;
            transform: translateY(-5px);
        }

        

        /* Add these styles */
.order-status {
    text-align: center;
    margin-bottom: 10px;
    min-height: 20px;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-status.visible {
    opacity: 1;
}

.order-status.error {
    color: #e74c3c;
}

.order-status.success {
    color: #4a8c3f;
}

.scroll-top-btn {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%; 
    background-color: rgba(128, 128, 128, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}



.scroll-top-btn.visible {
    bottom: 20px;
    opacity: 1;
}

.scroll-top-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    animation: none;
    transform: translate(-50%, -3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    -webkit-text-stroke: 0;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-top-btn.visible {
        bottom: 15px;
    }
}

.rating-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: #FFD700;
    font-size: 24px;
}

.stars i.partial {
    position: relative;
    background: linear-gradient(90deg, #FFD700 20%, #333 20%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


.rating-text {
    color: #fff;
    font-size: 18px;
}

@keyframes wave {
    0%, 30%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
}

.wave1 {
    animation: wave 3s ease-in-out infinite;
}

.wave2 {
    animation: wave 3s ease-in-out infinite;
    animation-delay: 0.05s;
}

.wave3 {
    animation: wave 3s ease-in-out infinite;
    animation-delay: 0.1s;
}

.wave4 {
    animation: wave 3s ease-in-out infinite;
    animation-delay: 0.15s;
}

.wave5 {
    animation: wave 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #4a8c3f;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {transform: rotate(360deg);}
}

/* --- New Ordering & Firebase Features --- */

/* Order Status Search (Top of Panel) */
.status-search-box {
    padding: 15px;
    display: flex;
    gap: 8px;
    background: #111;
    border-bottom: 1px solid #333;
}

.status-search-box input {
    flex: 1;
    background: #000;
    border: 1px solid #4a8c3f;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    outline: none;
    font-size: 0.9rem;
}

.status-search-box button {
    background: #4a8c3f;
    border: none;
    color: white;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Place Order Button & Closed State */
.place-order-btn {
    background-color: #4a8c3f;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.place-order-btn:hover:not(:disabled) {
    background-color: #3a7c2f;
    transform: translateY(-2px);
}

.place-order-btn:disabled {
    background-color: #333 !important;
    color: #666 !important;
    cursor: not-allowed;
    opacity: 0.8;
    border: 1px solid #444;
}

/* Checkout & Status Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.checkout-container, .status-container {
    background: #1a1a1a;
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Order Type Selector */
.order-type-selector {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.type-btn {
    flex: 1;
    padding: 14px;
    border: 1px solid #4a8c3f;
    background: transparent;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.type-btn.active {
    background: #4a8c3f;
}

/* Delivery Form Sliding Logic */
.delivery-fields-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
}

.delivery-fields-container.open {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 25px;
    transition: max-height 0.5s ease-in-out, opacity 0.3s;
}

.delivery-fields-container input, 
.delivery-fields-container textarea {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row input {
    flex: 1;
}

.confirm-order-btn {
    width: 100%;
    background: #4a8c3f;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 10px;
}

/* Status Tracking Elements */
.status-info {
    text-align: center;
    margin: 30px 0;
}

.status-badge {
    display: inline-block;
    padding: 12px 25px;
    background: #4a8c3f;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(74, 140, 63, 0.3);
}

.status-note {
    font-size: 0.85rem;
    color: #777;
    text-align: center;
    margin-top: 15px;
}

/* Toast Z-Index Fix */
#toast {
    z-index: 3000 !important;
}

/* Add or update these specific styles in your CSS */

.checkout-container {
    max-width: 400px; /* Limits the overall width of the modal box */
    width: 95%;
}

.form-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.form-row input {
    flex: 1;
    width: 50%; /* Forces the two boxes to split the row exactly 50/50 */
    min-width: 0; /* Prevents inputs from stretching the container */
}

/* Add this to your style.css file */
@media screen and (max-width: 768px) {
    /* Target the container of the search bar inside the right panel */
    .status-search-box {
        padding-right: 40px !important; /* Increase this value to move the bar and button further left */
        width: 100%;
        display: flex;
        gap: 8px;
    }

    /* Optional: If you want to make the input slightly shorter to give more room on the right */
    .status-search-box input {
        flex: 1;
        max-width: 80%; 
    }
}

/* Add this to your style.css file */
@media screen and (max-width: 768px) {
    /* Moves the search bar and button to the left by adding space on the right */
    .status-search-box {
        padding-right: 60px !important; 
        justify-content: flex-start;
    }

    /* Makes the hint (placeholder) text smaller */
    .status-search-box input::placeholder {
        font-size: 0.75rem;
        opacity: 0.7;
    }

    /* For older browsers/webkit support */
    .status-search-box input::-webkit-input-placeholder {
        font-size: 0.75rem;
    }
}

/* Style the select element to match your theme */
#custArea {
    width: 100%;
    padding: 12px;
    background-color: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    appearance: none; /* Removes default arrow to use custom one */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

/* Ensure the modal container allows internal scrolling for long forms */
.checkout-container {
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #4a8c3f #1a1a1a;
}

/* Chrome, Edge, and Safari scrollbar styling for the modal */
.checkout-container::-webkit-scrollbar {
    width: 6px;
}

.checkout-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.checkout-container::-webkit-scrollbar-thumb {
    background-color: #4a8c3f;
    border-radius: 10px;
}

/* Style the options inside the dropdown (Limited support in some browsers) */
#custArea option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
}

/* Pickup Form Specific Styles */
#pickupFields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#pickupFields input,
#pickupFields textarea {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

#pickupFields input:focus,
#pickupFields textarea:focus {
    border-color: #4a8c3f;
}

#pickupFields p {
    font-style: italic;
    margin-left: 5px;
}

/* Ensure the container transitions smoothly like delivery fields */
#pickupFields.delivery-fields-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s;
    opacity: 0;
}

#pickupFields.delivery-fields-container.open {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 25px;
}

/* Status Tracking Loader & Action Styles */
.loading-circle {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #4a8c3f;
    border-radius: 50%;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#declinedAction {
    text-align: center;
    padding: 10px;
}

#declinedAction p {
    margin-bottom: 20px;
    font-size: 1rem;
}

#declinedAction .confirm-order-btn {
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

#declinedAction .confirm-order-btn:hover {
    background-color: #c0392b;
}

#statusMainContent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Table Mode Styling */
#tableInfoDisplay {
    background: rgba(74, 140, 63, 0.1); /* Subtle green tint */
    border: 2px solid #4a8c3f;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease;
}

#tableInfoDisplay p {
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#tableNumLabel {
    display: block;
    color: #4a8c3f;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 5px;
}

/* Class to hide Pickup/Delivery options when a table is detected */
.qr-table-mode .order-type-selector,
.qr-table-mode #pickupFields,
.qr-table-mode #deliveryFields {
    display: none !important;
}

/* Adjusting the confirm button when in Table Mode */
.qr-table-mode .confirm-order-btn {
    margin-top: 5px;
    background: linear-gradient(135deg, #4a8c3f, #3a7c2f);
}
