/* ================================
   首页特定样式 - Home Page Styles
   ================================ */

/* Hero Banner */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184, 149, 106, 0.9), rgba(212, 184, 149, 0.8)),
              url('https://images.unsplash.com/photo-1528459801416-a9e53bbf4e17?w=1600&q=80') center/cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(107, 83, 68, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: var(--spacing-md);
  max-width: 900px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
  font-style: italic;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero-scroll i {
  font-size: 32px;
  color: white;
  opacity: 0.7;
}

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

/* 核心价值 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.value-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  box-shadow: var(--shadow-medium);
}

.value-card h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.value-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* 服务领域 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.service-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-gold);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}

.service-content {
  padding: var(--spacing-md);
}

.service-content h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.service-content > p {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.service-features {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.service-features li {
  padding: 8px 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features i {
  color: var(--primary-gold);
  font-size: 16px;
}

/* 最新活动 */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.event-card {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  position: relative;
}

.event-date {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-soft);
}

.event-month {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.event-day {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.event-info {
  flex: 1;
}

.event-category {
  display: inline-block;
  background: var(--warm-cream);
  color: var(--primary-gold);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.event-info h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.event-info p {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.event-meta {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-light);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-meta i {
  color: var(--primary-gold);
}

.event-link {
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  color: var(--primary-gold);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.event-link:hover {
  gap: 10px;
  color: var(--light-gold);
}

/* 数据展示 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 8px;
  font-family: 'Georgia', serif;
}

.stat-number::after {
  content: '+';
  font-size: 36px;
  margin-left: 5px;
}

.stat-label {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 500;
}

/* 志愿者招募 */
.volunteer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.volunteer-text h2 {
  font-size: 38px;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

.volunteer-text > p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.volunteer-benefits {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.volunteer-benefits li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-dark);
}

.volunteer-benefits i {
  color: var(--primary-gold);
  font-size: 18px;
}

.volunteer-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.volunteer-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.volunteer-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 快速入口 */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.quick-link-card {
  text-align: center;
  padding: var(--spacing-lg);
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.quick-link-card i {
  font-size: 48px;
  color: var(--primary-gold);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.quick-link-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.quick-link-card p {
  color: var(--text-light);
}

.quick-link-card:hover {
  background: var(--warm-cream);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .volunteer-content {
    gap: var(--spacing-lg);
  }
  
  .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 90vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .volunteer-content {
    grid-template-columns: 1fr;
  }
  
  .volunteer-image {
    order: -1;
  }
  
  .services-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .values-grid,
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    height: 60px;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  
  .event-month {
    font-size: 16px;
  }
  
  .event-day {
    font-size: 28px;
  }
  
  .event-link {
    position: static;
    margin-top: var(--spacing-sm);
  }
}
