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

body {
    font-family: 'Microsoft YaHei', 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, #3498db);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 200px);
}

/* Banner样式 */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #e74c3c;
}

.btn:hover {
    background: transparent;
    color: #e74c3c;
}

.btn-outline {
    background: transparent;
    color: #e74c3c;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* 网站简介 */
.intro {
    padding: 80px 0;
    background-color: white;
}

.intro h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 20px;
}

.intro-features {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.feature h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 新闻动态 */
.news {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.news-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.date {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

/* 业务范围 */
.services {
    padding: 80px 0;
    background-color: white;
}

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

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

.service-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3498db;
}

.service-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 成功案例 */
.cases {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.cases h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

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

.case-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.case-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

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

.case-item h3 {
    margin-bottom: 15px;
}

/* 页脚 */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

    .banner h2 {
        font-size: 2rem;
    }

    .intro-content {
        flex-direction: column;
    }

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

/* 企业简介页面样式 */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%233498db"/><path d="M0 0L100 100M100 0L0 100" stroke="%232c3e50" stroke-width="1"/></svg>');
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-content {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.values {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.value-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3498db;
}

/* 产品中心页面样式 */
.products-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%232c3e50"/><circle cx="50" cy="50" r="30" fill="none" stroke="%233498db" stroke-width="2"/></svg>');
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.categories {
    padding: 80px 0;
    background: white;
}

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

.category-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e74c3c;
}

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

.product-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-image {
    height: 200px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
}

.product-info {
    padding: 20px;
    background: white;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 联系我们页面样式 */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23e74c3c"/><path d="M20 20H80V80H20Z" fill="none" stroke="%23fff" stroke-width="2"/></svg>');
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.contact-content {
    padding: 80px 0;
    background: white;
}

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

.contact-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.contact-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-card p {
    margin-bottom: 10px;
}