/*
Theme Name: 鲜毛肚集团
Version: 1.0.0
Description: 鲜毛肚集团官方网站 WordPress 主题
*/

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", Arial, sans-serif; font-size: 14px; line-height: 1.6; color: #333; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
a:hover { color: #c9a36a; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.clear { clear: both; }
.content { width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
.head { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }

.header { display: flex; align-items: center; justify-content: space-between; height: 120px; }
.logo img { height: 80px; }
.head-txt { text-align: center; flex-grow: 1; margin: 0 40px; }
.head-txt b { display: block; font-size: 28px; color: #c9a36a; margin-bottom: 8px; }
.head-txt em { display: block; font-size: 14px; color: #666; font-style: normal; }
.head-tel p { font-size: 28px; font-weight: bold; color: #c9a36a; }
.nav ul { display: flex; }
.nav li { position: relative; margin-left: 40px; }
.nav a { display: block; padding: 10px 0; font-size: 16px; }
.nav a:hover { color: #c9a36a; }
.submenu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.15); min-width: 180px; opacity: 0; visibility: hidden; transition: all 0.3s; }
.nav li:hover .submenu { opacity: 1; visibility: visible; }
.submenu a { padding: 8px 20px; font-size: 14px; color: #666; }
.submenu a:hover { background: #f5f5f5; }

/* Banner */
.banner { margin-top: 120px; }
.banner img { width: 100%; height: 600px; object-fit: cover; }

/* Guide */
.guide { padding: 80px 0; background: #f9f9f9; }
.guide-con { display: flex; gap: 60px; align-items: center; }
.guide-left { flex: 1; }
.guide-tit h2 { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.guide-tit h2 img { height: 60px; }
.guide-tit h2 span { font-size: 36px; font-weight: bold; }
.guide-tit em { display: block; font-size: 18px; color: #c9a36a; margin-top: 10px; }
.guide-desc { font-size: 15px; color: #666; line-height: 2; margin-bottom: 30px; }
.guide-code { display: flex; align-items: center; gap: 20px; padding: 20px; background: #fff; border-radius: 8px; }
.code-left h4 b { display: block; font-size: 16px; }
.code-left h4 em { font-size: 12px; color: #999; }
.code-left p { font-size: 24px; font-weight: bold; color: #c9a36a; margin-top: 10px; }
.code-right img { width: 120px; height: 120px; }
.guide-right { flex: 1; position: relative; }
.guide-right-img img { width: 100%; border-radius: 8px; }
.guide-video-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: rgba(201,163,106,0.9); border-radius: 50%; cursor: pointer; }
.guide-video-wrap { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.9); z-index: 2000; display: none; }
.guide-video-close { position: absolute; top: 30px; right: 30px; color: #fff; cursor: pointer; padding: 10px 20px; background: rgba(255,255,255,0.2); }
.guide-video-box { width: 80%; max-width: 1000px; aspect-ratio: 16/9; margin: auto; }

/* Product */
.product { padding: 80px 0; }
.product .title { text-align: center; margin-bottom: 50px; }
.product .title a { display: block; font-size: 36px; font-weight: bold; margin-bottom: 15px; }
.product .title em { display: block; font-size: 16px; color: #999; }
.pro-ctg { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.pro-ctg li { padding: 12px 30px; background: #f5f5f5; border-radius: 4px; cursor: pointer; }
.pro-ctg li.cur, .pro-ctg li:hover { background: #c9a36a; color: #fff; }
.pro-list-ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.pro-list-ul li { text-align: center; padding: 30px; background: #fff; border: 1px solid #eee; border-radius: 8px; }
.pro-list-ul li:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.pro-list-ul li img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 20px; }
.pro-list-ul li h4 b { display: block; font-size: 18px; margin-bottom: 5px; }
.pro-list-ul li h4 em { display: block; font-size: 12px; color: #999; }
.pro-list-ul li i img { height: 48px; }
.pro-link { text-align: center; margin-top: 50px; display: flex; justify-content: center; gap: 30px; }
.pro-link a { padding: 15px 50px; border-radius: 4px; }
.pro-link-one { background: #c9a36a; color: #fff; }
.pro-link-two { background: #f5f5f5; }

/* Factory */
.factory { padding: 80px 0; background: #f9f9f9; }
.factory .title { text-align: center; margin-bottom: 50px; }
.factory .title span { display: block; font-size: 36px; font-weight: bold; margin-bottom: 15px; }
.factory .title em { display: block; font-size: 16px; color: #999; }
.fac-video { position: relative; margin-bottom: 50px; border-radius: 8px; overflow: hidden; }
.fac-video img { width: 100%; height: 500px; object-fit: cover; }
.fac-video-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; background: rgba(201,163,106,0.9); border-radius: 50%; cursor: pointer; }
.fac-video-wrap { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: none; }
.fac-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.fac-ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.li-item { text-align: center; padding: 40px 30px; background: #fff; border-radius: 8px; }
.li-item h4 i img { height: 50px; margin-bottom: 15px; }
.li-item h4 b { display: block; font-size: 20px; margin-bottom: 8px; }
.li-item h4 em { display: block; font-size: 14px; color: #999; }
.li-item p { font-size: 14px; color: #666; line-height: 1.8; }

/* Video */
.video { padding: 80px 0; }
.video-con { display: flex; gap: 60px; margin-bottom: 50px; }
.video-left { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.video-logo img { height: 80px; margin-bottom: 30px; }
.video-txt span { display: block; font-size: 24px; line-height: 1.8; margin-bottom: 20px; }
.video-txt em { display: block; font-size: 14px; color: #999; }
.video-link a { display: inline-block; padding: 15px 40px; background: #c9a36a; color: #fff; border-radius: 4px; margin-top: 20px; }
.video-right { flex: 1.5; }
.video-ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-ul .li-item { padding: 25px; background: #f9f9f9; border-radius: 8px; text-align: center; }
.video-ul .li-item i img { height: 50px; margin-bottom: 15px; }
.video-ul .li-item b { display: block; font-size: 18px; margin-bottom: 10px; }
.video-ul .li-item p { font-size: 14px; color: #666; }
.video-list { position: relative; margin-top: 50px; overflow: hidden; }
.video-list-ul { display: flex; gap: 20px; }
.video-list .list-item { min-width: 220px; }
.video-list .list-pic img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.video-list .list-txt h4 { font-size: 14px; margin: 10px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-list .list-txt p { font-size: 13px; color: #999; }
.video-btn-prev, .video-btn-next { position: absolute; top: 50%; transform: translateY(-50%); cursor: pointer; z-index: 10; }
.video-btn-prev { left: 0; }
.video-btn-next { right: 0; }
.video-btn-prev img, .video-btn-next img { width: 40px; }

/* Case */
.case { padding: 80px 0; background: #f9f9f9; }
.case .title { text-align: center; margin-bottom: 50px; }
.case .title a { display: block; font-size: 36px; font-weight: bold; margin-bottom: 15px; }
.case .title em { display: block; font-size: 16px; color: #999; }
.case-list .swiper-slide dl { background: #fff; border-radius: 8px; overflow: hidden; }
.case-list dt img { width: 100%; height: 200px; object-fit: cover; }
.case-list dd { padding: 20px; }
.case-list dd i img { height: 40px; margin-bottom: 15px; }
.case-list dd h4 { font-size: 16px; margin-bottom: 10px; }
.case-desc { font-size: 13px; color: #999; }
.case-list-bar { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.case-btn-prev, .case-btn-next { width: 40px; height: 40px; background: #c9a36a; border-radius: 50%; cursor: pointer; }

/* News */
.news { padding: 80px 0; }
.news .title { text-align: center; margin-bottom: 50px; }
.news .title a { display: block; font-size: 36px; font-weight: bold; margin-bottom: 15px; }
.news .title em { display: block; font-size: 16px; color: #999; }
.news-con { display: flex; gap: 50px; }
.news-left, .news-right { flex: 1; }
.news-con-tit { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 2px solid #c9a36a; margin-bottom: 25px; }
.news-con-tit h4 { font-size: 20px; }
.news-con-tit span a { font-size: 14px; color: #999; }
.news-left-list dl { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }
.news-left-list dt img { width: 120px; height: 80px; object-fit: cover; border-radius: 4px; }
.news-left-list dd h4 { font-size: 16px; margin-bottom: 10px; }
.news-link a { font-size: 13px; color: #c9a36a; }
.news-right-list li { padding: 15px 0; border-bottom: 1px solid #eee; display: flex; gap: 15px; }
.news-date { width: 60px; text-align: center; background: #f5f5f5; padding: 8px; border-radius: 4px; }
.news-date span { display: block; font-size: 24px; font-weight: bold; color: #c9a36a; }
.news-date em { display: block; font-size: 12px; color: #999; }
.news-right-list h4 { flex: 1; font-size: 15px; }

/* Footer */
.foot { background: #2d2d2d; color: #fff; padding: 60px 0 0; }
.foot-con { display: flex; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #444; }
.foot-left { flex: 1; }
.foot-logo img { height: 60px; margin-bottom: 20px; }
.foot-left-text p { font-size: 13px; color: #999; margin-bottom: 10px; }
.foot-left-text a { color: #999; }
.foot-nav h4, .foot-info h4, .foot-right h4 { font-size: 16px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #c9a36a; }
.foot-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.foot-nav a { font-size: 13px; color: #999; }
.foot-info ul li { font-size: 13px; color: #999; margin-bottom: 12px; display: flex; gap: 10px; }
.foot-right ul li { font-size: 13px; color: #999; margin-bottom: 8px; }
.foot-bot { padding: 30px 0; display: flex; gap: 30px; align-items: center; }
/* Banner Swiper 样式 */
.banner .swiper-wrapper { display: flex; }
.banner .swiper-slide { position: relative; width: 100%; height: 600px; }
.banner .swiper-slide img { width: 100%; height: 600px; object-fit: cover; display: block; }
.banner .ban_nav { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 10; }
.banner .ban_nav .swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.banner .ban_nav .swiper-pagination-bullet-active { opacity: 1; background: #c9a36a; }

/* 响应式 */
@media (max-width: 1200px) {
    .content { width: 100%; padding: 0 20px; }
    .header .content { padding: 0 20px; }
    .head-txt { margin: 0 20px; }
    .nav li { margin-left: 20px; }
}

@media (max-width: 768px) {
    .head { position: relative; }
    .header { height: auto; padding: 15px 0; flex-wrap: wrap; }
    .header .content { flex-wrap: wrap; }
    .logo img { height: 50px; }
    .head-txt { display: none; }
    .menu { display: none; width: 100%; margin-top: 15px; }
    .menu ul { flex-direction: column; }
    .menu li { margin: 10px 0; }
    .banner { margin-top: 0; }
    .banner .swiper-slide { height: 300px; }
    .banner img { height: 300px; }
    .guide-con { flex-direction: column; }
    .fac-ul { grid-template-columns: 1fr; }
    .pro-list-ul { grid-template-columns: 1fr; }
    .video-ul { grid-template-columns: 1fr; }
    .news-con { flex-direction: column; }
    .foot-con { flex-direction: column; }
    .foot-bot { flex-direction: column; }
}
