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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #ddd;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #f5f7fa;
    background-image: 
        linear-gradient(0deg, transparent 24px, rgba(200, 210, 220, 0.25) 24px, rgba(200, 210, 220, 0.25) 25px, transparent 25px),
        linear-gradient(90deg, transparent 24px, rgba(200, 210, 220, 0.25) 24px, rgba(200, 210, 220, 0.25) 25px, transparent 25px);
    background-size: 25px 25px;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 头部样式 */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    opacity: 0.8;
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 10px;
    vertical-align: middle;
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.main-nav a.active {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* 主要内容区域 */
.site-main {
    min-height: 100vh;
    padding-top: 80px;
}

/* 页面Banner */
.page-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.8) 100%);
}

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

.page-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.page-banner p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background-color: #d63851;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

/* 内容区块 */
.section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-title p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 30px;
}

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

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

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

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

/* 卡片样式 */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-text {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 15px;
}

/* 特色卡片（图标） */
.feature-card {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: inline-block;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.feature-list {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.feature-list p {
    color: var(--primary-color);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 5px;
    font-weight: 500;
}

.feature-list p:last-child {
    margin-bottom: 0;
}

.compact-card {
    padding: 25px 20px;
}

.compact-card .feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.compact-card .feature-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card-img-sm {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 15px;
}

.subsection-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 10px;
    border-left: 3px solid var(--accent-color);
}

.mt-20 {
    margin-top: 20px;
}

.compact-card .feature-text {
    font-size: 13px;
    line-height: 1.5;
}
}

/* 主视觉区 */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.7) 100%),
        url('../images/banner/hero-bg.jpg') center/cover no-repeat;
    padding: 200px 0 150px;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 3px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 2px;
}

/* 关于我们部分 */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    margin-top: 20px;
    font-weight: 600;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--light-text);
    font-size: 15px;
    text-align: left;
}

/* 时间线 */
.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    width: 50%;
    padding: 0 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: left;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
    white-space: nowrap;
    text-align: center;
}

.timeline-text {
    color: var(--light-text);
    line-height: 1.5;
    font-size: 13px;
    text-align: left;
}

/* 产品分类 */
.product-category {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
}

.product-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    font-weight: 600;
}

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

/* 服务网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    display: inline-block;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-text {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 15px;
}

/* 联系信息 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.contact-detail p {
    color: var(--light-text);
    line-height: 1.7;
}

/* 地图容器 */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 页脚样式 */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-info p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.8;
    font-size: 15px;
}

.contact-info p {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
    font-size: 15px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 工具类 */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* 背景色 */
.bg-light {
    background-color: transparent;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 工具类 */
.mt-40 {
    margin-top: 40px;
}

.feature-highlight {
    padding: 10px 0;
    text-align: center;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    color: var(--accent-color);
}

/* 服务页面紧凑样式 */
.service-section {
    padding: 60px 0;
}

.service-section .section-title {
    margin-bottom: 40px;
}

.service-section .section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}