/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav .logo {
    float: left;
    padding: 0 20px;
}

.main-nav .logo img {
    height: 50px;
}

.main-nav ul {
    float: right;
    list-style: none;
    padding: 15px 0;
}

.main-nav ul li {
    display: inline-block;
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #e67e22;
    color: #fff;
}

.btn-primary:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #e67e22;
    border: 2px solid #e67e22;
}

.btn-secondary:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-2px);
}

/* 页面主体 */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 300px);
}

/* 页面标题 */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* 段落文本 */
p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 页脚样式 */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav .logo {
        float: none;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        float: none;
        text-align: center;
    }
    
    .main-nav ul li {
        margin: 0 10px;
    }
    
    .footer-section {
        flex: 100%;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
} 