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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #8B0000;
    /* 深红色，符合酒类主题 */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    /* 加大字体 */
    font-weight: bold;
    /* 加粗字体 */
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

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

/* 页面头部 */
.page-header {
    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="%238B0000"/></svg>');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* 主要内容区域 */
main {
    margin-top: 0;
}

/* 首页横幅 */
.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="%238B0000"/></svg>');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #8B0000;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #A52A2A;
}

/* 简介区域 */
.intro {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.intro h2,
.news h2,
.services h2,
.cases h2,
.careers h2,
.products-content h2,
.services-content h2,
.knowledge-content h2,
.faq-content h2,
.contact-content h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #8B0000;
    position: relative;
}

.intro h2:after,
.news h2:after,
.services h2:after,
.cases h2:after,
.careers h2:after,
.products-content h2:after,
.services-content h2:after,
.knowledge-content h2:after,
.faq-content h2:after,
.contact-content h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #8B0000;
    margin: 10px auto;
}

.intro p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 新闻动态 */
.news {
    padding: 60px 0;
}

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

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

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

.news-item h3 {
    color: #8B0000;
    margin-bottom: 10px;
}

.date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* 新闻内容页面 */
.news-content .container {
    display: flex;
    flex-wrap: wrap;
}

.news-list {
    flex: 0 0 70%;
    max-width: 70%;
    padding-right: 30px;
}

.news-article {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-article h2 {
    color: #8B0000;
    margin-bottom: 15px;
}

.meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.meta .category {
    background-color: #8B0000;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.widget {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.widget h3 {
    color: #8B0000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B0000;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: #8B0000;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: inline-block;
    background-color: #8B0000;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.tags a:hover {
    background-color: #A52A2A;
}

/* 产品页面 */
.product-categories {
    margin-bottom: 40px;
    text-align: center;
}

.category-filter {
    margin-top: 20px;
}

.category-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background-color: #8B0000;
    color: white;
}

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

.product-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.product-image {
    height: 200px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: #8B0000;
    margin-bottom: 10px;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B0000;
    margin-bottom: 15px;
}

.product-btn {
    background-color: #8B0000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.product-btn:hover {
    background-color: #A52A2A;
}

/* 服务中心页面 */
.services-intro p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

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

.service-card h3 {
    color: #8B0000;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-card ul li:before {
    content: "✓";
    color: #8B0000;
    position: absolute;
    left: 0;
}

.service-process {
    margin-top: 60px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.step {
    flex: 0 0 calc(20% - 20px);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #8B0000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    color: #8B0000;
    margin-bottom: 10px;
}

/* 知识库页面 */
.knowledge-categories {
    margin-bottom: 40px;
    text-align: center;
}

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

.knowledge-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.knowledge-image {
    height: 180px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.knowledge-info {
    padding: 20px;
}

.knowledge-info h3 {
    color: #8B0000;
    margin-bottom: 10px;
}

.knowledge-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.knowledge-meta .category {
    background-color: #8B0000;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
}

.knowledge-excerpt {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #A52A2A;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.page-link:hover,
.page-link.active {
    background-color: #8B0000;
    color: white;
    border-color: #8B0000;
}

/* 常见问题页面 */
.faq-intro p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-intro a {
    color: #8B0000;
    text-decoration: none;
}

.faq-intro a:hover {
    text-decoration: underline;
}

.faq-categories {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    color: #8B0000;
    margin: 0;
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B0000;
}

.faq-answer {
    padding: 0 20px;
    display: none;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* 联系页面 */
.contact-intro p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

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

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

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

.contact-card h3 {
    color: #8B0000;
    margin-bottom: 15px;
}

.contact-person {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-email {
    color: #8B0000;
    font-weight: bold;
}

.contact-note {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-note h3 {
    color: #8B0000;
    margin-bottom: 20px;
    text-align: center;
}

.contact-note ul {
    padding-left: 20px;
}

.contact-note li {
    margin-bottom: 10px;
}

/* 业务范围 */
.services-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

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

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

.service-item h3 {
    color: #8B0000;
    margin-bottom: 15px;
}

/* 成功案例 */
.cases {
    padding: 60px 0;
}

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

.case-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-item h3 {
    color: #8B0000;
    margin-bottom: 15px;
}

/* 人才发展 */
.careers {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.careers p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

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

    .nav-menu {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li {
        margin: 5px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero {
        height: 400px;
    }

    .news-content .container,
    .products-content .container,
    .services-content .container,
    .knowledge-content .container,
    .faq-content .container,
    .contact-content .container {
        flex-direction: column;
    }

    .news-list,
    .sidebar {
        max-width: 100%;
        flex: 0 0 100%;
        padding-right: 0;
    }

    .products-grid,
    .knowledge-grid,
    .contacts-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .step {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
}