/*
* 和平国旅自定义样式
* 从index.html中提取的内联样式
*/

/* IE浏览器兼容性面板 */
.ie-panel {
  display: none;
  background: #212121;
  padding: 10px 0;
  box-shadow: 3px 3px 5px 0 rgba(0,0,0,.3);
  clear: both;
  text-align: center;
  position: relative;
  z-index: 1;
}

html.ie-10 .ie-panel, 
html.lt-ie-10 .ie-panel {
  display: block;
}

/* 顶部横条 */
.page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: #9c843c;
  z-index: 1001;
}

/* Logo容器样式 - 在右侧区域居中 */
.navbar-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -30px; /* 适当向下移动，logo完全显示 */
  margin: 0;
  padding: 0;
  margin-left: -140px; /* 向左偏移，更好地居中 */
}

.navbar-logo-container img {
  height: 100px; /* 缩小到合适大小 */
  width: auto;
  object-fit: contain;
  display: block;
  margin-top: 0;
  padding-top: 0;
  margin-right: 50px;
}

.navbar-logo-container:hover img {
  opacity: 0.8;
}

/* 导航栏样式 */
.rd-navbar-wrap {
  margin-top: 6px;
  position: relative;
}

/* 三等分布局 */
.rd-navbar-aside {
  display: flex;
  width: 100%;
  align-items: center;
}

/* 联系信息区域 - 左侧33.3% */
.rd-navbar-collapse {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
}

/* 品牌文字区域 - 中间33.3% */
.rd-navbar-panel {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo区域 - 右侧33.3% */
.rd-navbar-aside-element {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.rd-navbar-search-2,
.select-inline {
  flex-shrink: 0;
}

/* 服务描述文字居中 */
.brand-services {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

.brand-service-1,
.brand-service-divider,
.brand-service-2 {
  display: inline !important;
}

/* 品牌名称也居中 */
.brand-name-group {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

.brand-name-main,
.brand-name-divider,
.brand-name-world,
.brand-company-name {
  display: inline !important;
}

/* 简洁企业实力展示 */
.clean-strength-section {
  margin: 40px 0 50px 0;
  text-align: center;
}

.strength-intro {
  margin-bottom: 35px;
}

.intro-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.strength-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 20px 0;
  min-width: 120px;
}

.metric-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #9c843c, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric-item:hover::after {
  opacity: 1;
}

.metric-number {
  font-size: 36px;
  font-weight: 700;
  color: #9c843c;
  line-height: 1;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.metric-item:hover .metric-number {
  transform: scale(1.1);
}

.metric-label {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Owl Carousel 容器样式 - 防止hover效果影响下方内容 */
.owl-carousel.owl-style-8 {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* 服务标签容器样式 */
.services-tags-container {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 10;
  padding-top: 20px;
}

.services-row {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.services-row:last-child {
  margin-bottom: 0;
}

.service-tag {
  background: linear-gradient(135deg, rgba(156, 132, 60, 0.08) 0%, rgba(156, 132, 60, 0.12) 100%);
  color: #555;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(156, 132, 60, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  text-align: center;
}

.service-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.service-tag:hover::before {
  left: 100%;
}

.service-tag:hover {
  background: linear-gradient(135deg, rgba(156, 132, 60, 0.15) 0%, rgba(156, 132, 60, 0.2) 100%);
  border-color: rgba(156, 132, 60, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(156, 132, 60, 0.15);
  color: #444;
}

/* 技术优势展示样式 */
.tech-advantages {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  text-align: center;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 25px 20px;
  border-radius: 12px;
  background: rgba(156, 132, 60, 0.05);
  border: 1px solid rgba(156, 132, 60, 0.1);
  transition: all 0.3s ease;
  min-width: 140px;
}

.advantage-item:hover {
  background: rgba(156, 132, 60, 0.1);
  border-color: rgba(156, 132, 60, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(156, 132, 60, 0.15);
}

.advantage-number {
  font-size: 32px;
  font-weight: 700;
  color: #9c843c;
  line-height: 1;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-number {
  transform: scale(1.1);
}

.advantage-text {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 修复Services部分图标在大屏幕时的居中问题 */
@media (min-width: 1200px) {
  .box-icon-classic .icon-negative:before {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* 导航菜单优化样式 */
.rd-navbar-nav .rd-nav-item .rd-nav-link {
  transition: all 0.3s ease;
}

.rd-navbar-nav .rd-nav-item:hover .rd-nav-link {
  color: #9c843c !important;
}

.rd-navbar-dropdown {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(156, 132, 60, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.rd-dropdown-item .rd-dropdown-link {
  transition: all 0.3s ease;
  padding: 12px 20px;
}

.rd-dropdown-item:hover .rd-dropdown-link {
  background-color: rgba(156, 132, 60, 0.1);
  color: #9c843c;
  transform: translateX(5px);
}

/* 关于我们导航项样式 */
.rd-navbar-nav .rd-nav-item:last-child .rd-nav-link {
  background: linear-gradient(135deg, rgba(156, 132, 60, 0.1), rgba(156, 132, 60, 0.05));
  border-radius: 20px;
  padding: 8px 16px !important;
  margin: 4px 0;
  border: 1px solid rgba(156, 132, 60, 0.2);
}

.rd-navbar-nav .rd-nav-item:last-child:hover .rd-nav-link {
  background: linear-gradient(135deg, rgba(156, 132, 60, 0.2), rgba(156, 132, 60, 0.1));
  border-color: rgba(156, 132, 60, 0.3);
  transform: translateY(-1px);
}

/* 酒店预订优势样式 */
.hotel-advantages {
  margin: 40px 0 60px 0;
  padding: 40px 0;
}

.hotel-intro-text {
  font-size: 18px;
  color: #666;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

.advantage-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(156, 132, 60, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(156, 132, 60, 0.15);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(156, 132, 60, 0.2);
}

.advantage-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.advantage-icon i {
  font-size: 40px;
  color: #9c843c;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon i {
  transform: scale(1.1);
  color: #8a7234;
}

.advantage-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.advantage-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

/* 企业实力展示样式 */
.company-strength {
  background: linear-gradient(135deg, rgba(156, 132, 60, 0.05) 0%, rgba(156, 132, 60, 0.02) 100%);
  border-radius: 16px;
  padding: 40px 30px;
  margin: 30px 0 50px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(156, 132, 60, 0.1);
}

.strength-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.strength-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  padding: 20px 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.strength-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(156, 132, 60, 0.2);
  border-color: rgba(156, 132, 60, 0.3);
}

.strength-icon {
  font-size: 32px;
  margin-bottom: 12px;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.strength-item:hover .strength-icon {
  filter: grayscale(0);
}

.strength-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strength-number {
  font-size: 24px;
  font-weight: 700;
  color: #9c843c;
  line-height: 1;
}

.strength-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  line-height: 1.2;
}

.strength-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(156, 132, 60, 0.2);
}

.strength-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-weight: 400;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .clean-strength-section {
    margin: 30px 0 40px 0;
  }
  
  .intro-text {
    font-size: 15px;
  }
  
  .strength-metrics {
    gap: 40px;
  }
  
  .metric-item {
    min-width: 100px;
  }
  
  .metric-number {
    font-size: 30px;
  }
  
  .metric-label {
    font-size: 12px;
  }
  
  .services-tags-container {
    margin-top: 60px;
    padding-top: 15px;
  }
  
  .services-row {
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .service-tag {
    padding: 10px 18px;
    font-size: 13px;
    min-width: 120px;
  }
  
  .tech-advantages {
    margin-top: 40px;
    gap: 30px;
  }
  
  .advantage-item {
    padding: 20px 15px;
    min-width: 120px;
  }
  
  .advantage-number {
    font-size: 28px;
  }
  
  .advantage-text {
    font-size: 12px;
  }
  
  .hotel-advantages {
    margin: 30px 0 50px 0;
    padding: 30px 0;
  }
  
  .hotel-intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .advantage-card {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .advantage-icon i {
    font-size: 35px;
  }
  
  .advantage-card h5 {
    font-size: 15px;
  }
  
  .company-strength {
    padding: 25px 20px;
    margin: 20px 0 30px 0;
  }
  
  .strength-container {
    gap: 20px;
  }
  
  .strength-item {
    min-width: 100px;
    padding: 15px 10px;
  }
  
  .strength-icon {
    font-size: 28px;
  }
  
  .strength-number {
    font-size: 20px;
  }
  
  .strength-label {
    font-size: 12px;
  }
  
  .strength-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .strength-metrics {
    gap: 30px;
  }
  
  .metric-item {
    min-width: 80px;
  }
  
  .metric-number {
    font-size: 24px;
  }
  
  .services-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .service-tag {
    min-width: 200px;
  }
  
  .tech-advantages {
    gap: 20px;
  }
  
  .advantage-item {
    min-width: 100px;
    padding: 15px 10px;
  }
  
  .advantage-number {
    font-size: 24px;
  }
  
  .hotel-advantages {
    margin: 20px 0 40px 0;
    padding: 20px 0;
  }
  
  .hotel-intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .advantage-card {
    padding: 20px 12px;
  }
  
  .advantage-icon i {
    font-size: 32px;
  }
  
  .advantage-card h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .advantage-card p {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .hotel-advantages {
    margin: 30px 0 50px 0;
    padding: 30px 0;
  }
  
  .hotel-intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .advantage-card {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .advantage-icon i {
    font-size: 35px;
  }
  
  .advantage-card h5 {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .hotel-advantages {
    margin: 20px 0 40px 0;
    padding: 20px 0;
  }
  
  .hotel-intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .advantage-card {
    padding: 20px 12px;
  }
  
  .advantage-icon i {
    font-size: 32px;
  }
  
  .advantage-card h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .advantage-card p {
    font-size: 13px;
  }
}

/* About页面特定样式 - 顶部纯色条和logo固定 */
.rd-navbar-classic .rd-navbar-brand {
  position: relative;
  z-index: 1002;
  margin-top: -6px; /* 使logo紧贴顶部纯色条 */
}

.rd-navbar-classic .rd-navbar-brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  position: relative;
  z-index: 1002;
}

/* About页面logo固定到顶部纯色条 */
.rd-navbar-classic .rd-navbar-brand .brand {
  position: relative;
  top: -30px; /* 向上移动使logo贴近纯色条 */
  z-index: 1002;
}

.rd-navbar-classic .rd-navbar-brand:hover img {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* 修复About页面导航布局问题 */
/* 覆盖原始样式，去掉display:flex和max-height限制 */
.rd-navbar-classic.rd-navbar-static .rd-navbar-brand {
  display: block !important;
  flex: none !important;
  margin-right: 30px;
}

.rd-navbar-classic.rd-navbar-static .rd-navbar-brand img {
  max-height: none !important;
  width: 100px;
  height: 100px;
}

/* 优化导航布局，减少logo和导航之间的空白 */
.rd-navbar-classic .rd-navbar-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 15px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.rd-navbar-classic .rd-navbar-panel {
  flex: 0 0 auto;
  margin-right: 20px;
}

  .rd-navbar-classic .rd-navbar-nav-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    margin-left: 20px;
    max-width: calc(100% - 200px); /* 确保不会超出容器，为右侧按钮留空间 */
    overflow: hidden; /* 防止整个导航区域溢出 */
  }

.rd-navbar-classic .rd-navbar-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  width: 100%;
  overflow-x: auto; /* 如果内容太宽，允许横向滚动 */
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* 隐藏滚动条但保持功能 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 隐藏滚动条 */
.rd-navbar-classic .rd-navbar-nav::-webkit-scrollbar {
  display: none;
}

.rd-navbar-classic .rd-nav-item {
  margin: 0 12px;
  white-space: nowrap;
  flex-shrink: 0; /* 防止菜单项被压缩 */
  flex-grow: 0;
  min-width: auto; /* 保持菜单项原始宽度 */
}

.rd-navbar-classic .rd-navbar-main-element {
  flex: 0 0 auto;
  margin-left: auto;
}

/* 响应式调整 - 智能缩放导航 */
@media (max-width: 1399px) {
  .rd-navbar-classic .rd-nav-item {
    margin: 0 10px; /* 稍微减少间距 */
  }
}

@media (max-width: 1199px) {
  .rd-navbar-classic .rd-nav-item {
    margin: 0 8px; /* 进一步减少间距 */
  }
  
  .rd-navbar-classic .rd-navbar-main {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .rd-navbar-classic .rd-navbar-nav-wrap {
    margin-left: 15px;
    max-width: calc(100% - 150px); /* 调整最大宽度 */
  }
  
  /* 让导航菜单项可以适当缩小 */
  .rd-navbar-classic .rd-nav-item .rd-nav-link {
    font-size: 14px; /* 稍微减小字体 */
  }
}

@media (max-width: 991px) {
  .rd-navbar-classic .rd-nav-item {
    margin: 0 5px; /* 继续减少间距 */
  }
  
  .rd-navbar-classic.rd-navbar-static .rd-navbar-brand img {
    width: 80px !important;
    height: 80px !important;
  }
  
  .rd-navbar-classic .rd-navbar-panel {
    margin-right: 10px; /* 减少间距 */
  }
  
  .rd-navbar-classic .rd-navbar-nav-wrap {
    margin-left: 8px; /* 减少间距 */
  }
  
  /* 进一步减小字体和间距 */
  .rd-navbar-classic .rd-nav-item .rd-nav-link {
    font-size: 13px;
    padding: 8px 6px; /* 减少内边距 */
  }
}

@media (max-width: 767px) {
  .rd-navbar-classic .rd-nav-item {
    margin: 0 3px; /* 最小间距 */
  }
  
  .rd-navbar-classic .rd-navbar-main {
    padding: 0 5px;
  }
  
  .rd-navbar-classic .rd-navbar-panel {
    margin-right: 5px;
  }
  
  .rd-navbar-classic .rd-navbar-nav-wrap {
    margin-left: 5px;
  }
  
  /* 小屏幕进一步优化 */
  .rd-navbar-classic .rd-nav-item .rd-nav-link {
    font-size: 12px;
    padding: 6px 4px;
  }
  
  /* 如果空间还是不够，允许菜单换行 */
  .rd-navbar-classic .rd-navbar-nav {
    flex-wrap: wrap;
  }
}

/* 极小屏幕的额外优化 */
@media (max-width: 576px) {
  .rd-navbar-classic .rd-nav-item {
    margin: 0 2px;
  }
  
  .rd-navbar-classic .rd-nav-item .rd-nav-link {
    font-size: 11px;
    padding: 5px 3px;
  }
  
  /* 超小屏幕允许换行显示 */
  .rd-navbar-classic .rd-navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
