* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #f8f9fa; /* A slightly off-white background */
}

.container {
    max-width: 1200px; /* A bit wider for modern screens */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Banner --- */
.hero-banner {
    background: url('../images/www.Hungryzaks.com.png') no-repeat center center/cover;
    color: #ffff;
    height: 70vh; /* Slightly taller for more impact */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)); /* Gradient overlay */
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

/* --- Unique Header --- */
header {
    background: linear-gradient(to right, #ffffff, #fdfdfd);
    border-bottom: 1px solid #e5e7eb;
}
header nav a {
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}
header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ef4444; /* Red color */
    transition: width 0.3s ease;
}
header nav a:hover::after {
    width: 100%;
}

/* --- Unique Footer --- */
footer {
    background-color: #111827; /* Darker than default gray-900 */
}
footer .footer-top {
    background-color: #1f2937; /* A slightly lighter top section */
    padding: 3rem 0;
}
footer .footer-bottom {
    padding: 1.5rem 0;
    background-color: #111827;
}
footer h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #374151;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
footer .social-links a:hover {
    background-color: #ef4444; /* Red color */
    transform: translateY(-3px);
}

/* --- Franchise CTA Banner --- */
.franchise-cta-banner {
    background: url('https://via.placeholder.com/1920x400.png?text=Franchise+Opportunities') no-repeat center center/cover; /* Placeholder image */
    color: #fff;
    height: 40vh; /* Shorter than hero banner */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    margin-top: 40px; /* Some spacing from the hero banner */
}

.franchise-cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for readability */
}

.franchise-cta-banner .container {
    position: relative;
    z-index: 1;
}

/* --- Featured Items --- */
.featured-item-card {
    background-color: #ffffff;
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item-card .image-container {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.featured-item-card .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- WhatsApp Chat Icon --- */
.whatsapp-chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}
.whatsapp-chat-icon:hover {
    transform: scale(1.1);
    animation: none;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Timeline Graphic --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #ef4444; /* Red color */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: white;
    border: 3px solid #ef4444;
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Responsive Timeline for smaller screens */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-dot {
        left: 12px;
    }
}

/* --- Meet the Team Section --- */
.team-card {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- POS Page Styles --- */
.pos-category-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    color: #4b5563;
    background-color: #f3f4f6;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: capitalize;
}
.pos-category-btn:hover {
    /* Tailwind: hover:bg-red-100 hover:text-red-700 */
    background-color: #fee2e2;
    color: #dc2626;
}
.pos-category-btn.active {
    background-color: #dc2626;
    color: #ffffff;
}
.diet-filter-btn {
    padding: 0.3rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    color: #4b5563;
    background-color: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}
.diet-filter-btn:hover {
    background-color: #f3f4f6;
}
.diet-filter-btn.active {
    background-color: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}


.pos-menu-card {
    /* Tailwind: bg-white rounded-lg shadow-sm cursor-pointer transition flex flex-col */
    background-color: #ffffff;
    border-radius: 0.375rem; /* 6px */
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.pos-menu-card:hover {
    /* Tailwind: hover:-translate-y-1 hover:shadow-md */
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.quantity-btn {
    /* Tailwind: bg-gray-200 text-gray-800 w-6 h-6 rounded-full font-bold leading-none flex items-center justify-center */
    background-color: #e5e7eb;
    color: #374151;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.quantity-btn:hover {
    background-color: #d1d5db;
}
.quantity-btn[data-action="decrease"] {
    background-color: #fee2e2;
    color: #dc2626;
}

.running-order-card {
    /* Tailwind: flex-shrink-0 bg-yellow-100 text-yellow-800 rounded-lg p-3 flex flex-col items-center justify-center w-28 h-20 cursor-pointer shadow-sm hover:shadow-md transition */
    flex-shrink: 0;
    background-color: #fef9c3;
    color: #854d0e;
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 5rem;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.running-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.payment-method-btn {
    /* Tailwind: p-4 border rounded-lg flex flex-col items-center justify-center gap-2 font-semibold text-gray-700 hover:bg-gray-100 hover:border-red-500 */
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

/* --- Menu Page Styles --- */
.category-filter-container {
    display: flex;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    padding-bottom: 1rem;
}
.category-filter-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.category-btn {
    flex-shrink: 0;
    padding: 0.5rem 1.5rem;
    margin-right: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-weight: 600;
    color: #4b5563;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}
.category-btn:hover {
    background-color: #fef2f2;
    color: #ef4444;
}
.category-btn.active {
    background-color: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.menu-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.menu-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-card .price-sizes span {
    display: inline-block;
    background-color: #f3f4f6;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
}

/* --- Print Styles for Receipt --- */
@media print {
    body * {
        display: none;
    }
    #printable-bill, #printable-bill * {
        display: block;
    }
    #printable-bill {
        font-family: monospace;
        font-size: 10pt;
    }
    .receipt-header, .receipt-footer {
        text-align: center;
    }
    .receipt-header h2 {
        margin: 0;
        font-size: 1.2em;
    }
    .receipt-header p, .receipt-footer p {
        margin: 3px 0;
    }
    .receipt-table {
        width: 100%;
        border-collapse: collapse;
        margin: 15px 0;
    }
    .receipt-table thead {
        border-bottom: 1px dashed #000;
    }
    .receipt-table th {
        padding-bottom: 5px;
    }

    .receipt-table th, .receipt-table td {
        border-bottom: 1px dashed #ccc;
        padding: 5px;
        text-align: left;
    }

    .receipt-table th:last-child, .receipt-table td:last-child {
        text-align: right;
    }
    .receipt-totals {
        border-top: 1px dashed #000;
        padding-top: 10px;
    }
    .receipt-totals div {
        display: flex;
        justify-content: space-between;
    }
}

.form-input {
    /* Tailwind: block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-red-500 focus:border-red-500 */
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.form-input:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-color: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 0 0 2px var(--tw-ring-color);
}

.payment-method-btn.active {
    /* Tailwind: bg-red-100 border-red-500 text-red-700 ring-2 ring-red-500 */
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #c2410c;
    box-shadow: 0 0 0 2px #ef4444;
}
.payment-method-btn > i {
    width: 1.5rem;
    height: 1.5rem;
}

/* --- Store Settings Page --- */
.tab-btn {
    /* Tailwind: py-4 px-1 border-b-2 font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300 */
    padding: 1rem 0.25rem;
    border-bottom-width: 2px;
    border-color: transparent;
    font-weight: 500;
    font-size: 0.875rem;
    color: #6b7280;
    transition: all 0.2s ease-in-out;
}
.tab-btn:hover {
    color: #374151;
    border-color: #d1d5db;
}
.tab-btn.active {
    /* Tailwind: border-red-500 text-red-600 */
    border-color: #ef4444;
    color: #dc2626;
    font-weight: 600;
}

.form-label {
    /* Tailwind: block text-sm font-medium text-gray-700 mb-1 */
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}