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

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 导航栏样式 */
header {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 主要内容样式 */
main {
    margin-top: 80px;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    height: 500px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    opacity: 0.3;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* 特色服务样式 */
.features {
    padding: 100px 0;
    background-color: #ffffff;
}

.features .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-item {
    flex: 0 0 30%;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5rem;
}

.feature-item p {
    color: #7f8c8d;
    font-size: 1rem;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: #ecf0f1;
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin: 5px 0;
}

/* 关于我们页面样式 */
.about-content {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.about-content h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto;
    border-radius: 2px;
}

.about-content h3 {
    color: #2c3e50;
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-text ul {
    text-align: left;
    margin: 20px auto;
    max-width: 600px;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

/* 服务页面样式 */
.services-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-content h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.services-content h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto;
    border-radius: 2px;
}

.services-content h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-item {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-left: 5px solid #3498db;
}

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

.service-item ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-item li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-item li::before {
    content: "✓";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 联系我们页面样式 */
.contact-content {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-content h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-content h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto;
    border-radius: 2px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    height: 180px;
    resize: vertical;
}

.contact-info {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #555;
}

.contact-info strong {
    color: #2c3e50;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .features .container {
        flex-direction: column;
    }
    
    .feature-item {
        flex: 0 0 100%;
    }
    
    .about-text {
        padding: 0 15px;
    }
    
    .service-item,
    .contact-form {
        padding: 25px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}