/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;               /* text color: black */
    background-color: #ffffff;    /* background: white */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {

    background-color: #000;  /* Black background */
    color: #fff;             /* White text */
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid #333333;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0.8;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    color: #cccccc;
}

.contact {
    font-size: 0.95rem;
    opacity: 0.7;
    color: #aaaaaa;
}

/* Filter Section */
.filter-section {

    background: #ffffff; /* white background */
    color: #000000;      /* black text */
    padding: 2rem;
    border: 2px solid #000000; /* black border */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    width: 90%;
    max-width: 900px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
    max-height: None;
    overflow: visible;
}

.filter-section.hidden {
    transform: translateY(-20px);
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}

.filter-content {
    transition: all 0.3s ease;
}

.filter-section h2 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
}

.filter-description {
    color: #000000;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.filter-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.filter-category h3 {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffffff;
    display: inline-block;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.filter-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid #444444;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    color: #000;

}

.filter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-item:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    border-color: #666666;
}

.filter-item:hover::before {
    left: 100%;
}

.filter-item.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.filter-item.active::before {
    display: none;
}

.filter-item input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #ffffff;
    transform: scale(1.1);
}

.filter-item.active input[type="checkbox"] {
    accent-color: #000000;
}

.filter-item label {
     color: #000000;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.filter-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-show-menu {
    display: inline-block;
    visibility: visible;
    opacity: 1;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
    z-index: 100;
    transform: translateY(0);
}

.btn-show-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-show-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
    border-color: #333333;
}

.btn-show-menu:hover::before {
    left: 100%;
}

.btn-show-menu:active {
    transform: translateY(0);
    transition: all 0.1s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #e8e8e8;
}

.btn-clear {
    display: inline-block;
    visibility: visible;
    background: transparent;
    color: #333333;
    border: 2px solid #444444;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.btn-clear:hover {
    border-color: #666666;
    color: #000000;
    transform: translateY(-2px);
    background: #f5f5f5;
}

.btn-show-menu {
    display: inline-block;
    visibility: visible;
    opacity: 1;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
    z-index: 100;
    transform: translateY(0);
}



/* Dietary Information Section */
.dietary-info-section {
    background: #f8f8f8;
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dietary-info-section h2 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dietary-info-section p {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Results Section */
.results-section {
    background: #0a0a0a;
    padding: 2rem 0 1rem;
    border-bottom: 1px solid #333333;
    transform: translateY(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    position: relative;
    z-index: 10;
    min-height: 120px;
}

.results-section.visible {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.results-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-count {
    color: #cccccc;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-edit-filters {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-edit-filters:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    padding: 2rem 0 3rem;
    transform: translateY(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    position: relative;
    z-index: 5;
    min-height: 400px;
}

.main-content.visible {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.menu-section {
    margin-bottom: 3rem;
}

.section-title {
    color: black;
   font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffffff;
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.menu-item {

   
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;

    background: #ffffff;
    color: #000000;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #000000;
    opacity: 1;
    transform: translateY(0);
    will-change: opacity, transform;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.menu-item.hidden {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.menu-item.filtering-out {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item.filtering-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.item-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    flex-grow: 1;
}

.dietary-badges {
    display: flex;
    gap: 6px;
    margin-left: 12px;
}

.badge {
    background: #000000;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.vegetarian {
    background: #333333;
}

.badge.gluten-free {
    background: #555555;
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
}

.item-description {
    color: #333333;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.item-ingredients {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dddddd;
}

.ingredients-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ingredient-tag {
    background: #f0f0f0;
    color: #333333;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #dddddd;
}

/* Dietary Options */
.dietary-options {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333333;
}

.dietary-options-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dietary-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dietary-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #dddddd;
    transition: all 0.2s ease;
}

.dietary-option-item:hover {
    background: #eeeeee;
    border-color: #cccccc;
}

.dietary-option-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    flex-grow: 1;
}

/* Toggle Switch Styles */
.toggle-container {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dddddd;
    transition: all 0.3s ease;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-input:checked + .toggle-slider {
    background-color: #000000;
}

.toggle-input:focus + .toggle-slider {
    box-shadow: 0 0 1px #000000;
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-container:hover .toggle-slider {
    background-color: #cccccc;
}

.toggle-container:hover .toggle-input:checked + .toggle-slider {
    background-color: #333333;
}
/* Dropdown Styles */
.dietary-dropdown {
    padding: 6px 12px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background: white;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.dietary-dropdown:hover {
    border-color: #000000;
}

.dietary-dropdown:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.dietary-dropdown option {
    padding: 4px 8px;
    background: white;
    color: #000000;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #333333;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.7;
    color: #cccccc;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

.surcharge {
    color: #ffffff !important;
    font-weight: 600;
}

.img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Responsive Design */
@media (max-width: 768px) {
 .container {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

    
   .logo {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
}
    
    .logo::after {
        width: 60px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        margin-top: 2rem;
        padding: 0 1rem;
        min-height: 120px;
    }
    
    .btn-show-menu,
    .btn-clear {
        display: block;
        visibility: visible;
        opacity: 1;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 0.5rem auto;
        padding: 16px 24px;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        border-radius: 12px;
        transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        box-sizing: border-box;
        position: relative;
        z-index: 100;
        cursor: pointer;
        transform: translateY(0);
    }
    
    .btn-show-menu {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .btn-show-menu:hover,
    .btn-show-menu:active {
        background: #f5f5f5;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        border-color: #333333;
    }
    
    .btn-show-menu:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: #e8e8e8;
    }
    
    .btn-clear {
        background: transparent;
        color: #333333;
        border: 2px solid #444444;
    }
    
    .btn-clear:hover,
    .btn-clear:active {
        border-color: #666666;
        color: #000000;
        background: #f5f5f5;
        transform: translateY(-2px);
    }
    
    .results-header {
        flex-direction: column;
        text-align: center;
    }
    
    .filter-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-options {
        grid-template-columns: 1fr;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .dietary-badges {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .logo::after {
        width: 50px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    .filter-section {
        padding: 1.5rem 0;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .filter-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 1.5rem;
        padding: 0 1rem;
        width: 100%;
        min-height: 120px;
    }
    
    .btn-show-menu,
    .btn-clear {
        display: block;
        visibility: visible;
        opacity: 1;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 10px;
        min-height: 50px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 0.5rem auto;
        text-align: center;
        font-weight: 700;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        box-sizing: border-box;
        position: relative;
        z-index: 100;
        transform: translateY(0);
    }
    
    .btn-show-menu {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .btn-show-menu:hover {
        background: #f5f5f5;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        border-color: #333333;
    }
    
    .btn-show-menu:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: #e8e8e8;
    }
    
    .btn-clear {
        background: transparent;
        color: #333333;
        border: 2px solid #444444;
    }
    
    .filter-content {
        padding: 0 1rem;
    }
    
    .filter-section h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .filter-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-categories {
        margin-bottom: 1.5rem;
    }
    
    .filter-options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .filter-item {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        margin-bottom: 8px;
        background: #f5f5f5;
        border: 2px solid #444444;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .filter-item:hover {
        background: #333333;
        color: #ffffff;
    }
    
    .filter-item.active {
        background: #ffffff;
        color: #000000;
        border-color: #000000;
    }
}