/* 主样式 - 传统养生文化企业网站
 * 优雅中式养生风格 - 优化版配色方案
 */

:root {
    /* 优雅中式养生配色 - 温暖典雅 */
    --primary: #5D4E37;           /* 深檀木色 - 主色调 */
    --primary-light: #7A6B54;     /* 浅檀木色 */
    --primary-dark: #3D3225;       /* 深棕 */
    --secondary: #4A7C59;          /* 青竹绿 - 健康自然 */
    --secondary-light: #6B9B7A;    /* 浅竹绿 */
    --accent: #C4943A;             /* 琥珀金 - 点缀色 */
    --accent-light: #D4AA54;       /* 浅琥珀 */
    --accent-dark: #A67B2E;        /* 深琥珀 */
    --bg-cream: #FDFBF7;           /* 米白色背景 */
    --bg-warm: #F7F3EC;           /* 暖白背景 */
    --bg-light: #F5F0E8;          /* 淡米色 */
    --bg-dark: #2C2620;           /* 深色背景 */
    --bg-section: #EBE6DC;        /* 区块背景 */
    --text-main: #3D3428;         /* 主文字 */
    --text-light: #6B5F4D;        /* 浅文字 */
    --text-muted: #8B7E6A;        /* 柔和文字 */
    --white: #FFFFFF;
    --gold: #C4943A;               /* 金色 */
    --gold-light: #E8C36A;         /* 浅金 */
    --jade: #4A7C59;               /* 玉石绿 */
    --jade-light: #6B9B7A;         /* 浅玉石 */
    --shadow-sm: 0 2px 8px rgba(93, 78, 55, 0.06);
    --shadow-md: 0 4px 16px rgba(93, 78, 55, 0.08);
    --shadow-lg: 0 8px 30px rgba(93, 78, 55, 0.12);
    --shadow-hover: 0 12px 40px rgba(93, 78, 55, 0.15);
}

/* ========== 全局样式 ========== */
* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-warm) 100%);
    min-height: 100vh;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'SimSun', serif;
    color: var(--text-main);
    line-height: 1.7;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold-light));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
    letter-spacing: 1px;
}

/* ========== 导航栏 ========== */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    box-shadow: 0 4px 20px rgba(45, 38, 32, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 148, 58, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-family: 'STKaiti', 'KaiTi', 'SimSun', serif;
    font-size: 1.7rem;
    color: var(--gold-light);
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.logo::before {
    content: '☘';
    margin-right: 8px;
    font-size: 1.3rem;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    padding: 8px 4px;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* ========== Hero区域 ========== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(61, 50, 37, 0.88) 0%, rgba(74, 124, 89, 0.85) 50%, rgba(61, 50, 37, 0.88) 100%),
                url('https://images.pexels.com/photos/4199098/pexels-photo-4199098.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(253, 251, 247, 0.3), transparent);
    z-index: 0;
}

.hero-content {
    max-width: 850px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 6px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.92;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(196, 148, 58, 0.35);
    letter-spacing: 2px;
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(196, 148, 58, 0.45);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

/* ========== 卡片样式 ========== */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(93, 78, 55, 0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card-title {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-content {
    color: var(--text-light);
    line-height: 1.9;
}

.card-content p {
    margin-bottom: 0.75rem;
}

.card-content p:last-child {
    margin-bottom: 0;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 1px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(93, 78, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 78, 55, 0.3);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(196, 148, 58, 0.25);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 148, 58, 0.35);
    color: var(--white);
}

/* ========== 网格布局 ========== */
.grid {
    display: grid;
    gap: 28px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1714 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 35px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-section-title {
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-section-content {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-section-content a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-section-content a:hover {
    color: var(--gold-light);
}

.footer-section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section-content li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(196, 148, 58, 0.15);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ========== 页面头部Banner ========== */
.page-banner {
    background: linear-gradient(135deg, rgba(61, 50, 37, 0.82), rgba(74, 124, 89, 0.82)),
                url('https://images.pexels.com/photos/4199098/pexels-photo-4199098.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    color: var(--white);
    padding-top: 160px;
    padding-bottom: 110px;
    text-align: center;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-cream), transparent);
}

.page-banner-title {
    color: var(--gold-light);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 4px;
    position: relative;
    z-index: 1;
}

.page-banner-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}

/* ========== 区块背景样式 ========== */
.bg-warm {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-light) 100%);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.bg-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #3D6B4A 100%);
    color: var(--white);
}

.bg-jade {
    background: linear-gradient(135deg, var(--jade) 0%, var(--secondary) 100%);
    color: var(--white);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

/* ========== 区块标题样式 ========== */
.bg-warm .section-title,
.bg-primary .section-title,
.bg-secondary .section-title,
.bg-jade .section-title,
.bg-gradient .section-title {
    color: var(--gold-light);
}

.bg-warm .section-subtitle,
.bg-primary .section-subtitle,
.bg-secondary .section-subtitle,
.bg-jade .section-subtitle,
.bg-gradient .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.bg-warm .card-title {
    color: var(--primary);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

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

    .container {
        padding: 0 16px;
    }

    .card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

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

    .hero-cta {
        padding: 14px 36px;
        font-size: 0.95rem;
    }
}
