/* Professional Styles for Italian Chaskaa Website */

:root {
    --primary-color: #d32f2f;
    /* Italian red */
    --primary-dark: #b71c1c;
    /* Darker red */
    --secondary-color: rgb(0, 128, 0);
    /* Italian green */
    --secondary-dark: #2e7d32;
    /* Darker green */
    --accent-color: #f9a825;
    /* Warm yellow/gold */
    --light-color: #ffffff;
    --dark-color: #212121;
    --gray-color: #f5f5f5;
    --gray-dark: #e0e0e0;
    --beige-color: #f5f5dc;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-primary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    padding-top: 130px;
    /* Adjusted for fixed navbar + fixed menu categories */
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Header & Navigation */
.navbar {
    background-color: var(--light-color);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 10px;
    letter-spacing: 0.5px;
}

/* Navbar right elements (phone, cart buttons) */
.navbar-right-elements {
    margin-left: auto;
    /* Push elements to the right */
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between elements */
}

.phone-contact {
    color: var(--secondary-color);
    /* Green color as per image */
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.phone-contact i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Override Bootstrap button styles for header */
.navbar .btn {
    padding: 8px 18px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.navbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

.navbar .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.navbar .btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

.navbar .btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Menu Category Navigation outside Navbar */
.fixed-top-menu-categories {
    position: fixed;
    top: 100px;
    /* Height of the main navbar */
    width: 100%;
    background-color: var(--light-color);
    /* White background */
    box-shadow: var(--shadow-sm);
    /* Subtle shadow */
    padding: 10px 0;
    z-index: 1020;
    /* Above hero but below main navbar's top z-index */
}

@media (max-width: 991.98px) {
    .fixed-top-menu-categories {
    position: fixed;
    top: 90px;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow-sm);
    
    padding: 10px 0;
    z-index: 1020;
}
}

.horizontal-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Enable smooth scrolling on iOS */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 10px;
    /* Add some padding for scrollbar if it appears */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.navbar-nav.nav-pills {
    flex-direction: row;
    /* Ensure items are in a row */
    flex-wrap: nowrap;
    /* Prevent wrapping */
    align-items: center;
    /* Vertically align items */
    padding: 0;
    justify-content: flex-start;
    /* Align items to the start, allow scroll */
}

.navbar-nav.nav-pills .nav-item-button {
    margin-right: 10px;
    /* Space between buttons */
    flex-shrink: 0;
    /* Prevent buttons from shrinking */
}

.navbar-nav.nav-pills .nav-item-button:last-child {
    margin-right: 0;
    /* No margin on the last button */
}

.navbar-nav.nav-pills .nav-link {
    background-color: var(--gray-color);
    /* Light gray background for default */
    color: var(--dark-color);
    /* Dark text color */
    border-radius: 50px;
    /* Fully rounded pills */
    padding: 8px 20px;
    /* Adjusted padding */
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    /* Prevent text wrapping inside buttons */
    margin: 5px 0;
    /* Top/bottom margin for mobile wrapping if horizontal-scroll-container is removed for smaller screens */
}

.navbar-nav.nav-pills .nav-link.active,
.navbar-nav.nav-pills .nav-link:hover {
    background-color: var(--primary-color);
    /* Red background for active/hover */
    color: var(--light-color);
    /* White text for active/hover */
    box-shadow: var(--shadow-sm);
    /* Subtle shadow on active/hover */
    transform: translateY(-1px);
    /* Slight lift on hover/active */
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--beige-color);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: #555;
}

.hero-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 60px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.menu-category {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
    /* For smooth scrolling with fixed header */
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Menu Item Card */
.menu-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    /* Softer initial shadow */
    margin-bottom: 25px;
    /* More vertical spacing between cards */
    transition: var(--transition);
    height: 100%;
    /* Ensure cards fill their column height */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-dark);
    /* Subtle border */
    max-width: 300px;
    /* Slightly wider cards */
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    /* Changed to hidden for image rounded corners */
}

.menu-item:hover {
    transform: translateY(-7px);
    /* More pronounced lift effect */
    box-shadow: var(--shadow-lg);
    /* Darker shadow on hover */
}

.menu-item-img {
    position: relative;
    width: 100%;
    height: 180px;
    /* Consistent with original height */
    overflow: hidden;
    /* This overflow is fine for the image */
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.1);
}

.menu-item-content {
    padding: 15px;
    /* Reduced padding for compact look like image */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* Removed justify-content: space-between to allow natural flow */
    background-color: var(--light-color);
    /* Set to pure white as per image */
}

.menu-item-title {
    font-size: 1.1rem;
    /* Smaller font size as per image */
    font-weight: 700;
    margin-bottom: 5px;
    /* Reduced margin */
    color: var(--primary-color);
    transition: var(--transition);
    margin-top: 10px;
    /* Add space between image and title */
    position: static;
    /* Remove relative positioning as no pseudo-element */
    padding-bottom: 0;
    /* Remove padding as no pseudo-element */
}

.menu-item:hover .menu-item-title {
    color: var(--primary-dark);
}

.menu-item-description {
    font-size: 0.9rem;
    /* Smaller font size as per image */
    color: #666;
    margin-bottom: 10px;
    /* Reduced margin */
    flex-grow: 1;
    line-height: 1.4;
    /* Adjusted line height */
}

/* Actions container (re-evaluated structure based on image) */
.menu-item-actions {
    display: flex;
    flex-direction: column;
    /* Stack size options above quantity/add-to-cart row */
    gap: 10px;
    /* Space between size options and bottom row */
    margin-top: 10px;
    /* Adjusted margin-top */
    padding-top: 10px;
    /* Added padding-top for a line */
    border-top: 1px solid var(--gray-dark);
    /* Subtle border */
}

.choose-size-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 5px;
    /* Space below label */
}

.size-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    /* Allow buttons to wrap */
}

.size-btn {
    background-color: white;
    color: rgb(31, 30, 30);
    border: none;
    border-radius: var(--border-radius);
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgb(42, 39, 39);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    /* Stack size and price */
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    flex-grow: 1;
    text-align: center;
}

.size-btn span:first-child {
    font-size: 1rem;
    font-weight: 600;
}

.size-btn span:last-child {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.size-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    color: white;
    box-shadow: var(--shadow-sm);
}

.size-btn.active {
    background-color: var(--primary-color);
    /* Darker red as per image */
    border: none;
    /* No extra border in image */
    transform: translateY(-2px);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Bottom row for quantity and add to cart square */
.bottom-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    background-color: var(--gray-color);
    border-radius: 20px;
    overflow: hidden;
    height: 38px;
    /* Height for consistency */
    flex-grow: 1;
    /* Allow it to take available space */
}

.quantity-btn {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border: 1px solid var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--dark-color);
    flex-shrink: 0;
    margin: 0 2px;
}

.quantity-btn:hover {
    background-color: var(--gray-dark);
    /* Darker gray background on hover as per image */
    color: var(--dark-color);
    border-color: var(--gray-dark);
}

.current-quantity-display {
    /* Renamed from quantity-display in the original for consistency with JS */
    margin: 0 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    min-width: 20px;
    text-align: center;
}

.add-to-cart-icon-btn {
    /* New class for the square button */
    width: 38px;
    height: 38px;
    background-color: var(--light-color);
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    /* Use existing border-radius var */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    /* Prevent shrinking */
}

.add-to-cart-icon-btn:hover {
    background-color: rgba(211, 47, 47, 0.1);
    /* Use primary color with opacity */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background-color: var(--light-color);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    /* Increased z-index to be on top */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    display: flex;
    /* Enable flexbox */
    flex-direction: column;
    /* Stack children vertically */
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-dark);
    background-color: var(--primary-color);
    color: var(--light-color);
    flex-shrink: 0;
    /* Prevent shrinking */
}

.cart-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-cart:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.cart-items {
    padding: 20px;
    /* max-height: calc(100vh - (20px + 20px + 1px + 20px + 80px)); */
    /* Removed fixed max-height */
    overflow-y: auto;
    /* Keep scrolling for items */
    flex-grow: 1;
    /* Allow to grow and take available space */
}

.empty-cart-message {
    text-align: center;
    padding: 30px 0;
    color: #777;
    font-size: 1.1rem;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-dark);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 15px;
    box-shadow: var(--shadow-sm);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.cart-item-size {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-right: 15px;
    background-color: var(--gray-color);
    border-radius: 20px;
    padding: 3px;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    background-color: var(--light-color);
    border: 1px solid var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--dark-color);
}

.quantity-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-color: var(--secondary-color);
}

.quantity-display {
    margin: 0 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-item-btn:hover {
    background-color: rgba(244, 67, 54, 0.1);
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-dark);
    background-color: var(--gray-color);
    flex-shrink: 0;
    /* Prevent shrinking */
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-btn i {
    margin-right: 10px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.cart-overlay.visible {
    display: block;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-notification {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    margin-top: 10px;
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.toast-notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Checkout Modal */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-bottom: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.4rem;
}

.modal-body {
    padding: 25px;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-dark);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(56, 142, 60, 0.25);
}

.modal-footer {
    border-top: none;
    padding: 20px 25px;
    background-color: var(--gray-color);
}

/* Cart Page Styles */
.cart-page {
    padding: 100px 0;
    min-height: 70vh;
}

.cart-table {
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cart-table th {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-table td {
    vertical-align: middle;
    padding: 15px;
    border-bottom: 1px solid var(--gray-dark);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.item-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
    border-radius: 20px;
    padding: 3px;
    width: fit-content;
    margin: 0 auto;
}

.cart-summary {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.cart-summary h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.cart-summary h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.empty-cart-message {
    text-align: center;
    padding: 80px 0;
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.empty-cart-message h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.empty-cart-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 70px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

footer h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

footer h4 {
    font-size: 1.4rem;
    /* Slightly smaller than h3 */
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-color);
    /* White/light color as in image */
}

footer p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Specific styling for footer icons */
footer .col-md-3 p i {
    color: #e83e8c;
    /* Pink color from the image */
}

/* Styling for opening timings list */
footer .list-unstyled {
    padding-left: 0;
    /* Remove default ul padding */
    list-style: none;
    /* Remove list bullets */
}

footer .list-unstyled li {
    margin-bottom: 10px;
    /* Space between timing lines */
    color: #aaa;
    /* Text color consistent with paragraphs */
    font-size: 1rem;
    /* Adjust font size if needed */
}

footer .copyright {
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--light-color);
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
        margin-top: 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero-img {
        margin-top: 30px;
        transform: none;
    }

    .menu-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .cart-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        z-index: 1050;
        border-radius: 0 0 0 0;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        background: #fff;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        padding: 0 0 16px 0;
        display: flex;
        /* Enable flexbox */
        flex-direction: column;
        /* Stack children vertically */
    }

    .cart-sidebar.open {
        right: 0;
    }

    .cart-header {
        padding: 18px 20px 12px 20px;
        border-bottom: 1px solid #eee;
        background: #fff;
        border-radius: 0;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    .cart-items {
        /* Removed fixed max-height */
        overflow-y: auto;
        padding: 10px 16px;
        flex-grow: 1;
        /* Allow to grow and take available space */
    }

    .cart-footer {
        padding: 18px 20px 0 20px;
        background: #fff;
        border-top: 1px solid #eee;
        border-radius: 0;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-img {
        margin-bottom: 10px;
        width: 100px;
        height: 100px;
    }

    .cart-item-controls {
        margin-top: 15px;
        justify-content: space-between;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .menu-item-actions {
        flex-wrap: wrap;
    }

    .size-options-container {
        flex: 1 0 100%;
        margin-bottom: 10px;
    }

    .quantity-container,
    .add-to-cart-btn {
        flex: 1;
    }
}

@media (max-width: 575px) {
    .navbar {
        padding: 10px 0;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .menu-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .cart-sidebar {
        width: 100%;
    }

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .quantity-btn {
        width: 45px;
        height: 45px;
    }
}