/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

/* 导航栏样式（与首页保持一致） */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 77, 64, 1), rgba(0, 121, 107, 0.3));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 0;
  transition: top 0.4s ease-in-out;
}

.navbar-hidden {
  top: -150px;
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 100px;
}

.logo img {
  max-height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text-cn {
  font-size: 20px;
  font-weight: bold;
  color: white;
  line-height: 1.2;
}

.logo-text-en {
  font-size: 12px;
  color: white;
  line-height: 1.2;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.search-container {
  position: relative;
}

.search-container input {
  padding: 8px 30px 8px 15px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background-color: rgba(255, 255, 255, 0.8);
}

.search-container .fa-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  cursor: pointer;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #D4A574;
}

/* 下拉菜单样式，保持与首页一致 */
.nav-item-with-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 77, 64, 0.95);
  list-style: none;
  padding: 12px 0;
  border-radius: 8px;
  min-width: 140px;
  width: max-content;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  margin-top: 8px;
}

.nav-item-with-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  padding: 0;
}

.nav-dropdown li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.nav-dropdown li a:hover {
  background-color: rgba(212, 165, 116, 0.2);
  color: #D4A574;
  padding-left: 28px;
}

.user-center {
  background-color: #8B4513;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  font-size: 16px;
  flex-shrink: 0;
}

.user-center:hover {
  background-color: #654321;
}

.right-sidebar {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.right-sidebar::before {
  content: none;
}

.sidebar-icon-item {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 192, 203, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
  font-size: 22px;
  color: rgba(212, 165, 116, 0.9);
  overflow: visible;
}

.sidebar-label {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  padding: 10px 22px;
  background: #e60012;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sidebar-icon-item:hover {
  background: rgba(255, 192, 203, 0.55);
  transform: scale(1.05);
}

.sidebar-icon-item:hover .sidebar-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* 固定悬浮窗样式 */
.fixed-floats {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.float-window {
    width: 80px;
    height: 80px;
    background-color: #8B4513;
    color: white;
    text-align: center;
    line-height: 80px;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-size: 14px;
}

.float-window:hover {
    background-color: #654321;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 圆形悬浮窗样式 */
.circle-floats {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
}

.circle-float {
    width: 80px;
    height: 80px;
    background-color: rgba(139, 69, 19, 0.9);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    font-weight: 500;
}

.circle-float:hover {
    background-color: #654321;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 内容区域样式 */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 品牌故事页面的容器扩展到全宽 */
body .container:has(.brand-story-top-row) {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.section {
    padding: 78px 0;
    margin-top: 0;
    scroll-margin-top: 130px;
}
 
/* 发展历程：作为一屏展示时，去掉 section 自带的上下留白 */
#development.section {
    padding: 0;
    margin-top: 0;
}

#development.section {
    padding-top: 0;
}

#philosophy.section,
#vision.section,
#milestones.section {
    padding-top: 64px;
    padding-bottom: 64px;
}

#philosophy.section {
    background: none;
}

#vision.section {
    background: none;
}

.brand-story-top-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 0;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: none;
    border-right: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.brand-story-top-row > .section {
    padding: 0;
}

.brand-story-top-row #origin.section,
.brand-story-top-row #philosophy.section,
.brand-story-top-row #vision.section {
    padding: 0;
}

.brand-story-top-row > .section + .section {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.brand-story-top-row .story-content {
    height: auto;
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0;
    background: transparent;
    padding: 26px 26px 22px;
    border-radius: 0;
    box-shadow: none;
}

.brand-story-top-row #origin .story-content,
.brand-story-top-row #vision .story-content {
    padding: 26px 26px 22px;
}

.brand-story-divider {
    height: 0;
    background: transparent;
    display: none;
}

.development-title-container {
    position: absolute;
    top: 100px;
    left: 40px;
    z-index: 10;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.development-title-container .section-title {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: 400;
    text-align: left;
    letter-spacing: 2px;
}

.development-title-container .section-title::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
    width: 0 !important;
}

.development-title-container .development-slideshow-subtitle {
    display: none;
}

.brand-story-top-row #philosophy .philosophy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
}

.brand-story-top-row #philosophy .philosophy-item {
    padding: 14px 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    box-shadow: none;
    transition: background 0.25s ease;
}

.brand-story-top-row #philosophy .philosophy-item + .philosophy-item {
    border-top: none;
}

.brand-story-top-row #philosophy .philosophy-item:hover {
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.03);
}

@media (max-width: 1100px) {
    .brand-story-top-row #philosophy .philosophy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    letter-spacing: 1.2px;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(139, 69, 19, 0), rgba(139, 69, 19, 1), rgba(139, 69, 19, 0));
}

/* 发展历程标题不要横线 */
#development .section-title::after,
.development-slideshow-wrap .section-title::after {
    display: none !important;
    content: none !important;
}

/* 品牌故事内容样式 */
.story-content {
    max-width: 980px;
    margin: 0 auto;
    background-color: white;
    padding: 44px;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
}

.story-content h3 {
    color: #8B4513;
    margin-bottom: 22px;
    font-size: 26px;
    letter-spacing: 0.4px;
    position: relative;
    padding-left: 14px;
}

.story-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.95), rgba(139, 69, 19, 0.35));
}

.story-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #4a4a4a;
    font-size: 15px;
}

/* 时间线样式 */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.timeline li:last-child {
    border-bottom: none;
}

.timeline .year {
    color: #8B4513;
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.timeline p {
    color: #666;
    margin-bottom: 0;
}

/* 旋转幻灯片样式 */
.development-slideshow-wrap {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    padding-top: 0;
}

.development-slideshow-header {
    display: none;
}

.development-slideshow-header h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 6px;
}

.development-slideshow-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    letter-spacing: 0.6px;
}

.brand-development-slideshow {
    position: relative;
    display: block;
    width: 100%;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    visibility: hidden;
    overflow: hidden;
}

.brand-development-slideshow ul.navigation {
    position: absolute;
    display: block;
    width: 560px;
    height: 560px;
    padding: 0;
    margin: 0;
    left: -210px;
    top: 50%;
    margin-top: -280px;
    z-index: 10;
}

.brand-development-slideshow ul.navigation li.navigation-item {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    width: 110px;
    height: 110px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    transition: border 0.6s ease-in-out;
}

.brand-development-slideshow ul.navigation li.navigation-item .rotate-holder {
    position: fixed;
    display: block;
    width: 0;
    height: 0;
    left: -9999px;
    top: -9999px;
    overflow: hidden;
}

.brand-development-slideshow ul.navigation li.navigation-item .background-holder {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.brand-development-slideshow ul.navigation li.navigation-item:hover .background-holder {
    opacity: 0.75;
}

.brand-development-slideshow ul.navigation li.navigation-item.active .background-holder {
    opacity: 0;
    visibility: hidden;
}

.brand-development-slideshow .detail {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
}

.brand-development-slideshow .detail .detail-item {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.brand-development-slideshow .detail .detail-item.active {
    opacity: 1;
    visibility: visible;
}

.brand-development-slideshow .detail .detail-item .headline {
    position: absolute;
    display: inline-flex;
    width: auto;
    max-width: none;
    height: 126px;
    top: 50%;
    left: 140px;
    transform: translateY(-50%);
    overflow: visible;
    white-space: nowrap;
    box-sizing: border-box;
    z-index: 3;
}

.brand-development-slideshow .detail .detail-item .headline .letter {
    font-family: 'Oswald', sans-serif;
    position: relative;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    color: #FFFFFF;
    font-size: 132px;
    line-height: 110px;
    font-weight: 900;
    font-kerning: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.brand-development-slideshow .detail .detail-item .headline::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 36px);
    height: 120px;
    background: rgba(230, 0, 18, 0.65);
    border-radius: 8px;
    z-index: -1;
}

.brand-development-slideshow .detail .detail-item .background {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: visible;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    background-color: #0f0f0f;
    z-index: 1;
}

.brand-development-slideshow .detail .detail-item .background::before {
    content: "";
    background: linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.06) 62%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.brand-development-slideshow .development-info {
    position: absolute;
    right: 28px;
    bottom: 62px;
    transform: none;
    width: min(460px, calc(100% - 140px));
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 26px 26px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
    z-index: 5;
    opacity: 0;
}

.brand-development-slideshow .development-info-top {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
}

.brand-development-slideshow .development-info-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(230, 0, 18, 0.1);
    color: #e60012;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.brand-development-slideshow .development-info-store {
    color: #111;
    font-weight: 800;
    font-size: 18px;
}

.brand-development-slideshow .development-info-text {
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.85;
    font-size: 14px;
}

@media (max-width: 768px) {
    .brand-development-slideshow .development-info {
        position: absolute;
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 22px;
        transform: none;
        width: auto;
    }
}