/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* 内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 南宁地区列表 */
.area-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.area-item {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .area-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
}

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    color: #d4af37;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* 导航栏 */
.header-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.header-nav li {
    margin-right: 30px;
}

.header-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
}

.header-nav a:hover {
    color: #d4af37;
}

/* 联系方式 */
.contact {
    display: flex;
    gap: 15px;
}

.call-btn {
    background: linear-gradient(45deg, #d4af37, #f4d03f);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.call-btn i {
    margin-right: 8px;
}

/* 主要内容区 */
main {
    padding: 0;
    min-height: 500px;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/di.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 优势横幅 */
.promo-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.promo-banner span {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(45deg, #d4af37, #f4d03f);
    color: white;
}

.btn-secondary {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

/* 统计数据 */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* 产品区域 */
.products {
    padding: 80px 0;
    background: #f8f9fa;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-top: 4px solid #d4af37;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-header {
    text-align: center;
    margin-bottom: 25px;
}

.product-header i {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.product-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.category-tags span {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: #666;
    border: 1px solid #e9ecef;
}

.service-details {
    list-style: none;
    padding: 0;
}

.service-details li {
    padding: 8px 0;
    color: #666;
}

.service-details i {
    color: #27ae60;
    margin-right: 10px;
}

/* 价格对比 */
.price-comparison {
    padding: 80px 0;
    background: white;
}

.price-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.comparison-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #d4af37;
    color: white;
    font-weight: bold;
    padding: 20px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.highlight {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
}

.price-notes {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.price-notes h3 {
    color: #333;
    margin-bottom: 15px;
}

.price-notes ul {
    list-style: none;
    padding: 0;
}

.price-notes li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.price-notes li::before {
    content: '•';
    color: #d4af37;
    position: absolute;
    left: 0;
}

/* 页脚 */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
}

footer a {
    color: #d4af37;
    text-decoration: none;
}

/* 联系表单 */
.contact-form {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

#contactForm {
    max-width: 600px;
    margin: 0 auto 40px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.direct-contact {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.direct-contact h3 {
    color: #333;
    margin-bottom: 20px;
}

.direct-contact p {
    margin: 15px 0;
    font-size: 18px;
}

.direct-contact a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #d4af37;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.rating {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.client {
    font-weight: bold;
    color: #333;
}

/* 新闻区域 */
.news {
    padding: 80px 0;
    background: #f8f9fa;
}

.news h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.search-box {
    max-width: 500px;
    margin: 0 auto 40px;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
}

.search-box button {
    background: #d4af37;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    background: #b8941f;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.more-news {
    text-align: center;
}

/* 新闻卡片样式 */
.news-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-left: 4px solid #d4af37;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.news-card .news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    background: none;
    width: auto;
    display: block;
}

.news-card .news-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 0;
}

.read-more {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #b8941f;
}

/* 移动端导航 */
.mobile-nav {
    display: none;
    background: #333;
    padding: 15px 0;
}

.menu-toggle {
    color: white;
    font-size: 24px;
    cursor: pointer;
    text-align: center;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: none;
}

.mobile-menu li {
    text-align: center;
    border-bottom: 1px solid #555;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px;
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .contact {
        flex-direction: column;
        gap: 10px;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .promo-banner {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .table-header {
        display: none;
    }

    .table-row {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .area-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .search-box {
        flex-direction: column;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.article-categories {
    background: rgba(255,255,255,0.8);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.article-categories h2 {
    color: #a70404;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.article-categories ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0;
    list-style: none;
}

.article-categories li {
    border-left: 3px solid #a70404;
    padding-left: 10px;
}

.article-categories a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-categories a:hover {
    color: #a70404;
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-date {
    width: 120px;
    background: #a70404;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    margin-top: 0;
    color: #333;
}

.news-content p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.news-tags span {
    display: inline-block;
    background: #f0f0f0;
    padding: 3px 8px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 12px;
}

.news-detail {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.news-meta {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.news-meta span {
    margin-right: 15px;
}

.lead {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #eee;
}

.gallery-item p {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}
.image-caption {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

.news-quote {
    border-left: 4px solid #a70404;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.news-footer {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.tags span {
    display: inline-block;
    background: #f3f3f3;
    padding: 3px 10px;
    margin-right: 8px;
    border-radius: 3px;
    font-size: 13px;
}

.related-news {
    margin-top: 20px;
}

.related-news ul {
    padding-left: 20px;
}

.news-highlight {
    background: #f9f9f9;
    border-left: 4px solid #a70404;
    padding: 15px 20px;
    margin: 20px 0;
}

.news-highlight h3 {
    margin-top: 0;
    color: #a70404;
}

.news-highlight ul {
    padding-left: 20px;
}

.news-highlight li {
    margin-bottom: 8px;
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255,255,255,0.9);
}

.highlight-box {
    background: #f3f3f3;
    border-left: 4px solid #c00;
    padding: 15px;
    margin: 20px 0;
}

.highlight-box h3 {
    color: #c00;
    margin-top: 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.gallery img {
    width: 100%;
    border: 1px solid #ddd;
}

.news-tags span {
    display: inline-block;
    background: #eee;
    padding: 3px 8px;
    margin-right: 5px;
    border-radius: 3px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.process-steps .step {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.process-steps .step img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 3px;
}

.process-steps .step h4 {
    margin: 8px 0 5px;
    color: #c00;
}

/* 二级标题样式 */
.level2-title {
    font-size: 1.5rem;
    color: #c00;
    border-bottom: 2px solid #c00;
    padding-bottom: 8px;
    margin: 25px 0 15px;
}

/* 三级标题样式 */
.level3-title {
    font-size: 1.2rem;
    color: #333;
    border-left: 4px solid #c00;
    padding-left: 10px;
    margin: 20px 0 10px;
}

/* 新增内容区块样式 */
.content-block {
    background: rgba(255,255,255,0.96);
    padding: 28px;
    margin: 24px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin: 32px 0;
}

/* 南宁区域样式 */
.nanning-areas {
    padding: 60px 0;
    background: white;
}

.nanning-areas h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* 茅台红主题色 */
:root {
    --maotai-red: #900;
    --maotai-gold: #d4af37;
}

/* 文化特色边框 */
.cultural-border {
    border: 1px solid var(--maotai-gold);
    background: linear-gradient(to right, #fff, #f9f3e9);
}

/* 回收关键词样式 */
.city-keywords span {
    display: inline-block;
    margin: 8px 12px;
    padding: 6px 12px;
    background: #f8f8f8;
    border-radius: 4px;
    color: #900;
}

/* 省份分组样式 */
.province-group {
    margin-bottom: 24px;
}
.province-group h4 {
    color: #900;
    border-left: 4px solid #900;
    padding-left: 12px;
}