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

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #3d5a80;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #c9a227 0%, #e6b84d 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #c9a227 0%, #e6b84d 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8931f 0%, #c9a227 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

/* 导航栏 */
.header {
    background: linear-gradient(135deg, #3d5a80 0%, #2c5282 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo .highlight {
    color: #c9a227;
}

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

.nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #c9a227;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a227;
    transition: width 0.3s;
}

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

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #3d5a80 0%, #2c5282 50%, #3182ce 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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.05'%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");
    opacity: 0.5;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #c9a227;
    font-weight: 500;
}

.hero .desc {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 35px;
    opacity: 0.95;
    line-height: 1.8;
}

/* 关于我们 */
.about-section {
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

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

.about-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #c9a227;
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #3d5a80;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

/* 服务项目 */
.services-section {
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

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

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-top-color: #c9a227;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3d5a80 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

/* 服务详情页图标 */
.service-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3d5a80 0%, #2c5282 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.service-card h3 {
    color: #3d5a80;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* 新闻动态 */
.news-section {
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: linear-gradient(135deg, #f7fafc 0%, #fff 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #c9a227;
}

.news-date {
    color: #c9a227;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-card h3 {
    color: #3d5a80;
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.news-link {
    color: #3d5a80;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.news-link:hover {
    color: #c9a227;
}

/* 联系我们 */
.contact-section {
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info {
    background: linear-gradient(135deg, #3d5a80 0%, #2c5282 100%);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(26, 54, 93, 0.3);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #c9a227;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #c9a227;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: #3d5a80;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

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

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

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

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #3d5a80 0%, #2c5282 100%);
    color: #fff;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #c9a227;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #c9a227;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: #c9a227;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

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

    .hero h1 {
        font-size: 2rem;
    }

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

    .section {
        padding: 50px 0;
    }

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

    .features-grid,
    .services-grid,
    .news-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }
}

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

    .hero h1 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .feature-item,
    .service-card,
    .news-card {
        padding: 25px 20px;
    }
}

/* 服务详情页样式 */
.services-detail {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-section {
    background: linear-gradient(135deg, #f7fafc 0%, #fff 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.service-header h2 {
    color: #3d5a80;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.service-content p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.service-list li {
    color: #666;
    font-size: 1rem;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    border-left: 3px solid #c9a227;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .service-section {
        padding: 25px;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}