/* 基础样式重置 */
* {
    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: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 12px;
    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 - 220px);
    padding: 40px 0;
}

.section {
    padding: 60px 0;
}

.section.bg-light {
    background-color: #edf2f7;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto;
    border-radius: 2px;
}

/* 首页特有样式 */
.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.slogan-content blockquote {
    font-size: 1.4rem;
    font-style: italic;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-left: 5px solid #3498db;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #2c3e50, #3498db);
}

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

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

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

.service-item:hover {
    transform: translateY(-5px);
}

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

.cases-list {
    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.05);
}

.case-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* 新闻页面样式 */
.news-articles {
    margin-bottom: 40px;
}

.news-article {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-article h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

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

.content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.pagination {
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 4px;
    color: #3498db;
    border: 1px solid #ddd;
}

.pagination .current {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* 产品页面样式 */
.category-filter {
    margin-bottom: 30px;
    text-align: center;
}

.category-filter h3 {
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

.category-filter ul {
    display: inline-block;
    list-style: none;
}

.category-filter ul li {
    display: inline-block;
    margin: 0 10px;
}

.category-filter ul li a {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: #333;
    background-color: #e2e8f0;
    transition: all 0.3s ease;
}

.category-filter ul li a:hover,
.category-filter ul li a.active {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
}

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

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

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

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

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

.product-info {
    padding: 25px;
    text-align: center;
}

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

.price {
    color: #e74c3c;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.description {
    margin-bottom: 20px;
    color: #555;
}

.custom-travel {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
}

.custom-travel h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.custom-travel p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.custom-travel .btn {
    background: white;
    color: #2c3e50;
}

.custom-travel .btn:hover {
    background: #f1f1f1;
}

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

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

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

.service-card:hover {
    transform: translateY(-5px);
}

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

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.service-card ul li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

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

.service-process h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    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 h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* 知识库页面样式 */
.knowledge-intro p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.category h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

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

.knowledge-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

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

.knowledge-list li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.knowledge-list li a:hover {
    color: #3498db;
}

.tips-section h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

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

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

.tip-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.faq-section {
    margin-bottom: 50px;
}

.faq-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    font-size: 1.6rem;
}

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

.faq-question {
    background: #edf2f7;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #2c3e50;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

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

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

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

/* 联系我们页面样式 */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info h3,
.contact-map h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.department {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.department:last-child {
    border-bottom: none;
}

.department a {
    color: #3498db;
    text-decoration: none;
}

.department a:hover {
    text-decoration: underline;
}

.map-placeholder {
    background-color: #e2e8f0;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.map-placeholder p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #555;
}

.contact-notice {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-notice h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.contact-notice ul {
    list-style: none;
    padding-left: 20px;
}

.contact-notice li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.contact-notice li::before {
    content: '•';
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* 页面底部样式 */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

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

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

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

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

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

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

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-section p a {
    color: #3498db;
    text-decoration: none;
}

.footer-section p a:hover {
    text-decoration: underline;
}

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

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

    nav ul li {
        margin: 5px 10px;
    }

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

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .products-grid,
    .services-grid,
    .knowledge-categories,
    .tips-grid,
    .news-list,
    .cases-list {
        grid-template-columns: 1fr;
    }

    .custom-travel {
        padding: 30px 20px;
    }

    .custom-travel h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .service-item,
    .news-item,
    .case-item,
    .product-item,
    .service-card,
    .tip-card,
    .news-article,
    .faq-item {
        padding: 20px;
    }

    .product-info,
    .contact-notice {
        padding: 20px;
    }
}