/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #8B4513;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-header p {
    color: #777;
    font-style: italic;
}

.btn {
    display: inline-block;
    background-color: #8B4513;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.2);
}

.btn:hover {
    background-color: #6b3000;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* 导航栏 */
header {
    background-color: rgba(248, 245, 240, 0.95);
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #8B4513;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #5D4037;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #8B4513;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #8B4513;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #8B4513;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1518623001395-125242310d0c?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&h=1080&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* 关于部分 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text, .about-image {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #4CAF50;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 服务部分 */
.services {
    background-color: #f9f9f9;
}

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

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 联系部分 */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.info-item {
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 智慧部分 */
.wisdom {
    background-color: #f0e6d2;
    position: relative;
}

.wisdom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1508672019048-805c876b67e2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&h=1080&q=80') no-repeat;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.wisdom .container {
    position: relative;
    z-index: 1;
}

.wisdom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wisdom-quote {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
}

.wisdom-quote i {
    color: #8B4513;
    font-size: 2rem;
    margin: 0 10px;
}

.wisdom-quote blockquote {
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    color: #5D4037;
    margin: 20px 0;
}

.wisdom-teachings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.wisdom-item {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.wisdom-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
}

.wisdom-item h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.wisdom-item p {
    color: #5D4037;
    line-height: 1.7;
}

/* 页脚 */
footer {
    background-color: #5D4037;
    color: #f8f5f0;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    color: #f0e6d2;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-links h3, .footer-social h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #f0e6d2;
}

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

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

.footer-links ul li a {
    color: #f8f5f0;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 2px;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #f0e6d2;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.footer-links ul li a:hover {
    color: #f0e6d2;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    background-color: #6b3000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(240, 230, 210, 0.2);
}

.footer-quote {
    font-style: italic;
    margin-top: 10px;
    color: #f0e6d2;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}