/* ========== 全域樣式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fdfbf7 0%, #fef8f1 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ========== 標題區 ========== */
header {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    color: white;
    text-align: center;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.05) 20px,
        rgba(255, 255, 255, 0.05) 40px
    );
    animation: shimmer 30s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(50px) translateY(50px); }
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.event-datetime {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

header h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* ========== 區塊標題 ========== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #d35400;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #d35400);
    border-radius: 2px;
}

/* ========== 建議組合區 ========== */
.recommendations-section {
    padding: 60px 30px;
    background: linear-gradient(180deg, #fff9f4 0%, #ffffff 100%);
}

.recommendations-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.8;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.recommendation-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #ffecd9;
    position: relative;
}

.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(211, 84, 0, 0.15);
}

.recommendation-card.featured {
    border: 3px solid #e67e22;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(230, 126, 34, 0.4);
}

.card-header {
    background: linear-gradient(135deg, #ffecd9 0%, #ffe4c4 100%);
    padding: 30px;
    text-align: center;
    border-bottom: 3px solid #e67e22;
}

.card-header h3 {
    font-size: 1.6rem;
    color: #d35400;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 400;
}

.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, #d35400, #e67e22);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.card-content {
    padding: 30px;
}

.card-description {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.card-description .en {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

.toggle-btn {
    width: 100%;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.toggle-btn:hover {
    background: linear-gradient(135deg, #d35400, #c0451e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.3);
}

.menu-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 20px;
}

.menu-details.active {
    max-height: 2000px;
}

.menu-details ul {
    list-style: none;
    padding: 0;
}

.menu-details li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-details li:last-child {
    border-bottom: none;
}

.menu-details li.highlight {
    background: #fffaf5;
    padding: 12px 10px;
    border-radius: 8px;
    border: 1px solid #ffecd9;
}

.menu-details li.vegetarian {
    background: #f0fdf4;
    padding: 12px 10px;
    border-radius: 8px;
    border: 1px solid #d1fae5;
}

.item-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.item-name-en {
    font-size: 0.85rem;
    color: #666;
}

.item-price {
    font-weight: 700;
    color: #e67e22;
    font-size: 0.95rem;
}

.set-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #f0f0f0;
}

.badge {
    background: #ffecd9;
    color: #d35400;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========== 完整菜單區 ========== */
.menu-section {
    padding: 60px 30px;
    background: white;
}

/* Tab 導航 */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.tab-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.tab-en {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #888;
    margin-top: 4px;
}

.tab-btn:hover {
    border-color: #e67e22;
    background: #fff9f4;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    border-color: #d35400;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.tab-btn.active .tab-en {
    color: rgba(255, 255, 255, 0.9);
}

/* Tab 內容 */
.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

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

/* 菜品網格 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.menu-item {
    background: white;
    border: 2px solid #f5f5f5;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    border-color: #e67e22;
    box-shadow: 0 6px 25px rgba(211, 84, 0, 0.1);
    transform: translateY(-4px);
}

.menu-item.highlight {
    background: linear-gradient(135deg, #fffaf5 0%, #ffecd9 100%);
    border-color: #e67e22;
}

.menu-item.vegetarian {
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
    border-color: #86efac;
}

.item-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.item-badge.veg {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    padding-right: 60px;
}

.item-title-en {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    display: block;
}

.item-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.5;
}

.item-description-en {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 12px;
    line-height: 1.5;
}

.menu-item .item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e67e22;
    margin-top: 12px;
}

.spicy-tag {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ========== 頁尾 ========== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 40px 30px;
}

footer p {
    margin: 8px 0;
    font-size: 1rem;
}

.footer-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-charge {
    font-size: 1rem;
    font-weight: 600;
    opacity: 1;
    color: #ffd700;
    margin-top: 10px;
}

/* ========== 響應式設計 ========== */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    header h2 {
        font-size: 1.5rem;
    }

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

    .recommendations-grid,
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .card-header h3 {
        font-size: 1.4rem;
    }

    .price-tag {
        font-size: 1.3rem;
        padding: 10px 22px;
    }

    .recommendations-section,
    .menu-section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header h2 {
        font-size: 1.2rem;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .menu-item {
        padding: 20px;
    }

    .item-title {
        font-size: 1.1rem;
    }
}

/* ========== 列印樣式 ========== */
@media print {
    .toggle-btn {
        display: none;
    }

    .menu-details {
        max-height: none !important;
    }

    .recommendation-card {
        page-break-inside: avoid;
    }
}
