/* ===== 玩法攻略页面样式 ===== */

/* 页面头部 */
.activities-header {
  background: linear-gradient(135deg, #1a4d1a 0%, #2d6b2d 50%, #1a4d1a 100%);
  position: relative;
  overflow: hidden;
}

.activities-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.activities-header .header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 20px 80px;
}

.header-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #4ade80;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.activities-header h1 {
  font-size: 3rem;
  color: #fff;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.activities-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* 快速导航 */
.activities-nav {
  position: sticky;
  top: 80px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-scroll {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f5f7f5;
  border-radius: 25px;
  color: #333;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: var(--primary, #2d5a27);
  color: #fff;
}

.nav-item.active {
  background: var(--primary, #2d5a27);
  color: #fff;
}

.nav-icon {
  font-size: 1.125rem;
}

/* 主内容区 */
.activities-main {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #f8faf8 0%, #fff 100%);
}

/* 区块样式 */
.activity-section {
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.section-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary, #2d5a27) 0%, #4a8c42 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.section-header h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0;
}

.section-header p {
  font-size: 0.875rem;
  color: #666;
  margin: 4px 0 0 0;
}

/* 项目卡片网格 */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 项目卡片 */
.activity-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(45, 90, 39, 0.15);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.activity-card:hover .card-image img {
  transform: scale(1.08);
}

.card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary, #2d5a27) 0%, #4a8c42 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  backdrop-filter: blur(10px);
}

.card-badge.special {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-content {
  padding: 24px;
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-primary {
  background: rgba(45, 90, 39, 0.1);
  color: var(--primary, #2d5a27);
}

.tag-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.tag-info {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.tag-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.card-content h3 {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.card-desc {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.card-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #444;
}

.feature-icon {
  color: var(--primary, #2d5a27);
  font-weight: 700;
}

.card-info {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: #666;
}

.card-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-notice {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #92400e;
}

/* 特色卡片（向导服务） */
.activity-card-featured {
  display: grid;
  grid-template-columns: 400px 1fr;
}

.activity-card-featured .card-image {
  height: 100%;
  min-height: 300px;
}

.activity-card-featured .card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 宽卡片 */
.activity-card-wide {
  grid-column: span 2;
}

.activity-card-wide .card-image {
  height: 240px;
}

/* 特殊卡片 */
.activity-card-special {
  border: 2px solid #f59e0b;
}

.activity-card-special .card-number {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* 项目总览表格 */
.activities-summary {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.summary-header {
  text-align: center;
  margin-bottom: 32px;
}

.summary-header h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.summary-header p {
  font-size: 0.9375rem;
  color: #666;
  margin: 0;
}

.summary-table-wrapper {
  overflow-x: auto;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.summary-table th,
.summary-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.summary-table th {
  background: #f5f7f5;
  font-weight: 600;
  color: #1a1a1a;
}

.summary-table th:first-child {
  text-align: left;
}

.summary-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.summary-table td.has {
  color: #16a34a;
  font-weight: 600;
}

.summary-table td.has.special {
  color: #f59e0b;
}

.summary-table tbody tr:hover {
  background: #f9faf9;
}

.summary-note {
  margin-top: 20px;
  padding: 16px;
  background: #f0fdf4;
  border-radius: 12px;
  text-align: center;
}

.summary-note p {
  margin: 0;
  font-size: 0.875rem;
  color: #166534;
}

/* 预约提示 */
.booking-tip {
  background: linear-gradient(135deg, var(--primary, #2d5a27) 0%, #4a8c42 100%);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-top: 60px;
}

.tip-content h3 {
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 12px 0;
}

.tip-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px 0;
}

.tip-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.tip-actions .btn-primary {
  background: #fff;
  color: var(--primary, #2d5a27);
}

.tip-actions .btn-primary:hover {
  background: #f0fdf4;
}

.tip-actions .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.tip-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .activity-card-wide {
    grid-column: span 2;
  }
  
  .activity-card-featured {
    grid-template-columns: 1fr;
  }
  
  .activity-card-featured .card-image {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .activities-header h1 {
    font-size: 2rem;
  }
  
  .activities-header p {
    font-size: 1rem;
  }
  
  .activity-grid {
    grid-template-columns: 1fr;
  }
  
  .activity-card-wide {
    grid-column: span 1;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
  }
  
  .card-features {
    grid-template-columns: 1fr;
  }
  
  .activities-summary {
    padding: 24px 16px;
  }
  
  .summary-table {
    font-size: 0.8125rem;
  }
  
  .summary-table th,
  .summary-table td {
    padding: 10px 8px;
  }
  
  .booking-tip {
    padding: 32px 20px;
  }
  
  .tip-content h3 {
    font-size: 1.375rem;
  }
  
  .tip-actions {
    flex-direction: column;
  }
  
  .tip-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .activities-header .header-content {
    padding: 80px 16px 60px;
  }
  
  .section-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  
  .section-header h2 {
    font-size: 1.25rem;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-content h3 {
    font-size: 1.125rem;
  }
}

/* 雨林奇观链接卡片 */
.wonders-link-section {
  padding: 40px 0 60px;
}

.wonders-link-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: all 0.4s ease;
}

.wonders-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.wonders-link-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

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

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

.wonders-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.wonders-link-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.wonders-link-overlay h3 {
  font-size: 2rem;
  color: #fff;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.wonders-link-overlay p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px 0;
  max-width: 600px;
  line-height: 1.6;
}

.wonders-link-btn {
  display: inline-block;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.wonders-link-card:hover .wonders-link-btn {
  transform: translateX(8px);
  box-shadow: 0 6px 30px rgba(34, 197, 94, 0.5);
}

@media (max-width: 768px) {
  .wonders-link-image {
    height: 300px;
  }

  .wonders-link-overlay {
    padding: 24px;
  }

  .wonders-link-icon {
    font-size: 36px;
  }

  .wonders-link-overlay h3 {
    font-size: 1.5rem;
  }

  .wonders-link-overlay p {
    font-size: 14px;
  }

  .wonders-link-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

