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

/* ------------------------------------------------------------
   01. 页面头部
   ------------------------------------------------------------ */

/* 页面头部 */
.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: 60px 20px 40px;
}

.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: 2.25rem;
  color: #fff;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.activities-header p {
  font-size: 1rem;
  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: 6px;
  padding: 8px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f5f7f5;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  font-size: 0.875rem;
  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: 30px 0 50px;
  background: linear-gradient(180deg, #f8faf8 0%, #fff 100%);
}

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

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

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

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

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

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

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

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

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(45, 90, 39, 0.12);
}

.card-image {
  position: relative;
  height: 160px;
  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: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  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: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.card-content {
  padding: 16px;
}

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

.tag {
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
  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.05rem;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.card-desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

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

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

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

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

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

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

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

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

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

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

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

/* 特殊卡片 */
.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: 16px;
  padding: 24px;
  margin-top: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

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

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

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

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

.summary-table th,
.summary-table td {
  padding: 10px 12px;
  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: 16px;
  padding: 12px;
  background: #f0fdf4;
  border-radius: 10px;
  text-align: center;
}

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

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

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

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

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

.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;
}

/* 响应式设计 */






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

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

.wonders-link-card:hover {
  transform: translateY(-6px);
  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);
}



/* 向导服务模块 - 左右布局 */
.guide-section-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: stretch;
}

.guide-service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.guide-service-card .card-image {
  height: 220px;
  flex-shrink: 0;
}

.guide-service-card .card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-service-card .card-desc {
  flex: 1;
}

/* 向导展示区 */
.guide-showcase {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.showcase-header h3 {
  font-size: 0.95rem;
  color: #1a1a1a;
  margin: 0;
}

.showcase-header .view-all {
  font-size: 0.75rem;
  color: var(--primary, #2d5a27);
  text-decoration: none;
}

.showcase-header .view-all:hover {
  text-decoration: underline;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
  align-content: start;
}

.guide-item {
  text-align: center;
  padding: 14px 8px;
  background: #f8faf8;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-item:hover {
  background: #f0fdf4;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.15);
}

.guide-item img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.guide-item:hover img {
  border-color: var(--primary, #2d5a27);
  transform: scale(1.05);
}

.guide-item .guide-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.guide-item .guide-tag {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--primary, #2d5a27);
  background: rgba(45, 90, 39, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

/* 客片展示区 */
.photo-section-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: stretch;
}

.photo-service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.photo-service-card .card-image {
  height: 220px;
  flex-shrink: 0;
}

.photo-service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-service-card .card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.photo-service-card .card-desc {
  flex: 1;
}

.photo-showcase {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
  align-content: start;
}

.photo-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover::after {
  opacity: 1;
}

/* 向导弹窗 */
.guide-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.guide-modal.active {
  display: flex;
}

.guide-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.guide-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 2;
  animation: modalSlideIn 0.3s ease;
}

/* modalSlideIn 已移至 main.css */

.guide-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  font-size: 1.25rem;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.guide-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #333;
}

.guide-modal-header {
  text-align: center;
  padding: 24px 20px 16px;
  background: linear-gradient(135deg, #f8faf8 0%, #fff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-modal-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary, #2d5a27);
  margin-bottom: 12px;
  display: block;
}

.guide-modal-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px 0;
}

.guide-modal-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: #fff;
  background: var(--primary, #2d5a27);
  padding: 4px 14px;
  border-radius: 12px;
}

.guide-modal-body {
  padding: 16px 20px 24px;
}

.guide-modal-section {
  margin-bottom: 16px;
}

.guide-modal-section:last-child {
  margin-bottom: 0;
}

.guide-modal-section h4 {
  font-size: 0.9rem;
  color: var(--primary, #2d5a27);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-modal-section p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.guide-modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-modal-features span {
  font-size: 0.8rem;
  color: #666;
  background: #f5f7f5;
  padding: 4px 10px;
  border-radius: 12px;
}

/* 响应式 */




/* ===== 活动页兼容性优化 ===== */
@media (min-width: 1600px) {
  .activities-container { max-width: 1400px; }
}
@media (hover: none) and (pointer: coarse) {
  .activity-card, .filter-btn { min-height: 48px; }
}

@media print {
  .activities-hero, .activity-filters, .guide-modal { display: none !important; }
  .activity-card { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  .activity-card { animation: none !important; }
}

