/* ============================================
   FS ACTIVITIES.CSS - Modern Activities Section
   ============================================ */

.fs-activities-section {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  padding: 120px 0;
  overflow: hidden;
}

.fs-activities-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.fs-activities-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px);
  pointer-events: none;
  z-index: 0;
}

.fs-activities-section .container {
  position: relative;
  z-index: 1;
}

/* Header */
.fs-activities-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
}

.fs-activities-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #667eea;
  margin-bottom: 16px;
  position: relative;
  padding-left: 24px;
}

.fs-activities-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.fs-activities-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fs-activities-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #b0b0b0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Activities Container */
.fs-activities-container {
  position: relative;
}

.fs-activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
}

/* Activity Item */
.fs-activity-item {
  position: relative;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.fs-activity-number {
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(102, 126, 234, 0.08);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  font-family: 'Arial', sans-serif;
}

.fs-activity-card {
  position: relative;
  background: linear-gradient(145deg, #1a1a1a 0%, #151515 100%);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fs-activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.fs-activity-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(102, 126, 234, 0.2);
}

.fs-activity-card:hover::before {
  opacity: 1;
}

/* Image Wrapper */
.fs-activity-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.fs-activity-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-activity-card:hover .fs-activity-image {
  transform: scale(1.15);
}

.fs-activity-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.fs-activity-icon {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #ffffff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

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

.fs-activity-card:hover .fs-activity-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

/* Content */
.fs-activity-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.fs-activity-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.fs-activity-description {
  font-size: 16px;
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.fs-activity-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.fs-activity-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.fs-activity-card:hover .fs-activity-tag {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  color: #764ba2;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .fs-activities-section {
    padding: 100px 0;
  }
  
  .fs-activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }
  
  .fs-activity-image-wrapper {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .fs-activities-section {
    padding: 80px 0;
  }
  
  .fs-activities-header {
    margin-bottom: 60px;
  }
  
  .fs-activities-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .fs-activity-number {
    font-size: 100px;
    top: -15px;
    left: 20px;
  }
  
  .fs-activity-image-wrapper {
    height: 220px;
  }
  
  .fs-activity-content {
    padding: 24px;
  }
  
  .fs-activity-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .fs-activities-section {
    padding: 60px 0;
  }
  
  .fs-activities-header {
    margin-bottom: 40px;
  }
  
  .fs-activity-number {
    font-size: 80px;
  }
  
  .fs-activity-image-wrapper {
    height: 200px;
  }
  
  .fs-activity-content {
    padding: 20px;
  }
  
  .fs-activity-title {
    font-size: 20px;
  }
  
  .fs-activity-description {
    font-size: 15px;
  }
}

