/* Activities Page Styles */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--nav-bg) 0%, var(--nav-bg-strong) 100%);
  color: white;
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb span {
  opacity: 0.7;
}

.page-header h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

/* Activities Content */
.activities-content {
  padding: 3rem 0;
  background: #f8fafc;
}

.activities-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.activities-intro h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 1.5rem;
}

.activities-intro p {
  color: #000000;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Activities Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.activity-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #5a87a8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5a87a8, #2f4f6f);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #2f4f6f;
}

.activity-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.activity-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.3;
}

.activity-period {
  font-size: 0.9rem;
  color: #5a87a8;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.activity-card p {
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
}

.activity-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-details li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #000000;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.activity-details li:last-child {
  border-bottom: none;
}

.activity-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Activities Impact */
.activities-impact {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #5a87a8;
  margin-bottom: 4rem;
}

.activities-impact h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  text-align: center;
  margin-bottom: 3rem;
}

.impact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.impact-text p {
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.impact-text p:last-child {
  margin-bottom: 0;
}

.impact-quote {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid #5a87a8;
}

.impact-quote blockquote {
  margin: 0;
  font-style: italic;
}

.impact-quote blockquote p {
  color: #000000;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.impact-quote blockquote cite {
  color: #000000;
  font-style: normal;
  font-weight: 600;
}

.impact-quote blockquote cite::before {
  content: '— ';
}

/* Activities Legacy */
.activities-legacy h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f4f6f;
  text-align: center;
  margin-bottom: 3rem;
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.legacy-item {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #5a87a8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legacy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: #2f4f6f;
}

.legacy-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.legacy-item h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2f4f6f;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.legacy-item p {
  color: #000000;
  line-height: 1.7;
  margin: 0;
  font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .activities-intro h2 {
    font-size: 1.75rem;
  }
  
  .activities-intro p {
    font-size: 1rem;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .activity-card {
    padding: 1.5rem;
  }
  
  .activity-icon {
    font-size: 2.5rem;
  }
  
  .activity-card h3 {
    font-size: 1.25rem;
  }
  
  .activities-impact h2,
  .activities-legacy h2 {
    font-size: 1.75rem;
  }
  
  .impact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .activities-impact {
    padding: 2rem;
  }
  
  .legacy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .legacy-item {
    padding: 1.5rem;
  }
  
  .legacy-icon {
    font-size: 2.5rem;
  }
  
  .legacy-item h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 2rem 0 1.5rem;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .activities-content {
    padding: 2rem 0;
  }
  
  .activities-intro {
    margin-bottom: 3rem;
  }
  
  .activities-intro h2 {
    font-size: 1.5rem;
  }
  
  .activity-card {
    padding: 1.25rem;
  }
  
  .activity-icon {
    font-size: 2rem;
  }
  
  .activity-card h3 {
    font-size: 1.1rem;
  }
  
  .activity-card p {
    font-size: 0.9rem;
  }
  
  .activities-impact h2,
  .activities-legacy h2 {
    font-size: 1.5rem;
  }
  
  .activities-impact {
    padding: 1.5rem;
  }
  
  .impact-quote {
    padding: 1.5rem;
  }
  
  .impact-quote blockquote p {
    font-size: 1rem;
  }
  
  .legacy-item {
    padding: 1.25rem;
  }
  
  .legacy-icon {
    font-size: 2rem;
  }
  
  .legacy-item h3 {
    font-size: 1rem;
  }
  
  .legacy-item p {
    font-size: 0.9rem;
  }
}

/* Animation for activity cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.activity-card {
  animation: fadeInUp 0.6s ease forwards;
}

.activity-card:nth-child(1) { animation-delay: 0.1s; }
.activity-card:nth-child(2) { animation-delay: 0.2s; }
.activity-card:nth-child(3) { animation-delay: 0.3s; }
.activity-card:nth-child(4) { animation-delay: 0.4s; }
.activity-card:nth-child(5) { animation-delay: 0.5s; }
.activity-card:nth-child(6) { animation-delay: 0.6s; }

.legacy-item {
  animation: fadeInUp 0.6s ease forwards;
}

.legacy-item:nth-child(1) { animation-delay: 0.1s; }
.legacy-item:nth-child(2) { animation-delay: 0.2s; }
.legacy-item:nth-child(3) { animation-delay: 0.3s; }
.legacy-item:nth-child(4) { animation-delay: 0.4s; }

/* Print styles */
@media print {
  .page-header {
    background: white;
    color: black;
  }
  
  .activity-card,
  .legacy-item,
  .activities-impact {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .impact-quote {
    background: #f9f9f9;
  }
}
