/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary: #d90429;
    /* Spice Red */
    --accent: #ff9f1c;
    /* Grill Orange */
    --dark: #0f0f0f;
    /* Deep Black */
    --dark-card: #1e1e1e;
    --text-grey: #b0b0b0;
}

html {
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: white;
    overflow-x: hidden;
    max-width: 100vw;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* NAVBAR TRANSLUCENT */
.navbar {
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    padding-top: 15px;
}

/* HERO SECTION - BIG & BOLD */
.hero-section {
    position: relative;
    height: 90vh;
    /* Takes 90% of screen height */
    background: linear-gradient(to right, #000000 1%, transparent), url('../images/bg/chilli-chicken-fried-rice.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    /* Massive Text */
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.text-gradient {
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CUSTOM BUTTONS */
.btn-spice {
    background: linear-gradient(45deg, var(--primary), #ef233c);
    color: white;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.4);
}

.btn-spice:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.6);
    color: white;
}

/* CATEGORY CIRCLES */
.cat-card {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #333;
    cursor: pointer;
}

.cat-card:hover {
    background: var(--primary);
    transform: translateY(-10px);
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.cat-card:hover .cat-icon {
    color: white;
}

img {
    width: 100%;
    height: auto;
}

/* FOOD CARDS */
.food-card {
    background: var(--dark-card);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.food-card img {
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.food-card:hover img {
    transform: scale(1.1);
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: black;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
}

/* FOOTER */
footer {
    background: #050505;
    border-top: 1px solid #222;
}

/* --- NEW SECTIONS CSS --- */

/* 1. ABOUT US SECTION */
.about-img-container {
    position: relative;
    padding: 20px;
}

.about-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--primary);
    border-left: 5px solid var(--primary);
    z-index: 1;
}

.about-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-bottom: 5px solid var(--primary);
    border-right: 5px solid var(--primary);
    z-index: 1;
}

/* --- SPICE & GRILL RESERVATION THEME --- */

.reservation-wrapper {
    box-shadow: 0 0 30px rgba(217, 4, 41, 0.1);
    /* Subtle Red Glow */
    border: 1px solid #333;
}

/* LEFT SIDE: FORM */
.reservation-form-bg {
    background-color: #121212;
    /* Deep Matte Black */
    padding: 3rem;
}

/* Custom Dark Inputs */
.form-control-spice {
    background-color: #1f1f1f;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    border-radius: 0;
    /* Sharp edges for "Tough/Grill" look */
    font-family: 'Poppins', sans-serif;
}

.form-control-spice:focus {
    background-color: #252525;
    border-color: var(--primary);
    /* Fire Red Border on Click */
    color: #fff;
    box-shadow: 0 0 10px rgba(217, 4, 41, 0.3);
}

.form-control-spice::placeholder {
    color: #666;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Custom Select Dropdown Arrow Fix */
select.form-control-spice {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d90429' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* RIGHT SIDE: INFO PANEL */
.contact-panel-spice {
    background-color: #000;
    /* Grill Mesh Pattern */
    background-image:
        linear-gradient(rgba(20, 20, 20, 0.9), rgba(20, 20, 20, 0.9)),
        repeating-linear-gradient(45deg, #222 0, #222 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    border-left: 2px solid var(--primary);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.contact-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.highlight-text {
    color: var(--accent);
    /* Orange */
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
}

/* 3. TESTIMONIALS */
.testimonial-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary);
    font-style: italic;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}


/* --- NEW MENU LAYOUT (LIST STYLE) --- */

/* 1. Sidebar Categories */
.menu-sidebar {
    position: sticky;
    top: 100px;
    /* Space from top of screen */
    padding-right: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.cat-link {
    display: block;
    color: #888;
    text-decoration: none;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s;
    border-left: 3px solid transparent;
    padding-left: 15px;
}

.cat-link:hover,
.cat-link.active {
    color: white;
    border-left: 3px solid var(--primary);
    /* The Red Bar on left */
    background: linear-gradient(to right, #222, transparent);
}

/* 2. Horizontal Product Card */
.menu-item-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    transition: 0.2s;
    position: relative;
}

.menu-item-card:hover {
    border-color: #555;
}

.menu-text-content {
    padding: 20px;
}

.menu-item-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 5px;
}

.menu-item-desc {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-current {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
}

.price-old {
    text-decoration: line-through;
    color: #666;
    font-size: 0.95rem;
    margin-left: 8px;
}

/* 3. Image & Button Area */
.menu-img-container {
    height: 160px;
    width: 100%;
    position: relative;
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 12px 12px 0;
    /* Round right corners only */
}

/* The Circular + Button */
.btn-add-circle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    color: black;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
    cursor: pointer;
    font-weight: bold;
}

.btn-add-circle:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Click Animation Class */
.btn-clicked {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Popular Tag */
.badge-popular {
    background-color: var(--accent);
    color: black;
    font-weight: bold;
    font-size: 0.75rem;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .menu-sidebar {
        display: none;
    }

    /* Hide sidebar on mobile */
    .menu-img {
        border-radius: 12px;
        height: 120px;
    }

    .menu-item-card .row {
        align-items: center;
    }
}

/* --- CAPSULE QUANTITY CONTROL (Like Screenshot) --- */

/* Wrapper to hold buttons */
.menu-action-area {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
}

/* 1. The Initial Round "+" Button */
.btn-add-initial {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    /* Matches screenshot background */
    color: black;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-add-initial:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
}

/* 2. The Capsule Control [- 1 +] */
.qty-capsule {
    background-color: white;
    border-radius: 50px;
    /* Capsule shape */
    padding: 5px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 110px;
    /* Fixed width for stability */
    height: 45px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* The Plus/Minus Buttons inside Capsule */
.btn-capsule {
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    /* Thicker like screenshot */
    color: black;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    /* Fix vertical alignment */
}

.btn-capsule:hover {
    color: var(--primary);
    /* Red on hover */
}

/* The Number Display */
.qty-display {
    font-weight: 700;
    font-size: 1.2rem;
    color: black;
    min-width: 20px;
    text-align: center;
}



/* --- MOBILE CATEGORY SCROLL --- */
.mobile-cat-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.mobile-cat-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.mobile-cat-btn {
    display: inline-block;
    padding: 8px 20px;
    margin-right: 10px;
    background-color: #222;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #444;
    transition: 0.3s;
}

.mobile-cat-btn.active,
.mobile-cat-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* --- HOME PAGE CAPSULE (Wide) --- */
.home-qty-capsule {
    background-color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    /* Matches standard button height */
    padding: 0 10px;
    box-shadow: 0 0 10px rgba(217, 4, 41, 0.4);
    /* Red Glow */
}

.home-qty-capsule .btn-capsule {
    color: black;
    font-weight: bold;
    font-size: 1.5rem;
    background: none;
    border: none;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-qty-capsule .qty-display {
    color: black;
    font-weight: 800;
    font-size: 1.2rem;
}

a.navbar-brand {
    position: absolute;
    top: -5px;
}

a.navbar-brand img {
    max-width: 80px;
}


.swiper {
    width: 100%;
    /* height: 300px; */
}

#trending {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../images/bg/2.webp);
    background-position: center;
    background-size: cover;
}

.categories-section .card-body h4 {
    font-size: 16px;
    text-decoration: none;
    text-align: center;
}

a {
    text-decoration: none;
}

.page-header {
    padding: 150px 0; background-image: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../images/bg/chilli-chicken-fried-rice.webp);
    background-position: center;
    background-size: cover;
}

.breadcrumb-item.active {
    color: #fff;
}

.mobile-right-button {
    display: none;
}


/*footer start*/
/* Footer Main */
.footer {
    background: url("../images/bg/3.webp") no-repeat center center/cover;
    position: relative;
    color: #fff;
    padding: 80px 0 30px;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.footer-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Left Menu */
.footer-left ul,
.footer-right ul{
    list-style: none;
}

.footer-left ul li,
.footer-right ul li{
    margin-bottom: 20px;
}

.footer-left ul li a {
    text-decoration: none;
    color: #ccc;
    letter-spacing: 2px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-left ul li a:hover {
    color: #d90429;
}

/* Center Content */
.footer-center {
    text-align: center;
    max-width: 400px;
}

.footer-center h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-center p {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
}

.open-time,
.lunch-time {
    margin-top: 10px;
    color: #fff;
}

/* Diamond Divider */
.diamond {
    width: 10px;
    height: 10px;
    border: 1px solid #dc1a26;
    transform: rotate(45deg);
    margin: 25px auto 0;
}

/* Right Section */
.footer-right {
    text-align: right;
}

.footer-right a {
    text-decoration: none;
    color: #ccc;
    letter-spacing: 2px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-right a:hover {
    color:  #d90429;
}

/* Bottom Bar */
.footer-bottom {
    position: relative;
    text-align: center;
    margin-top: 60px;
    font-size: 13px;
    color: #aaa;
}

.footer-bottom span {
    color: #c6a25c;
}
/*footer end*/


@media(max-width:768px) {
    .mobile-right-button {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        align-items: center;

    }

    .cart-on-desktop {
        display: none;
    }

    .navbar button.navbar-toggler {
        margin-left: 20px;
    }

    /* .navbar button.navbar-toggler {
        position: relative;
        left: 85%;
    } */

    li.nav-item.me-3.cart-nav {
        position: absolute;
        top: 18px;
        right: 99px;
    }

    .hero-section .btn-spice {
        background: linear-gradient(45deg, var(--primary), #ef233c);
        color: white;
        padding: 12px 25px;
        font-weight: 600;
        border-radius: 50px;
        border: none;
        transition: 0.3s;
        text-transform: uppercase;
        box-shadow: 0 4px 15px rgba(217, 4, 41, 0.4);
        font-size: 15px;
    }

    .hero-section .btn-outline-light {
        font-size: 15px;
        padding: 12px 25px;
        font-weight: 600;
    }

    .reservation-form-bg {
        background-color: #121212;
        padding: 1rem;
    }

    .categories-section .card-body h4 {
        font-size: 15px;
        text-decoration: none;
        text-align: center;
        min-height: 40px;
    }

    .py-5.my-5.categories-section {
        padding: 0 !important;
    }
    .footer-container {
        flex-direction: column;
    }
    .footer-center {
    
    order: 2;
}
.footer-right{
    text-align: center;
}
.footer-left ul, .footer-right ul{
    padding-left: 0;
}
}
