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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* 顶部导航 */
.header {
    background: linear-gradient(135deg, #8B0000, #B22222);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    color: #FFD700;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #fff;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

/* 横幅区域 */
.banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,215,0,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

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

.banner h2 {
    font-size: 42px;
    color: #FFD700;
    margin-bottom: 20px;
    letter-spacing: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner p {
    font-size: 20px;
    color: #e0e0e0;
    letter-spacing: 3px;
}

/* 通用区域标题 */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #8B0000;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #FFD700);
}

/* 商行简介 */
.intro {
    padding: 80px 0;
    background: #fff;
}

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

.intro-text {
    flex: 1;
}

.intro-text p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-indent: 2em;
}

.intro-info {
    flex: 0 0 380px;
}

.info-card {
    background: linear-gradient(135deg, #fff9f0, #fff5e6);
    border: 1px solid #f0d9a0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed #e0d0b0;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card strong {
    color: #333;
}

/* 经营范围 */
.business-scope {
    padding: 80px 0;
    background: #f5f5f5;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.scope-item {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scope-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.12);
}

.scope-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.scope-item h3 {
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 15px;
}

.scope-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 优势 */
.advantages {
    padding: 80px 0;
    background: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-item {
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    border-left: 4px solid #8B0000;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-left-color: #FFD700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.advantage-item h3 {
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 12px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 底部 */
.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ccc;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-info h3 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.8;
}

.footer-copy {
    text-align: right;
}

.footer-copy p {
    font-size: 13px;
    margin-bottom: 5px;
    color: #bbb;
}

.footer-copy a {
    color: #bbb;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #FFD700;
}

/* 关于我们页面 */
.about-hero {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.about-hero h2 {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 16px;
    color: #ccc;
}

.about-section {
    padding: 60px 0;
    background: #fff;
}

.about-section .container {
    max-width: 900px;
}

.about-section h3 {
    color: #8B0000;
    font-size: 24px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #FFD700;
}

.about-section p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-indent: 2em;
}

.license-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 15px;
}

.license-table th,
.license-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.license-table th {
    background: #f9f0e0;
    color: #8B0000;
    width: 150px;
    font-weight: bold;
}

.license-table td {
    background: #fff;
    color: #555;
}

/* 产品展示页面 */
.products-hero {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.products-hero h2 {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 10px;
}

.products-hero p {
    font-size: 16px;
    color: #ccc;
}

.products-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.product-category {
    margin-bottom: 50px;
}

.product-category h3 {
    color: #8B0000;
    font-size: 24px;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #FFD700;
}

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

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-img {
    height: 180px;
    background: linear-gradient(135deg, #f5e6d3, #e8d5c0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.product-info {
    padding: 15px;
}

.product-info h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
}

.product-info p {
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}

/* 联系我们页面 */
.contact-hero {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.contact-hero h2 {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 16px;
    color: #ccc;
}

.contact-section {
    padding: 60px 0;
    background: #fff;
}

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

.contact-info-card {
    background: linear-gradient(135deg, #fff9f0, #fff5e6);
    border: 1px solid #f0d9a0;
    border-radius: 12px;
    padding: 40px;
}

.contact-info-card h3 {
    color: #8B0000;
    font-size: 22px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0d0b0;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-label {
    font-weight: bold;
    color: #8B0000;
    min-width: 80px;
    font-size: 15px;
}

.contact-value {
    color: #555;
    font-size: 15px;
}

.business-hours {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px;
}

.business-hours h3 {
    color: #8B0000;
    font-size: 22px;
    margin-bottom: 25px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #555;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list strong {
    color: #333;
}

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

    .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner h2 {
        font-size: 28px;
    }

    .banner p {
        font-size: 16px;
    }

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

    .intro-info {
        flex: 1;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-copy {
        text-align: left;
    }

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

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