/* 
 * 开云体育官网官网样式表
 * 设计风格：商务信赖蓝
 * 主色：#1E3A5F 辅助色：#3D8B7F #F39C12
 */

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

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

ul, ol {
  list-style: none;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #F39C12, #E67E22);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E67E22, #D35400);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #1E3A5F;
}

.btn-secondary {
  background: #1E3A5F;
  color: #fff;
}

.btn-secondary:hover {
  background: #2C4A6E;
}

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #3D8B7F, #2E6B62);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.logo-text h1 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.logo-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 8px;
}

.nav-menu a {
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

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

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hero区域 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(30, 58, 95, 0.7)), url('../images/hero-banner.jpg') center/cover no-repeat;
  padding-top: 80px;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(61, 139, 127, 0.2);
  border: 1px solid rgba(61, 139, 127, 0.5);
  border-radius: 30px;
  color: #3D8B7F;
  font-size: 14px;
  margin-bottom: 24px;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero h2 span {
  color: #F39C12;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* 通用区块样式 */
.section {
  padding: 80px 0;
}

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

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(61, 139, 127, 0.1);
  color: #3D8B7F;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 服务卡片 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(61, 139, 127, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #1E3A5F;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.service-card h4 {
  font-size: 20px;
  color: #1E3A5F;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card ul {
  margin-bottom: 20px;
}

.service-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.service-card ul li::before {
  content: "✓";
  color: #3D8B7F;
  font-weight: bold;
}

/* 数据统计 */
.stats-section {
  background: linear-gradient(135deg, #1E3A5F, #2C4A6E);
  padding: 60px 0;
}

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

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  color: #F39C12;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* 选择理由 */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reason-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.reason-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(61, 139, 127, 0.1), rgba(61, 139, 127, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #3D8B7F;
}

.reason-icon svg {
  width: 32px;
  height: 32px;
}

.reason-card h4 {
  font-size: 20px;
  color: #1E3A5F;
  margin-bottom: 12px;
}

.reason-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* 新闻区块 */
.news-section {
  background: #f8f9fa;
}

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

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(61, 139, 127, 0.1);
  color: #3D8B7F;
  font-size: 12px;
  border-radius: 4px;
}

.news-date {
  font-size: 13px;
  color: #999;
}

.news-card h4 {
  font-size: 18px;
  color: #1E3A5F;
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3D8B7F;
  font-size: 14px;
  font-weight: 500;
}

.news-link:hover {
  color: #2E6B62;
}

/* 合作伙伴 */
.partners-section {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(30, 58, 95, 0.85)), url('../images/partners-bg.jpg') center/cover no-repeat;
  padding: 80px 0;
}

.partners-section .section-badge {
  background: rgba(61, 139, 127, 0.2);
}

.partners-section .section-title {
  color: #fff;
}

.partners-section .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.partner-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.partner-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* 页脚 */
.footer {
  background: #1E3A5F;
  color: #fff;
  padding-top: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #3D8B7F;
}

.footer-column h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #F39C12;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: #fff;
}

/* 内页Banner */
.page-banner {
  background: linear-gradient(135deg, #1E3A5F, #2C4A6E);
  padding: 140px 0 60px;
  text-align: center;
}

.page-banner h1 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

/* 关于我们页面 */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h2 {
  font-size: 32px;
  color: #1E3A5F;
  margin-bottom: 24px;
}

.about-intro-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-intro-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 企业文化 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.culture-card {
  text-align: center;
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.culture-card h4 {
  font-size: 22px;
  color: #1E3A5F;
  margin-bottom: 16px;
}

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

/* 发展历程 */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #e0e0e0;
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-year {
  flex: 1;
  text-align: center;
}

.timeline-year span {
  display: inline-block;
  padding: 8px 20px;
  background: #3D8B7F;
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
}

.timeline-content {
  flex: 1;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h4 {
  font-size: 18px;
  color: #1E3A5F;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: #666;
}

/* 案例页面 */
.cases-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1E3A5F;
  color: #fff;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.case-card:nth-child(even) {
  direction: rtl;
}

.case-card:nth-child(even) > * {
  direction: ltr;
}

.case-info .case-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(61, 139, 127, 0.1);
  color: #3D8B7F;
  font-size: 13px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.case-info h3 {
  font-size: 24px;
  color: #1E3A5F;
  margin-bottom: 20px;
}

.case-info h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.case-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.case-results li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.case-results li::before {
  content: "✓";
  color: #3D8B7F;
  font-weight: bold;
}

.case-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 联系页面 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

.contact-form h3 {
  font-size: 24px;
  color: #1E3A5F;
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

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

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

.contact-info h3 {
  font-size: 24px;
  color: #1E3A5F;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3D8B7F, #2E6B62);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 16px;
  color: #1E3A5F;
  margin-bottom: 6px;
}

.contact-info-item p {
  font-size: 14px;
  color: #666;
}

/* 新闻详情页 */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.news-detail-header {
  margin-bottom: 40px;
}

.news-detail-header .news-tag {
  margin-bottom: 16px;
}

.news-detail-header h1 {
  font-size: 32px;
  color: #1E3A5F;
  line-height: 1.4;
  margin-bottom: 20px;
}

.news-detail-meta {
  display: flex;
  gap: 24px;
  color: #999;
  font-size: 14px;
}

.news-detail-content {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
}

.news-detail-content h2 {
  font-size: 24px;
  color: #1E3A5F;
  margin: 32px 0 16px;
}

.news-detail-content h3 {
  font-size: 20px;
  color: #1E3A5F;
  margin: 24px 0 12px;
}

.news-detail-content p {
  margin-bottom: 16px;
}

.news-detail-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.news-detail-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.news-detail-content strong {
  color: #1E3A5F;
}

/* 面包屑导航 */
.breadcrumb {
  padding: 20px 0;
  background: #f8f9fa;
}

.breadcrumb ul {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.breadcrumb ul li a {
  color: #3D8B7F;
}

.breadcrumb ul li a:hover {
  color: #2E6B62;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .services-grid,
  .stats-grid,
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-intro,
  .contact-grid,
  .case-card {
    grid-template-columns: 1fr;
  }
  
  .case-card:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #1E3A5F;
    flex-direction: column;
    padding: 20px;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .header-phone {
    display: none;
  }
  
  .hero h2 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .services-grid,
  .stats-grid,
  .reasons-grid,
  .news-grid,
  .culture-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
  }
  
  .timeline-year {
    text-align: left;
    margin-bottom: 16px;
  }
  
  .page-banner h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero h2 {
    font-size: 26px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .stat-item h3 {
    font-size: 36px;
  }
}
