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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

/* 主题色定义 */
:root {
    --primary-color: #b58b01;
    --secondary-color: #0d1b2a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #0d1b2a;
    --text-body: #333333;
}

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

.btn-primary:hover {
    background-color: #9a7a01;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 139, 1, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 头部导航 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.logo span {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 300;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner轮播 */
.banner {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-slider {
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 四大板块 */
.sectors {
    padding: 80px 0;
    background-color: var(--white);
}

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

.sector-item {
    background-color: var(--light-gray);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sector-item:hover {
    transform: translateY(-10px);
}

.sector-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.sector-item h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.sector-item p {
    color: var(--text-body);
    line-height: 1.8;
    text-align: left;
}

/* 核心优势 */
.advantages {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.advantage-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-item h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--text-body);
    line-height: 1.8;
}

/* 服务概览 */
.services-overview {
    padding: 80px 0;
}

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

.service-category {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.service-category h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-category ul {
    list-style: none;
    margin-bottom: 25px;
}

.service-category li {
    padding: 8px 0;
    color: var(--text-body);
    position: relative;
    padding-left: 20px;
}

.service-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 快速联系 */
.quick-contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.contact-method {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-method h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-method p {
    color: var(--text-body);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2a3a 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
    padding-top: 180px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.3;
}

.header-english {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 8px;
}

/* Banner英文标题样式 */
.banner-english {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 8px;
}

/* 章节英文标题样式 */
.section-english {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    margin-top: 8px;
    color: var(--text-body);
}

/* 优势项目英文标题样式 */
.advantage-english {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    margin-top: 5px;
}

/* 服务类别英文标题样式 */
.service-english {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    margin-top: 5px;
}

/* 服务项目英文标题样式 */
.service-item-english {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.7;
    display: block;
    margin-top: 3px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 页脚 */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

/* Footer服务体系样式 */
.services-section {
    flex: 2;
    min-width: 300px;
}

.footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.footer-service-category h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

.footer-english {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    margin-top: 3px;
}

.footer-service-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-service-category li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-service-category li:last-child {
    border-bottom: none;
}

.footer-english-small {
    font-size: 0.8rem;
    opacity: 0.7;
    display: block;
    margin-top: 2px;
    font-weight: 300;
}

/* 中等屏幕响应式设计 - 2+2布局 */
@media (max-width: 1024px) and (min-width: 769px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 100px 0 60px;
        padding-top: 160px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .header-english {
        font-size: 1.3rem;
        margin-top: 5px;
    }
    
    .banner-english {
        font-size: 1.2rem;
        margin-top: 5px;
    }
    
    .section-english {
        font-size: 1rem;
        margin-top: 5px;
    }
    
    .advantage-english {
        font-size: 0.9rem;
        margin-top: 3px;
    }
    
    .service-english {
        font-size: 1rem;
        margin-top: 3px;
    }
    
    .service-item-english {
        font-size: 0.8rem;
        margin-top: 2px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .service-category {
        padding: 30px 20px;
    }
    
    /* Footer响应式设计 */
    .footer-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-service-category h4 {
        font-size: 1rem;
    }
    
    .footer-english {
        font-size: 0.85rem;
    }
    
    .footer-english-small {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 50px;
        padding-top: 140px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .header-english {
        font-size: 1.1rem;
        margin-top: 3px;
    }
    
    .banner-english {
        font-size: 1rem;
        margin-top: 3px;
    }
    
    .section-english {
        font-size: 0.9rem;
        margin-top: 3px;
    }
    
    .advantage-english {
        font-size: 0.8rem;
        margin-top: 2px;
    }
    
    .service-english {
        font-size: 0.9rem;
        margin-top: 2px;
    }
    
    .service-item-english {
        font-size: 0.75rem;
        margin-top: 2px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .advantage-item {
        padding: 25px 15px;
    }
}
