@charset "utf-8";
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.6; color: #333; background-color: #f5f7fa; }
a { color: #333; text-decoration: none; transition: color 0.3s; }
a:hover { color: #049e3c; }
.clear { clear: both; }
.container { width: 1200px; margin: 0 auto; }

.header { background: linear-gradient(135deg, #049e3c 0%, #038a33 100%); padding: 15px 0; }
.header-top { display: flex; justify-content: space-between; align-items: center; }
.header-logo img { height: 60px; }
.header-logo .logo-text { display: none; }
.header-contact { color: #fff; text-align: right; }
.header-contact p { margin: 5px 0; font-size: 13px; }
.header-contact .phone { font-size: 20px; font-weight: bold; }

.nav { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav ul { display: flex; justify-content: center; list-style: none; padding: 0; margin: 0; }
.nav ul li { position: relative; padding: 15px 25px; }
.nav ul li a { font-size: 15px; font-weight: 500; color: #333; display: block; transition: all 0.3s; }
.nav ul li:hover > a, .nav ul li.active > a { color: #049e3c; }
.nav ul li ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.15); min-width: 180px; padding: 10px 0; }
.nav ul li:hover ul { display: block; }
.nav ul li ul li { padding: 10px 20px; white-space: nowrap; }
.nav ul li ul li a { font-size: 13px; font-weight: normal; }

.banner { width: 100%; height: 400px; overflow: hidden; position: relative; }
.banner .swiper { width: 100%; height: 100%; }
.banner .swiper-slide { position: relative; }
.banner .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner .swiper-pagination { bottom: 20px; }
.banner .swiper-pagination-bullet { background: rgba(255,255,255,0.5); width: 12px; height: 12px; border-radius: 50%; transition: all 0.3s; }
.banner .swiper-pagination-bullet-active { background: #fff; width: 30px; border-radius: 6px; }
.banner .swiper-button-next, .banner .swiper-button-prev { color: #fff; background: rgba(0,0,0,0.3); width: 45px; height: 45px; border-radius: 50%; }
.banner .swiper-button-next:hover, .banner .swiper-button-prev:hover { background: rgba(0,0,0,0.5); }

.main-content { padding: 40px 0; }
.content-row { display: flex; gap: 30px; }
.sidebar { width: 280px; flex-shrink: 0; }

.sidebar-box { background: #fff; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); margin-bottom: 20px; overflow: hidden; }
.sidebar-title { background: linear-gradient(135deg, #049e3c 0%, #038a33 100%); color: #fff; padding: 15px 20px; font-size: 16px; font-weight: bold; }
.sidebar-content { padding: 20px; }
.sidebar-content img { max-width: 100%; height: auto; margin-bottom: 15px; border-radius: 4px; }
.sidebar-content p { margin-bottom: 15px; text-indent: 2em; color: #666; }
.sidebar-content .more-link { color: #049e3c; font-weight: bold; }

.sidebar-list { padding: 10px 0; }
.sidebar-list li { list-style: none; padding: 12px 20px; border-bottom: 1px solid #eee; position: relative; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li::before { content: ''; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: #049e3c; border-radius: 50%; }
.sidebar-list li a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }

.sidebar-contact { background: #f8f9fa; }
.sidebar-contact .contact-info { padding: 20px; }
.sidebar-contact .contact-info p { margin: 10px 0; font-size: 14px; color: #333; }
.sidebar-contact .contact-info strong { color: #049e3c; }

.main-area { flex: 1; }
.section-box { background: #fff; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); padding: 30px; margin-bottom: 30px; }
.section-title { font-size: 20px; font-weight: bold; color: #333; padding-bottom: 15px; border-bottom: 3px solid #049e3c; margin-bottom: 25px; }

.news-list li { list-style: none; padding: 15px 0; border-bottom: 1px dashed #eee; display: flex; justify-content: space-between; align-items: center; }
.news-list li:last-child { border-bottom: none; }
.news-list li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.news-list li .time { color: #999; font-size: 13px; margin-left: 20px; }

.news-featured { display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px dashed #eee; }
.news-featured img { width: 150px; height: 100px; object-fit: cover; border-radius: 4px; }
.news-featured .news-content { flex: 1; }
.news-featured .news-content h3 { font-size: 16px; margin-bottom: 10px; }
.news-featured .news-content p { color: #666; font-size: 13px; line-height: 1.8; }

.video-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-item { background: #fafafa; border-radius: 8px; overflow: hidden; transition: all 0.3s; border: 1px solid #eee; }
.product-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-color: #049e3c; }
.product-item img { width: 100%; height: 150px; object-fit: cover; }
.product-item .product-name { padding: 15px; text-align: center; font-size: 14px; font-weight: 500; color: #333; }

.product-detail { max-width: 900px; margin: 0 auto; }
.product-detail h1 { font-size: 24px; text-align: center; margin-bottom: 30px; }
.product-detail .product-images img { max-width: 100%; height: auto; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.product-detail .product-content { font-size: 15px; line-height: 2; color: #333; }
.product-detail .product-content p { margin-bottom: 15px; text-indent: 2em; }

.detail-title { font-size: 24px; text-align: center; margin-bottom: 30px; color: #333; }
.detail-image { text-align: center; margin-bottom: 30px; }
.detail-image img { max-width: 80%; height: auto; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.detail-content { font-size: 15px; line-height: 2; color: #333; }
.detail-content p { margin-bottom: 15px; text-indent: 2em; }
.btn-back { display: inline-block; padding: 10px 25px; background: #666; color: #fff; border-radius: 6px; font-size: 14px; transition: all 0.3s; }
.btn-back:hover { background: #555; color: #fff; text-decoration: none; }

.about-content, .detail-content, .product-content { font-size: 15px; line-height: 2; color: #333; }
.about-content p, .detail-content p, .product-content p { margin-bottom: 20px; text-indent: 2em; }
.about-content img, .detail-content img, .product-content img { max-width: 100%; height: auto; margin: 20px 0; border-radius: 8px; }
.about-content h1, .detail-content h1, .product-content h1 { font-size: 24px; font-weight: bold; margin: 30px 0 20px; color: #049e3c; }
.about-content h2, .detail-content h2, .product-content h2 { font-size: 20px; font-weight: bold; margin: 25px 0 15px; color: #333; }
.about-content h3, .detail-content h3, .product-content h3 { font-size: 18px; font-weight: bold; margin: 20px 0 10px; color: #333; }
.about-content ul, .detail-content ul, .product-content ul { margin: 15px 0 15px 30px; }
.about-content ol, .detail-content ol, .product-content ol { margin: 15px 0 15px 30px; }
.about-content li, .detail-content li, .product-content li { margin-bottom: 10px; }
.about-content blockquote, .detail-content blockquote, .product-content blockquote { border-left: 4px solid #049e3c; padding: 10px 20px; margin: 20px 0; background: #f8f9fa; color: #666; }
.about-content strong, .detail-content strong, .product-content strong { font-weight: bold; color: #049e3c; }
.about-content em, .detail-content em, .product-content em { font-style: italic; }
.about-content hr, .detail-content hr, .product-content hr { border: none; border-top: 1px dashed #ddd; margin: 30px 0; }
.about-content p.ql-align-center, .detail-content p.ql-align-center, .product-content p.ql-align-center { text-align: center !important; }
.about-content p.ql-align-right, .detail-content p.ql-align-right, .product-content p.ql-align-right { text-align: right !important; }
.about-content p.ql-align-justify, .detail-content p.ql-align-justify, .product-content p.ql-align-justify { text-align: justify !important; }
.about-content .ql-align-center, .detail-content .ql-align-center, .product-content .ql-align-center { text-align: center !important; }
.about-content .ql-align-right, .detail-content .ql-align-right, .product-content .ql-align-right { text-align: right !important; }
.about-content .ql-align-justify, .detail-content .ql-align-justify, .product-content .ql-align-justify { text-align: justify !important; }

.contact-content { font-size: 15px; line-height: 2; }
.contact-content p { margin-bottom: 15px; }
.contact-content strong { color: #049e3c; font-size: 16px; }

.message-form { max-width: 600px; margin: 0 auto; }
.message-form .form-group { margin-bottom: 20px; }
.message-form .form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.message-form .form-group input, .message-form .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.message-form .form-group input:focus, .message-form .form-group textarea:focus { outline: none; border-color: #049e3c; }
.message-form .form-group textarea { height: 150px; resize: vertical; }
.message-form .btn-submit { background: linear-gradient(135deg, #049e3c 0%, #038a33 100%); color: #fff; border: none; padding: 12px 40px; border-radius: 6px; font-size: 16px; cursor: pointer; }
.message-form .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(4,158,60,0.3); }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-item { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s; }
.photo-item:hover { transform: scale(1.03); }
.photo-item img { width: 100%; height: 200px; object-fit: cover; }
.photo-item .photo-title { padding: 12px; background: #fff; text-align: center; font-size: 14px; color: #333; }

.pagination { text-align: center; margin-top: 30px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 16px; margin: 0 5px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.pagination a:hover { background: #049e3c; color: #fff; border-color: #049e3c; }
.pagination .current { background: #049e3c; color: #fff; border-color: #049e3c; }

.breadcrumb { padding: 15px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #049e3c; }

.footer { background: #2c3e50; color: #fff; padding: 40px 0 20px; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 30px; }
.footer-about { width: 350px; }
.footer-about h3 { font-size: 18px; margin-bottom: 20px; color: #049e3c; }
.footer-about p { font-size: 13px; line-height: 2; color: #ccc; }
.footer-contact { text-align: right; }
.footer-contact p { margin: 10px 0; font-size: 14px; color: #ccc; }
.footer-contact .phone { font-size: 20px; font-weight: bold; color: #049e3c; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #34495e; font-size: 12px; color: #999; }

.swiper-pagination-bullet { background: rgba(255,255,255,0.5); }
.swiper-pagination-bullet-active { background: #fff; }
.swiper-button-next, .swiper-button-prev { color: #fff; }

@media (max-width: 1200px) {
    .container { width: 95%; padding: 0 15px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c5aa0;
    border-top: 1px solid #1a3d7a;
    z-index: 1000;
}
.mobile-nav-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
}
.mobile-nav-item a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.mobile-nav-item:active {
    background: #1a3d7a;
}

@media (max-width: 768px) {
    .header-logo img { display: none; }
    .header-logo .logo-text { display: block; font-size: 28px; font-weight: bold; color: #fff; text-align: center; }
    .content-row { flex-direction: column; }
    .sidebar { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: 1fr; }
    .nav ul { flex-wrap: wrap; }
    .nav ul li { padding: 12px 15px; }
    .banner { height: 250px; }
    .header { padding: 15px 0; }
    .header-top { flex-direction: column; align-items: center; text-align: center; }
    .header-logo { margin-bottom: 10px; width: 100%; display: flex; justify-content: center; }
    .header-logo img { max-width: 320px; height: auto; max-height: 90px; }
    .header-contact { text-align: center; padding: 0 10px; }
    .header-contact p { font-size: 12px; margin: 3px 0; }
    .header-contact .phone { font-size: 16px; }
    .mobile-nav { display: flex; }
    .footer { padding-bottom: 60px; }
}
