* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    position: relative;
}

header h1 {
    position: relative;
    font-size: 2rem;
    font-weight: 500;
    padding: 60px 20px;
    margin: 0;
    background: url('../img/title_bg.jpg') no-repeat center center;
    background-size: cover;
    color: #070606;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    width: 100%;
}


header h1 span {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.product-card .image-container {
    position: relative;
    padding-top: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.product-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 16px;
    color: #333;
    margin: 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .price {
    color: #e74c3c;
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
}

.product-card .price::before {
    content: '￥';
    font-size: 14px;
}

.product-card button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.product-card button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.product-detail-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.product-detail {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

/* 左侧图片区域 */
.product-image-section {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右侧详情区域 */
.product-info {
    padding-top: 20px;
}

.product-info h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 折叠面板样式 */
.accordion {
    margin-top: 30px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.accordion-content {
    padding: 0 0 20px;
    display: none;
}

.accordion-content.active {
    display: block;
}

/* 下方内容区域 */
.bottom-content {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    grid-column: 1 / -1;
}

.detail-images {
    width: 100%;
}

.detail-images-img {
    width: 100%;
    display: block;
    margin: 0;
    z-index: 1;
}

/* 响应式设计 */
/* 默认样式 (桌面端) */
.product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 平板端和手机端的共同样式 */
@media screen and (max-width: 992px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        padding: 15px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-image-section {
        position: static;
    }
    
    .main-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 手机端特定样式 */
@media screen and (max-width: 768px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 10px;
    }

    .product-card {
        padding: 8px;
    }

    .product-card .image-container {
        margin-bottom: 8px;
    }

    .product-card h3 {
        font-size: 12px;
        margin: 6px 0;
        -webkit-line-clamp: 2;
    }

    .product-card .price {
        font-size: 14px;
        margin: 6px 0;
    }

    .product-card button {
        padding: 6px 0;
        font-size: 12px;
        border-radius: 15px;
    }

    /* 支付页面手机端样式 */
    .payment-wrapper {
        padding: 15px;
        margin: 15px auto;
    }
    
    .order-card,
    .payment-card {
        padding: 20px;
    }
    
    .order-info .product-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .order-info .product-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .payment-button {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* 小屏手机端特定样式 */
@media screen and (max-width: 576px) {
    .product-container {
        gap: 8px;
        padding: 8px;
    }

    .product-card {
        padding: 6px;
    }

    .product-card h3 {
        font-size: 11px;
        margin: 4px 0;
    }

    .product-card .price {
        font-size: 13px;
        margin: 4px 0;
    }
}

.back-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #3498db;
}

/* 缩略图区域 */
.thumbnail-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #3498db;
}

.product-detail h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-detail .price {
    font-size: 28px;
    color: #e74c3c;
    margin: 20px 0;
    font-weight: 600;
}

.product-detail .description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.customer-form {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.customer-form h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
    outline: none;
}

.buy-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.buy-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.payment-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.order-summary {
    border-bottom: 2px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.order-summary h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.order-summary p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #666;
}

.payment-methods h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.payment-button {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 15px 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-button.alipay {
    background-color: #00a0e9;
}

.payment-button.wechat {
    background-color: #41b035;
}

.payment-button:hover {
    opacity: 0.9;
}

/* 轮播图样式 */
.swiper {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* 右侧固定栏 */
.sidebar {
    position: relative;
    height: 100%;
}

.sidebar-content {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.price-section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.current-price {
    font-size: 32px;
    color: #e74c3c;
    font-weight: 600;
}

/* 支付页面样式 */
.payment-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.order-card,
.payment-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.order-card h2,
.payment-card h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.order-info {
    display: grid;
    gap: 20px;
}

.order-info .product-preview {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.order-info .product-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.order-info .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-info .product-details {
    flex: 1;
}

.order-info .product-name {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 8px;
}

.order-info .amount {
    font-size: 24px;
    color: #e74c3c;
    font-weight: 600;
}

.order-info .delivery-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 支付选项样式 */
.payment-options {
    display: grid;
    gap: 20px;
}

.payment-option {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #3498db;
    box-shadow: 0 2px 10px rgba(52,152,219,0.1);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.option-header span {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.payment-button {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.payment-button.alipay {
    background-color: #00a0e9;
}

.payment-button.wechat {
    background-color: #41b035;
}

.payment-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.payment-button .amount {
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .payment-wrapper {
        padding: 15px;
        margin: 15px auto;
    }
    
    .order-card,
    .payment-card {
        padding: 20px;
    }
    
    .order-info .product-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .order-info .product-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .payment-button {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .product-card {
        padding: 8px;
    }

    .product-card .image-container {
        margin-bottom: 8px;
    }

    .product-card h3 {
        font-size: 12px;
        margin: 6px 0;
        -webkit-line-clamp: 2;
    }

    .product-card .price {
        font-size: 14px;
        margin: 6px 0;
    }

    .product-card button {
        padding: 6px 0;
        font-size: 12px;
        border-radius: 15px;
    }
}

/* 页脚样式 */
footer {
    background-color: #fff;
    color: #666;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.beian-links {
    margin-top: 15px;
}

.beian-links a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
    font-size: 12px;
}

.beian-links a:hover {
    color: #3498db;
}

.beian-links img {
    vertical-align: middle;
    margin-right: 5px;
}

/* 导航栏样式 */
.main-nav {
    background-color: #c00;
    padding: 10px 0;
    margin: 0;
    position: relative;
    z-index: 3;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* 响应式导航栏 */
@media screen and (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .main-nav a {
        display: block;
        padding: 10px;
    }
}

/* 关于我们页面样式 */
.about-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.about-content section {
    margin-bottom: 50px;
}

.about-content section:last-child {
    margin-bottom: 0;
}

.about-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.company-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.culture-items,
.advantage-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.culture-item,
.advantage-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.culture-item:hover,
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.culture-item h3,
.advantage-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.culture-item p,
.advantage-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .about-content {
        padding: 20px;
    }

    .culture-items,
    .advantage-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .culture-item,
    .advantage-item {
        padding: 20px;
    }
}

/* 新闻资讯页面样式 */
.news-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.news-header {
    margin-bottom: 30px;
}

.news-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.news-categories {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: #c00;
    color: #fff;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-image {
    overflow: hidden;
    border-radius: 8px;
}

.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.news-category {
    color: #c00;
    font-size: 14px;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.news-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: #c00;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    align-self: flex-start;
}

.read-more:hover {
    text-decoration: underline;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn.active,
.page-btn:hover {
    background: #c00;
    color: #fff;
}

.page-dots {
    color: #666;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .news-item {
        grid-template-columns: 1fr;
    }

    .news-image {
        max-width: 100%;
    }

    .news-image img {
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .news-content {
        padding: 20px;
    }

    .news-header h2 {
        font-size: 24px;
    }

    .category-btn {
        padding: 6px 15px;
        font-size: 14px;
    }

    .news-info h3 {
        font-size: 18px;
    }

    .pagination {
        gap: 5px;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* 售后服务页面样式 */
.service-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.service-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-desc {
    color: #666;
    font-size: 16px;
}

/* 服务流程部分的样式 */
.service-process {
    padding: 40px 20px;
    background: #333;
    color: #fff;
    text-align: center;
}

.service-process h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info {
    margin: 20px 0;
    font-size: 16px;
}

.process-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.step {
    flex: 0 1 150px;
    text-align: center;
    position: relative;
}

/* 添加连接线 */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.step-circle {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.step:hover .step-circle {
    transform: translateY(-5px);
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.step-circle h3 {
    margin: 0;
    font-size: 18px;
}

.step-circle p {
    margin: 5px 0 0;
    font-size: 12px;
    opacity: 0.8;
}

.step-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .step:not(:last-child)::after {
        display: none;
    }
    
    .process-steps {
        max-width: 600px;
    }
}

@media screen and (max-width: 768px) {
    .service-process {
        padding: 30px 15px;
    }
    
    .service-process h2 {
        font-size: 24px;
    }
    
    .step-circle {
        width: 100px;
        height: 100px;
    }
    
    .step-circle h3 {
        font-size: 16px;
    }
    
    .process-steps {
        gap: 20px;
    }
}

/* 联系我们页面样式 */
.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-desc {
    color: #666;
    font-size: 16px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* 表单样式 */
.contact-form-section h3,
.contact-info-section h3,
.map-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #2c3e50;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #c00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(204,0,0,0.1);
}

.submit-btn {
    background: #c00;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: start;
}

.submit-btn:hover {
    background: #b00;
    transform: translateY(-2px);
}

/* 联系信息样式 */
.info-list {
    display: grid;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 16px;
}

.info-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* 地图容器样式 */
.map-section {
    margin-top: 50px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media screen and (max-width: 768px) {
    .contact-content {
        padding: 20px;
    }

    .contact-header h2 {
        font-size: 24px;
    }

    .contact-form-section h3,
    .contact-info-section h3,
    .map-section h3 {
        font-size: 20px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .submit-btn {
        width: 100%;
    }
}

/* 页面标题通用样式 */
.contact-header,
.about-header,
.news-header,
.service-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 20px;
    background: url('../img/title_bg.jpg') no-repeat center;
    background-size: cover;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

/* 添加遮罩层使文字更清晰 */
.contact-header::before,
.about-header::before,
.news-header::before,
.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 调整标题文字样式 */
.contact-header h2,
.about-header h2,
.news-header h2,
.service-header h2 {
    position: relative;
    z-index: 2;
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-desc,
.about-desc,
.news-desc,
.service-desc {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .contact-header,
    .about-header,
    .news-header,
    .service-header {
        padding: 40px 20px;
    }

    .contact-header h2,
    .about-header h2,
    .news-header h2,
    .service-header h2 {
        font-size: 24px;
    }
}

/* 关于我们部分的样式优化 */
.about-section {
    padding: 40px 20px;
    background: #fff;
}

.about-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.about-image {
    flex: 1;
    max-height: 400px; /* 添加最大高度限制 */
    overflow: hidden; /* 确保图片不会溢出 */
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片填充容器且不变形 */
    transition: transform 0.3s ease; /* 添加悬停效果 */
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    line-height: 1.8;
    padding: 20px 0; /* 添加一些内边距 */
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #c00;
    color: #fff;
    text-decoration: none;
    margin-top: 20px;
    border-radius: 4px;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.read-more-btn:hover {
    background: #b00;
    transform: translateY(-2px);
}

/* 服务流程部分的样式优化 */
.service-process {
    padding: 40px 20px;
    background: #333;
    color: #fff;
    text-align: center;
}

.contact-info {
    margin: 20px 0;
    font-size: 16px; /* 增加字体大小 */
}

.process-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

/* 响应式设计优化 */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        max-height: 300px;
    }
    
    .about-text {
        padding: 20px 0 0;
    }
    
    .process-steps {
        gap: 20px;
    }
}

/* 新闻资讯部分样式 */
.news-section {
    padding: 60px 20px;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 左侧大图新闻样式 */
.news-main {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-main:hover {
    transform: translateY(-5px);
}

.news-main .news-image {
    height: 300px;
    overflow: hidden;
}

.news-main .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-main:hover .news-image img {
    transform: scale(1.05);
}

.news-main .news-content {
    padding: 20px;
}

.news-main h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.news-main p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: flex-end;
}

.read-more {
    color: #c00;
    text-decoration: none;
    font-size: 14px;
}

/* 右侧新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item-image {
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-content {
    flex: 1;
}

.news-item-content h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .news-main .news-image {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .section-header h2 {
        font-size: 24px;
    }
    
    .news-main .news-image {
        height: 200px;
    }
    
    .news-item-image {
        width: 100px;
        height: 70px;
    }
}

@media screen and (max-width: 576px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-item-image {
        width: 100%;
        height: 150px;
    }
}

/* 新闻列表页面样式 */
.page-header {
    position: relative;
    padding: 60px 20px;
    background: url('../img/title_bg.jpg') no-repeat center;
    background-size: cover;
    text-align: center;
    margin-bottom: 40px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: relative;
    z-index: 1;
}

.page-header h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    text-transform: uppercase;
}

.news-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-btn.active,
.category-btn:hover {
    background: #c00;
    color: #fff;
}

.news-list-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.news-list-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
}

.news-list-item:hover {
    transform: translateY(-5px);
}

.news-list-image {
    width: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.news-category {
    color: #c00;
    font-size: 14px;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.news-list-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-list-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #c00;
    text-decoration: none;
    font-size: 14px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #b00;
    transform: translateX(5px);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn.active,
.page-btn:hover {
    background: #c00;
    color: #fff;
}

.page-dots {
    color: #666;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-image {
        width: 100%;
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }
    
    .page-header h2 {
        font-size: 24px;
    }
    
    .category-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .news-list-content {
        padding: 20px;
    }
    
    .news-list-content h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    .news-list-image {
        height: 180px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-btn {
        min-width: 35px;
        height: 35px;
        padding: 0 12px;
        font-size: 13px;
    }
} 