/* menu-style.css */
/* Menu Hero Section */
.menu-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/menupub.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 140px 20px 80px;
    margin-top: 80px;
}

.menu-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.menu-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Menu Filter */
.menu-filter {
    padding: 40px 20px 20px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 10px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #c52c2c;
    color: white;
}

.filter-btn:hover:not(.active) {
    background: #e0e0e0;
}

/* Full Menu Section */
.full-menu {
    padding: 40px 20px 80px;
}

.menu-category {
    margin-bottom: 60px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffcc00;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    color: #c52c2c;
    font-size: 1.8rem;
}

/* Menu Items Grid */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.menu-item-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.menu-item-card.small-card {
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.menu-item-card.small-card .item-info {
    padding: 0;
    width: 100%;
}

.item-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.menu-item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffcc00;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.item-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.item-header h3 {
    font-size: 1.4rem;
    color: #222;
    margin: 0;
    flex-grow: 1;
}

.item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #c52c2c;
    margin-left: 15px;
}

.item-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.item-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: #555;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-vegetarian {
    background: #e8f5e9;
    color: #2e7d32;
}

.custom-options {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.option-group {
    margin-bottom: 10px;
}

.option-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.9rem;
}

.option-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    background: white;
}

.item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-cart {
    flex-grow: 1;
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-cart:hover {
    background: #c52c2c;
}

.btn-favorite {
    background: #f5f5f5;
    color: #666;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background: #ffebee;
    color: #f44336;
}

.btn-favorite.active {
    background: #ffebee;
    color: #f44336;
}

/* Order CTA Section */
.order-cta {
    background: linear-gradient(135deg, #c52c2c 0%, #a82424 100%);
    color: white;
    text-align: center;
    padding: 70px 20px;
    margin: 40px 0;
}

.order-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.order-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 35px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #c52c2c;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

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

.cart-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    color: #222;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .menu-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-hero {
        padding: 120px 20px 60px;
    }
    
    .menu-hero h1 {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .menu-item-card.small-card {
        flex-direction: column;
        text-align: center;
    }
    
    .item-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .item-price {
        margin-left: 0;
    }
}

/* Add to existing menu-style.css */

/* Cart Item Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #222;
}

.cart-item-price {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-total {
    font-weight: 600;
    color: #c52c2c;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 500;
}

.remove-item {
    background: none;
    border: none;
    color: #f44336;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    color: #d32f2f;
}

/* Notification Styles */
.notification {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: #4CAF50 !important;
    color: white !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 120px !important;
    max-width: 180px !important;
    font-size: 0.7rem !important;
    transform: translateY(100px) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
}

.notification.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.notification.error {
    background: #f44336 !important;
}

.close-notification {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    margin-left: 8px !important;
    line-height: 1 !important;
    padding: 0 !important;
    width: 14px !important;
    height: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Cart Counter */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #c52c2c;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.8rem;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-order {
    position: relative;
}

/* Order button in mobile */
@media (max-width: 768px) {
    .btn-order {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

/* Custom Select Styling */
select {
    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='currentColor' 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 10px center;
    background-size: 16px;
    padding-right: 35px;
}

/* Hover effects for all buttons */
.btn-cart:hover, .btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-cart:active, .btn-primary:active, .btn-secondary:active {
    transform: translateY(0);
}

/*-----------------------------------------------------------------------------------------=*/

/* Add to menu-style.css */

/* Cart Icon for Menu Page */
.cart-icon-menu {
    margin-left: 20px;
}

.cart-icon-menu .cart-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cart-icon-menu .cart-toggle:hover {
    background: #c52c2c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 44, 44, 0.2);
}

.cart-icon-menu .cart-toggle i {
    font-size: 1.3rem;
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #c52c2c;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menu Cart Sidebar */
.menu-cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

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

.cart-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
}

.cart-items {
    flex: 1;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-cart p {
    margin: 5px 0;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #222;
}

.cart-item-price {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-total {
    font-weight: 600;
    color: #c52c2c;
    margin-right: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-value {
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #f44336;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
}

/* Order Summary */
.order-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #666;
}

.summary-row.total {
    font-weight: 700;
    color: #222;
    font-size: 1.2rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid #c52c2c;
    color: #c52c2c;
    padding: 12px;
    font-weight: 600;
}

.btn-outline:hover {
    background: #c52c2c;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-icon-menu {
        margin-left: 10px;
    }
    
    .cart-icon-menu .cart-toggle {
        width: 45px;
        height: 45px;
    }
    
    .menu-cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .cart-icon-menu {
        position: absolute;
        right: 60px;
        top: 20px;
    }
}


/*---------------------------------------------------------------------------------------*/

/* Ensure overlay covers everything */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
    cursor: pointer;
}

.cart-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ensure cart sidebar is above overlay */
.menu-cart-sidebar {
    z-index: 2000;
}

/* Make close button more clickable */
.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: #c52c2c;
}

/* Make quantity buttons more clickable */
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #f5f5f5;
    border-color: #c52c2c;
}

/*-----------------------------------------------------------------------------*/


/* Add this to your existing menu-style.css file */

/* New filter button styles */
.filter-buttons {
    overflow-x: auto;
    padding-bottom: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn.active {
    background: #c52c2c;
    color: white;
}

.filter-btn:hover:not(.active) {
    background: #e0e0e0;
}

/* Quality Note Section */
.quality-note {
    margin: 40px 0 60px;
}

.quality-card {
    background: linear-gradient(135deg, #f9f5e9 0%, #f0e6d2 100%);
    border: 2px solid #ffcc00;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quality-card i {
    font-size: 2.5rem;
    color: #8bc34a;
}

.quality-card h3 {
    color: #222;
    font-size: 1.5rem;
    margin: 0;
}

.quality-card p {
    color: #5d4037;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
    font-style: italic;
}

/* Gluten Free Tag */
.tag-glutenfree {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Family Meal Styling */
.menu-item-card.family-meal {
    border: 2px solid #ffcc00;
}

.menu-item-card.family-meal .item-header h3 {
    color: #c52c2c;
}

.item-details {
    margin: 10px 0;
}

.item-details p {
    margin: 5px 0;
    color: #666;
    font-size: 0.95rem;
}

.item-details strong {
    color: #333;
}

/* Category-specific icons */
.category-title .fa-drumstick-bite {
    color: #ff9800;
}

.category-title .fa-users {
    color: #2196F3;
}

.category-title .fa-bacon {
    color: #f44336;
}

.category-title .fa-fish {
    color: #03A9F4;
}

.category-title .fa-cheese {
    color: #FFC107;
}

.category-title .fa-leaf {
    color: #4CAF50;
}

.category-title .fa-ice-cream {
    color: #E91E63;
}

.category-title .fa-bread-slice {
    color: #795548;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .quality-card {
        padding: 20px;
    }
    
    .quality-card i {
        font-size: 2rem;
    }
    
    .quality-card h3 {
        font-size: 1.3rem;
    }
}


/*---------------------------------------------------------------------------------------*/

/* Add to menu-style.css */
.order-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active {
    background: #c52c2c;
    color: white;
}

.category-btn:hover:not(.active) {
    background: #e0e0e0;
    color: #333;
}
