/*
 * Zeta Calculator - About Page Styles
 * Professional styling for the About page
 * Created: July 1, 2025
 */

/* Import base styles from pages.css */
@import url('pages.css');

/* Page Hero Section */
.page-hero-section {
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--accent-rgb), 0.05));
  position: relative;
  overflow: hidden;
}

.page-hero-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('/media/grid-pattern.svg');
  opacity: 0.2;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-color);
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.text-primary {
  color: var(--primary-color);
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-section.alt-bg {
  background-color: var(--section-alt-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid.reverse {
  grid-template-columns: 1fr 1.5fr;
}

.about-grid.reverse .about-content {
  order: 2;
}

.about-grid.reverse .about-image {
  order: 1;
}

.about-content {
  padding-right: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-image {
  position: relative;
}

.rounded-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.rounded-image:hover {
  transform: translateY(-10px);
}

/* Mission Highlights */
.mission-highlights {
  margin-top: 2.5rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mission-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.mission-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  margin-top: 2.5rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-content {
  padding-top: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.timeline-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Values Section */
.values-section {
  padding: 5rem 0;
}

.section-header.text-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
}

.value-card {
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px -10px rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary-light);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.value-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.value-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px -10px rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary-light);
}

.team-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.team-position {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.team-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 3rem 0;
}

.contact-cta-container {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-dark));
  border-radius: var(--border-radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0) 70%
  );
  pointer-events: none;
}

.contact-cta-content {
  max-width: 60%;
}

.contact-cta-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-cta-container .btn {
  background-color: white;
  color: var(--primary-color);
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-cta-container .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animation for elements */
.about-image, .mission-item, .timeline-item, .value-card, .team-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-image.animated, 
.mission-item.animated, 
.timeline-item.animated, 
.value-card.animated, 
.team-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid,
  .about-grid.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid.reverse .about-content,
  .about-grid.reverse .about-image,
  .about-content,
  .about-image {
    order: initial;
  }
  
  .contact-cta-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .contact-cta-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-hero-section {
    padding: 3rem 0 1.5rem;
  }
  
  .page-title {
    font-size: 2.25rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .about-section {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
  }
  
  .contact-cta-container {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .mission-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .mission-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .timeline-marker {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-cta-content h2 {
    font-size: 1.5rem;
  }
}

/* Dark mode overrides */
.dark-mode .page-hero-section {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--accent-rgb), 0.1));
}
