:root {
    --primary-color: #ff6600; /* Orange */
    --secondary-color: #1a1a1a; /* Dark Grey */
    --accent-color: #e7272d; /* Red */
    --text-color: #333;
    --bg-light: #f9f9f9;
    --bg-dark: #121212;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: #fff;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: #fff !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    color: var(--secondary-color) !important;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.badge-danger {
    background-color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: #e55c00;
    border-color: #e55c00;
    color: white;
}

.btn-danger {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 0;
}

.btn-danger:hover {
    background-color: #c91e24;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80'); 
    background-size: 100% 100%; /* Stretch to fit full image */
    background-repeat: no-repeat;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 30px;
}

/* Category Banners */
.cat-card {
    background: #111;
    color: white;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
}

.cat-card:hover {
    transform: translateY(-5px);
}

.cat-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
}

.cat-offer {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    z-index: 2;
}

.cat-img {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    z-index: 1;
    transition: 0.3s;
}

.cat-card:hover .cat-img {
    transform: scale(1.1);
}

/* Section Headings */
.section-icon {
    color: var(--primary-color);
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
}

/* Popular Items */
.popular-card {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.popular-card:hover {
    transform: translateY(-10px);
}

.popular-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.popular-price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 800;
}

/* Special Offer */
.offer-section {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0;
}

.countdown-box {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    min-width: 80px;
    text-align: center;
    /* margin-right: 15px; Removed: gap property handles spacing */
    font-weight: bold;
}

.countdown-box span {
    display: block;
    font-size: 1.5rem;
}

.countdown-box small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Burger Banner */
.burger-banner {
    background: #000;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.big-text-bg {
    font-size: 12rem;
    font-weight: 900;
    color: rgba(220, 53, 69, 0.2); /* Transparent Red */
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.price-tag {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Order Tracking */
.tracking-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #ddd;
    border-radius: 50%;
    line-height: 50px;
    margin: 0 auto 10px;
    color: white;
}

.step-active .step-icon {
    background: var(--primary-color);
}

.tracking-step {
    z-index: 2;
    background: transparent;
}

@media (max-width: 768px) {
    .tracking-timeline {
        padding-left: 20px;
    }

    .tracking-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 45px;
        width: 4px;
        height: 100%;
        background: #e9ecef;
        z-index: 0;
    }

    .tracking-timeline::after {
        content: '';
        position: absolute;
        top: 0;
        left: 45px;
        width: 4px;
        height: var(--progress-percent);
        background: var(--primary-color);
        z-index: 0;
        transition: height 0.3s ease;
    }

    .tracking-step {
        display: flex;
        align-items: center;
        text-align: left;
        margin-bottom: 25px;
        padding: 0;
        width: 100%;
    }

    .step-icon {
        margin: 0 20px 0 0;
        flex-shrink: 0;
        z-index: 2;
        position: relative; /* To sit on top of the line */
    }

    .step-text {
        font-size: 1rem;
    }

    /* Countdown Fix for Mobile */
    .countdown-box {
        background: var(--primary-color);
        min-width: 55px; /* Compact width */
        padding: 8px 4px;
        flex: 1; /* Distribute space evenly if needed, but min-width handles it */
    }
    
    .countdown-box span {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .countdown-box small {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}

/* Admin Sidebar */
.admin-sidebar {
    min-height: 100vh;
    background: var(--secondary-color);
    color: white;
}

.admin-link {
    color: #aaa;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
}

.admin-link:hover, .admin-link.active {
    background: var(--primary-color);
    color: white;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .d-flex.wrapper {
        flex-direction: column;
    }
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        z-index: 1050;
        transition: 0.3s;
        height: 100vh;
        width: 250px;
    }
    .admin-sidebar.active {
        left: 0;
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
    }
    .sidebar-overlay.active {
        display: block;
    }
    .mobile-header {
        display: flex !important;
    }
}

.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}


/* Extended Menu Styles */
.page-header-bg {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
    background-color: #222;
    padding: 80px 0;
    margin-bottom: 50px;
}
.menu-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.menu-filter-btn {
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.menu-filter-btn.active, .menu-filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.menu-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 30px;
    transition: 0.3s;
}
.menu-list-item:hover {
    transform: translateY(-5px);
}
.menu-list-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 25px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.menu-list-details {
    flex: 1;
}
.menu-list-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}
.menu-list-desc {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
}
.menu-list-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-right: 20px;
}
.menu-add-btn {
    min-width: 45px;
    width: auto;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px; /* Square with rounded corners per screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}
.menu-add-btn:hover {
    background: #d9534f;
}
@media(max-width: 768px) {
    /* Hero Section Responsive */
    .hero-section {
        height: auto;
        padding: 100px 0;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem; /* Reduced from 5rem */
        margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-section .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .menu-list-item {
        flex-direction: column;
        text-align: center;
    }
    .menu-list-img {
        margin: 0 0 15px 0;
    }
    .menu-list-price {
        margin: 15px 0;
    }
}



/* --- Revamped Menu Design --- */

/* Page Header */
.page-header-section {
    background: url('../images/header-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 120px 0 80px;
}
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.page-header-content {
    position: relative;
    z-index: 2;
}

/* Filter Buttons */
.menu-filter-nav {
    gap: 15px;
}
.menu-filter-btn {
    border: 2px solid #eee;
    background: #fff;
    color: #555;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.menu-filter-btn:hover, .menu-filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 102, 0, 0.3);
}

/* Menu Item Card */
.menu-item-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    position: relative;
}

.menu-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.menu-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item-card:hover .menu-card-img {
    transform: scale(1.1);
}

.menu-card-body {
    padding: 25px;
    position: relative;
}

.menu-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.menu-card-desc {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #eee;
    padding-top: 20px;
    margin-top: auto;
}

.menu-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-add-cart {
    background: var(--secondary-color);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-add-cart:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-filter-nav {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start; /* scrolling on mobile */
        flex-wrap: nowrap; 
    }
    .menu-filter-btn {
        white-space: nowrap;
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    .menu-item-card {
        margin-bottom: 20px;
    }
    .menu-card-img-wrapper {
        height: 180px;
    }
    .page-header-section {
        padding: 80px 0 60px;
    }
}


/* --- Classic List Menu Design --- */

.menu-list-container {
    max-width: 1000px;
    margin: 0 auto;
}

.menu-list-row {
    background: #fff;
    border-bottom: 1px dashed #ddd; /* Separator style */
    padding: 25px 0;
    transition: all 0.3s ease;
}

.menu-list-row:last-child {
    border-bottom: none;
}

.menu-list-row:hover {
    background: #fafafa;
    transform: translateX(5px); /* Subtle movement */
}

/* Image Styling */
.menu-list-img-box {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f9f9f9;
}

.menu-list-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows full image without zooming/cropping, might have whitespace */
    background-color: #fff;
}

/* Content Styling */
.menu-list-content {
    flex-grow: 1;
    padding-left: 20px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.menu-item-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    background: #fff;
    padding-right: 10px;
    z-index: 2;
    margin: 0;
}

.menu-item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #ccc;
    position: relative;
    bottom: 5px;
    margin: 0 10px;
    opacity: 0.6;
}

.menu-item-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    background: #fff; /* to cover dots */
    padding-left: 10px;
    position: relative;
    z-index: 2;
}

.menu-item-desc {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    max-width: 90%;
}

.menu-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-cat-badge {
    font-size: 0.75rem;
    background: #eee;
    color: #555;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-menu-add {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-menu-add:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

@media (max-width: 576px) {
    .menu-list-row {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        border-bottom: 1px solid #eee;
        box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .menu-list-content {
        padding-left: 0;
        margin-top: 15px;
    }
    
    .menu-list-img-box {
        margin: 0 auto;
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .menu-list-img {
        object-fit: cover; /* Mobile e ektu cover korle sundor lage, kintu contain e rakha jai */
    }

    .menu-item-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .menu-item-dots {
        display: none;
    }
    
    .menu-item-desc {
        max-width: 100%;
    }
    
    .menu-item-actions {
        justify-content: center;
        gap: 15px;
    }
}

