* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.header {
    background: #fff;
    color: #333;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.header-left {
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

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

.logo-text p {
    font-size: 12px;
    color: #999;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-box button {
    padding: 8px 15px;
    background: #8B4513;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-box button:hover {
    background: #A0522D;
}

.contact-info .phone {
    font-size: 18px;
    font-weight: bold;
}

.wechat-icon img {
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.header-qr img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
}

.navbar {
    background: #333;
    padding: 0;
}

.navbar .container {
    padding: 0;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: #8B4513;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    list-style: none;
    min-width: 150px;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-menu li a:hover {
    background: #8B4513;
}

.dropdown-image {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 550px;
}

.hero-carousel {
    position: relative;
    height: 550px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #333;
    padding: 80px 0;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #fff;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background: #8B4513;
    color: #fff;
}

.btn-primary:hover {
    background: #A0522D;
}

.btn-default {
    background: #fff;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.btn-default:hover {
    background: #8B4513;
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #8B4513;
    position: relative;
}

.section-subtitle {
    display: block;
    text-align: center;
    font-size: 16px;
    color: #999;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #8B4513;
}

.services {
    padding: 80px 0;
    background: #fff;
}

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

.service-card {
    background: #f8f8f8;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.service-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.service-card h3 {
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 18px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.service-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.service-links a {
    color: #8B4513;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px dashed #8B4513;
}

.service-links a:hover {
    border-bottom: 1px solid #8B4513;
}

.activities-section {
    padding: 80px 0;
    background: #f5f5f5;
}

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

.activity-card {
    background: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.activity-card h3 {
    font-size: 14px;
    color: #333;
    padding: 15px;
    margin: 0;
}

.activity-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.activity-card a:hover h3 {
    color: #8B4513;
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.news-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

.tab-more {
    padding: 10px 25px;
    color: #8B4513;
    text-decoration: none;
}

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

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.news-item a {
    flex: 1;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item a:hover {
    color: #8B4513;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-left: 20px;
}

.page-content {
    padding: 40px 0;
    min-height: 500px;
}

.page-title {
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B4513;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.product-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #8B4513;
    margin-bottom: 15px;
}

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

.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-detail-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-image-col {
    flex: 0 0 40%;
}

.product-detail-col {
    flex: 1;
}

.product-detail {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.product-detail h3 {
    color: #8B4513;
    margin-bottom: 20px;
}

.product-content {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.news-full-list {
    max-width: 800px;
}

.news-full-item {
    padding: 20px 0;
    border-bottom: 1px dashed #ddd;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination .page-btn:hover {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

.pagination .page-btn.active {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

.news-full-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-full-item a {
    color: #333;
    text-decoration: none;
}

.news-full-item a:hover h3 {
    color: #8B4513;
}

.news-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-content {
    color: #666;
    line-height: 1.8;
}

.activities-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.activity-full-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.activity-full-card h3 {
    color: #8B4513;
    margin-bottom: 10px;
}

.activity-full-card a {
    text-decoration: none;
    color: inherit;
}

.activity-full-card p {
    color: #666;
    font-size: 14px;
}

.about-full {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}

.about-full h3 {
    color: #8B4513;
    font-size: 24px;
    margin-bottom: 10px;
}

.about-full p {
    color: #999;
    margin-bottom: 30px;
}

.about-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-contact h4 {
    color: #8B4513;
    margin-bottom: 15px;
}

.about-contact p {
    color: #666;
    margin-bottom: 10px;
}

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

.contact-info-section {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}

.contact-info-section h3 {
    color: #8B4513;
    margin-bottom: 30px;
    font-size: 22px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-label {
    width: 80px;
    color: #999;
    font-weight: bold;
}

.contact-value {
    color: #333;
}

.contact-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}

.contact-form-section h3 {
    color: #8B4513;
    margin-bottom: 30px;
    font-size: 22px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.footer {
    background: #8B0000;
    color: #fff;
    padding: 50px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

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

.contact-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
}

.contact-section p {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

.wechat-section {
    margin-bottom: 15px;
}

.wechat-section h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

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

.footer-qr h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 16px;
}

.footer-qr img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.news-nav {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.news-nav-item {
    flex: 1;
}

.news-nav-item:first-child {
    text-align: left;
}

.news-nav-item:last-child {
    text-align: right;
}

.news-nav-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.news-nav-item a:hover {
    color: #8B0000;
    text-decoration: underline;
}

.news-nav-item .disabled {
    color: #999;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
    }

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

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

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

    .product-list {
        grid-template-columns: 1fr;
    }

    .activities-full-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-qr {
        grid-column: span 3;
        margin-top: 20px;
    }
}