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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #7f8c8d;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --border-color: #e1e8ed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* 顶部导航栏 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.menu-toggle {
    display: none;
    width: 40px;
    height: 32px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #2c3e50;
    border-radius: 3px;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.logo h1 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2c3e50;
    transition: width 0.3s ease;
}

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

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

/* 主轮播区域 */
.hero {
    height: 600px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    filter: grayscale(20%) brightness(1.15);
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-number {
    font-size: 120px;
    font-weight: 700;
    color: rgba(44, 62, 80, 0.25);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.slide-text {
    color: #2c3e50;
}

.slide-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #0f1419;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.8);
}

.slide-text h2 span {
    display: block;
}

.slide-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 1;
    text-transform: uppercase;
    color: #3d4f5d;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.slide-description {
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    opacity: 1;
    color: #1a252f;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.2);
    border: 2px solid rgba(44, 62, 80, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
}

.nav-dot:hover {
    background: rgba(44, 62, 80, 0.4);
    border-color: rgba(44, 62, 80, 0.6);
    transform: scale(1.2);
}

.nav-dot.active {
    background: rgba(44, 62, 80, 0.7);
    border-color: rgba(44, 62, 80, 0.8);
    transform: scale(1.3);
    box-shadow: 0 3px 8px rgba(44, 62, 80, 0.2);
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2c3e50;
    border-radius: 2px;
}

/* 关于我们 */
.about {
    background: var(--white);
}

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

.about-left {
    position: relative;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.stat-item h3 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* 解决方案 */
.solutions {
    background: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.solution-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #2c3e50;
}

.solution-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
}

.solution-icon svg {
    width: 100%;
    height: 100%;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon svg {
    color: #34495e;
    transform: scale(1.1);
}

.solution-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.solution-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 新闻中心 */
.news {
    background: var(--white);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.more-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-link:hover {
    transform: translateX(5px);
}

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

.news-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-weight: 500;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 企业文化 */
.culture {
    background: var(--bg-light);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.culture-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.culture-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
}

.culture-icon svg {
    width: 100%;
    height: 100%;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.culture-item:hover .culture-icon svg {
    color: #34495e;
    transform: scale(1.1) rotate(5deg);
}

.culture-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.culture-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #2c3e50;
}

.contact-item:hover .contact-icon {
    background: #2c3e50;
    transform: translateY(-3px);
}

.contact-item:hover .contact-icon svg {
    color: white;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-text p {
    font-size: 16px;
    color: var(--text-light);
}

/* 联系方式二维码 */
.contact-qr {
    margin-top: 8px;
    width: 64px;
    height: auto;
    display: block;
    margin-left: 0;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.contact-form button {
    padding: 12px 30px;
    background: #2c3e50;
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.3);
    background: #34495e;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 13px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #95a5a6;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        gap: 15px;
    }
    
    .slide-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .slide-number {
        font-size: 80px;
    }
    
    .slide-text h2 {
        font-size: 36px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solutions-grid,
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav { width: 100%; }
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 0 0;
        display: none;
    }
    .nav.open ul { display: flex; }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .nav ul {
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .hero {
        height: 500px;
    }
    
    .slide-text h2 {
        font-size: 28px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid,
    .culture-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

