/* 
* Queen Frozen Fruit Website Styles
* 主题配色：金色(#D4AF37)、深蓝(#0D1B4E)、白色(#FFFFFF)
*/

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #0D1B4E;
  transition: all 0.3s ease;
}

a:hover {
  color: #D4AF37;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: #0D1B4E;
  margin-bottom: 15px;
  font-weight: 700;
}

.title-line {
  height: 3px;
  width: 80px;
  background-color: #D4AF37;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #D4AF37;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #0D1B4E;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn.outline {
  background-color: transparent;
  border: 2px solid #D4AF37;
  color: #D4AF37;
}

.btn.outline:hover {
  background-color: #D4AF37;
  color: #fff;
}

.btn.small {
  padding: 8px 20px;
  font-size: 14px;
}

/* 页面布局 */
section {
  padding: 80px 0;
}

/* 顶部导航 */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 60px;
}

.main-menu {
  display: flex;
}

.main-menu li {
  margin: 0 15px;
}

.main-menu a {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D4AF37;
  transition: width 0.3s;
}

.main-menu a:hover::after,
.main-menu a.active::after {
  width: 100%;
}

.main-menu a.active {
  color: #D4AF37;
}

.language-selector {
  display: flex;
  align-items: center;
}

.language-selector a {
  margin-left: 10px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.language-selector a.active,
.language-selector a:hover {
  opacity: 1;
}

.language-selector img {
  height: 20px;
  width: auto;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* 首页英雄区 */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-size: cover;
  background-position: center;
}

.slide.current {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 80%;
  background-color: rgba(13, 27, 78, 0.7);
  padding: 40px;
  border-radius: 8px;
}

.slide .content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide .content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* 品牌介绍 */
.brand-intro {
  background-color: #f8f9fa;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.intro-text {
  flex: 1;
  padding-right: 30px;
}

.intro-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.intro-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 产品展示 */
.product-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.category {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category h3 {
  font-size: 22px;
  margin: 20px 0 10px;
  color: #0D1B4E;
}

.category p {
  padding: 0 20px;
  margin-bottom: 20px;
  color: #666;
}

/* 全球布局 */
.global-presence {
  background-color: #f8f9fa;
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.market-point {
  position: absolute;
  cursor: pointer;
}

.market-point .point {
  display: block;
  width: 16px;
  height: 16px;
  background-color: #D4AF37;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(212, 175, 55, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.market-info {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 6px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.market-point:hover .market-info {
  opacity: 1;
  visibility: visible;
  bottom: 150%;
}

.market-info:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #fff transparent transparent transparent;
}

.market-info h4 {
  color: #0D1B4E;
  margin-bottom: 5px;
}

.market-info p {
  font-size: 14px;
  color: #666;
}

/* 定位全球市场点 */
.china {
  top: 40%;
  right: 25%;
}

.thailand {
  top: 55%;
  right: 30%;
}

.usa {
  top: 38%;
  left: 20%;
}

/* 认证 */
.cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cert-item {
  text-align: center;
  flex: 0 0 140px;
}

.cert-item img {
  height: 80px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.cert-item:hover img {
  transform: scale(1.1);
}

.cert-item p {
  font-size: 14px;
  color: #666;
}

/* 合作伙伴 */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partner-logo {
  flex: 0 0 180px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s ease;
  text-align: center;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo img {
  max-height: 80px;
}

/* 行动召唤 */
.call-to-action {
  background: linear-gradient(rgba(13, 27, 78, 0.9), rgba(13, 27, 78, 0.9)), url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.call-to-action h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.call-to-action p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 页脚 */
footer {
  background-color: #0D1B4E;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo,
.footer-contact,
.footer-links,
.footer-social {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 70px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 14px;
  opacity: 0.8;
}

footer h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #D4AF37;
  position: relative;
  padding-bottom: 10px;
}

footer h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #D4AF37;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: #D4AF37;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: #D4AF37;
  padding-left: 5px;
}

.social-icons {
  display: flex;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #D4AF37;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}

/* 管理系统入口链接样式 */
.admin-link {
  color: #D4AF37;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.admin-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* 内页banner */
.page-banner {
  height: 300px;
  background: linear-gradient(rgba(13, 27, 78, 0.8), rgba(13, 27, 78, 0.8)), url('../images/page-banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 80px;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
  font-size: 16px;
}

.breadcrumb a {
  color: #D4AF37;
}

.breadcrumb span {
  opacity: 0.7;
}

/* 关于我们页面 */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline:before {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #D4AF37;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  background-color: inherit;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #fff;
  border: 3px solid #D4AF37;
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(even):after {
  left: -10px;
}

.year {
  position: absolute;
  top: 18px;
  font-weight: bold;
  font-size: 22px;
  color: #D4AF37;
}

.timeline-item:nth-child(odd) .year {
  right: -85px;
}

.timeline-item:nth-child(even) .year {
  left: -85px;
}

.content {
  padding: 20px 30px;
  background-color: #fff;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0D1B4E;
}

.about-factory {
  background-color: #f8f9fa;
}

.factory-info {
  display: flex;
  flex-wrap: wrap;
}

.factory-text {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.factory-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.facility-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.facility-features i {
  font-size: 24px;
  margin-right: 15px;
  color: #D4AF37;
}

.facility-features h4 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #0D1B4E;
}

.certification.about-page {
  background-color: #fff;
}

.cert-details {
  max-width: 1000px;
  margin: 0 auto;
}

.cert-group {
  margin-bottom: 40px;
}

.cert-group h3 {
  font-size: 24px;
  color: #0D1B4E;
  margin-bottom: 20px;
  text-align: center;
}

.cert-group .cert-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cert-group .cert-item {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cert-group .cert-item img {
  height: 70px;
  margin-right: 20px;
  margin-bottom: 0;
}

.cert-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #0D1B4E;
}

.cert-info p {
  font-size: 14px;
  color: #666;
}

.production-process {
  background-color: #f8f9fa;
}

.process-flow {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.process-step {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 40px;
  color: #D4AF37;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #0D1B4E;
}

.vision-mission-section {
  background-color: #f8f9fa;
}

.vision-mission {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.vision, .mission, .values {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.vision:hover, .mission:hover, .values:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vision-mission .icon {
  font-size: 40px;
  color: #D4AF37;
  margin-bottom: 20px;
}

.vision-mission h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0D1B4E;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .vision-mission {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .vision-mission {
    gap: 20px;
  }
}

/* 产品中心页面 */
.product-filter {
  padding-bottom: 0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 20px;
  background-color: #f1f1f1;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover, .filter-tab.active {
  background-color: #D4AF37;
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.product-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.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-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #D4AF37;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0D1B4E;
}

.product-info p {
  margin-bottom: 15px;
  color: #666;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.product-meta span {
  font-size: 14px;
  color: #777;
  display: flex;
  align-items: center;
}

.product-meta i {
  margin-right: 5px;
  color: #D4AF37;
}

.product-actions {
  display: flex;
  justify-content: space-between;
}

.btn-product-detail, .btn-inquiry {
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-product-detail {
  background-color: #f1f1f1;
  color: #333;
}

.btn-inquiry {
  background-color: #D4AF37;
  color: #fff;
}

.btn-product-detail:hover {
  background-color: #e0e0e0;
}

.btn-inquiry:hover {
  background-color: #0D1B4E;
}

.product-advantage {
  background-color: #f8f9fa;
}

.advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.advantage-item {
  flex: 1;
  min-width: 250px;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  font-size: 40px;
  color: #D4AF37;
  margin-bottom: 20px;
}

.advantage-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0D1B4E;
}

.business-inquiry {
  margin-top: 50px;
}

.inquiry-options {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.b2b-inquiry, .b2c-inquiry {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.b2b-inquiry {
  border-top: 5px solid #0D1B4E;
}

.b2c-inquiry {
  border-top: 5px solid #D4AF37;
}

.inquiry-options h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0D1B4E;
}

.inquiry-options p {
  margin-bottom: 20px;
  color: #666;
}

.inquiry-options ul {
  margin-bottom: 25px;
}

.inquiry-options li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.inquiry-options li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D4AF37;
  font-weight: bold;
}

.product-quality {
  background-color: #f8f9fa;
}

.quality-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.quality-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.quality-text {
  flex: 1;
  min-width: 300px;
}

.quality-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* 创建images目录，用于存放产品和背景图片 */
/* 提示：需要创建images目录并上传产品图片和背景图片 */

/* 创建js文件，实现产品筛选等功能 */
/* 提示：需要创建js目录并编写main.js文件 */ 