/* =============================================================
   www.jxxg.top - 鸡西小馆 主样式表
   版本: v2.0 (优化版)
   变更: 从内联CSS拆分，增加性能优化，修复已知问题
   ============================================================= */

/* ===== 1. CSS 变量与重置 ===== */
:root {
    --primary: #C41E3A;
    --primary-dark: #8B0000;
    --primary-light: #E85D75;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --dark: #1A1A1A;
    --dark-lighter: #2D2D2D;
    --light: #F5F0EB;
    --cream: #FAF7F2;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --wechat-green: #07C160;
    --radius: 16px;
    --bg-secondary: #F5F0EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
}

/* ===== 2. 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--gold);
}

.logo-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.nav-scan-btn {
    background: var(--wechat-green);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--wechat-green);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.nav-scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.4);
}

.nav-service-btn {
    background: transparent;
    color: #3B82F6;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1.5px solid #3B82F6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.nav-service-btn:hover {
    background: #3B82F6;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== 3. Hero 区域 ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/* 背景图片 - 优先WebP，降级JPG */
.hero-bg {
    background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(45,45,45,0.7) 100%),
                url('assets/hero-bg.webp') center/cover;
}

/* Hero 背景 fallback - 图片加载失败时的后备方案 */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    /* 修复：增加内边距防止文字重叠 */
    white-space: nowrap;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2rem auto;
    animation: fadeIn 1s ease 0.6s both;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.85;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

/* ===== 4. 通用区块样式 ===== */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    margin: 1.5rem auto;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 5. 特色卡片 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    border: 3px solid var(--gold);
    color: var(--white);
}

.feature-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== 6. 关于我们 ===== */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 5px solid var(--dark);
    z-index: 3;
}

.about-img-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-badge {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    display: inline-block;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Noto Serif SC', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

/* ===== 7. 环境展示 ===== */
.environment-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== 8. 菜单 ===== */
.menu {
    padding: 6rem 0;
    background: var(--cream);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text);
    font-family: inherit;
}

.menu-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.menu-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.menu-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-item-image {
    transform: scale(1.05);
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.menu-item-title {
    font-size: 1.2rem;
    color: var(--dark);
}

.menu-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.menu-item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.menu-item-tag {
    display: inline-block;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

/* ===== 9. 评价 ===== */
.reviews {
    padding: 6rem 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.review-quote {
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.review-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.review-info h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.review-rating {
    color: var(--gold);
    font-size: 0.9rem;
}

.review-source {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

/* ===== 10. 联系我们 ===== */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.contact-details p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.contact-map {
    background: var(--dark-lighter);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px dashed rgba(212, 175, 55, 0.3);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.map-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.map-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.map-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.contact-qr {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.contact-qr h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-qr p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-qr img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    border: 3px solid var(--gold);
    margin: 0 auto;
    display: block;
}

/* ===== 11. 页脚 ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ===== 12. 浮动按钮 ===== */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn-wechat {
    background: var(--wechat-green);
}

.floating-btn-wechat:hover {
    box-shadow: 0 6px 25px rgba(7, 193, 96, 0.5);
}

.floating-btn-phone {
    background: var(--primary);
}

.floating-btn-phone:hover {
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.5);
}

.floating-btn-service {
    background: #3B82F6;
}

.floating-btn-service:hover {
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

/* ===== 13. 二维码弹窗 ===== */
.qr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.qr-modal-overlay.active {
    display: flex;
}

.qr-modal {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 360px;
    width: 90%;
    position: relative;
    animation: fadeInUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.qr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qr-modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.qr-modal h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.qr-modal p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.qr-modal img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 3px solid var(--wechat-green);
    margin: 0 auto 1rem;
    display: block;
}

.qr-modal .qr-tip {
    color: var(--wechat-green);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== 14. 动画 ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ===== 15. Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 16. 响应式设计 ===== */
/* ===== 响应式设计 ===== */

/* 平板设备 */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-links.active {
        display: flex;
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-links.active li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.active li:last-child {
        border-bottom: none;
    }

    .nav-links.active li a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        padding: 1rem 2rem;
        gap: 0.75rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .about-img-secondary {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 1rem;
    }

    .about-img-frame {
        display: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        padding-top: 5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-map iframe {
        height: 350px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        display: none;
    }

    .floating-actions {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item-large {
        grid-column: span 2;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item-large {
        grid-column: span 1;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .about-content h3 {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-map iframe {
        height: 280px;
    }

    .menu-category h3 {
        font-size: 1.2rem;
    }

    .menu-item {
        padding: 0.75rem 0;
    }

    .review-card {
        padding: 1.25rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .floating-actions {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* 超小屏手机 */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 2rem 0.75rem;
    }

    .logo-text {
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-secondary {
        max-width: 240px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}
