/* 
 * topic_radiotherapy.css - 高端放疗中心专题页面样式
 * 晟康国际医疗中心
 */

/* 1. 全局样式与变量 */
:root {
  --primary-color: #2aae67;
  --primary-light: rgba(42, 174, 103, 0.1);
  --primary-medium: rgba(42, 174, 103, 0.5);
  --secondary-color: #1a7b9b;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --background-light: #f8f9fa;
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.15);
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 15px;
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 80px;
  --animation-speed: 0.3s;
}

/* 2. 通用页面布局 */
.radiotherapy-page section {
  padding: 80px 0;
}

.radiotherapy-page section:nth-child(even) {
  background-color: var(--background-light);
}

.radiotherapy-page .container-light {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 3. 头部英雄区域 */
.radiotherapy-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://pic1.zhimg.com/100/v2-ab3b47a2fb03e76bd4c234ecc0a3eb20_r.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0 100px;
  text-align: center;
  position: relative;
}

.radiotherapy-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.radiotherapy-hero .subtitle {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
  font-weight: 500;
  opacity: 0.9;
  font-family: var(--font-sans-en);
}

.radiotherapy-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--animation-speed) ease;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(42, 174, 103, 0.4);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 174, 103, 0.6);
  background-color: #239d5a;
}

/* 4. 导航栏 */
.radiotherapy-nav {
  position: sticky;
  top: 80px;
  background-color: var(--primary-color);
  padding: 15px 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.radiotherapy-nav-container {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 5px;
  scrollbar-width: none; /* Firefox */
}

.radiotherapy-nav-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.radiotherapy-nav-item {
  color: white;
  padding: 8px 15px;
  font-weight: 500;
  border-radius: 20px;
  transition: all var(--animation-speed) ease;
  margin: 0 5px;
  text-decoration: none;
}

.radiotherapy-nav-item:hover, .radiotherapy-nav-item.active {
  background-color: rgba(255,255,255,0.2);
  text-decoration: none;
}

/* 5. 章节标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title .subtitle {
  font-size: 16px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-family: var(--font-sans-en);
}

/* 6. 放疗中心简介 */
.intro-section {
  overflow: hidden;
}

.intro-content {
  margin-top: 40px;
}

.intro-text {
  margin-bottom: 50px;
}

.intro-highlight {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: justify;
}

.intro-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.key-features {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.feature-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 30px 20px;
  width: 23%;
  min-width: 250px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--animation-speed) ease;
  flex-shrink: 0;
  border-top: 4px solid var(--primary-color);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 34px;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.feature-item p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* 7. 技术原理与优势 */
.principle-section {
  background-color: var(--background-light);
}

.principle-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-sm);
}

.principle-card h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.principle-illustration {
  margin-bottom: 30px;
}

.principle-caption {
  text-align: center;
  color: var(--text-medium);
  font-style: italic;
  margin-top: 15px;
  font-size: 15px;
}

.principle-text {
  color: var(--text-medium);
  line-height: 1.8;
}

.principle-text p {
  margin-bottom: 20px;
  text-align: justify;
}

.principle-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

.advantages-container h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.advantage-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: all var(--animation-speed) ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.advantage-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.advantage-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.advantage-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.advantage-item p {
  color: var(--text-medium);
  line-height: 1.7;
  text-align: justify;
}

/* 8. 先进设备介绍 */
.equipment-section {
  background-color: white;
}

.equipment-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.equipment-image {
  width: 100%;
  max-width: 800px;
  margin-bottom: 40px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.equipment-image img {
  width: 100%;
  height: auto;
  display: block;
}

.equipment-specs {
  width: 100%;
}

.equipment-specs h3 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-align: center;
  font-weight: 700;
}

.equipment-tagline {
  text-align: center;
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 500;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.spec-item {
  display: flex;
  background-color: var(--background-light);
  border-radius: var(--border-radius-md);
  padding: 20px;
  transition: all var(--animation-speed) ease;
}

.spec-item:hover {
  background-color: white;
  box-shadow: var(--shadow-md);
}

.spec-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.spec-details {
  flex: 1;
}

.spec-details h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.spec-details p {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 14px;
}

.technology-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  transition: all var(--animation-speed) ease;
}

.technology-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.technology-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.technology-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  margin-right: 20px;
  flex-shrink: 0;
}

.technology-header h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

.technology-body p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.technology-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.technology-benefits span {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* 9. 临床应用范围 */
.applications-section {
  background-color: var(--background-light);
}

.applications-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.applications-intro p {
  font-size: 18px;
  color: var(--text-medium);
  line-height: 1.8;
}

.application-categories {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.category-item {
  background-color: white;
  color: var(--text-dark);
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--animation-speed) ease;
}

.category-item:hover, .category-item.active {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(42, 174, 103, 0.3);
}

.application-panel {
  display: none;
}

.application-panel.active {
  display: block;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.application-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--animation-speed) ease;
}

.application-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.application-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 28px;
  margin: 0 auto 20px;
}

.application-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: center;
}

.application-card ul {
  padding-left: 20px;
}

.application-card li {
  color: var(--text-medium);
  margin-bottom: 10px;
  line-height: 1.5;
}

.cancer-types h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
}

.cancer-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.cancer-type-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 15px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--animation-speed) ease;
}

.cancer-type-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: var(--primary-light);
}

.cancer-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  margin-right: 15px;
}

.cancer-type-item:hover .cancer-icon {
  background-color: white;
}

.cancer-name {
  font-weight: 500;
  color: var(--text-dark);
}

/* 10. 治疗流程 */
.process-section {
  background-color: white;
}

.process-container {
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline {
  position: relative;
  margin-top: 50px;
}

.process-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background-color: var(--primary-light);
}

.process-step {
  position: relative;
  margin-bottom: 60px;
  display: flex;
}

.process-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-content {
  width: 45%;
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.process-step:nth-child(odd) .process-step-content {
  text-align: right;
}

.process-step-content:before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
  z-index: -1;
  box-shadow: var(--shadow-sm);
}

.process-step:nth-child(even) .process-step-content:before {
  right: -10px;
}

.process-step:nth-child(odd) .process-step-content:before {
  left: -10px;
}

.process-number {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 20px;
  box-shadow: 0 0 0 5px white, 0 0 0 10px var(--primary-light);
  z-index: 2;
}

.process-step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.process-step-description {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
}

.process-note {
  background-color: var(--primary-light);
  border-radius: var(--border-radius-sm);
  padding: 15px;
  color: var(--text-dark);
  font-size: 14px;
  margin-top: 20px;
}

/* 11. 典型案例 */
.cases-section {
  background-color: var(--background-light);
}

.cases-container {
  margin-top: 50px;
}

.case-slider {
  position: relative;
}

.case-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin: 0 15px;
}

.case-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.case-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  margin-right: 20px;
  flex-shrink: 0;
}

.case-title h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 5px;
}

.case-subtitle {
  color: var(--text-medium);
  font-size: 14px;
}

.case-content {
  margin-bottom: 25px;
}

.case-description {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.case-highlight {
  background-color: var(--primary-light);
  border-radius: var(--border-radius-sm);
  padding: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.case-images {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.case-image {
  width: 48%;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.case-image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-image-caption {
  text-align: center;
  padding: 10px;
  background-color: var(--background-light);
  color: var(--text-medium);
  font-size: 14px;
}

/* 12. 常见问题 */
.faq-section {
  background-color: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  background-color: var(--background-light);
  padding: 20px 25px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--animation-speed) ease;
}

.faq-question:hover {
  background-color: var(--primary-light);
}

.faq-question i {
  font-size: 14px;
  transition: all var(--animation-speed) ease;
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
  color: white;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--animation-speed) ease;
  background-color: white;
}

.faq-item.active .faq-answer {
  padding: 25px;
  max-height: 1000px;
}

.faq-answer p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 13. 预约咨询 */
.cta-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://pic1.zhimg.com/100/v2-a25d67c04e4dffb5d5ad65188b7b0ecf_r.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 18px;
  transition: all var(--animation-speed) ease;
  text-decoration: none;
}

.cta-btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(42, 174, 103, 0.4);
}

.cta-btn-primary:hover {
  background-color: #239d5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 174, 103, 0.6);
}

.cta-btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* 14. 响应式布局 */
@media (max-width: 1200px) {
  .radiotherapy-hero {
    padding: 120px 0 80px;
  }
  
  .radiotherapy-hero h1 {
    font-size: 42px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .radiotherapy-page section {
    padding: 60px 0;
  }
  
  .radiotherapy-hero h1 {
    font-size: 36px;
  }
  
  .radiotherapy-hero p {
    font-size: 16px;
  }
  
  .key-features {
    padding-bottom: 15px;
  }
  
  .feature-item {
    width: 300px;
  }
  
  .process-timeline:before {
    left: 30px;
  }
  
  .process-step {
    flex-direction: row !important;
  }
  
  .process-step-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    text-align: left !important;
  }
  
  .process-step-content:before {
    left: -10px !important;
    right: auto !important;
  }
  
  .process-number {
    left: 30px;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .radiotherapy-page section {
    padding: 50px 0;
  }
  
  .radiotherapy-hero {
    padding: 100px 0 60px;
  }
  
  .radiotherapy-hero h1 {
    font-size: 32px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .principle-card {
    padding: 25px;
  }
  
  .equipment-specs h3 {
    font-size: 24px;
  }
  
  .equipment-tagline {
    font-size: 16px;
  }
  
  .case-images {
    flex-direction: column;
  }
  
  .case-image {
    width: 100%;
  }
  
  .cta-title {
    font-size: 30px;
  }
  
  .cta-subtitle {
    font-size: 16px;
  }
  
  .cta-btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .radiotherapy-hero h1 {
    font-size: 28px;
  }
  
  .radiotherapy-hero .subtitle {
    font-size: 16px;
  }
  
  .radiotherapy-hero p {
    font-size: 15px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .intro-highlight {
    font-size: 16px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
  
  .feature-item h3 {
    font-size: 18px;
  }
  
  .principle-card h3, 
  .advantages-container h3 {
    font-size: 20px;
  }
  
  .advantage-header h4 {
    font-size: 16px;
  }
  
  .category-item {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .application-card h4 {
    font-size: 18px;
  }
  
  .cta-title {
    font-size: 26px;
  }
} 