/* Speisekarte Styles */

.page-hero {
    position: relative;
    height: 300px;
    background-image: url('../../images/buffet-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-hero .hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Menu Section - Neues Design */
.menu-section {
    background-color: var(--light-color);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../images/patterns/subtle-pattern.svg');
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* Menu Intro */
.menu-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.menu-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.menu-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.icon-accent {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Neue Menu-Navigation */
.menu-navigation {
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.menu-search-wrapper {
    margin-bottom: 1.5rem;
}

.search-container {
    display: flex;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-container input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.2);
    background-color: #fff;
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 45px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container button:hover {
    background-color: var(--dragon-red);
    transform: scale(1.05);
}

/* Category Selector */
.menu-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.category-selector {
    position: relative;
    min-width: 250px;
    margin-bottom: 1rem;
}

.current-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(196, 18, 48, 0.05);
    padding: 0.75rem 1.2rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(196, 18, 48, 0.1);
}

.current-category:hover {
    background-color: rgba(196, 18, 48, 0.1);
}

.current-category i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.current-category.active i {
    transform: rotate(180deg);
}

.category-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: var(--text-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(196, 18, 48, 0.1);
}

.category-selector:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: rgba(196, 18, 48, 0.05);
}

.category-item.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.category-item i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

/* Filter Tags */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.filter-tag:hover {
    background-color: #e0e0e0;
}

.filter-tag.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 3px 6px rgba(196, 18, 48, 0.2);
}

.filter-tag i {
    margin-right: 0.4rem;
}

/* Subcategory Filter */
.subcategory-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    background-color: rgba(196, 18, 48, 0.03);
    border: 1px solid rgba(196, 18, 48, 0.05);
    display: none; /* Initially hidden, shown when hauptgerichte selected */
}

.subcategory-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.subcategory-tag:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.subcategory-tag.active {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 3px 6px rgba(233, 180, 76, 0.2);
}

.subcategory-tag i {
    margin-right: 0.4rem;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.menu-item {
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

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

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

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

.menu-item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.menu-item-number {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    background-color: rgba(196, 18, 48, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--border-radius-md);
}

.menu-item-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.menu-item-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.menu-item-tags {
    display: flex;
    gap: 0.5rem;
}

.menu-item-tag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.menu-item-tag.vegetarian {
    background-color: #e3f5e1;
    color: #2d802a;
    border: 1px solid #2d802a;
}

.menu-item-tag.spicy {
    background-color: #ffeae5;
    color: #dd3f24;
    border: 1px solid #dd3f24;
}

.menu-item-tag.popular {
    background-color: #fff8e1;
    color: #f9a825;
    border: 1px solid #f9a825;
}

/* Specialty Highlight */
.specialty-highlight {
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 3rem;
    border: 2px solid rgba(233, 180, 76, 0.3);
    position: relative;
    overflow: hidden;
}

.specialty-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: url('../../images/patterns/ornament-corner.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
    transform: rotate(90deg);
    pointer-events: none;
}

.specialty-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.specialty-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--imperial-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(233, 180, 76, 0.3);
    flex-shrink: 0;
}

.specialty-icon i {
    font-size: 1.8rem;
    color: white;
}

.specialty-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.specialty-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.specialty-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.specialty-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.specialty-item-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.2rem;
    border: 3px solid rgba(233, 180, 76, 0.2);
    flex-shrink: 0;
}

.specialty-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.specialty-item-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.specialty-item-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Keine Ergebnisse */
.no-results {
    text-align: center;
    padding: 3rem;
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
    display: none; /* Initially hidden */
}

.no-results i {
    font-size: 3.5rem;
    color: rgba(196, 18, 48, 0.2);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.no-results p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-results button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(196, 18, 48, 0.2);
}

.no-results button:hover {
    background-color: var(--dragon-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(196, 18, 48, 0.3);
}

.no-results button i {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: white;
    margin-bottom: 0;
}

/* Chef's Empfehlung */
.chefs-recommendation {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
}

.chefs-recommendation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.recommendation-image {
    height: 100%;
    overflow: hidden;
}

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

.recommendation-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recommendation-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(196, 18, 48, 0.2);
}

.recommendation-badge i {
    margin-right: 0.5rem;
}

.recommendation-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.recommendation-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.recommendation-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.recommendation-tags {
    display: flex;
    gap: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tag i {
    margin-right: 0.5rem;
}

.tag-popular {
    background-color: rgba(249, 168, 37, 0.1);
    color: #f9a825;
    border: 1px solid rgba(249, 168, 37, 0.2);
}

.tag-signature {
    background-color: rgba(233, 180, 76, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(233, 180, 76, 0.2);
}

/* Qualitätsversprechen */
.food-quality-section {
    padding: 4rem 0;
    background-color: rgba(196, 18, 48, 0.03);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.section-title i {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.quality-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.quality-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quality-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.quality-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Allergene Section */
.allergens-section {
    background-color: var(--light-color);
    padding: 3rem 0;
}

.allergens-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.allergens-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--dark-color);
}

.allergens-content h3 i {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.allergens-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.allergens-notes {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(196, 18, 48, 0.1);
    border-radius: var(--border-radius-md);
    background-color: var(--text-light);
}

/* Allergen Legende */
.allergen-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.allergen-item {
    display: flex;
    align-items: center;
}

.allergen-symbol {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 0.5rem;
}

.allergen-symbol.vegetarian {
    background-color: #e3f5e1;
    border: 1px solid #2d802a;
}

.allergen-symbol.spicy {
    background-color: #ffeae5;
    border: 1px solid #dd3f24;
}

.allergen-symbol.popular {
    background-color: #fff8e1;
    border: 1px solid #f9a825;
}

/* Announcement Section */
.announcement-section {
    padding: 4rem 0;
    background-color: var(--text-light);
    text-align: center;
}

.announcement-content {
    max-width: 700px;
    margin: 0 auto;
}

.announcement-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--dark-color);
}

.announcement-content h3 i {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.announcement-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dragon-red);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .chefs-recommendation {
        grid-template-columns: 1fr;
    }
    
    .recommendation-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 250px;
    }
    
    .page-hero .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .menu-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-selector {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .filter-tags {
        justify-content: center;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .specialty-items {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .recommendation-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .specialty-header {
        flex-direction: column;
        text-align: center;
    }
    
    .specialty-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .specialty-item {
        flex-direction: column;
        text-align: center;
    }
    
    .specialty-item-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}