/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf8f5;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 10px;
}

.btn.primary {
    background-color: #8b0000;
    color: #fff;
    border: 2px solid #8b0000;
}

.btn.primary:hover {
    background-color: #a52a2a;
    border-color: #a52a2a;
}

.btn.secondary {
    background-color: transparent;
    color: #8b0000;
    border: 2px solid #8b0000;
}

.btn.secondary:hover {
    background-color: #8b0000;
    color: #fff;
}

/* 导航栏 */
.header {
    background-color: #ff8c00;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 2px;
}

.logo p {
    font-size: 12px;
    color: #fff;
    letter-spacing: 2px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.contact-info .phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 50%, #ff8c00 100%);
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 18px;
    color: #fff;
    letter-spacing: 8px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    margin-top: 30px;
}

.yin-yang {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #fff 50%, #000 50%);
    position: relative;
    margin: 30px auto;
    animation: spin 20s linear infinite;
}

.yin-yang::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 50%;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
}

.yin-yang::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 通用板块样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #8b0000;
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #8b0000, #d4af37);
    margin: 0 auto;
}

.section-header p {
    margin-top: 20px;
    color: #666;
    font-size: 16px;
}

/* 品牌文化 */
.culture {
    padding: 80px 0;
    background-color: #fff;
}

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

.culture-item {
    background: #faf8f5;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0d8c8;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.culture-item .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: 600;
}

.culture-item h3 {
    color: #8b0000;
    margin-bottom: 15px;
    font-size: 18px;
}

.culture-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 咨询服务 */
.services {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e0d8c8;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #8b0000;
}

.service-item .service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 16px;
    font-weight: 600;
}

.service-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
    font-size: 16px;
}

.service-item p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.highlight-card {
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.highlight-card p {
    font-size: 13px;
    opacity: 0.9;
}

/* 培训传承 */
.training {
    padding: 80px 0;
    background-color: #fff;
}

.training-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.course-item {
    background: #faf8f5;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e0d8c8;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-item .course-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d4af37, #daa520);
    color: #8b0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 14px;
    font-weight: 600;
}

.course-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
    font-size: 16px;
}

.course-item p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.training-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
}

.feature .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 14px;
    font-weight: 600;
}

.feature h4 {
    color: #8b0000;
    font-size: 14px;
}

/* 吉祥产品 */
.products {
    padding: 80px 0;
    background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e0d8c8;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-item .product-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f5e6c8, #e8d5b7);
    color: #8b0000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 600;
    border: 2px solid #d4af37;
}

.product-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
    font-size: 18px;
}

.product-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.products-description {
    text-align: center;
    padding: 30px;
    background: #faf8f5;
    border-radius: 8px;
}

.products-description p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
}

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

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content .divider {
    background: linear-gradient(to right, #d4af37, #fff);
}

.about-content p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 2;
    opacity: 0.95;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #faf8f5;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0d8c8;
}

.info-item .info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
}

.info-content h4 {
    color: #8b0000;
    margin-bottom: 8px;
    font-size: 16px;
}

.info-content a,
.info-content p {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.info-content a:hover {
    color: #8b0000;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #faf8f5;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e0d8c8;
}

.contact-form h3 {
    text-align: center;
    color: #8b0000;
    margin-bottom: 30px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #8b0000;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0d8c8;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b0000;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
}

/* 页脚 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #ccc;
    font-size: 12px;
    letter-spacing: 2px;
}

.footer-links h4,
.footer-contact h4 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact a {
    color: #d4af37;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero h3 {
        font-size: 18px;
    }

    .tagline {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .training-courses {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }

    .logo h1 {
        font-size: 22px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .tagline {
        font-size: 12px;
    }

    .yin-yang {
        width: 80px;
        height: 80px;
    }

    .yin-yang::before,
    .yin-yang::after {
        width: 20px;
        height: 20px;
    }
}