/* About Page Styles */

/* Hero Section */
.page-hero {
  background: linear-gradient(135deg, var(--obrk-black) 0%, #1a1a1a 100%);
  color: var(--obrk-white);
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/patterns/circuit-pattern.svg') repeat;
  opacity: 0.1;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* Historia Timeline */
.historia-section {
  padding: 6rem 0;
  background: var(--obrk-white);
}

.historia-timeline {
  max-width: 800px;
  margin: 4rem auto 0;
  position: relative;
}

.historia-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--obrk-green-secondary),
    var(--obrk-black)
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 2rem;
}

.timeline-year {
  background: var(--obrk-green-secondary);
  color: var(--obrk-black);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(116, 170, 31, 0.3);
}

.timeline-content {
  flex: 1;
  background: var(--obrk-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--obrk-border-light);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(116, 170, 31, 0.15);
}

.timeline-content h3 {
  margin-bottom: 1rem;
  color: var(--obrk-green-secondary);
}

/* Mission and Vision */
.mission-vision {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.mv-card {
  background: var(--obrk-white);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.mv-card:hover {
  transform: translateY(-10px);
  border-color: var(--obrk-green-secondary);
  box-shadow: 0 16px 40px rgba(116, 170, 31, 0.2);
}

.mv-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  display: block;
}

.mv-card h2 {
  margin-bottom: 1.5rem;
  color: var(--obrk-black);
}

/* Valores */
.valores-section {
  padding: 6rem 0;
  background: var(--obrk-white);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.valor-card {
  background: var(--obrk-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--obrk-border-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.valor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--obrk-green-secondary),
    transparent
  );
  transition: left 0.6s ease;
}

.valor-card:hover::before {
  left: 100%;
}

.valor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(116, 170, 31, 0.15);
  border-color: var(--obrk-green-secondary);
}

.valor-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.valor-card h3 {
  margin-bottom: 1rem;
  color: var(--obrk-black);
}

/* Equipo Section */
.equipo-section {
  padding: 6rem 0;
  background: var(--obrk-black);
  color: var(--obrk-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(116, 170, 31, 0.1);
}

.stat-number {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-bold);
}

.stat-label {
  opacity: 0.8;
}

/* Call to Action */
.about-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--obrk-black) 0%, #2d2d2d 100%);
  text-align: center;
  position: relative;
}

.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/patterns/tech-pattern.svg') repeat;
  opacity: 0.1;
  z-index: 1;
}

.about-cta .container {
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 180px;
  padding: 1rem 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero {
    padding: 4rem 0 3rem;
  }

  .historia-timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column !important;
    margin-left: 2rem;
  }

  .timeline-item .timeline-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1rem;
    text-align: left !important;
  }

  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
    position: relative;
    left: -20px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .historia-section,
  .mission-vision,
  .valores-section,
  .equipo-section,
  .about-cta {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .mv-card,
  .valor-card {
    padding: 2rem 1.5rem;
  }
}

