/*
* 庐山市宏泽石业 - 主样式
* 石材企业官网
* 优化版本 - 2024
*/

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 链接 */
a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #006633;
}

/* ===== 头部导航 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s;
}

.site-header.scrolled {
    background-color: rgba(255,255,255,0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-top {
    background-color: #f5f5f5;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.header-contact span {
    margin-right: 20px;
    font-size: 14px;
}

.header-contact i {
    color: #006633;
    margin-right: 5px;
}

.header-social a {
    margin-left: 15px;
    color: #666;
}

.header-social a:hover {
    color: #006633;
}

.header-main {
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #006633;
    margin-bottom: 5px;
    line-height: 1.2;
}

.logo span {
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
}

/* 导航菜单 */
.main-nav {
    flex: 1;
    margin: 0 30px;
}

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

.nav-menu > li {
    position: relative;
    margin: 0 15px;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: #006633;
    border-bottom-color: #006633;
}

.nav-menu > li.has-dropdown > a i {
    font-size: 12px;
    margin-left: 5px;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    list-style: none;
    padding: 10px 0;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #006633;
}

/* 搜索 */
.header-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px;
    display: none;
    margin-top: 10px;
    z-index: 100;
}

.search-form.active {
    display: block;
}

.search-form input {
    width: 100%;
    padding: 8px 35px 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: none;
}

.search-form button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

/* 移动菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active {
    justify-content: center;
    font-size: 24px;
    color: #333;
}

.mobile-menu-toggle.active span {
    display: none;
}

/* 头部占位 */
.header-placeholder {
    height: 120px;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #004d26;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #006633;
    color: #006633;
}

.btn-outline:hover {
    background-color: #006633;
    color: #fff;
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #006633;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-small {
    display: inline-block;
    padding: 5px 15px;
    background-color: #006633;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
}

/* ===== 首页轮播 ===== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 800px;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.2s both;
}

.slide-content .btn {
    animation: fadeInUp 1s 0.4s both;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background-color: #006633;
}

.slider-controls .prev {
    left: 30px;
}

.slider-controls .next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: #fff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 区块样式 ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #222;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #006633;
    margin: 15px auto 0;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* 关于我们 */
.about-section {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    color: #006633;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-stats {
    display: flex;
    margin: 30px 0;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #006633;
    display: block;
}

.stat-label {
    color: #999;
}

/* 产品分类 */
.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-item {
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.category-item a {
    display: block;
    padding: 20px;
}

.category-image {
    margin-bottom: 15px;
}

.category-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.category-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.category-item p {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.case-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.case-category {
    display: inline-block;
    padding: 3px 10px;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 3px;
    font-size: 12px;
}

/* 案例大项 */
.case-item-large {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-item-large a {
    display: flex;
}

.case-item-large .case-image {
    width: 40%;
    height: 250px;
    position: relative;
}

.case-item-large .case-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #006633;
    color: #fff;
    z-index: 2;
}

.case-item-large .case-info {
    width: 60%;
    padding: 30px;
}

.case-item-large .case-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.case-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #006633;
    font-weight: 500;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 新闻网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.news-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-item a {
    display: flex;
    padding: 20px;
}

.news-date {
    width: 80px;
    text-align: center;
    margin-right: 20px;
    background-color: #f5f5f5;
    padding: 10px 0;
    border-radius: 5px;
}

.news-date .day {
    font-size: 24px;
    font-weight: 700;
    color: #006633;
    display: block;
    line-height: 1;
}

.news-date .month {
    font-size: 14px;
    color: #666;
}

.news-info {
    flex: 1;
}

.news-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻大项 */
.news-item-large {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-item-large a {
    display: flex;
    padding: 25px;
}

.news-item-large .news-date {
    width: 100px;
    background-color: transparent;
    border-right: 2px solid #006633;
    border-radius: 0;
    padding: 0 20px 0 0;
    margin-right: 30px;
}

.news-item-large .news-date .year {
    font-size: 14px;
    color: #999;
}

.news-item-large .news-content {
    flex: 1;
}

.news-item-large .news-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-category {
    display: inline-block;
    padding: 3px 10px;
    background-color: #e6f3e6;
    color: #006633;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-summary {
    color: #666;
    margin-bottom: 10px;
}

/* 特色区域 */
.features-section {
    background-color: #f9f9f9;
}

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

.feature-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 48px;
    color: #006633;
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #006633, #004d26) !important;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "✧ 庐山市宏泽石业 ✧";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: rgba(255, 255, 255, 0.05);
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #eee;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== 页面横幅 ===== */
.page-banner {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #006633; /* 后备颜色 */
}

.page-banner h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.breadcrumb {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
}

.breadcrumb a {
    color: #fff;
}

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

/* ===== 产品页面 ===== */
/* 产品分类导航 */
.product-category-nav {
    background-color: #f5f5f5;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.category-tabs {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tabs li {
    margin: 5px 10px;
}

.category-tabs li a {
    display: block;
    padding: 8px 20px;
    background-color: #fff;
    border-radius: 30px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.category-tabs li.active a,
.category-tabs li a:hover {
    background-color: #006633;
    color: #fff;
    border-color: #006633;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-category {
    color: #006633;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-specs {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-price {
    color: #666;
    font-weight: 500;
    margin-bottom: 15px;
}

/* 分页 */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination li.active span {
    background-color: #006633;
    color: #fff;
    border-color: #006633;
}

.pagination li a:hover {
    background-color: #f5f5f5;
}

/* 产品应用 */
.product-application {
    background-color: #f9f9f9;
}

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

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

.app-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.app-item h3 {
    font-size: 18px;
}

/* ===== 关于页面 ===== */
.about-detail {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.about-detail-image {
    flex: 1;
}

.about-detail-image img {
    width: 100%;
    border-radius: 10px;
}

.about-detail-text {
    flex: 1;
}

.about-detail-text h2 {
    font-size: 32px;
    color: #006633;
    margin-bottom: 20px;
}

.about-detail-text p {
    margin-bottom: 20px;
}

/* 企业文化 */
.company-culture {
    margin-bottom: 60px;
}

.company-culture h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

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

.culture-item i {
    font-size: 48px;
    color: #006633;
    margin-bottom: 20px;
}

.culture-item h4 {
    margin-bottom: 10px;
}

/* 发展历程 */
.company-history h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #006633;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-item .year {
    width: 120px;
    padding: 10px;
    background-color: #006633;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-weight: 700;
}

.timeline-item .desc {
    width: calc(50% - 80px);
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    margin: 0 20px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #006633;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* ===== 联系我们 ===== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info-item i {
    font-size: 36px;
    color: #006633;
    margin-bottom: 15px;
}

.contact-info-item h3 {
    margin-bottom: 10px;
}

.contact-info-item p a {
    color: #666;
}

.contact-info-item p a:hover {
    color: #006633;
}

.contact-form-map {
    display: flex;
    gap: 30px;
}

.contact-form {
    flex: 1;
}

.contact-form h2 {
    margin-bottom: 30px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006633;
}

.contact-map {
    flex: 1;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
}

/* ===== 底部 ===== */
.site-footer {
    background-color: #222;
    color: #999;
    padding: 60px 0 0;
}

.footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

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

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

.footer-about p {
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    width: 20px;
    margin-right: 10px;
    color: #006633;
}

.footer-links h4,
.footer-products h4,
.footer-qrcode h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

.footer-links li,
.footer-products li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-products a {
    color: #999;
}

.footer-links a:hover,
.footer-products a:hover {
    color: #fff;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: #999;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #006633;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    z-index: 99;
    transition: all 0.3s;
}

.back-to-top.show {
    display: block;
}

.back-to-top:hover {
    background-color: #004d26;
}

/* ===== 返回首页按钮样式 ===== */
.page-nav-section {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.page-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #006633, #2e7d32);
    color: white !important;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,102,51,0.2);
    text-decoration: none;
    border: 2px solid transparent;
}

.back-to-home-btn i {
    font-size: 18px;
    transition: transform 0.3s;
}

.back-to-home-btn:hover {
    background: linear-gradient(135deg, #2e7d32, #006633);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,102,51,0.3);
}

.back-to-home-btn:hover i {
    transform: scale(1.1);
}

.back-to-home-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,102,51,0.2);
}

/* 返回按钮的脉冲动画效果 */
@keyframes pulse-home {
    0% {
        box-shadow: 0 0 0 0 rgba(0,102,51,0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0,102,51,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,102,51,0);
    }
}

.back-to-home-btn {
    animation: pulse-home 2s infinite;
}

.back-to-home-btn:hover {
    animation: none;
}

/* 返回按钮提示文字 */
.tip-text {
    font-size: 12px;
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 10px;
    display: inline-block;
    animation: pulse-tip 1.5s infinite;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(255,193,7,0.3);
}

@keyframes pulse-tip {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        background: #ffb300;
    }
    100% {
        transform: scale(1);
    }
}

/* 当前位置导航样式 */
.current-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.current-location a {
    color: #006633;
    text-decoration: none;
    transition: color 0.3s;
}

.current-location a:hover {
    color: #004d26;
    text-decoration: underline;
}

.current-location i {
    font-size: 12px;
    color: #adb5bd;
}

.current-location .current {
    color: #495057;
    font-weight: 500;
}


/* ===== 响应式调整 ===== */
@media screen and (max-width: 992px) {
    .header-main .container {
        flex-wrap: wrap;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .main-nav {
        order: 3;
        margin: 15px 0 0;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        margin: 0;
        border-top: 1px solid #eee;
    }

    .nav-menu > li > a {
        padding: 15px 20px;
    }

    .has-dropdown > a i {
        float: right;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

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

    .case-item-large a {
        flex-direction: column;
    }

    .case-item-large .case-image,
    .case-item-large .case-info {
        width: 100%;
    }

    .news-item-large a {
        flex-direction: column;
    }

    .news-item-large .news-date {
        border-right: none;
        border-bottom: 2px solid #006633;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .contact-form-map {
        flex-direction: column;
    }

    .timeline:before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 50px;
    }

    .timeline-item .desc {
        width: 100%;
    }

    .timeline-item:before {
        left: 20px;
    }
}

@media screen and (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-placeholder {
        height: 80px;
    }

    .hero-slider {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    section {
        padding: 50px 0;
    }

    .product-categories {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .category-image {
        height: 150px;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .category-tabs li {
        margin: 3px;
    }

    .category-tabs li a {
        padding: 5px 12px;
        font-size: 14px;
    }

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

    .about-detail {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact i {
        width: auto;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
    }

    .page-nav-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-home-btn {
        width: 100%;
        justify-content: center;
    }

    .current-location {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .slide-content h2 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
    }

    .btn-large {
        padding: 12px 30px;
    }

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

    .news-item a {
        flex-direction: column;
    }

    .news-date {
        width: 100%;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
}

/* ===== 案例详情页样式 ===== */
.case-detail-section {
    padding: 60px 0;
}

.case-detail {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.case-gallery {
    flex: 1;
}

.case-main-image {
    margin-bottom: 20px;
}

.case-main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border: 2px solid #006633;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info-detail {
    flex: 1;
}

.case-info-detail h2 {
    font-size: 32px;
    color: #006633;
    margin-bottom: 20px;
}

.case-meta {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.case-meta p {
    margin-bottom: 10px;
    color: #555;
}

.case-meta i {
    width: 20px;
    color: #006633;
    margin-right: 10px;
}

.case-description,
.case-details {
    margin: 30px 0;
}

.case-description h4,
.case-details h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.case-details ul {
    list-style: none;
    padding: 0;
}

.case-details li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: #666;
}

.case-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.related-cases {
    padding: 60px 0;
    background: #f9f9f9;
}

.related-cases h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

/* ===== 新闻详情页样式 ===== */
.news-detail-section {
    padding: 60px 0;
}

.news-article {
    max-width: 900px;
    margin: 0 auto;
}

.news-article h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    color: #999;
}

.news-meta i {
    color: #006633;
    margin-right: 5px;
}

.news-image {
    margin-bottom: 30px;
    text-align: center;
}

.news-image img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.news-content h4 {
    font-size: 20px;
    color: #333;
    margin: 30px 0 15px;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content ul,
.news-content ol {
    margin: 20px 0;
    padding-left: 40px;
}

.news-content li {
    margin-bottom: 10px;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.share-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s;
}

.share-icon:hover {
    background: #006633;
    color: #fff;
}

.news-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.related-news {
    padding: 60px 0;
    background: #f9f9f9;
}

.related-news h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .case-detail {
        flex-direction: column;
        gap: 30px;
    }

    .case-info-detail h2 {
        font-size: 24px;
    }

    .case-actions {
        flex-direction: column;
    }

    .case-actions .btn {
        width: 100%;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .news-article h2 {
        font-size: 24px;
    }

    .news-meta {
        gap: 10px;
        font-size: 12px;
    }

    .news-actions {
        flex-direction: column;
    }

    .news-actions .btn {
        width: 100%;
    }
}
