/*
Theme Name: 金佰特商用厨具主题
Theme URI: http://www.jinbaite.com/
Author: 金佰特
Author URI: http://www.jinbaite.com/
Description: 山东金佰特商用厨具有限公司官方网站主题，包含首页、关于我们、产品中心、新闻资讯、案例展示、联系我们等页面模板。响应式设计，SEO优化。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jinbaite
Tags: 商用厨具, 企业网站, 响应式, SEO优化
*/

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #e67e22;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

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

/* ====================
   头部样式
==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 0 25px;
    height: 180px;
    line-height: 180px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #e67e22;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: #e67e22;
}

.header-search {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.header-search input {
    width: 180px;
    height: 36px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    outline: none;
}

.header-search button {
    width: 60px;
    height: 36px;
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.header-search button:hover {
    background: #d35400;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* ====================
   下拉菜单样式修复
==================== */
.nav-menu li {
    position: relative;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 3px solid #e67e22;
}

.nav-menu .sub-menu li {
    display: block;
    border-bottom: 1px solid #eee;
}

.nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu li a {
    display: block;
    height: auto;
    line-height: 1.5;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    transition: all 0.3s ease;
}

.nav-menu .sub-menu li a::after {
    display: none;
}

.nav-menu .sub-menu li a:hover {
    background: #f8f9fa;
    color: #e67e22;
    padding-left: 30px;
}

/* 多级下拉菜单 */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

/* 下拉箭头 */
.nav-menu li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
}

.nav-menu li.menu-item-has-children .sub-menu li.menu-item-has-children > a::after {
    content: '\f105';
    float: right;
    margin-top: 3px;
}

/* ====================
   Logo尺寸限制
==================== */
.header-main .logo img {
    max-height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    padding: 8px;
    background: #fff;
    box-sizing: border-box;
}

/* ====================
   菜单样式优化
==================== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu > li {
    margin: 0;
    padding: 0;
}

.nav-menu > li > a {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    padding: 0 25px;
    height: 180px;
    line-height: 180px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #e67e22;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
    width: 100%;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: #e67e22;
}

/* ====================
   Banner轮播
==================== */
.banner-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 80px;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

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

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 80%;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.banner-slide.active .banner-content h2 {
    opacity: 1;
    transform: translateY(0);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.banner-slide.active .banner-content p {
    opacity: 1;
    transform: translateY(0);
}

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

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

.banner-dot.active {
    background: #e67e22;
}

.banner-dot:hover {
    background: #e67e22;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-nav:hover {
    background: rgba(230,126,34,0.8);
}

.banner-nav.prev {
    left: 20px;
}

.banner-nav.next {
    right: 20px;
}

/* ====================
   关于我们部分
==================== */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding-right: 30px;
}

.about-label {
    font-size: 14px;
    color: #999;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.4;
}

.about-title span {
    color: #e67e22;
}

.about-desc {
    font-size: 15px;
    color: #666;
    line-height: 2;
    margin-bottom: 30px;
}

.about-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #e67e22;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: #d35400;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230,126,34,0.3);
}

.about-image {
    position: relative;
}

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

/* ====================
   统计数据
==================== */
.stats-section {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-unit {
    font-size: 18px;
    font-weight: 400;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 10px;
}

/* ====================
   我们的优势
==================== */
.advantages-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 15px;
    color: #999;
    margin-top: 25px;
}

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

.advantage-item {
    background: #fff;
    padding: 40px 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.advantage-item:hover .advantage-icon {
    background: #e67e22;
    color: #fff;
}

.advantage-icon {
    width: 80px;
    height: 180px;
    margin: 0 auto 25px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #e67e22;
    transition: all 0.3s ease;
}

.advantage-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

/* ====================
   产品中心
==================== */
.products-section {
    padding: 80px 0;
    background: #fff;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 12px 30px;
    background: #f8f9fa;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-tab:hover,
.product-tab.active {
    background: #e67e22;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230,126,34,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-view {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e67e22;
    font-size: 20px;
    transform: scale(0);
    transition: all 0.3s ease 0.1s;
}

.product-item:hover .product-view {
    transform: scale(1);
}

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

.product-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* ====================
   新闻资讯
==================== */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

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

.news-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.news-date {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
}

.news-featured-title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-featured-desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.news-item-date {
    min-width: 70px;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.news-item-day {
    font-size: 28px;
    font-weight: 700;
    color: #e67e22;
    line-height: 1;
}

.news-item-month {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

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

.news-item-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.5;
}

.news-item-title:hover {
    color: #e67e22;
}

.news-item-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================
   战略合作伙伴
==================== */
.partners-section {
    padding: 80px 0;
    background: #fff;
}

.partners-slider {
    position: relative;
    overflow: hidden;
}

.partners-track {
    display: flex;
    transition: all 0.5s ease;
}

.partner-item {
    min-width: 20%;
    padding: 20px;
    text-align: center;
}

.partner-item img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.partner-name {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
}

/* ====================
   底部链接区域
==================== */
.footer-links-section {
    background: #2c3e50;
    padding: 60px 0 40px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-links-column h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e67e22;
    display: inline-block;
}

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

.footer-links-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #e67e22;
    border-radius: 50%;
}

.footer-links-list a:hover {
    color: #e67e22;
    padding-left: 5px;
}

/* ====================
   页脚
==================== */
.footer {
    background: #1a252f;
    padding: 50px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: #95a5a6;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #34495e;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: #95a5a6;
    font-size: 14px;
}

.footer-contact-item i {
    color: #e67e22;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #7f8c8d;
    font-size: 13px;
}

.footer-bottom a {
    color: #95a5a6;
}

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

/* ====================
   内页通用样式
==================== */
.page-banner {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.page-banner-content {
    text-align: center;
    color: #fff;
}

.page-banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-banner-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #e67e22;
}

.breadcrumb-separator {
    color: #999;
}

.breadcrumb-current {
    color: #e67e22;
}

.page-content {
    padding: 60px 0;
}

/* ====================
   关于我们页面
==================== */
.about-page-content {
    line-height: 2;
    color: #555;
}

.about-page-content p {
    margin-bottom: 20px;
    font-size: 15px;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.about-stat-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.about-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #e67e22;
}

.about-stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.culture-section {
    margin-top: 60px;
}

.culture-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

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

.culture-item {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.culture-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.culture-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ====================
   产品中心页面
==================== */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-category-btn {
    padding: 12px 30px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-category-btn:hover,
.product-category-btn.active {
    background: #e67e22;
    color: #fff;
    border-color: #e67e22;
}

.products-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ====================
   新闻资讯页面
==================== */
.news-page-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.news-page-tab {
    padding: 12px 35px;
    background: #f8f9fa;
    border-radius: 30px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.news-page-tab:hover,
.news-page-tab.active {
    background: #e67e22;
    color: #fff;
}

.news-page-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-page-item {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.news-page-item-image {
    width: 280px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-page-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.news-page-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-page-item-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.news-page-item-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-page-item-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.news-page-item-title:hover {
    color: #e67e22;
}

.news-page-item-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================
   案例展示页面
==================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.case-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

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

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

.case-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.case-item-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.case-item-category {
    font-size: 13px;
    opacity: 0.8;
}

/* ====================
   联系我们页面
==================== */
.contact-section {
    padding: 60px 0;
}

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

.contact-info-block {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

.contact-info-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: #e67e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.contact-info-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-form-block {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

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

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #d35400;
}

/* ====================
   分页样式
==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #e67e22;
    color: #fff;
}

/* ====================
   响应式设计
==================== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .products-grid,
    .products-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .header-main {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        padding: 30px 0;
        transition: all 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        height: auto;
        line-height: 1.5;
        padding: 15px 30px;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li a::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-search {
        display: none;
    }
    
    .banner-section {
        height: 450px;
        margin-top: 70px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .banner-section {
        height: 350px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .products-page-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item-date {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .news-item-day {
        font-size: 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-links-list {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .news-page-item {
        flex-direction: column;
    }
    
    .news-page-item-image {
        width: 100%;
        height: 200px;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .page-banner-title {
        font-size: 28px;
    }
    
    .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================
   动画效果
==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* 滚动显示动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ====================
   返回顶部按钮
==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(230,126,34,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d35400;
    transform: translateY(-3px);
}

/* ====================
   加载动画
==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e67e22;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ====================
   Logo尺寸限制修复
==================== */
.custom-logo-link {
    display: inline-block;
    max-width: 200px;
    max-height: 60px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    padding: 8px;
    background: #fff;
    box-sizing: border-box;
}

.custom-logo-link img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

/* ====================
   下拉菜单样式优化
==================== */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-menu li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 0 20px;
    line-height: 180px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: #e67e22;
}

/* 下拉菜单 */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin: 0;
    padding: 0;
    border-top: 3px solid #e67e22;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    display: block;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu li a {
    display: block;
    height: auto;
    line-height: 1.5;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    transition: all 0.3s ease;
}

.nav-menu .sub-menu li a:hover {
    background: #f8f9fa;
    color: #e67e22;
    padding-left: 30px;
}

/* 当前页面高亮 */
.nav-menu li.current-menu-item > a,
.nav-menu li.current-page-ancestor > a {
    color: #e67e22;
}

.nav-menu li.current-menu-item > a::after {
    width: 100%;
}

/* 下拉箭头 */
.nav-menu li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    display: inline-block;
}

/* 当前页面下划线 */
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-page-ancestor > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 3px;
    background: #e67e22;
    transform: none !important;
}

/* 确保下划线在正确的位置 */
.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    position: relative;
}
